[protobuf] Re: Nested messages using C++

2011-01-13 Thread Linus
I am new to PB and I just ran into this. Is it possible that the PB compiler does not generate set_... methods for some nested messages? Here is an example: I don't see set_... methods for ANY of the parameters in the db message. What am I missing??? package pd; message nv { repeated

Re: [protobuf] Re: Nested messages using C++

2011-01-13 Thread Jason Hsueh
On Thu, Jan 13, 2011 at 5:38 PM, Linus suram.su...@gmail.com wrote: I am new to PB and I just ran into this. Is it possible that the PB compiler does not generate set_... methods for some nested messages? Here is an example: I don't see set_... methods for ANY of the parameters in the db

Re: [protobuf] Re: Nested messages using C++

2011-01-13 Thread Jason Hsueh
By the way this is documented here: http://code.google.com/apis/protocolbuffers/docs/reference/cpp-generated.html#fields On Thu, Jan 13, 2011 at 5:42 PM, Jason Hsueh jas...@google.com wrote: On Thu, Jan 13, 2011 at 5:38 PM, Linus suram.su...@gmail.com wrote: I am new to PB and I just ran

[protobuf] Re: Nested messages using C++

2011-01-13 Thread Linus
Cool! Thank you for the clarification. On Jan 13, 5:44 pm, Jason Hsueh jas...@google.com wrote: By the way this is documented here:http://code.google.com/apis/protocolbuffers/docs/reference/cpp-genera... On Thu, Jan 13, 2011 at 5:42 PM, Jason Hsueh jas...@google.com wrote: On Thu, Jan 13,