canonicalCode = $canonicalCode; } /** * @return int */ public function getCanonicalCode() { return $this->canonicalCode; } /** * Numeric code drawn from the space specified below. Often, this is the * canonical error space, and code is drawn from google3/util/task/codes.proto * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional * int32 code = 1; * * @param int $code */ public function setCode($code) { $this->code = $code; } /** * @return int */ public function getCode() { return $this->code; } /** * Detail message copybara:strip_begin(b/383363683) * copybara:strip_end_and_replace optional string message = 3; * * @param string $message */ public function setMessage($message) { $this->message = $message; } /** * @return string */ public function getMessage() { return $this->message; } /** * message_set associates an arbitrary proto message with the status. * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional * proto2.bridge.MessageSet message_set = 5; * * @param MessageSet $messageSet */ public function setMessageSet(MessageSet $messageSet) { $this->messageSet = $messageSet; } /** * @return MessageSet */ public function getMessageSet() { return $this->messageSet; } /** * copybara:strip_begin(b/383363683) Space to which this status belongs * copybara:strip_end_and_replace optional string space = 2; // Space to which * this status belongs * * @param string $space */ public function setSpace($space) { $this->space = $space; } /** * @return string */ public function getSpace() { return $this->space; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(StatusProto::class, 'Google_Service_FirebaseManagement_StatusProto');