Re: [protobuf] Getting fields from a generated Dynamic Message

2012-05-15 Thread Jason Hsueh
You should have the message type's Descriptors.Descriptor in order to have gotten a DynamicMessage in the first place. That class is the equivalent of the C++ Descriptor class and has a findFieldByName

[protobuf] Getting fields from a generated Dynamic Message

2012-05-09 Thread Vinay Bansal
Hey, I have generated DynamicMessage from available FileDescriptorSet, now I want to be able to get fields from this message. Based on the typename I know what kind of message this is, but I don't know how to get the value of any particular field. Available getter functions available in java