public static enum Gateway.MsgType extends Enum<Gateway.MsgType> implements com.google.protobuf.ProtocolMessageEnum
openapi.MsgType| Enum Constant and Description |
|---|
Cancel
Cancel = 4; |
Complete
Complete = 3; |
Downgrade
Downgrade = 5; |
Payload
Payload = 2; |
Ping
Ping = 0; |
Pong
Pong = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Cancel_VALUE
Cancel = 4; |
static int |
Complete_VALUE
Complete = 3; |
static int |
Downgrade_VALUE
Downgrade = 5; |
static int |
Payload_VALUE
Payload = 2; |
static int |
Ping_VALUE
Ping = 0; |
static int |
Pong_VALUE
Pong = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Gateway.MsgType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Gateway.MsgType> |
internalGetValueMap() |
static Gateway.MsgType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Gateway.MsgType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Gateway.MsgType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gateway.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gateway.MsgType Ping
Ping = 0;public static final Gateway.MsgType Pong
Pong = 1;public static final Gateway.MsgType Payload
Payload = 2;public static final Gateway.MsgType Complete
Complete = 3;public static final Gateway.MsgType Cancel
Cancel = 4;public static final Gateway.MsgType Downgrade
Downgrade = 5;public static final Gateway.MsgType UNRECOGNIZED
public static final int Ping_VALUE
Ping = 0;public static final int Pong_VALUE
Pong = 1;public static final int Payload_VALUE
Payload = 2;public static final int Complete_VALUE
Complete = 3;public static final int Cancel_VALUE
Cancel = 4;public static final int Downgrade_VALUE
Downgrade = 5;public static Gateway.MsgType[] values()
for (Gateway.MsgType c : Gateway.MsgType.values()) System.out.println(c);
public static Gateway.MsgType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Gateway.MsgType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Gateway.MsgType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Gateway.MsgType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Gateway.MsgType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Webull. All rights reserved.