I agree the hash exists,but I was looking for an option to actually put 
data on the wire.  Similar to the Java implemented WriteDelimeted functions 
a WriteVersioned, such that the information is prepended.  We can put the 
information you listed in a message and prepend it ourselves.  This works 
well in streaming situations for a sync stream type behavior as well (using 
fixed size fields).
 
Thanks 
-Mike
On Tuesday, June 12, 2012 2:27:28 AM UTC-7, DK wrote:

> Hi, 
>
> Is there any recommended way to version Protobuf files so that both Client 
> and Server can ensure they are using the same compiled Protobuf classes?
>
> I'm guessing adding a version field to each message is the only option?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/r2YLzLuKgHYJ.
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.

Reply via email to