public static class Parser
extends java.lang.Object
A simple text proto parser generated by the protoc-gen-text-parser plugin.
ParseMessageType functions are generated for each message type in the input. These
functions take an InputStream which should yield a text-format protocol buffer of the appropriate type.
If an error is encountered while parsing the message, the Parser raises a ParseException
indicating the error and the line number on which it occurred.
- See Also:
- Serialized Form