> Since the client and server are remote, i am not sure how i can send
> Descriptor along with message?
All the different kinds of descriptors have associated protocol
messages available through their toProto() methods, so you can
serialize them, send them over the wire, and deserialize them on the
other end. You have to deserialize a FileDescriptorProto, though, so
you can either send the appropriate FileDescriptorProto or just send a
DescriptorProto and build the file on the receiving end.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at