Package ru.tinkoff.piapi.contract.v1
Enum OrderExecutionReportStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OrderExecutionReportStatus>
public enum OrderExecutionReportStatus
extends Enum<OrderExecutionReportStatus>
implements com.google.protobuf.ProtocolMessageEnum
Текущий статус заявки (поручения)Protobuf enum
tinkoff.public.invest.api.contract.v1.OrderExecutionReportStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionОтменена пользователемИсполненаНоваяЧастично исполненаОтклоненаEXECUTION_REPORT_STATUS_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intОтменена пользователемstatic final intИсполненаstatic final intНоваяstatic final intЧастично исполненаstatic final intОтклоненаstatic final intEXECUTION_REPORT_STATUS_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderExecutionReportStatusforNumber(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<OrderExecutionReportStatus>static OrderExecutionReportStatusvalueOf(int value) Deprecated.static OrderExecutionReportStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static OrderExecutionReportStatusReturns the enum constant of this type with the specified name.static OrderExecutionReportStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXECUTION_REPORT_STATUS_UNSPECIFIED
EXECUTION_REPORT_STATUS_UNSPECIFIED = 0; -
EXECUTION_REPORT_STATUS_FILL
Исполнена
EXECUTION_REPORT_STATUS_FILL = 1; -
EXECUTION_REPORT_STATUS_REJECTED
Отклонена
EXECUTION_REPORT_STATUS_REJECTED = 2; -
EXECUTION_REPORT_STATUS_CANCELLED
Отменена пользователем
EXECUTION_REPORT_STATUS_CANCELLED = 3; -
EXECUTION_REPORT_STATUS_NEW
Новая
EXECUTION_REPORT_STATUS_NEW = 4; -
EXECUTION_REPORT_STATUS_PARTIALLYFILL
Частично исполнена
EXECUTION_REPORT_STATUS_PARTIALLYFILL = 5; -
UNRECOGNIZED
-
-
Field Details
-
EXECUTION_REPORT_STATUS_UNSPECIFIED_VALUE
public static final int EXECUTION_REPORT_STATUS_UNSPECIFIED_VALUEEXECUTION_REPORT_STATUS_UNSPECIFIED = 0;- See Also:
-
EXECUTION_REPORT_STATUS_FILL_VALUE
public static final int EXECUTION_REPORT_STATUS_FILL_VALUEИсполнена
EXECUTION_REPORT_STATUS_FILL = 1;- See Also:
-
EXECUTION_REPORT_STATUS_REJECTED_VALUE
public static final int EXECUTION_REPORT_STATUS_REJECTED_VALUEОтклонена
EXECUTION_REPORT_STATUS_REJECTED = 2;- See Also:
-
EXECUTION_REPORT_STATUS_CANCELLED_VALUE
public static final int EXECUTION_REPORT_STATUS_CANCELLED_VALUEОтменена пользователем
EXECUTION_REPORT_STATUS_CANCELLED = 3;- See Also:
-
EXECUTION_REPORT_STATUS_NEW_VALUE
public static final int EXECUTION_REPORT_STATUS_NEW_VALUEНовая
EXECUTION_REPORT_STATUS_NEW = 4;- See Also:
-
EXECUTION_REPORT_STATUS_PARTIALLYFILL_VALUE
public static final int EXECUTION_REPORT_STATUS_PARTIALLYFILL_VALUEЧастично исполнена
EXECUTION_REPORT_STATUS_PARTIALLYFILL = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<OrderExecutionReportStatus> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static OrderExecutionReportStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-