Package com.google.protobuf
Class TextFormatParseInfoTree.Builder
- java.lang.Object
-
- com.google.protobuf.TextFormatParseInfoTree.Builder
-
- Enclosing class:
- TextFormatParseInfoTree
public static class TextFormatParseInfoTree.Builder extends java.lang.ObjectBuilder for aTextFormatParseInfoTree.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextFormatParseInfoTreebuild()Build theTextFormatParseInfoTree.TextFormatParseInfoTree.BuildergetBuilderForSubMessageField(Descriptors.FieldDescriptor fieldDescriptor)Set for a sub message.TextFormatParseInfoTree.BuildersetLocation(Descriptors.FieldDescriptor fieldDescriptor, TextFormatParseLocation location)Record the starting location of a single value for a field.
-
-
-
Method Detail
-
setLocation
public TextFormatParseInfoTree.Builder setLocation(Descriptors.FieldDescriptor fieldDescriptor, TextFormatParseLocation location)
Record the starting location of a single value for a field.- Parameters:
fieldDescriptor- the fieldlocation- source code location information
-
getBuilderForSubMessageField
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.- Parameters:
fieldDescriptor- the field whose value is the submessage- Returns:
- a new Builder for the sub message
-
build
public TextFormatParseInfoTree build()
Build theTextFormatParseInfoTree.- Returns:
- the
TextFormatParseInfoTree
-
-