Enum PresetRuleKey
- java.lang.Object
-
- java.lang.Enum<PresetRuleKey>
-
- com.streamlayer.sdkSettings.common.PresetRuleKey
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<PresetRuleKey>
public enum PresetRuleKey extends java.lang.Enum<PresetRuleKey> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sdkSettings.PresetRuleKey
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRESET_RULE_KEY_LEAGUEPRESET_RULE_KEY_LEAGUE = 2;PRESET_RULE_KEY_SPORTPRESET_RULE_KEY_SPORT = 1;PRESET_RULE_KEY_TEAMSPRESET_RULE_KEY_TEAMS = 3;PRESET_RULE_KEY_UNSETPRESET_RULE_KEY_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPRESET_RULE_KEY_LEAGUE_VALUEPRESET_RULE_KEY_LEAGUE = 2;static intPRESET_RULE_KEY_SPORT_VALUEPRESET_RULE_KEY_SPORT = 1;static intPRESET_RULE_KEY_TEAMS_VALUEPRESET_RULE_KEY_TEAMS = 3;static intPRESET_RULE_KEY_UNSET_VALUEPRESET_RULE_KEY_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PresetRuleKeyforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<PresetRuleKey>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static PresetRuleKeyvalueOf(int value)Deprecated.static PresetRuleKeyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PresetRuleKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRESET_RULE_KEY_UNSET
public static final PresetRuleKey PRESET_RULE_KEY_UNSET
PRESET_RULE_KEY_UNSET = 0;
-
PRESET_RULE_KEY_SPORT
public static final PresetRuleKey PRESET_RULE_KEY_SPORT
PRESET_RULE_KEY_SPORT = 1;
-
PRESET_RULE_KEY_LEAGUE
public static final PresetRuleKey PRESET_RULE_KEY_LEAGUE
PRESET_RULE_KEY_LEAGUE = 2;
-
PRESET_RULE_KEY_TEAMS
public static final PresetRuleKey PRESET_RULE_KEY_TEAMS
PRESET_RULE_KEY_TEAMS = 3;
-
UNRECOGNIZED
public static final PresetRuleKey UNRECOGNIZED
-
-
Field Detail
-
PRESET_RULE_KEY_UNSET_VALUE
public static final int PRESET_RULE_KEY_UNSET_VALUE
PRESET_RULE_KEY_UNSET = 0;- See Also:
- Constant Field Values
-
PRESET_RULE_KEY_SPORT_VALUE
public static final int PRESET_RULE_KEY_SPORT_VALUE
PRESET_RULE_KEY_SPORT = 1;- See Also:
- Constant Field Values
-
PRESET_RULE_KEY_LEAGUE_VALUE
public static final int PRESET_RULE_KEY_LEAGUE_VALUE
PRESET_RULE_KEY_LEAGUE = 2;- See Also:
- Constant Field Values
-
PRESET_RULE_KEY_TEAMS_VALUE
public static final int PRESET_RULE_KEY_TEAMS_VALUE
PRESET_RULE_KEY_TEAMS = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PresetRuleKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PresetRuleKey c : PresetRuleKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresetRuleKey valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static PresetRuleKey valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static PresetRuleKey forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PresetRuleKey> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-