On Tue, Aug 11, 2009 at 9:36 AM, Peter Keen <peter.k...@bugsplat.info>wrote:

> If I understand the docs correctly has_* will return false if the
> value is the same as the default, which in the case of numbers
> defaults to 0.

That is not correct.  has_* returns true if the value was explicitly set,
false if not, regardless of whether it is equal to the default value.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to