In that case I recommend you browse through my recent discussion with
Dale Durham as I walked him through the process of using the
FileDescriptorSet's that are created when you compile using the --
descriptor_set_out flag to protoc or can obtain from another runtime
that has access to compiled protocol buffer files.

The only difference is that you need to register each extension
manually with the ExtensionRegistry as no "registerAllExtensions"
method is available.

You can register extensions manually from a FileDescriptor as such:

                FileDescriptor fileDescriptor;
                ExtensionRegistry extensionRegistry =

                for(FieldDescriptor extension : fileDescriptor.getExtensions()) 

On Oct 11, 6:33 pm, prem <> wrote:
> Thanks for the info. this solution requires the Class MyMesage be
> present on the receiving side.
> I was trying to just use the description-out file created by the
> protoc tool.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to