Hello, I am looking into protobufs and I have the following question:

1) Is it possible to define message structures at runtime? I have an 
application that sends out protobufs, but does not know how the message 
looks like at first (because they can change over time). So before sending, 
it would compose the message according to a structure (given field names 
and types).

2) Also I would like to send out the message structure to the receiving 
application. This way the receiving application could adapt to the messages 
sent by the first application. Is it possible to send such message 
structures with protobufs, as well? Of course I would create a message type 
for the exchange of message structure and use protoc for this (this message 
type will not change over time).

So are those to cases possible?

I have found 
https://groups.google.com/forum/#!topic/protobuf/bWlJaaMmx4Q
but I have no idea how to create a message.

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to