public static Message createMessage(String messageName) {
 FileDescriptor dps = Addressbook.getDescriptor();
 Descriptor dp = dps.findMessageTypeByName(messageName);

 return null;


by the messageName   I have got the Descriptor dp;
then i want to generated message by Descriptor dp;
but i don't know how to do, any one can tell me?


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to