See <>,
the section on required, optional, and repeated fields. The general
answer is yes, there’s full backwards and forwards compatibility
between different versions of protobuf and different versions of
your message, except that the things that *obviously* won’t work (like
adding a *required* field and trying to parse an old message that
didn’t have that field) won’t work.


On Mon, 25 Feb 2013 08:58:57 -0800 (PST)
jsab <> wrote:

> Must the version of the protocol message be same between the binary
> of a client and server? For example, if I am consistently adding to
> the proto-message for the server, does each client need to have the
> same version of that proto-message or does it not matter as long as
> the variables the client is using, are in the message?
> Thanks

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 post to this group, send email to
Visit this group at
For more options, visit

Reply via email to