public function addField(\google\protobuf\FieldDescriptorProto $value)
    {
        if ($this->field === null) {
            $this->field = new \Protobuf\MessageCollection();
        }

        $this->field->add($value);
    }
public function addField(\google\protobuf\FieldDescriptorProto $value)
    {
        if ($this->field === null) {
            $this->field = new \Protobuf\MessageCollection();
        }

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

@param \google\protobuf\FieldDescriptorProto $value
Add a new element to field