On Mar 27, 1:32 pm, achin...@gmail.com wrote:
If I understand correctly there is no good way to use proto buffers to
stream different types of messages, right? For example if my stream
has a mix of several messages of type m1 and m2, I will have to device
a scheme outside of proto buffers to
Kenton,
I don't suppose there'd ever be a way to mark a set of fields as
mutually exclusive?
-dave
On Mar 27, 8:42 am, Jon Skeet sk...@pobox.com sk...@pobox.com
wrote:
On Mar 27, 1:32 pm, achin...@gmail.com wrote:
If I understand correctly there is no good way to use proto buffers to
achin...@gmail.com writes:
Thanks. Also how do I know the type of the message? One way would be
to check all optional fields (each represent a different type of
message) of the wrapper message and then pick the one which is not
null. Is that the only way?
You can add a (required) field to