Class TextFormatParseInfoTree.Builder (3.19.4)

public static class TextFormatParseInfoTree.Builder

Builder for a TextFormatParseInfoTree.

Inheritance

java.lang.Object > TextFormatParseInfoTree.Builder

Methods

build()

public TextFormatParseInfoTree build()

Build the TextFormatParseInfoTree.

Returns
Type Description
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
Name Description
fieldDescriptor Descriptors.FieldDescriptor

the 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.FieldDescriptor

the field

location TextFormatParseLocation

source code location information

Returns
Type Description
TextFormatParseInfoTree.Builder