public static enum Model.Duration.Type extends java.lang.Enum<Model.Duration.Type> implements com.google.protobuf.Internal.EnumLite
ca.isupeene.charactersheet.cdk.Duration.Type| Enum Constant and Description |
|---|
DAY
DAY = 4; |
HOUR
HOUR = 3; |
INSTANTANEOUS
INSTANTANEOUS = 0; |
MINUTE
MINUTE = 2; |
ROUND
ROUND = 1; |
UNRECOGNIZED |
UNTIL_DISPELLED
UNTIL_DISPELLED = 6; |
UNTIL_DISPELLED_OR_TRIGGERED
UNTIL_DISPELLED_OR_TRIGGERED = 7; |
YEAR
YEAR = 5; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DAY_VALUE
DAY = 4; |
static int |
HOUR_VALUE
HOUR = 3; |
static int |
INSTANTANEOUS_VALUE
INSTANTANEOUS = 0; |
static int |
MINUTE_VALUE
MINUTE = 2; |
static int |
ROUND_VALUE
ROUND = 1; |
static int |
UNTIL_DISPELLED_OR_TRIGGERED_VALUE
UNTIL_DISPELLED_OR_TRIGGERED = 7; |
static int |
UNTIL_DISPELLED_VALUE
UNTIL_DISPELLED = 6; |
static int |
YEAR_VALUE
YEAR = 5; |
| Modifier and Type | Method and Description |
|---|---|
static Model.Duration.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.Duration.Type> |
internalGetValueMap() |
static Model.Duration.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.Duration.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.Duration.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.Duration.Type INSTANTANEOUS
INSTANTANEOUS = 0;public static final Model.Duration.Type ROUND
ROUND = 1;public static final Model.Duration.Type MINUTE
MINUTE = 2;public static final Model.Duration.Type HOUR
HOUR = 3;public static final Model.Duration.Type DAY
DAY = 4;public static final Model.Duration.Type YEAR
YEAR = 5;public static final Model.Duration.Type UNTIL_DISPELLED
UNTIL_DISPELLED = 6;public static final Model.Duration.Type UNTIL_DISPELLED_OR_TRIGGERED
UNTIL_DISPELLED_OR_TRIGGERED = 7;public static final Model.Duration.Type UNRECOGNIZED
public static final int INSTANTANEOUS_VALUE
INSTANTANEOUS = 0;public static final int ROUND_VALUE
ROUND = 1;public static final int MINUTE_VALUE
MINUTE = 2;public static final int HOUR_VALUE
HOUR = 3;public static final int DAY_VALUE
DAY = 4;public static final int YEAR_VALUE
YEAR = 5;public static final int UNTIL_DISPELLED_VALUE
UNTIL_DISPELLED = 6;public static final int UNTIL_DISPELLED_OR_TRIGGERED_VALUE
UNTIL_DISPELLED_OR_TRIGGERED = 7;public static Model.Duration.Type[] values()
for (Model.Duration.Type c : Model.Duration.Type.values()) System.out.println(c);
public static Model.Duration.Type 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.Duration.Type valueOf(int value)
forNumber(int) instead.public static Model.Duration.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.Duration.Type> internalGetValueMap()