public static enum Model.Resource.Recovery extends java.lang.Enum<Model.Resource.Recovery> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.Resource.Recovery| Enum Constant and Description |
|---|
LONG_REST
LONG_REST = 1; |
SHORT_REST
SHORT_REST = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LONG_REST_VALUE
LONG_REST = 1; |
static int |
SHORT_REST_VALUE
SHORT_REST = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Model.Resource.Recovery |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.Resource.Recovery> |
internalGetValueMap() |
static Model.Resource.Recovery |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.Resource.Recovery |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.Resource.Recovery[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.Resource.Recovery SHORT_REST
SHORT_REST = 0;public static final Model.Resource.Recovery LONG_REST
LONG_REST = 1;public static final Model.Resource.Recovery UNRECOGNIZED
public static final int SHORT_REST_VALUE
SHORT_REST = 0;public static final int LONG_REST_VALUE
LONG_REST = 1;public static Model.Resource.Recovery[] values()
for (Model.Resource.Recovery c : Model.Resource.Recovery.values()) System.out.println(c);
public static Model.Resource.Recovery 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.Resource.Recovery valueOf(int value)
forNumber(int) instead.public static Model.Resource.Recovery forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.Resource.Recovery> internalGetValueMap()