public static enum Common.FixedOrPercent.ModeCase extends Enum<Common.FixedOrPercent.ModeCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
FIXED |
MODE_NOT_SET |
PERCENT |
| Modifier and Type | Method and Description |
|---|---|
static Common.FixedOrPercent.ModeCase |
forNumber(int value) |
int |
getNumber() |
static Common.FixedOrPercent.ModeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Common.FixedOrPercent.ModeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Common.FixedOrPercent.ModeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Common.FixedOrPercent.ModeCase FIXED
public static final Common.FixedOrPercent.ModeCase PERCENT
public static final Common.FixedOrPercent.ModeCase MODE_NOT_SET
public static Common.FixedOrPercent.ModeCase[] values()
for (Common.FixedOrPercent.ModeCase c : Common.FixedOrPercent.ModeCase.values()) System.out.println(c);
public static Common.FixedOrPercent.ModeCase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static Common.FixedOrPercent.ModeCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Common.FixedOrPercent.ModeCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.