private void |
TextFormat.Parser.checkUnknownFields(java.util.List<TextFormat.Parser.UnknownField> unknownFields) |
|
(package private) void |
TextFormat.Tokenizer.consume(java.lang.String token) |
If the next token exactly matches token , consume it.
|
boolean |
TextFormat.Tokenizer.consumeBoolean() |
If the next token is a boolean, consume it and return its value.
|
(package private) ByteString |
TextFormat.Tokenizer.consumeByteString() |
If the next token is a string, consume it, unescape it as a ByteString , and return
it.
|
private void |
TextFormat.Tokenizer.consumeByteString(java.util.List<ByteString> list) |
|
double |
TextFormat.Tokenizer.consumeDouble() |
If the next token is a double, consume it and return its value.
|
private void |
TextFormat.Parser.consumeFieldValue(TextFormat.Tokenizer tokenizer,
ExtensionRegistry extensionRegistry,
MessageReflection.MergeTarget target,
Descriptors.FieldDescriptor field,
ExtensionRegistry.ExtensionInfo extension,
TextFormatParseInfoTree.Builder parseTreeBuilder,
java.util.List<TextFormat.Parser.UnknownField> unknownFields,
int recursionLimit) |
Parse a single field value from tokenizer and merge it into builder .
|
private void |
TextFormat.Parser.consumeFieldValues(TextFormat.Tokenizer tokenizer,
ExtensionRegistry extensionRegistry,
MessageReflection.MergeTarget target,
Descriptors.FieldDescriptor field,
ExtensionRegistry.ExtensionInfo extension,
TextFormatParseInfoTree.Builder parseTreeBuilder,
java.util.List<TextFormat.Parser.UnknownField> unknownFields,
int recursionLimit) |
Parse a one or more field values from tokenizer and merge it into builder .
|
float |
TextFormat.Tokenizer.consumeFloat() |
If the next token is a float, consume it and return its value.
|
private java.lang.String |
TextFormat.Parser.consumeFullTypeName(TextFormat.Tokenizer tokenizer) |
|
(package private) java.lang.String |
TextFormat.Tokenizer.consumeIdentifier() |
If the next token is an identifier, consume it and return its value.
|
(package private) int |
TextFormat.Tokenizer.consumeInt32() |
If the next token is a 32-bit signed integer, consume it and return its value.
|
(package private) long |
TextFormat.Tokenizer.consumeInt64() |
If the next token is a 64-bit signed integer, consume it and return its value.
|
java.lang.String |
TextFormat.Tokenizer.consumeString() |
If the next token is a string, consume it and return its (unescaped) value.
|
(package private) int |
TextFormat.Tokenizer.consumeUInt32() |
If the next token is a 32-bit unsigned integer, consume it and return its value.
|
(package private) long |
TextFormat.Tokenizer.consumeUInt64() |
If the next token is a 64-bit unsigned integer, consume it and return its value.
|
private void |
TextFormat.Parser.guessFieldTypeAndSkip(TextFormat.Tokenizer tokenizer,
Descriptors.Descriptor type,
int recursionLimit) |
Tries to guess the type of this field and skip it.
|
static void |
TextFormat.merge(java.lang.CharSequence input,
ExtensionRegistry extensionRegistry,
Message.Builder builder) |
Parse a text-format message from input and merge the contents into builder .
|
static void |
TextFormat.merge(java.lang.CharSequence input,
Message.Builder builder) |
Parse a text-format message from input and merge the contents into builder .
|
void |
TextFormat.Parser.merge(java.lang.CharSequence input,
ExtensionRegistry extensionRegistry,
Message.Builder builder) |
Parse a text-format message from input and merge the contents into builder .
|
void |
TextFormat.Parser.merge(java.lang.CharSequence input,
Message.Builder builder) |
Parse a text-format message from input and merge the contents into builder .
|
private void |
TextFormat.Parser.mergeAnyFieldValue(TextFormat.Tokenizer tokenizer,
ExtensionRegistry extensionRegistry,
MessageReflection.MergeTarget target,
TextFormatParseInfoTree.Builder parseTreeBuilder,
java.util.List<TextFormat.Parser.UnknownField> unknownFields,
Descriptors.Descriptor anyDescriptor,
int recursionLimit) |
|
private void |
TextFormat.Parser.mergeField(TextFormat.Tokenizer tokenizer,
ExtensionRegistry extensionRegistry,
MessageReflection.MergeTarget target,
TextFormatParseInfoTree.Builder parseTreeBuilder,
java.util.List<TextFormat.Parser.UnknownField> unknownFields,
int recursionLimit) |
Parse a single field from tokenizer and merge it into target .
|
private void |
TextFormat.Parser.mergeField(TextFormat.Tokenizer tokenizer,
ExtensionRegistry extensionRegistry,
MessageReflection.MergeTarget target,
java.util.List<TextFormat.Parser.UnknownField> unknownFields,
int recursionLimit) |
Parse a single field from tokenizer and merge it into builder .
|
static <T extends Message> T |
TextFormat.parse(java.lang.CharSequence input,
ExtensionRegistry extensionRegistry,
java.lang.Class<T> protoClass) |
Parse a text-format message from input .
|
static <T extends Message> T |
TextFormat.parse(java.lang.CharSequence input,
java.lang.Class<T> protoClass) |
Parse a text-format message from input .
|
private void |
TextFormat.Parser.skipField(TextFormat.Tokenizer tokenizer,
Descriptors.Descriptor type,
int recursionLimit) |
Skips the next field including the field's name and value.
|
private void |
TextFormat.Parser.skipFieldMessage(TextFormat.Tokenizer tokenizer,
Descriptors.Descriptor type,
int recursionLimit) |
Skips the whole body of a message including the beginning delimiter and the ending delimiter.
|
private void |
TextFormat.Parser.skipFieldShortFormedRepeated(TextFormat.Tokenizer tokenizer,
boolean scalarAllowed,
Descriptors.Descriptor type,
int recursionLimit) |
Skips a short-formed repeated field value.
|
private void |
TextFormat.Parser.skipFieldValue(TextFormat.Tokenizer tokenizer) |
Skips a field value.
|