Package emu.grasscutter.net.proto
Enum Class AccountTypeOuterClass.AccountType
java.lang.Object
java.lang.Enum<AccountTypeOuterClass.AccountType>
emu.grasscutter.net.proto.AccountTypeOuterClass.AccountType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AccountTypeOuterClass.AccountType>,Constable
- Enclosing class:
- AccountTypeOuterClass
public static enum AccountTypeOuterClass.AccountType
extends Enum<AccountTypeOuterClass.AccountType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
AccountType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionACCOUNT_TYPE_360 = 17;ACCOUNT_TYPE_BAIDU = 25;ACCOUNT_TYPE_BILI = 14;ACCOUNT_TYPE_COOLPAD = 12;ACCOUNT_TYPE_DANGLE = 26;ACCOUNT_TYPE_HUAWEI = 15;ACCOUNT_TYPE_JINLI = 23;ACCOUNT_TYPE_LENOVO = 22;ACCOUNT_TYPE_MEIZU = 16;ACCOUNT_TYPE_MIHOYO = 1;ACCOUNT_TYPE_MIHOYO_GUEST = 0;ACCOUNT_TYPE_OPPO = 18;ACCOUNT_TYPE_UC = 20;ACCOUNT_TYPE_VIVO = 19;ACCOUNT_TYPE_WANDOJIA = 21;ACCOUNT_TYPE_XIAOMI = 11;ACCOUNT_TYPE_YYB = 13; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intACCOUNT_TYPE_360 = 17;static final intACCOUNT_TYPE_BAIDU = 25;static final intACCOUNT_TYPE_BILI = 14;static final intACCOUNT_TYPE_COOLPAD = 12;static final intACCOUNT_TYPE_DANGLE = 26;static final intACCOUNT_TYPE_HUAWEI = 15;static final intACCOUNT_TYPE_JINLI = 23;static final intACCOUNT_TYPE_LENOVO = 22;static final intACCOUNT_TYPE_MEIZU = 16;static final intACCOUNT_TYPE_MIHOYO_GUEST = 0;static final intACCOUNT_TYPE_MIHOYO = 1;static final intACCOUNT_TYPE_OPPO = 18;static final intACCOUNT_TYPE_UC = 20;static final intACCOUNT_TYPE_VIVO = 19;static final intACCOUNT_TYPE_WANDOJIA = 21;static final intACCOUNT_TYPE_XIAOMI = 11;static final intACCOUNT_TYPE_YYB = 13; -
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<AccountTypeOuterClass.AccountType>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.static AccountTypeOuterClass.AccountType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCOUNT_TYPE_MIHOYO_GUEST
ACCOUNT_TYPE_MIHOYO_GUEST = 0; -
ACCOUNT_TYPE_MIHOYO
ACCOUNT_TYPE_MIHOYO = 1; -
ACCOUNT_TYPE_XIAOMI
ACCOUNT_TYPE_XIAOMI = 11; -
ACCOUNT_TYPE_COOLPAD
ACCOUNT_TYPE_COOLPAD = 12; -
ACCOUNT_TYPE_YYB
ACCOUNT_TYPE_YYB = 13; -
ACCOUNT_TYPE_BILI
ACCOUNT_TYPE_BILI = 14; -
ACCOUNT_TYPE_HUAWEI
ACCOUNT_TYPE_HUAWEI = 15; -
ACCOUNT_TYPE_MEIZU
ACCOUNT_TYPE_MEIZU = 16; -
ACCOUNT_TYPE_360
ACCOUNT_TYPE_360 = 17; -
ACCOUNT_TYPE_OPPO
ACCOUNT_TYPE_OPPO = 18; -
ACCOUNT_TYPE_VIVO
ACCOUNT_TYPE_VIVO = 19; -
ACCOUNT_TYPE_UC
ACCOUNT_TYPE_UC = 20; -
ACCOUNT_TYPE_WANDOJIA
ACCOUNT_TYPE_WANDOJIA = 21; -
ACCOUNT_TYPE_LENOVO
ACCOUNT_TYPE_LENOVO = 22; -
ACCOUNT_TYPE_JINLI
ACCOUNT_TYPE_JINLI = 23; -
ACCOUNT_TYPE_BAIDU
ACCOUNT_TYPE_BAIDU = 25; -
ACCOUNT_TYPE_DANGLE
ACCOUNT_TYPE_DANGLE = 26; -
UNRECOGNIZED
-
-
Field Details
-
ACCOUNT_TYPE_MIHOYO_GUEST_VALUE
public static final int ACCOUNT_TYPE_MIHOYO_GUEST_VALUEACCOUNT_TYPE_MIHOYO_GUEST = 0;- See Also:
-
ACCOUNT_TYPE_MIHOYO_VALUE
public static final int ACCOUNT_TYPE_MIHOYO_VALUEACCOUNT_TYPE_MIHOYO = 1;- See Also:
-
ACCOUNT_TYPE_XIAOMI_VALUE
public static final int ACCOUNT_TYPE_XIAOMI_VALUEACCOUNT_TYPE_XIAOMI = 11;- See Also:
-
ACCOUNT_TYPE_COOLPAD_VALUE
public static final int ACCOUNT_TYPE_COOLPAD_VALUEACCOUNT_TYPE_COOLPAD = 12;- See Also:
-
ACCOUNT_TYPE_YYB_VALUE
public static final int ACCOUNT_TYPE_YYB_VALUEACCOUNT_TYPE_YYB = 13;- See Also:
-
ACCOUNT_TYPE_BILI_VALUE
public static final int ACCOUNT_TYPE_BILI_VALUEACCOUNT_TYPE_BILI = 14;- See Also:
-
ACCOUNT_TYPE_HUAWEI_VALUE
public static final int ACCOUNT_TYPE_HUAWEI_VALUEACCOUNT_TYPE_HUAWEI = 15;- See Also:
-
ACCOUNT_TYPE_MEIZU_VALUE
public static final int ACCOUNT_TYPE_MEIZU_VALUEACCOUNT_TYPE_MEIZU = 16;- See Also:
-
ACCOUNT_TYPE_360_VALUE
public static final int ACCOUNT_TYPE_360_VALUEACCOUNT_TYPE_360 = 17;- See Also:
-
ACCOUNT_TYPE_OPPO_VALUE
public static final int ACCOUNT_TYPE_OPPO_VALUEACCOUNT_TYPE_OPPO = 18;- See Also:
-
ACCOUNT_TYPE_VIVO_VALUE
public static final int ACCOUNT_TYPE_VIVO_VALUEACCOUNT_TYPE_VIVO = 19;- See Also:
-
ACCOUNT_TYPE_UC_VALUE
public static final int ACCOUNT_TYPE_UC_VALUEACCOUNT_TYPE_UC = 20;- See Also:
-
ACCOUNT_TYPE_WANDOJIA_VALUE
public static final int ACCOUNT_TYPE_WANDOJIA_VALUEACCOUNT_TYPE_WANDOJIA = 21;- See Also:
-
ACCOUNT_TYPE_LENOVO_VALUE
public static final int ACCOUNT_TYPE_LENOVO_VALUEACCOUNT_TYPE_LENOVO = 22;- See Also:
-
ACCOUNT_TYPE_JINLI_VALUE
public static final int ACCOUNT_TYPE_JINLI_VALUEACCOUNT_TYPE_JINLI = 23;- See Also:
-
ACCOUNT_TYPE_BAIDU_VALUE
public static final int ACCOUNT_TYPE_BAIDU_VALUEACCOUNT_TYPE_BAIDU = 25;- See Also:
-
ACCOUNT_TYPE_DANGLE_VALUE
public static final int ACCOUNT_TYPE_DANGLE_VALUEACCOUNT_TYPE_DANGLE = 26;- 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.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<AccountTypeOuterClass.AccountType> 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 AccountTypeOuterClass.AccountType 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
-