Class TextFormat.Parser

  • Enclosing class:
    TextFormat

    public static class TextFormat.Parser
    extends java.lang.Object
    Parser for text-format proto2 instances. This class is thread-safe. The implementation largely follows google/protobuf/text_format.cc.

    Use TextFormat.getParser() to obtain the default parser, or TextFormat.Parser.Builder to control the parser behavior.