Package com.streamlayer.inplay.common
Enum GameStatus
- java.lang.Object
-
- java.lang.Enum<GameStatus>
-
- com.streamlayer.inplay.common.GameStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<GameStatus>
public enum GameStatus extends java.lang.Enum<GameStatus> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.inplay.common.GameStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GAME_STATUS_FINISHEDGAME_STATUS_FINISHED = 3;GAME_STATUS_NOT_STARTEDGAME_STATUS_NOT_STARTED = 1;GAME_STATUS_STARTEDGAME_STATUS_STARTED = 2;GAME_STATUS_UNSETGAME_STATUS_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intGAME_STATUS_FINISHED_VALUEGAME_STATUS_FINISHED = 3;static intGAME_STATUS_NOT_STARTED_VALUEGAME_STATUS_NOT_STARTED = 1;static intGAME_STATUS_STARTED_VALUEGAME_STATUS_STARTED = 2;static intGAME_STATUS_UNSET_VALUEGAME_STATUS_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GameStatusforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<GameStatus>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static GameStatusvalueOf(int value)Deprecated.static GameStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GameStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GAME_STATUS_UNSET
public static final GameStatus GAME_STATUS_UNSET
GAME_STATUS_UNSET = 0;
-
GAME_STATUS_NOT_STARTED
public static final GameStatus GAME_STATUS_NOT_STARTED
GAME_STATUS_NOT_STARTED = 1;
-
GAME_STATUS_STARTED
public static final GameStatus GAME_STATUS_STARTED
GAME_STATUS_STARTED = 2;
-
GAME_STATUS_FINISHED
public static final GameStatus GAME_STATUS_FINISHED
GAME_STATUS_FINISHED = 3;
-
UNRECOGNIZED
public static final GameStatus UNRECOGNIZED
-
-
Field Detail
-
GAME_STATUS_UNSET_VALUE
public static final int GAME_STATUS_UNSET_VALUE
GAME_STATUS_UNSET = 0;- See Also:
- Constant Field Values
-
GAME_STATUS_NOT_STARTED_VALUE
public static final int GAME_STATUS_NOT_STARTED_VALUE
GAME_STATUS_NOT_STARTED = 1;- See Also:
- Constant Field Values
-
GAME_STATUS_STARTED_VALUE
public static final int GAME_STATUS_STARTED_VALUE
GAME_STATUS_STARTED = 2;- See Also:
- Constant Field Values
-
GAME_STATUS_FINISHED_VALUE
public static final int GAME_STATUS_FINISHED_VALUE
GAME_STATUS_FINISHED = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GameStatus[] 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 (GameStatus c : GameStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GameStatus 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 GameStatus 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 GameStatus forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GameStatus> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-