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” }
On Monday, July 8, 2013 12:59:12 PM UTC-5, Ilia Mirkin wrote:
>
>
>
> If this is not an option, you can write a custom decoder that just
> skips over fields you don't need to read. This is a little tricky, but
> if you're not trying to be too generic it shouldn't be that much code.
>
Do you h
You have several options, the following protobuf fragment should be
instructive.
message Node {
required string key;
optional string value;
}
message Map {
repeated Node node;
}
On Wednesday, June 26, 2013 12:22:10 AM UTC-5, Minxuan Zhuang wrote:
>
> I have a c++ program, wrapping
On Tuesday, July 9, 2013 1:51:51 PM UTC-5, Ilia Mirkin wrote:
>
> On Tue, Jul 9, 2013 at 11:36 AM, phreed >
> wrote:
> >
> >
> > On Monday, July 8, 2013 12:59:12 PM UTC-5, Ilia Mirkin wrote:
> >>
> >>
> >>
> >>