address = $address; } /** * @return string */ public function getAddress() { return $this->address; } /** * @param string[] */ public function setAnnotations($annotations) { $this->annotations = $annotations; } /** * @return string[] */ public function getAnnotations() { return $this->annotations; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setNetwork($network) { $this->network = $network; } /** * @return string */ public function getNetwork() { return $this->network; } /** * @param int */ public function setPort($port) { $this->port = $port; } /** * @return int */ public function getPort() { return $this->port; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Endpoint::class, 'Google_Service_ServiceDirectory_Endpoint');