[protobuf] Message missing required fields exception when parsing a message that has required fields defaulted

2010-10-22 Thread locky
I have a question regarding required string properties and default values. Consider the following message definition. message StringTestProto { required stringProperty = 1; } I have a C++/Java setup where C++ app is producing a message and a Java app is consuming it. If the stringProperty val

[protobuf] Re: Message missing required fields exception when parsing a message that has required fields defaulted

2010-10-26 Thread locky
: > I've gotten this message for reasons other than the field not being > set.  make sure that you have the number of bytes on the delimiters > set correctly on the C++ side.  also, maybe stringProperty should be > string Property (two words). > > On Oct 22, 9:12 am, locky wrote: