@Generated(value="proto")
public static class TextFormat.Parser.Builder
extends java.lang.Object
Parser
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TextFormat.Parser |
build() |
TextFormat.Parser.Builder |
setAllowUnknownExtensions(boolean allowUnknownExtensions)
Set whether this parser will allow unknown extensions.
|
TextFormat.Parser.Builder |
setParseInfoTreeBuilder(TextFormatParseInfoTree.Builder parseInfoTreeBuilder) |
TextFormat.Parser.Builder |
setSingularOverwritePolicy(TextFormat.Parser.SingularOverwritePolicy p)
Sets parser behavior when a non-repeated field appears more than once.
|
public TextFormat.Parser.Builder setAllowUnknownExtensions(boolean allowUnknownExtensions)
public TextFormat.Parser.Builder setSingularOverwritePolicy(TextFormat.Parser.SingularOverwritePolicy p)
public TextFormat.Parser.Builder setParseInfoTreeBuilder(TextFormatParseInfoTree.Builder parseInfoTreeBuilder)
public TextFormat.Parser build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.