Package emu.grasscutter.net.proto
Enum Class ChannelIdTypeOuterClass.ChannelIdType
java.lang.Object
java.lang.Enum<ChannelIdTypeOuterClass.ChannelIdType>
emu.grasscutter.net.proto.ChannelIdTypeOuterClass.ChannelIdType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ChannelIdTypeOuterClass.ChannelIdType>,Constable
- Enclosing class:
- ChannelIdTypeOuterClass
public static enum ChannelIdTypeOuterClass.ChannelIdType
extends Enum<ChannelIdTypeOuterClass.ChannelIdType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
ChannelIdType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCHANNEL_ID_TYPE_360 = 17;CHANNEL_ID_TYPE_BAIDU = 25;CHANNEL_ID_TYPE_BILI = 14;CHANNEL_ID_TYPE_COOLPAD = 12;CHANNEL_ID_TYPE_DANGLE = 26;CHANNEL_ID_TYPE_HUAWEI = 15;CHANNEL_ID_TYPE_JINLI = 23;CHANNEL_ID_TYPE_LENOVO = 22;CHANNEL_ID_TYPE_MEIZU = 16;CHANNEL_ID_TYPE_MIHOYO = 1;CHANNEL_ID_TYPE_NONE = 0;CHANNEL_ID_TYPE_OPPO = 18;CHANNEL_ID_TYPE_UC = 20;CHANNEL_ID_TYPE_VIVO = 19;CHANNEL_ID_TYPE_XIAOMI = 11;CHANNEL_ID_TYPE_YYB = 13; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCHANNEL_ID_TYPE_360 = 17;static final intCHANNEL_ID_TYPE_BAIDU = 25;static final intCHANNEL_ID_TYPE_BILI = 14;static final intCHANNEL_ID_TYPE_COOLPAD = 12;static final intCHANNEL_ID_TYPE_DANGLE = 26;static final intCHANNEL_ID_TYPE_HUAWEI = 15;static final intCHANNEL_ID_TYPE_JINLI = 23;static final intCHANNEL_ID_TYPE_LENOVO = 22;static final intCHANNEL_ID_TYPE_MEIZU = 16;static final intCHANNEL_ID_TYPE_MIHOYO = 1;static final intCHANNEL_ID_TYPE_NONE = 0;static final intCHANNEL_ID_TYPE_OPPO = 18;static final intCHANNEL_ID_TYPE_UC = 20;static final intCHANNEL_ID_TYPE_VIVO = 19;static final intCHANNEL_ID_TYPE_XIAOMI = 11;static final intCHANNEL_ID_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<ChannelIdTypeOuterClass.ChannelIdType>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
-
CHANNEL_ID_TYPE_NONE
CHANNEL_ID_TYPE_NONE = 0; -
CHANNEL_ID_TYPE_MIHOYO
CHANNEL_ID_TYPE_MIHOYO = 1; -
CHANNEL_ID_TYPE_XIAOMI
CHANNEL_ID_TYPE_XIAOMI = 11; -
CHANNEL_ID_TYPE_COOLPAD
CHANNEL_ID_TYPE_COOLPAD = 12; -
CHANNEL_ID_TYPE_YYB
CHANNEL_ID_TYPE_YYB = 13; -
CHANNEL_ID_TYPE_BILI
CHANNEL_ID_TYPE_BILI = 14; -
CHANNEL_ID_TYPE_HUAWEI
CHANNEL_ID_TYPE_HUAWEI = 15; -
CHANNEL_ID_TYPE_MEIZU
CHANNEL_ID_TYPE_MEIZU = 16; -
CHANNEL_ID_TYPE_360
CHANNEL_ID_TYPE_360 = 17; -
CHANNEL_ID_TYPE_OPPO
CHANNEL_ID_TYPE_OPPO = 18; -
CHANNEL_ID_TYPE_VIVO
CHANNEL_ID_TYPE_VIVO = 19; -
CHANNEL_ID_TYPE_UC
CHANNEL_ID_TYPE_UC = 20; -
CHANNEL_ID_TYPE_LENOVO
CHANNEL_ID_TYPE_LENOVO = 22; -
CHANNEL_ID_TYPE_JINLI
CHANNEL_ID_TYPE_JINLI = 23; -
CHANNEL_ID_TYPE_BAIDU
CHANNEL_ID_TYPE_BAIDU = 25; -
CHANNEL_ID_TYPE_DANGLE
CHANNEL_ID_TYPE_DANGLE = 26; -
UNRECOGNIZED
-
-
Field Details
-
CHANNEL_ID_TYPE_NONE_VALUE
public static final int CHANNEL_ID_TYPE_NONE_VALUECHANNEL_ID_TYPE_NONE = 0;- See Also:
-
CHANNEL_ID_TYPE_MIHOYO_VALUE
public static final int CHANNEL_ID_TYPE_MIHOYO_VALUECHANNEL_ID_TYPE_MIHOYO = 1;- See Also:
-
CHANNEL_ID_TYPE_XIAOMI_VALUE
public static final int CHANNEL_ID_TYPE_XIAOMI_VALUECHANNEL_ID_TYPE_XIAOMI = 11;- See Also:
-
CHANNEL_ID_TYPE_COOLPAD_VALUE
public static final int CHANNEL_ID_TYPE_COOLPAD_VALUECHANNEL_ID_TYPE_COOLPAD = 12;- See Also:
-
CHANNEL_ID_TYPE_YYB_VALUE
public static final int CHANNEL_ID_TYPE_YYB_VALUECHANNEL_ID_TYPE_YYB = 13;- See Also:
-
CHANNEL_ID_TYPE_BILI_VALUE
public static final int CHANNEL_ID_TYPE_BILI_VALUECHANNEL_ID_TYPE_BILI = 14;- See Also:
-
CHANNEL_ID_TYPE_HUAWEI_VALUE
public static final int CHANNEL_ID_TYPE_HUAWEI_VALUECHANNEL_ID_TYPE_HUAWEI = 15;- See Also:
-
CHANNEL_ID_TYPE_MEIZU_VALUE
public static final int CHANNEL_ID_TYPE_MEIZU_VALUECHANNEL_ID_TYPE_MEIZU = 16;- See Also:
-
CHANNEL_ID_TYPE_360_VALUE
public static final int CHANNEL_ID_TYPE_360_VALUECHANNEL_ID_TYPE_360 = 17;- See Also:
-
CHANNEL_ID_TYPE_OPPO_VALUE
public static final int CHANNEL_ID_TYPE_OPPO_VALUECHANNEL_ID_TYPE_OPPO = 18;- See Also:
-
CHANNEL_ID_TYPE_VIVO_VALUE
public static final int CHANNEL_ID_TYPE_VIVO_VALUECHANNEL_ID_TYPE_VIVO = 19;- See Also:
-
CHANNEL_ID_TYPE_UC_VALUE
public static final int CHANNEL_ID_TYPE_UC_VALUECHANNEL_ID_TYPE_UC = 20;- See Also:
-
CHANNEL_ID_TYPE_LENOVO_VALUE
public static final int CHANNEL_ID_TYPE_LENOVO_VALUECHANNEL_ID_TYPE_LENOVO = 22;- See Also:
-
CHANNEL_ID_TYPE_JINLI_VALUE
public static final int CHANNEL_ID_TYPE_JINLI_VALUECHANNEL_ID_TYPE_JINLI = 23;- See Also:
-
CHANNEL_ID_TYPE_BAIDU_VALUE
public static final int CHANNEL_ID_TYPE_BAIDU_VALUECHANNEL_ID_TYPE_BAIDU = 25;- See Also:
-
CHANNEL_ID_TYPE_DANGLE_VALUE
public static final int CHANNEL_ID_TYPE_DANGLE_VALUECHANNEL_ID_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<ChannelIdTypeOuterClass.ChannelIdType> 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 ChannelIdTypeOuterClass.ChannelIdType 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
-