public static enum Events.EventType extends Enum<Events.EventType> implements com.google.protobuf.ProtocolMessageEnum
grpc.trade.event.EventType| Enum Constant and Description |
|---|
AuthError
Authentication error
|
NumOfConnExceed
Connection limit exceeded
|
Ping
Heartbeat information
|
SubscribeExpired
Subscription expired
|
SubscribeSuccess
Subscription succeeded
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AuthError_VALUE
Authentication error
|
static int |
NumOfConnExceed_VALUE
Connection limit exceeded
|
static int |
Ping_VALUE
Heartbeat information
|
static int |
SubscribeExpired_VALUE
Subscription expired
|
static int |
SubscribeSuccess_VALUE
Subscription succeeded
|
| Modifier and Type | Method and Description |
|---|---|
static Events.EventType |
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<Events.EventType> |
internalGetValueMap() |
static Events.EventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Events.EventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Events.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Events.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Events.EventType SubscribeSuccess
Subscription succeeded
SubscribeSuccess = 0;public static final Events.EventType Ping
Heartbeat information
Ping = 1;public static final Events.EventType AuthError
Authentication error
AuthError = 2;public static final Events.EventType NumOfConnExceed
Connection limit exceeded
NumOfConnExceed = 3;public static final Events.EventType SubscribeExpired
Subscription expired
SubscribeExpired = 4;public static final Events.EventType UNRECOGNIZED
public static final int SubscribeSuccess_VALUE
Subscription succeeded
SubscribeSuccess = 0;public static final int Ping_VALUE
Heartbeat information
Ping = 1;public static final int AuthError_VALUE
Authentication error
AuthError = 2;public static final int NumOfConnExceed_VALUE
Connection limit exceeded
NumOfConnExceed = 3;public static final int SubscribeExpired_VALUE
Subscription expired
SubscribeExpired = 4;public static Events.EventType[] values()
for (Events.EventType c : Events.EventType.values()) System.out.println(c);
public static Events.EventType 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 Events.EventType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Events.EventType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Events.EventType> 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 Events.EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Webull. All rights reserved.