public static enum Model.AbilityScoreIncreaseConstraint.Type extends java.lang.Enum<Model.AbilityScoreIncreaseConstraint.Type> implements com.google.protobuf.Internal.EnumLite
TODO: Remove EXCLUSION and just allow either type to have an exclusion key.Protobuf enum
ca.isupeene.charactersheet.cdk.AbilityScoreIncreaseConstraint.Type| Enum Constant and Description |
|---|
ANY
ANY = 2; |
EXCLUSION
Bonus cannot be for the same ability as another bonus with the specified correlation_key.
|
SPECIFIC
Bonus must be one of the specified ability scores.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_VALUE
ANY = 2; |
static int |
EXCLUSION_VALUE
Bonus cannot be for the same ability as another bonus with the specified correlation_key.
|
static int |
SPECIFIC_VALUE
Bonus must be one of the specified ability scores.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.AbilityScoreIncreaseConstraint.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.AbilityScoreIncreaseConstraint.Type> |
internalGetValueMap() |
static Model.AbilityScoreIncreaseConstraint.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.AbilityScoreIncreaseConstraint.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.AbilityScoreIncreaseConstraint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.AbilityScoreIncreaseConstraint.Type SPECIFIC
Bonus must be one of the specified ability scores.
SPECIFIC = 0;public static final Model.AbilityScoreIncreaseConstraint.Type EXCLUSION
Bonus cannot be for the same ability as another bonus with the specified correlation_key.
EXCLUSION = 1;public static final Model.AbilityScoreIncreaseConstraint.Type ANY
ANY = 2;public static final Model.AbilityScoreIncreaseConstraint.Type UNRECOGNIZED
public static final int SPECIFIC_VALUE
Bonus must be one of the specified ability scores.
SPECIFIC = 0;public static final int EXCLUSION_VALUE
Bonus cannot be for the same ability as another bonus with the specified correlation_key.
EXCLUSION = 1;public static final int ANY_VALUE
ANY = 2;public static Model.AbilityScoreIncreaseConstraint.Type[] values()
for (Model.AbilityScoreIncreaseConstraint.Type c : Model.AbilityScoreIncreaseConstraint.Type.values()) System.out.println(c);
public static Model.AbilityScoreIncreaseConstraint.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.AbilityScoreIncreaseConstraint.Type valueOf(int value)
forNumber(int) instead.public static Model.AbilityScoreIncreaseConstraint.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.AbilityScoreIncreaseConstraint.Type> internalGetValueMap()