程序包 xyz.redtorch.pb
Enum Class CoreEnum.HedgeFlagEnum
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CoreEnum.HedgeFlagEnum>,Constable
- 封闭类:
- CoreEnum
public static enum CoreEnum.HedgeFlagEnum
extends Enum<CoreEnum.HedgeFlagEnum>
implements com.google.protobuf.ProtocolMessageEnum
HedgeFlagEnum是一个投机套保标志类型Protobuf enum
xyz.redtorch.pb.HedgeFlagEnum-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明套利套保第一腿套保第二腿投机 大商所专用做市商第一腿投机第二腿套保 大商所专用投机未知 -
字段概要
字段修饰符和类型字段说明static final int套利static final int套保static final int第一腿套保第二腿投机 大商所专用static final int做市商static final int第一腿投机第二腿套保 大商所专用static final int投机static final int未知 -
方法概要
修饰符和类型方法说明static CoreEnum.HedgeFlagEnumforNumber(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.HedgeFlagEnum>static CoreEnum.HedgeFlagEnumvalueOf(int value) 已过时。static CoreEnum.HedgeFlagEnumvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CoreEnum.HedgeFlagEnumReturns the enum constant of this class with the specified name.static CoreEnum.HedgeFlagEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
HF_Unknown
未知
HF_Unknown = 0; -
HF_Speculation
投机
HF_Speculation = 1; -
HF_Arbitrage
套利
HF_Arbitrage = 2; -
HF_Hedge
套保
HF_Hedge = 3; -
HF_MarketMaker
做市商
HF_MarketMaker = 4; -
HF_SpecHedge
第一腿投机第二腿套保 大商所专用
HF_SpecHedge = 5; -
HF_HedgeSpec
第一腿套保第二腿投机 大商所专用
HF_HedgeSpec = 6; -
UNRECOGNIZED
-
-
字段详细资料
-
HF_Unknown_VALUE
public static final int HF_Unknown_VALUE未知
HF_Unknown = 0;- 另请参阅:
-
HF_Speculation_VALUE
public static final int HF_Speculation_VALUE投机
HF_Speculation = 1;- 另请参阅:
-
HF_Arbitrage_VALUE
public static final int HF_Arbitrage_VALUE套利
HF_Arbitrage = 2;- 另请参阅:
-
HF_Hedge_VALUE
public static final int HF_Hedge_VALUE套保
HF_Hedge = 3;- 另请参阅:
-
HF_MarketMaker_VALUE
public static final int HF_MarketMaker_VALUE做市商
HF_MarketMaker = 4;- 另请参阅:
-
HF_SpecHedge_VALUE
public static final int HF_SpecHedge_VALUE第一腿投机第二腿套保 大商所专用
HF_SpecHedge = 5;- 另请参阅:
-
HF_HedgeSpec_VALUE
public static final int HF_HedgeSpec_VALUE第一腿套保第二腿投机 大商所专用
HF_HedgeSpec = 6;- 另请参阅:
-
-
方法详细资料
-
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.HedgeFlagEnum> 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.HedgeFlagEnum 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- 如果参数为空值
-