public function addProtoFile(\google\protobuf\FileDescriptorProto $value)
    {
        if ($this->proto_file === null) {
            $this->proto_file = new \Protobuf\MessageCollection();
        }

        $this->proto_file->add($value);
    }
public function addProtoFile(\google\protobuf\FileDescriptorProto $value)
    {
        if ($this->proto_file === null) {
            $this->proto_file = new \Protobuf\MessageCollection();
        }

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

@param \google\protobuf\FileDescriptorProto $value
Add a new element to proto_file