how to write a valid decoding file based on a given .proto, reading from a .pb
Based on the answer to this question I'm thinking that I've provided my .pb file with a "faulty decoder". This is the data I'm trying to decode . This is my .proto file . Based on the ListPeople.java example provided in the Java tutorial documentation , I tried to write something similar to start picking apart that data, I wrote this: import cc.refectorie.proj.relation.protobuf.DocumentProtos.Document; import cc.refectorie.proj.relation.protobuf.DocumentProtos.Document.Sentence; import java.io.FileInputStream; import java.io.IOException; import java.io.PrintStream; public class ListDocument {