// Generated by the protocol buffer compiler. DO NOT EDIT! // source: BattlePassUnlockStatus.proto package emu.grasscutter.net.proto; public final class BattlePassUnlockStatusOuterClass { private BattlePassUnlockStatusOuterClass() {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } /** * * *
* Name: LMPDFNFNKKI
*
*
* Protobuf enum {@code BattlePassUnlockStatus}
*/
public enum BattlePassUnlockStatus implements com.google.protobuf.ProtocolMessageEnum {
/** BATTLE_PASS_UNLOCK_STATUS_INVALID = 0; */
BATTLE_PASS_UNLOCK_STATUS_INVALID(0),
/** BATTLE_PASS_UNLOCK_STATUS_FREE = 1; */
BATTLE_PASS_UNLOCK_STATUS_FREE(1),
/** BATTLE_PASS_UNLOCK_STATUS_PAID = 2; */
BATTLE_PASS_UNLOCK_STATUS_PAID(2),
UNRECOGNIZED(-1),
;
/** BATTLE_PASS_UNLOCK_STATUS_INVALID = 0; */
public static final int BATTLE_PASS_UNLOCK_STATUS_INVALID_VALUE = 0;
/** BATTLE_PASS_UNLOCK_STATUS_FREE = 1; */
public static final int BATTLE_PASS_UNLOCK_STATUS_FREE_VALUE = 1;
/** BATTLE_PASS_UNLOCK_STATUS_PAID = 2; */
public static final int BATTLE_PASS_UNLOCK_STATUS_PAID_VALUE = 2;
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 numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BattlePassUnlockStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static BattlePassUnlockStatus forNumber(int value) {
switch (value) {
case 0:
return BATTLE_PASS_UNLOCK_STATUS_INVALID;
case 1:
return BATTLE_PASS_UNLOCK_STATUS_FREE;
case 2:
return BATTLE_PASS_UNLOCK_STATUS_PAID;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap