Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.google.protobuf.TextFormatParseInfoTree.Builder Class Reference

Public Member Functions

TextFormatParseInfoTree build ()
 
Builder getBuilderForSubMessageField (final FieldDescriptor fieldDescriptor)
 
Builder setLocation (final FieldDescriptor fieldDescriptor, TextFormatParseLocation location)
 

Private Member Functions

 Builder ()
 

Private Attributes

Map< FieldDescriptor, List< TextFormatParseLocation > > locationsFromField
 
Map< FieldDescriptor, List< Builder > > subtreeBuildersFromField
 

Detailed Description

Builder for a TextFormatParseInfoTree.

Definition at line 161 of file TextFormatParseInfoTree.java.

Constructor & Destructor Documentation

◆ Builder()

com.google.protobuf.TextFormatParseInfoTree.Builder.Builder ( )
inlineprivate

Create a root level {@ParseInfoTree} builder.

Definition at line 170 of file TextFormatParseInfoTree.java.

Member Function Documentation

◆ build()

TextFormatParseInfoTree com.google.protobuf.TextFormatParseInfoTree.Builder.build ( )
inline

Build the

.

Returns
the

Definition at line 217 of file TextFormatParseInfoTree.java.

◆ getBuilderForSubMessageField()

Builder com.google.protobuf.TextFormatParseInfoTree.Builder.getBuilderForSubMessageField ( final FieldDescriptor  fieldDescriptor)
inline

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

.

Parameters
fieldDescriptorthe field whose value is the submessage
Returns
a new Builder for the sub message

Definition at line 201 of file TextFormatParseInfoTree.java.

◆ setLocation()

Builder com.google.protobuf.TextFormatParseInfoTree.Builder.setLocation ( final FieldDescriptor  fieldDescriptor,
TextFormatParseLocation  location 
)
inline

Record the starting location of a single value for a field.

Parameters
fieldDescriptorthe field
locationsource code location information

Definition at line 181 of file TextFormatParseInfoTree.java.

Member Data Documentation

◆ locationsFromField

Map<FieldDescriptor, List<TextFormatParseLocation> > com.google.protobuf.TextFormatParseInfoTree.Builder.locationsFromField
private

Definition at line 163 of file TextFormatParseInfoTree.java.

◆ subtreeBuildersFromField

Map<FieldDescriptor, List<Builder> > com.google.protobuf.TextFormatParseInfoTree.Builder.subtreeBuildersFromField
private

Definition at line 167 of file TextFormatParseInfoTree.java.


The documentation for this class was generated from the following file:
com.google.protobuf.TextFormatParseInfoTree.builder
static Builder builder()
Definition: TextFormatParseInfoTree.java:146
com.google.protobuf.TextFormatParseInfoTree.Builder.getBuilderForSubMessageField
Builder getBuilderForSubMessageField(final FieldDescriptor fieldDescriptor)
Definition: TextFormatParseInfoTree.java:201
com.google.protobuf.TextFormatParseInfoTree.TextFormatParseInfoTree
TextFormatParseInfoTree(Map< FieldDescriptor, List< TextFormatParseLocation >> locationsFromField, Map< FieldDescriptor, List< TextFormatParseInfoTree.Builder >> subtreeBuildersFromField)
Definition: TextFormatParseInfoTree.java:66


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08