@Generated(value="proto")
public static class TextFormatParseInfoTree.Builder
extends java.lang.Object
TextFormatParseInfoTree
.Modifier and Type | Method and Description |
---|---|
TextFormatParseInfoTree |
build()
Build the
TextFormatParseInfoTree . |
TextFormatParseInfoTree.Builder |
getBuilderForSubMessageField(Descriptors.FieldDescriptor fieldDescriptor)
Set for a sub message.
|
TextFormatParseInfoTree.Builder |
setLocation(Descriptors.FieldDescriptor fieldDescriptor,
TextFormatParseLocation location)
Record the starting location of a single value for a field.
|
public TextFormatParseInfoTree.Builder setLocation(Descriptors.FieldDescriptor fieldDescriptor, TextFormatParseLocation location)
fieldDescriptor
- the fieldlocation
- source code location informationpublic TextFormatParseInfoTree.Builder getBuilderForSubMessageField(Descriptors.FieldDescriptor fieldDescriptor)
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
.
fieldDescriptor
- the field whose value is the submessagepublic TextFormatParseInfoTree build()
TextFormatParseInfoTree
.TextFormatParseInfoTree
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.