Classes | |
class | Builder |
enum | SingularOverwritePolicy |
class | UnknownField |
Public Member Functions | |
void | merge (final CharSequence input, final ExtensionRegistry extensionRegistry, final Message.Builder builder) throws ParseException |
void | merge (final CharSequence input, final ExtensionRegistry extensionRegistry, final Message.Builder builder) throws ParseException |
void | merge (final CharSequence input, final Message.Builder builder) throws ParseException |
void | merge (final CharSequence input, final Message.Builder builder) throws ParseException |
void | merge (final Readable input, final ExtensionRegistry extensionRegistry, final Message.Builder builder) throws IOException |
void | merge (final Readable input, final ExtensionRegistry extensionRegistry, final Message.Builder builder) throws IOException |
void | merge (final Readable input, final Message.Builder builder) throws IOException |
void | merge (final Readable input, final Message.Builder builder) throws IOException |
Static Public Member Functions | |
static Builder | newBuilder () |
static Builder | newBuilder () |
Private Member Functions | |
void | checkUnknownFields (final List< UnknownField > unknownFields) throws ParseException |
void | checkUnknownFields (final List< UnknownField > unknownFields) throws ParseException |
Object | consumeAnyFieldValue (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final FieldDescriptor field, final TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
void | consumeFieldValue (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, final FieldDescriptor field, final ExtensionRegistry.ExtensionInfo extension, final TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
void | consumeFieldValue (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, final FieldDescriptor field, final ExtensionRegistry.ExtensionInfo extension, final TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
void | consumeFieldValues (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, final FieldDescriptor field, final ExtensionRegistry.ExtensionInfo extension, final TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
void | consumeFieldValues (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, final FieldDescriptor field, final ExtensionRegistry.ExtensionInfo extension, final TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
void | mergeAnyFieldValue (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, MergeTarget target, final TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields, Descriptor anyDescriptor) throws ParseException |
void | mergeField (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, List< UnknownField > unknownFields) throws ParseException |
void | mergeField (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, List< UnknownField > unknownFields) throws ParseException |
void | mergeField (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
void | mergeField (final Tokenizer tokenizer, final ExtensionRegistry extensionRegistry, final MessageReflection.MergeTarget target, TextFormatParseInfoTree.Builder parseTreeBuilder, List< UnknownField > unknownFields) throws ParseException |
Parser (TypeRegistry typeRegistry, boolean allowUnknownFields, boolean allowUnknownEnumValues, boolean allowUnknownExtensions, SingularOverwritePolicy singularOverwritePolicy, TextFormatParseInfoTree.Builder parseInfoTreeBuilder) | |
Parser (TypeRegistry typeRegistry, boolean allowUnknownFields, boolean allowUnknownEnumValues, boolean allowUnknownExtensions, SingularOverwritePolicy singularOverwritePolicy, TextFormatParseInfoTree.Builder parseInfoTreeBuilder) | |
void | skipField (Tokenizer tokenizer) throws ParseException |
void | skipFieldMessage (Tokenizer tokenizer) throws ParseException |
void | skipFieldValue (Tokenizer tokenizer) throws ParseException |
Static Private Member Functions | |
static void | skipField (Tokenizer tokenizer) throws ParseException |
static void | skipFieldMessage (Tokenizer tokenizer) throws ParseException |
static void | skipFieldValue (Tokenizer tokenizer) throws ParseException |
static StringBuilder | toStringBuilder (final Readable input) throws IOException |
static StringBuilder | toStringBuilder (final Readable input) throws IOException |
Private Attributes | |
final boolean | allowUnknownEnumValues |
final boolean | allowUnknownExtensions |
final boolean | allowUnknownFields |
TextFormatParseInfoTree.Builder | parseInfoTreeBuilder |
final SingularOverwritePolicy | singularOverwritePolicy |
final TypeRegistry | typeRegistry |
Static Private Attributes | |
static final int | BUFFER_SIZE = 4096 |
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 Builder to control the parser behavior.
Definition at line 1438 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Definition at line 1467 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Definition at line 1552 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Definition at line 1624 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Definition at line 1709 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Definition at line 2055 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a single field value from
and merge it into
.
Definition at line 1889 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a single field value from
and merge it into
.
Definition at line 1980 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a one or more field values from
and merge it into
.
Definition at line 1847 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a one or more field values from
and merge it into
.
Definition at line 1938 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
. Extensions will be recognized if they are registered in
.
Definition at line 1664 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
. Extensions will be recognized if they are registered in
.
Definition at line 1749 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
.
Definition at line 1564 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
.
Definition at line 1649 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
. Extensions will be recognized if they are registered in
.
Definition at line 1573 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
. Extensions will be recognized if they are registered in
.
Definition at line 1658 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
.
Definition at line 1557 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inline |
Parse a text-format message from
and merge the contents into
.
Definition at line 1642 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Definition at line 2150 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a single field from
and merge it into
.
Definition at line 1683 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a single field from
and merge it into
.
Definition at line 1768 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a single field from
and merge it into
.
Definition at line 1698 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Parse a single field from
and merge it into
.
Definition at line 1783 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestatic |
Returns a new instance of Builder.
Definition at line 1483 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestatic |
Returns a new instance of Builder.
Definition at line 1568 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Skips the next field including the field's name and value.
Definition at line 2122 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestaticprivate |
Skips the next field including the field's name and value.
Definition at line 2210 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Skips the whole body of a message including the beginning delimiter and the ending delimiter.
Definition at line 2154 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestaticprivate |
Skips the whole body of a message including the beginning delimiter and the ending delimiter.
Definition at line 2242 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlineprivate |
Skips a field value.
Definition at line 2169 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestaticprivate |
Skips a field value.
Definition at line 2257 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestaticprivate |
Definition at line 1594 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
inlinestaticprivate |
Definition at line 1679 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
private |
Definition at line 1462 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
private |
Definition at line 1463 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
private |
Definition at line 1461 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
staticprivate |
Definition at line 1590 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
private |
Definition at line 1465 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
private |
Definition at line 1464 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.
|
private |
Definition at line 1460 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.