Enum 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 enum streamlayer.inplay.common.GameStatus
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.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 name
        java.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()