Re: null values should be treated as no value

2008-11-23 Thread Jerry Cattell
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

Re: Streaming

2008-11-23 Thread Scott Stafford
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