public function setMethods($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Method::class);
        $this->methods = $arr;

        return $this;
    }
public function setMethods($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Method::class);
        $this->methods = $arr;

        return $this;
    }
public function setMethods ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Protobuf \ Method :: class ) ; $ this -> methods = $ arr ; return $ this ; }
The methods of this interface, in unspecified order.

Generated from protobuf field <code>repeated .google.protobuf.Method methods = 2;</code>
@param \Google\Protobuf\Method[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The methods of this interface in unspecified order .