public function addMessageType(\google\protobuf\DescriptorProto $value)
    {
        if ($this->message_type === null) {
            $this->message_type = new \Protobuf\MessageCollection();
        }

        $this->message_type->add($value);
    }