protobuf.js version: 6
It would be useful to be able to take a message of a type defined in google/protobuf/descriptor.proto, and convert it into the corresponding reflection object, and also be able to convert the other way. Of course, some of them don't really make sense, but I would like, for example, to be able to load a DescriptorProto message instance as a Message object, and conversely to be able to extract a DescriptorProto instance from a Message object.
protobuf.js version: 6
It would be useful to be able to take a message of a type defined in
google/protobuf/descriptor.proto, and convert it into the corresponding reflection object, and also be able to convert the other way. Of course, some of them don't really make sense, but I would like, for example, to be able toloadaDescriptorProtomessage instance as aMessageobject, and conversely to be able to extract aDescriptorProtoinstance from aMessageobject.