Well, apparently I am really off base. Given a Descriptor I cannot figure out how to create the right message. I *thought* this was the right approach: Descriptors.Descriptor desc = // look up the descriptor Builder builder = desc.toProto().newBuilderForType(); Message message = builder.mergeFrom(requestBytes).build();
But no. Can anyone help me with this? I need to go from the full name of a message to its builder and I'm not finding anything like MessageFactory() or DescriptorPool in Java. Thanks john -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
