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/setters methods be?

I have tried with the required field but then no getters/setters are
generated.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to