Hi, I was trying to make Protobuf message self describing and also use the fact that in c++ we can get the instance of the exact message type from the name.
const Descriptor* d = DescriptorPool::generated_pool()->FindMessageTypeByName ("Message Name") ; Message * msg = MessageFactory::generated_factory()->GetPrototype(d)->New() ; msg->ParseFromString("Message data") ; This seems to work for me well. But I'm not able to find the equivalent implementation in Java. Is it possible to do the same in Java ? - Suresh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---