Issue was added for this: http://code.google.com/p/protobuf/issues/detail?id=57
and a potential patch was submitted.
Any chance for this in 2.0.3?
On Nov 13, 1:43 pm, Kenton Varda [EMAIL PROTECTED] wrote:
I agree, the setters should either throw NPE or should treat setFoo(null)
the same as
You may want to consider the techniques described in the protobuf doc
under Techniques/Union Types here:
http://code.google.com/apis/protocolbuffers/docs/techniques.html
By using an enum/extensions, you can use protobuf for the header as
well as the payload. The wrapper message would represent