When I am decoding protobuf encoded data, I use parseFrom() method which is available in the code generated by protoc.
parseFrom()
protoc
What I want to know is, i