main.java.com.streamlayer.sportsdata.client.games.GamePeriod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sportsdata/client/games/games.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sportsdata.client.games;
/**
* Protobuf enum {@code streamlayer.sportsdata.client.games.GamePeriod}
*/
public enum GamePeriod
implements com.google.protobuf.Internal.EnumLite {
/**
* GAME_PERIOD_UNSET = 0;
*/
GAME_PERIOD_UNSET(0),
/**
* GAME_PERIOD_FIRST_TIME = 1;
*/
GAME_PERIOD_FIRST_TIME(1),
/**
* GAME_PERIOD_SECOND_TIME = 2;
*/
GAME_PERIOD_SECOND_TIME(2),
/**
* GAME_PERIOD_FIRST_TIME_EXTRA = 3;
*/
GAME_PERIOD_FIRST_TIME_EXTRA(3),
/**
* GAME_PERIOD_SECOND_TIME_EXTRA = 4;
*/
GAME_PERIOD_SECOND_TIME_EXTRA(4),
/**
* GAME_PERIOD_EXTRA_TIME = 5;
*/
GAME_PERIOD_EXTRA_TIME(5),
/**
* GAME_PERIOD_PENALTY = 6;
*/
GAME_PERIOD_PENALTY(6),
/**
* GAME_PERIOD_FIRST_QUARTER = 7;
*/
GAME_PERIOD_FIRST_QUARTER(7),
/**
* GAME_PERIOD_SECOND_QUARTER = 8;
*/
GAME_PERIOD_SECOND_QUARTER(8),
/**
* GAME_PERIOD_THIRD_QUARTER = 9;
*/
GAME_PERIOD_THIRD_QUARTER(9),
/**
* GAME_PERIOD_FOURTH_QUARTER = 10;
*/
GAME_PERIOD_FOURTH_QUARTER(10),
/**
* GAME_PERIOD_HALF = 11;
*/
GAME_PERIOD_HALF(11),
/**
* GAME_PERIOD_OVERTIME = 12;
*/
GAME_PERIOD_OVERTIME(12),
/**
* GAME_PERIOD_FINAL = 13;
*/
GAME_PERIOD_FINAL(13),
UNRECOGNIZED(-1),
;
/**
* GAME_PERIOD_UNSET = 0;
*/
public static final int GAME_PERIOD_UNSET_VALUE = 0;
/**
* GAME_PERIOD_FIRST_TIME = 1;
*/
public static final int GAME_PERIOD_FIRST_TIME_VALUE = 1;
/**
* GAME_PERIOD_SECOND_TIME = 2;
*/
public static final int GAME_PERIOD_SECOND_TIME_VALUE = 2;
/**
* GAME_PERIOD_FIRST_TIME_EXTRA = 3;
*/
public static final int GAME_PERIOD_FIRST_TIME_EXTRA_VALUE = 3;
/**
* GAME_PERIOD_SECOND_TIME_EXTRA = 4;
*/
public static final int GAME_PERIOD_SECOND_TIME_EXTRA_VALUE = 4;
/**
* GAME_PERIOD_EXTRA_TIME = 5;
*/
public static final int GAME_PERIOD_EXTRA_TIME_VALUE = 5;
/**
* GAME_PERIOD_PENALTY = 6;
*/
public static final int GAME_PERIOD_PENALTY_VALUE = 6;
/**
* GAME_PERIOD_FIRST_QUARTER = 7;
*/
public static final int GAME_PERIOD_FIRST_QUARTER_VALUE = 7;
/**
* GAME_PERIOD_SECOND_QUARTER = 8;
*/
public static final int GAME_PERIOD_SECOND_QUARTER_VALUE = 8;
/**
* GAME_PERIOD_THIRD_QUARTER = 9;
*/
public static final int GAME_PERIOD_THIRD_QUARTER_VALUE = 9;
/**
* GAME_PERIOD_FOURTH_QUARTER = 10;
*/
public static final int GAME_PERIOD_FOURTH_QUARTER_VALUE = 10;
/**
* GAME_PERIOD_HALF = 11;
*/
public static final int GAME_PERIOD_HALF_VALUE = 11;
/**
* GAME_PERIOD_OVERTIME = 12;
*/
public static final int GAME_PERIOD_OVERTIME_VALUE = 12;
/**
* GAME_PERIOD_FINAL = 13;
*/
public static final int GAME_PERIOD_FINAL_VALUE = 13;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GamePeriod valueOf(int value) {
return forNumber(value);
}
public static GamePeriod forNumber(int value) {
switch (value) {
case 0: return GAME_PERIOD_UNSET;
case 1: return GAME_PERIOD_FIRST_TIME;
case 2: return GAME_PERIOD_SECOND_TIME;
case 3: return GAME_PERIOD_FIRST_TIME_EXTRA;
case 4: return GAME_PERIOD_SECOND_TIME_EXTRA;
case 5: return GAME_PERIOD_EXTRA_TIME;
case 6: return GAME_PERIOD_PENALTY;
case 7: return GAME_PERIOD_FIRST_QUARTER;
case 8: return GAME_PERIOD_SECOND_QUARTER;
case 9: return GAME_PERIOD_THIRD_QUARTER;
case 10: return GAME_PERIOD_FOURTH_QUARTER;
case 11: return GAME_PERIOD_HALF;
case 12: return GAME_PERIOD_OVERTIME;
case 13: return GAME_PERIOD_FINAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GamePeriod> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public GamePeriod findValueByNumber(int number) {
return GamePeriod.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return GamePeriodVerifier.INSTANCE;
}
private static final class GamePeriodVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new GamePeriodVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return GamePeriod.forNumber(number) != null;
}
};
private final int value;
private GamePeriod(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.sportsdata.client.games.GamePeriod)
}