On Tue, May 19, 2015 at 9:13 PM, Tak Wong wrote:
> We are using protobuf as our messaging, and each message, we loop thru the
> set fields, and do something with it.
>
> We loop it using
>
> for ( final Map.Entry entry :
> msg.getAllFields().entrySet()) {
> FieldDescriptor field
We are using protobuf as our messaging, and each message, we loop thru the
set fields, and do something with it.
We loop it using
for ( final Map.Entry entry :
msg.getAllFields().entrySet()) {
FieldDescriptor field = entry.getKey();
Object value = entry.getValue();