public static enum TextFormat.Parser.SingularOverwritePolicy extends java.lang.Enum<TextFormat.Parser.SingularOverwritePolicy>
Enum Constant and Description |
---|
ALLOW_SINGULAR_OVERWRITES
Later values are merged with earlier values.
|
FORBID_SINGULAR_OVERWRITES
An error is issued.
|
Modifier and Type | Method and Description |
---|---|
static TextFormat.Parser.SingularOverwritePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextFormat.Parser.SingularOverwritePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFormat.Parser.SingularOverwritePolicy ALLOW_SINGULAR_OVERWRITES
public static final TextFormat.Parser.SingularOverwritePolicy FORBID_SINGULAR_OVERWRITES
public static TextFormat.Parser.SingularOverwritePolicy[] values()
for (TextFormat.Parser.SingularOverwritePolicy c : TextFormat.Parser.SingularOverwritePolicy.values()) System.out.println(c);
public static TextFormat.Parser.SingularOverwritePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.