On Jul 14, 2010, at 4:36 , bwp wrote:
If we have to go down that route what would be a good identifier?
See Peter's email. But you can also use
msg.getDescriptorForType().getFullName() to get a unique string for
each protocol buffer message type. This is what I do for my own RPC
system, which needs to be able to handle *any* message type (hence the
"union" or "extension" approaches are not really correct). This needs
the non-lite runtime, in order to have descriptors for messages. See:
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at