Package emu.grasscutter.net.proto
Enum Class AranaraCollectionStateOuterClass.AranaraCollectionState
java.lang.Object
java.lang.Enum<AranaraCollectionStateOuterClass.AranaraCollectionState>
emu.grasscutter.net.proto.AranaraCollectionStateOuterClass.AranaraCollectionState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AranaraCollectionStateOuterClass.AranaraCollectionState>,Constable
- Enclosing class:
- AranaraCollectionStateOuterClass
public static enum AranaraCollectionStateOuterClass.AranaraCollectionState
extends Enum<AranaraCollectionStateOuterClass.AranaraCollectionState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
AranaraCollectionState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionARANARA_COLLECTION_STATE_COLLECTABLE = 1;ARANARA_COLLECTION_STATE_COLLECTED = 2;ARANARA_COLLECTION_STATE_FINISHED = 3;ARANARA_COLLECTION_STATE_NONE = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intARANARA_COLLECTION_STATE_COLLECTABLE = 1;static final intARANARA_COLLECTION_STATE_COLLECTED = 2;static final intARANARA_COLLECTION_STATE_FINISHED = 3;static final intARANARA_COLLECTION_STATE_NONE = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AranaraCollectionStateOuterClass.AranaraCollectionState>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARANARA_COLLECTION_STATE_NONE
public static final AranaraCollectionStateOuterClass.AranaraCollectionState ARANARA_COLLECTION_STATE_NONEARANARA_COLLECTION_STATE_NONE = 0; -
ARANARA_COLLECTION_STATE_COLLECTABLE
public static final AranaraCollectionStateOuterClass.AranaraCollectionState ARANARA_COLLECTION_STATE_COLLECTABLEARANARA_COLLECTION_STATE_COLLECTABLE = 1; -
ARANARA_COLLECTION_STATE_COLLECTED
public static final AranaraCollectionStateOuterClass.AranaraCollectionState ARANARA_COLLECTION_STATE_COLLECTEDARANARA_COLLECTION_STATE_COLLECTED = 2; -
ARANARA_COLLECTION_STATE_FINISHED
public static final AranaraCollectionStateOuterClass.AranaraCollectionState ARANARA_COLLECTION_STATE_FINISHEDARANARA_COLLECTION_STATE_FINISHED = 3; -
UNRECOGNIZED
-
-
Field Details
-
ARANARA_COLLECTION_STATE_NONE_VALUE
public static final int ARANARA_COLLECTION_STATE_NONE_VALUEARANARA_COLLECTION_STATE_NONE = 0;- See Also:
-
ARANARA_COLLECTION_STATE_COLLECTABLE_VALUE
public static final int ARANARA_COLLECTION_STATE_COLLECTABLE_VALUEARANARA_COLLECTION_STATE_COLLECTABLE = 1;- See Also:
-
ARANARA_COLLECTION_STATE_COLLECTED_VALUE
public static final int ARANARA_COLLECTION_STATE_COLLECTED_VALUEARANARA_COLLECTION_STATE_COLLECTED = 2;- See Also:
-
ARANARA_COLLECTION_STATE_FINISHED_VALUE
public static final int ARANARA_COLLECTION_STATE_FINISHED_VALUEARANARA_COLLECTION_STATE_FINISHED = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AranaraCollectionStateOuterClass.AranaraCollectionState valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AranaraCollectionStateOuterClass.AranaraCollectionState> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static AranaraCollectionStateOuterClass.AranaraCollectionState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-