[protobuf] How do I create a field mask for a field of a repeated field?

2018-02-18 Thread Shelley Tong
Let's say you have a proto defined as the following: message Zoo { repeated Cat cats = 1; } Let's say cat looks like this: message Cat { google.protobuf.StringValue name = 1 Decimal age = 2; } If I want to reduce the amount of data in Zoo such that sample data only contains Cat w

Re: [protobuf] How to convert protocol-buffer to a HashMap in java?

2018-02-18 Thread Debraj Manna
Anyone any thoughts? On 16-Feb-2018 2:27 PM, "tuk" wrote: > Cross-posting from stackoverflow > > > I have a protobuf message of the form > > enum PolicyValidationType { > Number = 0;} >