程序包 xyz.redtorch.pb
Enum Class CoreEnum.OrderPriceTypeEnum
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CoreEnum.OrderPriceTypeEnum>,Constable
- 封闭类:
- CoreEnum
public static enum CoreEnum.OrderPriceTypeEnum
extends Enum<CoreEnum.OrderPriceTypeEnum>
implements com.google.protobuf.ProtocolMessageEnum
OrderPriceTypeEnum是一个报单价格条件类型Protobuf enum
xyz.redtorch.pb.OrderPriceTypeEnum-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明任意价卖一价卖一价浮动上浮1个ticks卖一价浮动上浮3个ticks卖一价浮动上浮2个ticks最优价买一价买一价浮动上浮1个ticks买一价浮动上浮3个ticks买一价浮动上浮2个ticks五档价最新价最新价浮动上浮1个ticks最新价浮动上浮3个ticks最新价浮动上浮2个ticks限价未知 -
字段概要
字段修饰符和类型字段说明static final int任意价static final int卖一价static final int卖一价浮动上浮1个ticksstatic final int卖一价浮动上浮3个ticksstatic final int卖一价浮动上浮2个ticksstatic final int最优价static final int买一价static final int买一价浮动上浮1个ticksstatic final int买一价浮动上浮3个ticksstatic final int买一价浮动上浮2个ticksstatic final int五档价static final int最新价static final int最新价浮动上浮1个ticksstatic final int最新价浮动上浮3个ticksstatic final int最新价浮动上浮2个ticksstatic final int限价static final int未知 -
方法概要
修饰符和类型方法说明static CoreEnum.OrderPriceTypeEnumforNumber(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<CoreEnum.OrderPriceTypeEnum>static CoreEnum.OrderPriceTypeEnumvalueOf(int value) 已过时。static CoreEnum.OrderPriceTypeEnumvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CoreEnum.OrderPriceTypeEnumReturns the enum constant of this class with the specified name.static CoreEnum.OrderPriceTypeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
OPT_Unknown
未知
OPT_Unknown = 0; -
OPT_AnyPrice
任意价
OPT_AnyPrice = 1; -
OPT_LimitPrice
限价
OPT_LimitPrice = 2; -
OPT_BestPrice
最优价
OPT_BestPrice = 3; -
OPT_LastPrice
最新价
OPT_LastPrice = 4; -
OPT_LastPricePlusOneTicks
最新价浮动上浮1个ticks
OPT_LastPricePlusOneTicks = 5; -
OPT_LastPricePlusTwoTicks
最新价浮动上浮2个ticks
OPT_LastPricePlusTwoTicks = 6; -
OPT_LastPricePlusThreeTicks
最新价浮动上浮3个ticks
OPT_LastPricePlusThreeTicks = 7; -
OPT_AskPrice1
卖一价
OPT_AskPrice1 = 8; -
OPT_AskPrice1PlusOneTicks
卖一价浮动上浮1个ticks
OPT_AskPrice1PlusOneTicks = 9; -
OPT_AskPrice1PlusTwoTicks
卖一价浮动上浮2个ticks
OPT_AskPrice1PlusTwoTicks = 10; -
OPT_AskPrice1PlusThreeTicks
卖一价浮动上浮3个ticks
OPT_AskPrice1PlusThreeTicks = 11; -
OPT_BidPrice1
买一价
OPT_BidPrice1 = 12; -
OPT_BidPrice1PlusOneTicks
买一价浮动上浮1个ticks
OPT_BidPrice1PlusOneTicks = 13; -
OPT_BidPrice1PlusTwoTicks
买一价浮动上浮2个ticks
OPT_BidPrice1PlusTwoTicks = 14; -
OPT_BidPrice1PlusThreeTicks
买一价浮动上浮3个ticks
OPT_BidPrice1PlusThreeTicks = 15; -
OPT_FiveLevelPrice
五档价
OPT_FiveLevelPrice = 16; -
UNRECOGNIZED
-
-
字段详细资料
-
OPT_Unknown_VALUE
public static final int OPT_Unknown_VALUE未知
OPT_Unknown = 0;- 另请参阅:
-
OPT_AnyPrice_VALUE
public static final int OPT_AnyPrice_VALUE任意价
OPT_AnyPrice = 1;- 另请参阅:
-
OPT_LimitPrice_VALUE
public static final int OPT_LimitPrice_VALUE限价
OPT_LimitPrice = 2;- 另请参阅:
-
OPT_BestPrice_VALUE
public static final int OPT_BestPrice_VALUE最优价
OPT_BestPrice = 3;- 另请参阅:
-
OPT_LastPrice_VALUE
public static final int OPT_LastPrice_VALUE最新价
OPT_LastPrice = 4;- 另请参阅:
-
OPT_LastPricePlusOneTicks_VALUE
public static final int OPT_LastPricePlusOneTicks_VALUE最新价浮动上浮1个ticks
OPT_LastPricePlusOneTicks = 5;- 另请参阅:
-
OPT_LastPricePlusTwoTicks_VALUE
public static final int OPT_LastPricePlusTwoTicks_VALUE最新价浮动上浮2个ticks
OPT_LastPricePlusTwoTicks = 6;- 另请参阅:
-
OPT_LastPricePlusThreeTicks_VALUE
public static final int OPT_LastPricePlusThreeTicks_VALUE最新价浮动上浮3个ticks
OPT_LastPricePlusThreeTicks = 7;- 另请参阅:
-
OPT_AskPrice1_VALUE
public static final int OPT_AskPrice1_VALUE卖一价
OPT_AskPrice1 = 8;- 另请参阅:
-
OPT_AskPrice1PlusOneTicks_VALUE
public static final int OPT_AskPrice1PlusOneTicks_VALUE卖一价浮动上浮1个ticks
OPT_AskPrice1PlusOneTicks = 9;- 另请参阅:
-
OPT_AskPrice1PlusTwoTicks_VALUE
public static final int OPT_AskPrice1PlusTwoTicks_VALUE卖一价浮动上浮2个ticks
OPT_AskPrice1PlusTwoTicks = 10;- 另请参阅:
-
OPT_AskPrice1PlusThreeTicks_VALUE
public static final int OPT_AskPrice1PlusThreeTicks_VALUE卖一价浮动上浮3个ticks
OPT_AskPrice1PlusThreeTicks = 11;- 另请参阅:
-
OPT_BidPrice1_VALUE
public static final int OPT_BidPrice1_VALUE买一价
OPT_BidPrice1 = 12;- 另请参阅:
-
OPT_BidPrice1PlusOneTicks_VALUE
public static final int OPT_BidPrice1PlusOneTicks_VALUE买一价浮动上浮1个ticks
OPT_BidPrice1PlusOneTicks = 13;- 另请参阅:
-
OPT_BidPrice1PlusTwoTicks_VALUE
public static final int OPT_BidPrice1PlusTwoTicks_VALUE买一价浮动上浮2个ticks
OPT_BidPrice1PlusTwoTicks = 14;- 另请参阅:
-
OPT_BidPrice1PlusThreeTicks_VALUE
public static final int OPT_BidPrice1PlusThreeTicks_VALUE买一价浮动上浮3个ticks
OPT_BidPrice1PlusThreeTicks = 15;- 另请参阅:
-
OPT_FiveLevelPrice_VALUE
public static final int OPT_FiveLevelPrice_VALUE五档价
OPT_FiveLevelPrice = 16;- 另请参阅:
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- 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.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
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.)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
forNumber
- 参数:
value- The numeric wire value of the corresponding enum entry.- 返回:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CoreEnum.OrderPriceTypeEnum> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static CoreEnum.OrderPriceTypeEnum 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.)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-