// Generated by the protocol buffer compiler. DO NOT EDIT! // source: SalvagePreventStopReason.proto package emu.grasscutter.net.proto; public final class SalvagePreventStopReasonOuterClass { private SalvagePreventStopReasonOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } /** *
* Obf: FCFOOHDOGCJ ** * Protobuf enum {@code SalvagePreventStopReason} */ public enum SalvagePreventStopReason implements com.google.protobuf.ProtocolMessageEnum { /** *
SALVAGE_PREVENT_STOP_NONE = 0;
*/
SALVAGE_PREVENT_STOP_NONE(0),
/**
* SALVAGE_PREVENT_STOP_SUCCESS = 1;
*/
SALVAGE_PREVENT_STOP_SUCCESS(1),
/**
* SALVAGE_PREVENT_STOP_ARRIVAL = 2;
*/
SALVAGE_PREVENT_STOP_ARRIVAL(2),
/**
* SALVAGE_PREVENT_STOP_INTERRUPT = 3;
*/
SALVAGE_PREVENT_STOP_INTERRUPT(3),
/**
* SALVAGE_PREVENT_STOP_LEAVE = 4;
*/
SALVAGE_PREVENT_STOP_LEAVE(4),
/**
* SALVAGE_PREVENT_STOP_FULL = 5;
*/
SALVAGE_PREVENT_STOP_FULL(5),
/**
* SALVAGE_PREVENT_STOP_AWAY = 6;
*/
SALVAGE_PREVENT_STOP_AWAY(6),
UNRECOGNIZED(-1),
;
/**
* SALVAGE_PREVENT_STOP_NONE = 0;
*/
public static final int SALVAGE_PREVENT_STOP_NONE_VALUE = 0;
/**
* SALVAGE_PREVENT_STOP_SUCCESS = 1;
*/
public static final int SALVAGE_PREVENT_STOP_SUCCESS_VALUE = 1;
/**
* SALVAGE_PREVENT_STOP_ARRIVAL = 2;
*/
public static final int SALVAGE_PREVENT_STOP_ARRIVAL_VALUE = 2;
/**
* SALVAGE_PREVENT_STOP_INTERRUPT = 3;
*/
public static final int SALVAGE_PREVENT_STOP_INTERRUPT_VALUE = 3;
/**
* SALVAGE_PREVENT_STOP_LEAVE = 4;
*/
public static final int SALVAGE_PREVENT_STOP_LEAVE_VALUE = 4;
/**
* SALVAGE_PREVENT_STOP_FULL = 5;
*/
public static final int SALVAGE_PREVENT_STOP_FULL_VALUE = 5;
/**
* SALVAGE_PREVENT_STOP_AWAY = 6;
*/
public static final int SALVAGE_PREVENT_STOP_AWAY_VALUE = 6;
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 SalvagePreventStopReason 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 SalvagePreventStopReason forNumber(int value) {
switch (value) {
case 0: return SALVAGE_PREVENT_STOP_NONE;
case 1: return SALVAGE_PREVENT_STOP_SUCCESS;
case 2: return SALVAGE_PREVENT_STOP_ARRIVAL;
case 3: return SALVAGE_PREVENT_STOP_INTERRUPT;
case 4: return SALVAGE_PREVENT_STOP_LEAVE;
case 5: return SALVAGE_PREVENT_STOP_FULL;
case 6: return SALVAGE_PREVENT_STOP_AWAY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap