Enum GamePeriod
- java.lang.Object
-
- java.lang.Enum<GamePeriod>
-
- com.streamlayer.sportsdata.client.games.GamePeriod
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<GamePeriod>
public enum GamePeriod extends java.lang.Enum<GamePeriod> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sportsdata.client.games.GamePeriod
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GAME_PERIOD_EXTRA_TIMEGAME_PERIOD_EXTRA_TIME = 5;GAME_PERIOD_FINALGAME_PERIOD_FINAL = 13;GAME_PERIOD_FIRST_QUARTERGAME_PERIOD_FIRST_QUARTER = 7;GAME_PERIOD_FIRST_TIMEGAME_PERIOD_FIRST_TIME = 1;GAME_PERIOD_FIRST_TIME_EXTRAGAME_PERIOD_FIRST_TIME_EXTRA = 3;GAME_PERIOD_FOURTH_QUARTERGAME_PERIOD_FOURTH_QUARTER = 10;GAME_PERIOD_HALFGAME_PERIOD_HALF = 11;GAME_PERIOD_OVERTIMEGAME_PERIOD_OVERTIME = 12;GAME_PERIOD_PENALTYGAME_PERIOD_PENALTY = 6;GAME_PERIOD_SECOND_QUARTERGAME_PERIOD_SECOND_QUARTER = 8;GAME_PERIOD_SECOND_TIMEGAME_PERIOD_SECOND_TIME = 2;GAME_PERIOD_SECOND_TIME_EXTRAGAME_PERIOD_SECOND_TIME_EXTRA = 4;GAME_PERIOD_THIRD_QUARTERGAME_PERIOD_THIRD_QUARTER = 9;GAME_PERIOD_UNSETGAME_PERIOD_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intGAME_PERIOD_EXTRA_TIME_VALUEGAME_PERIOD_EXTRA_TIME = 5;static intGAME_PERIOD_FINAL_VALUEGAME_PERIOD_FINAL = 13;static intGAME_PERIOD_FIRST_QUARTER_VALUEGAME_PERIOD_FIRST_QUARTER = 7;static intGAME_PERIOD_FIRST_TIME_EXTRA_VALUEGAME_PERIOD_FIRST_TIME_EXTRA = 3;static intGAME_PERIOD_FIRST_TIME_VALUEGAME_PERIOD_FIRST_TIME = 1;static intGAME_PERIOD_FOURTH_QUARTER_VALUEGAME_PERIOD_FOURTH_QUARTER = 10;static intGAME_PERIOD_HALF_VALUEGAME_PERIOD_HALF = 11;static intGAME_PERIOD_OVERTIME_VALUEGAME_PERIOD_OVERTIME = 12;static intGAME_PERIOD_PENALTY_VALUEGAME_PERIOD_PENALTY = 6;static intGAME_PERIOD_SECOND_QUARTER_VALUEGAME_PERIOD_SECOND_QUARTER = 8;static intGAME_PERIOD_SECOND_TIME_EXTRA_VALUEGAME_PERIOD_SECOND_TIME_EXTRA = 4;static intGAME_PERIOD_SECOND_TIME_VALUEGAME_PERIOD_SECOND_TIME = 2;static intGAME_PERIOD_THIRD_QUARTER_VALUEGAME_PERIOD_THIRD_QUARTER = 9;static intGAME_PERIOD_UNSET_VALUEGAME_PERIOD_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GamePeriodforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<GamePeriod>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static GamePeriodvalueOf(int value)Deprecated.static GamePeriodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GamePeriod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GAME_PERIOD_UNSET
public static final GamePeriod GAME_PERIOD_UNSET
GAME_PERIOD_UNSET = 0;
-
GAME_PERIOD_FIRST_TIME
public static final GamePeriod GAME_PERIOD_FIRST_TIME
GAME_PERIOD_FIRST_TIME = 1;
-
GAME_PERIOD_SECOND_TIME
public static final GamePeriod GAME_PERIOD_SECOND_TIME
GAME_PERIOD_SECOND_TIME = 2;
-
GAME_PERIOD_FIRST_TIME_EXTRA
public static final GamePeriod GAME_PERIOD_FIRST_TIME_EXTRA
GAME_PERIOD_FIRST_TIME_EXTRA = 3;
-
GAME_PERIOD_SECOND_TIME_EXTRA
public static final GamePeriod GAME_PERIOD_SECOND_TIME_EXTRA
GAME_PERIOD_SECOND_TIME_EXTRA = 4;
-
GAME_PERIOD_EXTRA_TIME
public static final GamePeriod GAME_PERIOD_EXTRA_TIME
GAME_PERIOD_EXTRA_TIME = 5;
-
GAME_PERIOD_PENALTY
public static final GamePeriod GAME_PERIOD_PENALTY
GAME_PERIOD_PENALTY = 6;
-
GAME_PERIOD_FIRST_QUARTER
public static final GamePeriod GAME_PERIOD_FIRST_QUARTER
GAME_PERIOD_FIRST_QUARTER = 7;
-
GAME_PERIOD_SECOND_QUARTER
public static final GamePeriod GAME_PERIOD_SECOND_QUARTER
GAME_PERIOD_SECOND_QUARTER = 8;
-
GAME_PERIOD_THIRD_QUARTER
public static final GamePeriod GAME_PERIOD_THIRD_QUARTER
GAME_PERIOD_THIRD_QUARTER = 9;
-
GAME_PERIOD_FOURTH_QUARTER
public static final GamePeriod GAME_PERIOD_FOURTH_QUARTER
GAME_PERIOD_FOURTH_QUARTER = 10;
-
GAME_PERIOD_HALF
public static final GamePeriod GAME_PERIOD_HALF
GAME_PERIOD_HALF = 11;
-
GAME_PERIOD_OVERTIME
public static final GamePeriod GAME_PERIOD_OVERTIME
GAME_PERIOD_OVERTIME = 12;
-
GAME_PERIOD_FINAL
public static final GamePeriod GAME_PERIOD_FINAL
GAME_PERIOD_FINAL = 13;
-
UNRECOGNIZED
public static final GamePeriod UNRECOGNIZED
-
-
Field Detail
-
GAME_PERIOD_UNSET_VALUE
public static final int GAME_PERIOD_UNSET_VALUE
GAME_PERIOD_UNSET = 0;- See Also:
- Constant Field Values
-
GAME_PERIOD_FIRST_TIME_VALUE
public static final int GAME_PERIOD_FIRST_TIME_VALUE
GAME_PERIOD_FIRST_TIME = 1;- See Also:
- Constant Field Values
-
GAME_PERIOD_SECOND_TIME_VALUE
public static final int GAME_PERIOD_SECOND_TIME_VALUE
GAME_PERIOD_SECOND_TIME = 2;- See Also:
- Constant Field Values
-
GAME_PERIOD_FIRST_TIME_EXTRA_VALUE
public static final int GAME_PERIOD_FIRST_TIME_EXTRA_VALUE
GAME_PERIOD_FIRST_TIME_EXTRA = 3;- See Also:
- Constant Field Values
-
GAME_PERIOD_SECOND_TIME_EXTRA_VALUE
public static final int GAME_PERIOD_SECOND_TIME_EXTRA_VALUE
GAME_PERIOD_SECOND_TIME_EXTRA = 4;- See Also:
- Constant Field Values
-
GAME_PERIOD_EXTRA_TIME_VALUE
public static final int GAME_PERIOD_EXTRA_TIME_VALUE
GAME_PERIOD_EXTRA_TIME = 5;- See Also:
- Constant Field Values
-
GAME_PERIOD_PENALTY_VALUE
public static final int GAME_PERIOD_PENALTY_VALUE
GAME_PERIOD_PENALTY = 6;- See Also:
- Constant Field Values
-
GAME_PERIOD_FIRST_QUARTER_VALUE
public static final int GAME_PERIOD_FIRST_QUARTER_VALUE
GAME_PERIOD_FIRST_QUARTER = 7;- See Also:
- Constant Field Values
-
GAME_PERIOD_SECOND_QUARTER_VALUE
public static final int GAME_PERIOD_SECOND_QUARTER_VALUE
GAME_PERIOD_SECOND_QUARTER = 8;- See Also:
- Constant Field Values
-
GAME_PERIOD_THIRD_QUARTER_VALUE
public static final int GAME_PERIOD_THIRD_QUARTER_VALUE
GAME_PERIOD_THIRD_QUARTER = 9;- See Also:
- Constant Field Values
-
GAME_PERIOD_FOURTH_QUARTER_VALUE
public static final int GAME_PERIOD_FOURTH_QUARTER_VALUE
GAME_PERIOD_FOURTH_QUARTER = 10;- See Also:
- Constant Field Values
-
GAME_PERIOD_HALF_VALUE
public static final int GAME_PERIOD_HALF_VALUE
GAME_PERIOD_HALF = 11;- See Also:
- Constant Field Values
-
GAME_PERIOD_OVERTIME_VALUE
public static final int GAME_PERIOD_OVERTIME_VALUE
GAME_PERIOD_OVERTIME = 12;- See Also:
- Constant Field Values
-
GAME_PERIOD_FINAL_VALUE
public static final int GAME_PERIOD_FINAL_VALUE
GAME_PERIOD_FINAL = 13;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GamePeriod[] 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 (GamePeriod c : GamePeriod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GamePeriod 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 GamePeriod 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 GamePeriod forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GamePeriod> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-