public static enum TextFormat.Parser.SingularOverwritePolicy extends Enum<TextFormat .Parser .SingularOverwritePolicy >
| Enum Constant and Description |
|---|
ALLOW_SINGULAR_OVERWRITES
The last value is retained.
|
FORBID_SINGULAR_OVERWRITES
An error is issued.
|
| Modifier and Type | Method and Description |
|---|---|
static TextFormat |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static TextFormat |
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(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null