Enum RoomMsgTypeEnum
java.lang.Object
java.lang.Enum<RoomMsgTypeEnum>
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.RoomMsgTypeEnum
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RoomMsgTypeEnum>,java.lang.constant.Constable
public enum RoomMsgTypeEnum
extends Enum<RoomMsgTypeEnum>
implements com.google.protobuf.ProtocolMessageEnum
from https://github.com/scx567888/live-room-watcher/blob/master/src/main/proto/douyin_hack/webcast/im/RoomMsgTypeEnum.protoProtobuf enum
RoomMsgTypeEnum-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCONSUMERRELATIONROOMMSG = 2;DEFAULTROOMMSG = 0;ECOMLIVEREPLAYSAVEROOMMSG = 1;HOSTTEAMSYSTEMMSG = 7;JUMANJIDATAAUTHNOTIFYMSG = 3;MINORREFUNDMSG = 5;PAIDLIVEROOMNOTIFYANCHORMSG = 6;VSWELCOMEMSG = 4; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCONSUMERRELATIONROOMMSG = 2;static final intDEFAULTROOMMSG = 0;static final intECOMLIVEREPLAYSAVEROOMMSG = 1;static final intHOSTTEAMSYSTEMMSG = 7;static final intJUMANJIDATAAUTHNOTIFYMSG = 3;static final intMINORREFUNDMSG = 5;static final intPAIDLIVEROOMNOTIFYANCHORMSG = 6;static final intVSWELCOMEMSG = 4; -
Method Summary
Modifier and TypeMethodDescriptionstatic RoomMsgTypeEnumforNumber(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<RoomMsgTypeEnum>static RoomMsgTypeEnumvalueOf(int value) Deprecated.static RoomMsgTypeEnumvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RoomMsgTypeEnumReturns the enum constant of this type with the specified name.static RoomMsgTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULTROOMMSG
DEFAULTROOMMSG = 0; -
ECOMLIVEREPLAYSAVEROOMMSG
ECOMLIVEREPLAYSAVEROOMMSG = 1; -
CONSUMERRELATIONROOMMSG
CONSUMERRELATIONROOMMSG = 2; -
JUMANJIDATAAUTHNOTIFYMSG
JUMANJIDATAAUTHNOTIFYMSG = 3; -
VSWELCOMEMSG
VSWELCOMEMSG = 4; -
MINORREFUNDMSG
MINORREFUNDMSG = 5; -
PAIDLIVEROOMNOTIFYANCHORMSG
PAIDLIVEROOMNOTIFYANCHORMSG = 6; -
HOSTTEAMSYSTEMMSG
HOSTTEAMSYSTEMMSG = 7; -
UNRECOGNIZED
-
-
Field Details
-
DEFAULTROOMMSG_VALUE
public static final int DEFAULTROOMMSG_VALUEDEFAULTROOMMSG = 0;- See Also:
-
ECOMLIVEREPLAYSAVEROOMMSG_VALUE
public static final int ECOMLIVEREPLAYSAVEROOMMSG_VALUEECOMLIVEREPLAYSAVEROOMMSG = 1;- See Also:
-
CONSUMERRELATIONROOMMSG_VALUE
public static final int CONSUMERRELATIONROOMMSG_VALUECONSUMERRELATIONROOMMSG = 2;- See Also:
-
JUMANJIDATAAUTHNOTIFYMSG_VALUE
public static final int JUMANJIDATAAUTHNOTIFYMSG_VALUEJUMANJIDATAAUTHNOTIFYMSG = 3;- See Also:
-
VSWELCOMEMSG_VALUE
public static final int VSWELCOMEMSG_VALUEVSWELCOMEMSG = 4;- See Also:
-
MINORREFUNDMSG_VALUE
public static final int MINORREFUNDMSG_VALUEMINORREFUNDMSG = 5;- See Also:
-
PAIDLIVEROOMNOTIFYANCHORMSG_VALUE
public static final int PAIDLIVEROOMNOTIFYANCHORMSG_VALUEPAIDLIVEROOMNOTIFYANCHORMSG = 6;- See Also:
-
HOSTTEAMSYSTEMMSG_VALUE
public static final int HOSTTEAMSYSTEMMSG_VALUEHOSTTEAMSYSTEMMSG = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-
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
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-