host = $host; } /** * @return string */ public function getHost() { return $this->host; } /** * @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_CloudRedis_Endpoint');