public static enum Model.Unit extends java.lang.Enum<Model.Unit> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.Unit| Enum Constant and Description |
|---|
BARREL
BARREL = 8; |
BOTTLE
BOTTLE = 7; |
ENTITY
ENTITY = 0; |
FLASK
FLASK = 6; |
GALLON
GALLON = 4; |
OUNCE
OUNCE = 1; |
PINT
PINT = 2; |
QUART
QUART = 3; |
UNRECOGNIZED |
VIAL
VIAL = 5; |
| Modifier and Type | Field and Description |
|---|---|
static int |
BARREL_VALUE
BARREL = 8; |
static int |
BOTTLE_VALUE
BOTTLE = 7; |
static int |
ENTITY_VALUE
ENTITY = 0; |
static int |
FLASK_VALUE
FLASK = 6; |
static int |
GALLON_VALUE
GALLON = 4; |
static int |
OUNCE_VALUE
OUNCE = 1; |
static int |
PINT_VALUE
PINT = 2; |
static int |
QUART_VALUE
QUART = 3; |
static int |
VIAL_VALUE
VIAL = 5; |
| Modifier and Type | Method and Description |
|---|---|
static Model.Unit |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.Unit> |
internalGetValueMap() |
static Model.Unit |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.Unit ENTITY
ENTITY = 0;public static final Model.Unit OUNCE
OUNCE = 1;public static final Model.Unit PINT
PINT = 2;public static final Model.Unit QUART
QUART = 3;public static final Model.Unit GALLON
GALLON = 4;public static final Model.Unit VIAL
VIAL = 5;public static final Model.Unit FLASK
FLASK = 6;public static final Model.Unit BOTTLE
BOTTLE = 7;public static final Model.Unit BARREL
BARREL = 8;public static final Model.Unit UNRECOGNIZED
public static final int ENTITY_VALUE
ENTITY = 0;public static final int OUNCE_VALUE
OUNCE = 1;public static final int PINT_VALUE
PINT = 2;public static final int QUART_VALUE
QUART = 3;public static final int GALLON_VALUE
GALLON = 4;public static final int VIAL_VALUE
VIAL = 5;public static final int FLASK_VALUE
FLASK = 6;public static final int BOTTLE_VALUE
BOTTLE = 7;public static final int BARREL_VALUE
BARREL = 8;public static Model.Unit[] values()
for (Model.Unit c : Model.Unit.values()) System.out.println(c);
public static Model.Unit 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static Model.Unit valueOf(int value)
forNumber(int) instead.public static Model.Unit forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.Unit> internalGetValueMap()