Classes | |
class | Builder |
Public Member Functions | |
TextFormatParseLocation | getLocation (final FieldDescriptor fieldDescriptor, int index) |
List< TextFormatParseLocation > | getLocations (final FieldDescriptor fieldDescriptor) |
TextFormatParseInfoTree | getNestedTree (final FieldDescriptor fieldDescriptor, int index) |
List< TextFormatParseInfoTree > | getNestedTrees (final FieldDescriptor fieldDescriptor) |
Static Public Member Functions | |
static Builder | builder () |
Private Member Functions | |
TextFormatParseInfoTree (Map< FieldDescriptor, List< TextFormatParseLocation >> locationsFromField, Map< FieldDescriptor, List< TextFormatParseInfoTree.Builder >> subtreeBuildersFromField) | |
TextFormatParseInfoTree (Map< FieldDescriptor, List< TextFormatParseLocation >> locationsFromField, Map< FieldDescriptor, List< TextFormatParseInfoTree.Builder >> subtreeBuildersFromField) | |
Static Private Member Functions | |
static< T > T | getFromList (List< T > list, int index, FieldDescriptor fieldDescriptor) |
Private Attributes | |
Map< FieldDescriptor, List< TextFormatParseLocation > > | locationsFromField |
List< TextFormatParseLocation > | getLocations (final FieldDescriptor fieldDescriptor) |
TextFormatParseLocation | getLocation (final FieldDescriptor fieldDescriptor, int index) |
List< TextFormatParseInfoTree > | getNestedTrees (final FieldDescriptor fieldDescriptor) |
TextFormatParseInfoTree | getNestedTree (final FieldDescriptor fieldDescriptor, int index) |
static Builder | builder () |
static< T > T | getFromList (List< T > list, int index, FieldDescriptor fieldDescriptor) |
Data structure which is populated with the locations of each field value parsed from the text.
The locations of primary fields values are retrieved by
or
. The locations of sub message values are within nested
s and are retrieve by
or
.
The
is created by a Builder.
Definition at line 50 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inlineprivate |
Construct a
.
locationsFromField | a map of fields to location in the source code |
subtreeBuildersFromField | a map of fields to parse tree location information builders |
Definition at line 66 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inlineprivate |
Construct a
.
locationsFromField | a map of fields to location in the source code |
subtreeBuildersFromField | a map of fields to parse tree location information builders |
Definition at line 66 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inlinestatic |
Create a builder for a
.
Definition at line 146 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inlinestatic |
Create a builder for a
.
Definition at line 146 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inlinestaticprivate |
Definition at line 150 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inlinestaticprivate |
Definition at line 150 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Get the location in the source of a field's value.
Returns the TextFormatParseLocation for index-th value of the field in the parsed text.
fieldDescriptor | the FieldDescriptor of the desired field |
index | the index of the value. |
IllegalArgumentException | index is out of range |
Definition at line 113 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Get the location in the source of a field's value.
Returns the TextFormatParseLocation for index-th value of the field in the parsed text.
fieldDescriptor | thelink FieldDescriptor} of the desired field |
index | the index of the value. |
IllegalArgumentException | index is out of range |
Definition at line 113 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Retrieve all the locations of a field.
fieldDescriptor | the FieldDescriptor of the desired field |
Definition at line 97 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Retrieve all the locations of a field.
fieldDescriptor | thelink FieldDescriptor} of the desired field |
Definition at line 97 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Returns the parse info tree for the given field, which must be a message type.
fieldDescriptor | thelink FieldDescriptor} of the desired sub message |
index | the index of message value. |
IllegalArgumentException | if index is out of range |
Definition at line 137 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Returns the parse info tree for the given field, which must be a message type.
fieldDescriptor | the FieldDescriptor of the desired sub message |
index | the index of message value. |
IllegalArgumentException | if index is out of range |
Definition at line 137 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Retrieve a list of all the location information trees for a sub message field.
fieldDescriptor | thelink FieldDescriptor} of the desired field |
Definition at line 123 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
inline |
Retrieve a list of all the location information trees for a sub message field.
fieldDescriptor | the FieldDescriptor of the desired field |
Definition at line 123 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.
|
private |
Definition at line 54 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java.