public function addMethod(\google\protobuf\MethodDescriptorProto $value)
    {
        if ($this->method === null) {
            $this->method = new \Protobuf\MessageCollection();
        }

        $this->method->add($value);
    }
public function addMethod(\google\protobuf\MethodDescriptorProto $value)
    {
        if ($this->method === null) {
            $this->method = new \Protobuf\MessageCollection();
        }

        $this->method->add($value);
    }
public function addMethod ( \ google \ protobuf \ MethodDescriptorProto $ value ) { if ( $ this -> method === null ) { $ this -> method = new \ Protobuf \ MessageCollection ( ) ; } $ this -> method -> add ( $ value ) ; }
Add a new element to 'method'

@param \google\protobuf\MethodDescriptorProto $value
Add a new element to method