public function addEnumType(\google\protobuf\EnumDescriptorProto $value)
    {
        if ($this->enum_type === null) {
            $this->enum_type = new \Protobuf\MessageCollection();
        }

        $this->enum_type->add($value);
    }
public function addEnumType(\google\protobuf\EnumDescriptorProto $value)
    {
        if ($this->enum_type === null) {
            $this->enum_type = new \Protobuf\MessageCollection();
        }

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

@param \google\protobuf\EnumDescriptorProto $value
Add a new element to enum_type