public static enum SocketCommon.QuoteType extends Enum<SocketCommon.QuoteType> implements com.google.protobuf.ProtocolMessageEnum
com.tigerbrokers.stock.openapi.client.socket.data.pb.SocketCommon.QuoteType| 枚举常量和说明 |
|---|
ALL
include BASIC AND BBO
ALL = 3; |
BASIC
basic quote data
BASIC = 1; |
BBO
best bid and offer(include fields: askSize,askPrice,bidSize,bizePrice)
BBO = 2; |
None
None = 0; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ALL_VALUE
include BASIC AND BBO
ALL = 3; |
static int |
BASIC_VALUE
basic quote data
BASIC = 1; |
static int |
BBO_VALUE
best bid and offer(include fields: askSize,askPrice,bidSize,bizePrice)
BBO = 2; |
static int |
None_VALUE
None = 0; |
| 限定符和类型 | 方法和说明 |
|---|---|
static SocketCommon.QuoteType |
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<SocketCommon.QuoteType> |
internalGetValueMap() |
static SocketCommon.QuoteType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SocketCommon.QuoteType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static SocketCommon.QuoteType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SocketCommon.QuoteType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SocketCommon.QuoteType None
None = 0;public static final SocketCommon.QuoteType BASIC
basic quote data
BASIC = 1;public static final SocketCommon.QuoteType BBO
best bid and offer(include fields: askSize,askPrice,bidSize,bizePrice)
BBO = 2;public static final SocketCommon.QuoteType ALL
include BASIC AND BBO
ALL = 3;public static final SocketCommon.QuoteType UNRECOGNIZED
public static final int None_VALUE
None = 0;public static final int BASIC_VALUE
basic quote data
BASIC = 1;public static final int BBO_VALUE
best bid and offer(include fields: askSize,askPrice,bidSize,bizePrice)
BBO = 2;public static final int ALL_VALUE
include BASIC AND BBO
ALL = 3;public static SocketCommon.QuoteType[] values()
for (SocketCommon.QuoteType c : SocketCommon.QuoteType.values()) System.out.println(c);
public static SocketCommon.QuoteType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static SocketCommon.QuoteType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SocketCommon.QuoteType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SocketCommon.QuoteType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SocketCommon.QuoteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.