Hi folks,

I have two classes (in java terms...)
message A {
  required string text = 1;
}

message B {
  repeated A as = 1;
}

I have one object b of class B, with a list of As as members... 

So now I can retrieve the first A as (in java):
A a = b.getAsList()[0];

But, what is I want to get the container object for a? Something like 
a.parent()?

Thanks.
-X

-- 
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/-/Jpw3K3f7Nd8J.
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.

Reply via email to