In Java…
Given a message (b of type B), nested in another (a of type A); how does 
one get ‘a’?
I was hoping for something like ‘b.getParent()’.

message B {  optional string c = 1; }
message A { optional B b  = 1; }

Here is an example instance of an ‘a’ with textual serialization.

b { c: “foo” }



-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/eb9cbcc9-7168-4b8c-b213-84899101d6d0n%40googlegroups.com.

Reply via email to