src/generated/Grpc/Gcp/ApiConfig.php
public function setMethod($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Grpc\Gcp\MethodConfig::class);
        $this->method = $arr;

        return $this;
    }
public function setMethod($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Grpc\Gcp\MethodConfig::class);
        $this->method = $arr;

        return $this;
    }
public function setMethod ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Grpc \ Gcp \ MethodConfig :: class ) ; $ this -> method = $ arr ; return $ this ; }
The method configurations.

Generated from protobuf field <code>repeated .grpc.gcp.MethodConfig method = 1001;</code>
@param \Grpc\Gcp\MethodConfig[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The method configurations .