Re: [protobuf] How to resolve a custom option in a protocol buffer FileDescriptor

2017-03-14 Thread Josh Humphries
When you parse the serialized descriptor proto, you must supply an ExtensionRegistry and make sure that custom option is registered therein. *Josh Humphries* jh...@bluegosling.com On Tue, Mar 7, 2017 at 11:02 AM, Bill Smith wrote: > I'm using protocol buffers

[protobuf] How to resolve a custom option in a protocol buffer FileDescriptor

2017-03-07 Thread Bill Smith
I'm using protocol buffers 2.5 with Java. I have a proto file that defines a custom option. Another proto file uses that custom option. If I persist the corresponding FileDescriptorProto's and then read them and convert them to FileDescriptors, the reference to the custom option is manifested