Re: [protobuf] Nested messages accessor methods

2010-05-14 Thread Jason Hsueh
Yes, you can. What is your target language? The accessor names are generated differently - in C++ you would get lower-cased names. Have you looked at the generated header? You may also want to see http://code.google.com/apis/protocolbuffers/docs/style.html On Fri, May 14, 2010 at 1:29 AM, Jacques

[protobuf] Nested messages accessor methods

2010-05-14 Thread Jacques
Hi, Given the .proto file as below: message NestedObject { required string field = 1; } message OuterObject { required NestedObject nestedObject = 1; } Question: Can one define the nested object within the OuterObject as required? If you can use required, what will the getters/set