code = $code; } /** * @return string */ public function getCode() { return $this->code; } /** * @param string */ public function setLevel($level) { $this->level = $level; } /** * @return string */ public function getLevel() { return $this->level; } /** * @param string */ public function setMessage($message) { $this->message = $message; } /** * @return string */ public function getMessage() { return $this->message; } /** * @param string[] */ public function setMetadata($metadata) { $this->metadata = $metadata; } /** * @return string[] */ public function getMetadata() { return $this->metadata; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ValidationMessage::class, 'Google_Service_Datastream_ValidationMessage');