Given a FieldDescriptor and a byte[]
, how do I parse the latter to my implementation of GeneratedMessage?
Neither I can see any references to the corresponding java class (which contains generated parseFrom(byte[] data)
) nor any methods returning something like Parser<? extends GeneratedMessage>
.
In other words, I'm having trouble figuring out how to do the same (Generic Parsing of PB in java) for a field (not for the whole message).