程序包 xyz.redtorch.pb
枚举类 CoreEnum.ForceCloseReasonEnum
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CoreEnum.ForceCloseReasonEnum>,Constable
- 封闭类:
CoreEnum
public static enum CoreEnum.ForceCloseReasonEnum
extends Enum<CoreEnum.ForceCloseReasonEnum>
implements com.google.protobuf.ProtocolMessageEnum
ForceCloseReasonEnum是一个强平原因类型Protobuf enum
xyz.redtorch.pb.ForceCloseReasonEnum-
嵌套类概要
从类继承的嵌套类/接口 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 final int未知static final int违规 -
方法概要
修饰符和类型方法说明forNumber(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.ForceCloseReasonEnum> valueOf(int value) 已过时。valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 返回带有指定名称的该类的枚举常量。返回带有指定名称的该类的枚举常量。static CoreEnum.ForceCloseReasonEnum[]values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
-
枚举常量详细资料
-
FCR_Unknown
未知
FCR_Unknown = 0; -
FCR_NotForceClose
非强平
FCR_NotForceClose = 1; -
FCR_LackDeposit
资金不足
FCR_LackDeposit = 2; -
FCR_ClientOverPositionLimit
客户超仓
FCR_ClientOverPositionLimit = 3; -
FCR_MemberOverPositionLimit
会员超仓
FCR_MemberOverPositionLimit = 4; -
FCR_NotMultiple
持仓非整数倍
FCR_NotMultiple = 5; -
FCR_Violation
违规
FCR_Violation = 6; -
FCR_Other
其它
FCR_Other = 7; -
FCR_PersonDeliver
自然人临近交割
FCR_PersonDeliver = 8; -
UNRECOGNIZED
-
-
字段详细资料
-
FCR_Unknown_VALUE
public static final int FCR_Unknown_VALUE未知
FCR_Unknown = 0;- 另请参阅:
-
FCR_NotForceClose_VALUE
public static final int FCR_NotForceClose_VALUE非强平
FCR_NotForceClose = 1;- 另请参阅:
-
FCR_LackDeposit_VALUE
public static final int FCR_LackDeposit_VALUE资金不足
FCR_LackDeposit = 2;- 另请参阅:
-
FCR_ClientOverPositionLimit_VALUE
public static final int FCR_ClientOverPositionLimit_VALUE客户超仓
FCR_ClientOverPositionLimit = 3;- 另请参阅:
-
FCR_MemberOverPositionLimit_VALUE
public static final int FCR_MemberOverPositionLimit_VALUE会员超仓
FCR_MemberOverPositionLimit = 4;- 另请参阅:
-
FCR_NotMultiple_VALUE
public static final int FCR_NotMultiple_VALUE持仓非整数倍
FCR_NotMultiple = 5;- 另请参阅:
-
FCR_Violation_VALUE
public static final int FCR_Violation_VALUE违规
FCR_Violation = 6;- 另请参阅:
-
FCR_Other_VALUE
public static final int FCR_Other_VALUE其它
FCR_Other = 7;- 另请参阅:
-
FCR_PersonDeliver_VALUE
public static final int FCR_PersonDeliver_VALUE自然人临近交割
FCR_PersonDeliver = 8;- 另请参阅:
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
已过时。返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
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.ForceCloseReasonEnum> 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.ForceCloseReasonEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-