src/Api/Endpoint.php
public function setAliases($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->aliases = $arr;

        return $this;
    }
public function setAliases($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->aliases = $arr;

        return $this;
    }
DEPRECATED: This field is no longer supported. Instead of using aliases,
please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
aliases.
Additional names that this endpoint will be hosted on.

Generated from protobuf field <code>repeated string aliases = 2;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this