Class TextFormatParseInfoTree.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static class TextFormatParseInfoTree.Builder

Builder for a TextFormatParseInfoTree.

Inheritance

java.lang.Object > TextFormatParseInfoTree.Builder

Methods

build()

public TextFormatParseInfoTree build()

Build the TextFormatParseInfoTree.

Returns
TypeDescription
TextFormatParseInfoTree

the TextFormatParseInfoTree

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
NameDescription
fieldDescriptorDescriptors.FieldDescriptor

the field whose value is the submessage

Returns
TypeDescription
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
NameDescription
fieldDescriptorDescriptors.FieldDescriptor

the field

locationTextFormatParseLocation

source code location information

Returns
TypeDescription
TextFormatParseInfoTree.Builder