main.java.com.streamlayer.sports.common.LeagueSyncStatus 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/sports/sports_common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.common;
/**
* Protobuf enum {@code streamlayer.sports.LeagueSyncStatus}
*/
public enum LeagueSyncStatus
implements com.google.protobuf.Internal.EnumLite {
/**
* LEAGUE_SYNC_STATUS_UNSET = 0;
*/
LEAGUE_SYNC_STATUS_UNSET(0),
/**
* LEAGUE_SYNC_STATUS_SCHEDULED = 1;
*/
LEAGUE_SYNC_STATUS_SCHEDULED(1),
/**
* LEAGUE_SYNC_STATUS_IN_PROGRESS = 2;
*/
LEAGUE_SYNC_STATUS_IN_PROGRESS(2),
/**
* LEAGUE_SYNC_STATUS_SYNCED = 3;
*/
LEAGUE_SYNC_STATUS_SYNCED(3),
/**
* LEAGUE_SYNC_STATUS_ERROR = 4;
*/
LEAGUE_SYNC_STATUS_ERROR(4),
UNRECOGNIZED(-1),
;
/**
* LEAGUE_SYNC_STATUS_UNSET = 0;
*/
public static final int LEAGUE_SYNC_STATUS_UNSET_VALUE = 0;
/**
* LEAGUE_SYNC_STATUS_SCHEDULED = 1;
*/
public static final int LEAGUE_SYNC_STATUS_SCHEDULED_VALUE = 1;
/**
* LEAGUE_SYNC_STATUS_IN_PROGRESS = 2;
*/
public static final int LEAGUE_SYNC_STATUS_IN_PROGRESS_VALUE = 2;
/**
* LEAGUE_SYNC_STATUS_SYNCED = 3;
*/
public static final int LEAGUE_SYNC_STATUS_SYNCED_VALUE = 3;
/**
* LEAGUE_SYNC_STATUS_ERROR = 4;
*/
public static final int LEAGUE_SYNC_STATUS_ERROR_VALUE = 4;
@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 LeagueSyncStatus valueOf(int value) {
return forNumber(value);
}
public static LeagueSyncStatus forNumber(int value) {
switch (value) {
case 0: return LEAGUE_SYNC_STATUS_UNSET;
case 1: return LEAGUE_SYNC_STATUS_SCHEDULED;
case 2: return LEAGUE_SYNC_STATUS_IN_PROGRESS;
case 3: return LEAGUE_SYNC_STATUS_SYNCED;
case 4: return LEAGUE_SYNC_STATUS_ERROR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LeagueSyncStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public LeagueSyncStatus findValueByNumber(int number) {
return LeagueSyncStatus.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LeagueSyncStatusVerifier.INSTANCE;
}
private static final class LeagueSyncStatusVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LeagueSyncStatusVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LeagueSyncStatus.forNumber(number) != null;
}
};
private final int value;
private LeagueSyncStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.sports.LeagueSyncStatus)
}