annotations = $annotations; } /** * @return string[] */ public function getAnnotations() { return $this->annotations; } /** * @param Endpoint[] */ public function setEndpoints($endpoints) { $this->endpoints = $endpoints; } /** * @return Endpoint[] */ public function getEndpoints() { return $this->endpoints; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Service::class, 'Google_Service_ServiceDirectory_Service');