public static class TextFormatParseInfoTree.BuilderBuilder for a TextFormatParseInfoTree.
Methods
build()
public TextFormatParseInfoTree build()Build the TextFormatParseInfoTree.
| Returns | |
|---|---|
| Type | Description |
TextFormatParseInfoTree |
the |
getBuilderForSubMessageField(Descriptors.FieldDescriptor fieldDescriptor)
public TextFormatParseInfoTree.Builder getBuilderForSubMessageField(Descriptors.FieldDescriptor fieldDescriptor)Set for a sub message.
A new builder is created for a sub message. The builder that is returned is a new builder.
The return is not the invoked builder.getBuilderForSubMessageField.
| Parameter | |
|---|---|
| Name | Description |
fieldDescriptor |
Descriptors.FieldDescriptorthe field whose value is the submessage |
| Returns | |
|---|---|
| Type | Description |
TextFormatParseInfoTree.Builder |
a new Builder for the sub message |
setLocation(Descriptors.FieldDescriptor fieldDescriptor, TextFormatParseLocation location)
public TextFormatParseInfoTree.Builder setLocation(Descriptors.FieldDescriptor fieldDescriptor, TextFormatParseLocation location)Record the starting location of a single value for a field.
| Parameters | |
|---|---|
| Name | Description |
fieldDescriptor |
Descriptors.FieldDescriptorthe field |
location |
TextFormatParseLocationsource code location information |
| Returns | |
|---|---|
| Type | Description |
TextFormatParseInfoTree.Builder |
|