public function setLimits($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\QuotaLimit::class);
        $this->limits = $arr;

        return $this;
    }
public function setLimits($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\QuotaLimit::class);
        $this->limits = $arr;

        return $this;
    }
public function setLimits ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Api \ QuotaLimit :: class ) ; $ this -> limits = $ arr ; return $ this ; }
List of `QuotaLimit` definitions for the service.
Used by metric-based quotas only.

Generated from protobuf field <code>repeated .google.api.QuotaLimit limits = 3;</code>
@param \Google\Api\QuotaLimit[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of QuotaLimit definitions for the service . Used by metric - based quotas only .