Yes. For example by calling messageBuilder.getBuilder(marsFieldDescriptor) I would get a builder for the mars field which stays attached to the messageBuilder.
At the moment one can call Message.Builder.newBuilder(Descriptors.FieldDescriptor) in a generic way to create a new sub-builder, but this new builder is detached from the parent builder. So one cannot have a compare complex structure of builders to handle in a generic way. But the same thing works when handing messages in non-generic way. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/IsOum1RslUgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
