Re: [protobuf] Re: Delay in Sending Data

2010-10-22 Thread Evan Jones
Kevin wrote: My only concern now is in regards to messages sizes and the prepending the size at the beginning. What is the best way to go about this? My test message required on one byte but my next messages will probably require 2 if not 3 bytes. What is the proper way to handle this in the

[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

Re: [protobuf] omitting tag numbers

2010-10-22 Thread Henner Zeller
On Fri, Oct 22, 2010 at 15:01, Paul mjpabl...@gmail.com wrote: Hi, This may seem like a basic question, but I find having to label the .proto file with unique tag numbers for each field a little cumbersome, especially if there are a lot of fields. message Person {  required string name =