Re: [protobuf] Re: Parse PB bytes into a generic message

2010-10-27 Thread Adam Vartanian
> 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 th

[protobuf] Re: Parse PB bytes into a generic message

2010-10-27 Thread maninder batth
Since the client and server are remote, i am not sure how i can send Descriptor along with message? On Oct 27, 1:14 pm, Adam Vartanian wrote: > > I need a generic parser in java, which can de-serialize PB bytes > > buffer into a Message or GeneratedMessage. But, GeneratedMessage > > provides no