Package ru.tinkoff.piapi.contract.v1
Class StopOrder
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.StopOrder
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,StopOrderOrBuilder
public final class StopOrder
extends com.google.protobuf.GeneratedMessageV3
implements StopOrderOrBuilder
Информация о стоп-заявке.Protobuf type
tinkoff.public.invest.api.contract.v1.StopOrder- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampДата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.com.google.protobuf.TimestampOrBuilderДата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.com.google.protobuf.TimestampДата и время выставления заявки в часовом поясе UTC.com.google.protobuf.TimestampOrBuilderДата и время выставления заявки в часовом поясе UTC.Валюта стоп-заявки.com.google.protobuf.ByteStringВалюта стоп-заявки.static StopOrderstatic final com.google.protobuf.Descriptors.DescriptorНаправление операции.intНаправление операции.com.google.protobuf.TimestampДата и время снятия заявки в часовом поясе UTC.com.google.protobuf.TimestampOrBuilderДата и время снятия заявки в часовом поясе UTC.getFigi()Figi-идентификатор инструмента.com.google.protobuf.ByteStringFigi-идентификатор инструмента.instrument_uid идентификатор инструментаcom.google.protobuf.ByteStringinstrument_uid идентификатор инструментаlongЗапрошено лотов.Тип стоп-заявки.intТип стоп-заявки.com.google.protobuf.Parser<StopOrder>getPrice()Цена заявки за 1 инструмент.Цена заявки за 1 инструмент.intИдентификатор-идентификатор стоп-заявки.com.google.protobuf.ByteStringИдентификатор-идентификатор стоп-заявки.Цена активации стоп-заявки за 1 инструмент.Цена активации стоп-заявки за 1 инструмент.final com.google.protobuf.UnknownFieldSetbooleanДата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.booleanДата и время выставления заявки в часовом поясе UTC.booleanДата и время снятия заявки в часовом поясе UTC.inthashCode()booleanhasPrice()Цена заявки за 1 инструмент.booleanЦена активации стоп-заявки за 1 инструмент.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic StopOrder.Builderstatic StopOrder.BuildernewBuilder(StopOrder prototype) protected StopOrder.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static StopOrderparseDelimitedFrom(InputStream input) static StopOrderparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StopOrderparseFrom(byte[] data) static StopOrderparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StopOrderparseFrom(com.google.protobuf.ByteString data) static StopOrderparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StopOrderparseFrom(com.google.protobuf.CodedInputStream input) static StopOrderparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StopOrderparseFrom(InputStream input) static StopOrderparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StopOrderparseFrom(ByteBuffer data) static StopOrderparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StopOrder>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
STOP_ORDER_ID_FIELD_NUMBER
public static final int STOP_ORDER_ID_FIELD_NUMBER- See Also:
-
LOTS_REQUESTED_FIELD_NUMBER
public static final int LOTS_REQUESTED_FIELD_NUMBER- See Also:
-
FIGI_FIELD_NUMBER
public static final int FIGI_FIELD_NUMBER- See Also:
-
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER- See Also:
-
CURRENCY_FIELD_NUMBER
public static final int CURRENCY_FIELD_NUMBER- See Also:
-
ORDER_TYPE_FIELD_NUMBER
public static final int ORDER_TYPE_FIELD_NUMBER- See Also:
-
CREATE_DATE_FIELD_NUMBER
public static final int CREATE_DATE_FIELD_NUMBER- See Also:
-
ACTIVATION_DATE_TIME_FIELD_NUMBER
public static final int ACTIVATION_DATE_TIME_FIELD_NUMBER- See Also:
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER- See Also:
-
PRICE_FIELD_NUMBER
public static final int PRICE_FIELD_NUMBER- See Also:
-
STOP_PRICE_FIELD_NUMBER
public static final int STOP_PRICE_FIELD_NUMBER- See Also:
-
INSTRUMENT_UID_FIELD_NUMBER
public static final int INSTRUMENT_UID_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getStopOrderId
Идентификатор-идентификатор стоп-заявки.
string stop_order_id = 1;- Specified by:
getStopOrderIdin interfaceStopOrderOrBuilder- Returns:
- The stopOrderId.
-
getStopOrderIdBytes
public com.google.protobuf.ByteString getStopOrderIdBytes()Идентификатор-идентификатор стоп-заявки.
string stop_order_id = 1;- Specified by:
getStopOrderIdBytesin interfaceStopOrderOrBuilder- Returns:
- The bytes for stopOrderId.
-
getLotsRequested
public long getLotsRequested()Запрошено лотов.
int64 lots_requested = 2;- Specified by:
getLotsRequestedin interfaceStopOrderOrBuilder- Returns:
- The lotsRequested.
-
getFigi
Figi-идентификатор инструмента.
string figi = 3;- Specified by:
getFigiin interfaceStopOrderOrBuilder- Returns:
- The figi.
-
getFigiBytes
public com.google.protobuf.ByteString getFigiBytes()Figi-идентификатор инструмента.
string figi = 3;- Specified by:
getFigiBytesin interfaceStopOrderOrBuilder- Returns:
- The bytes for figi.
-
getDirectionValue
public int getDirectionValue()Направление операции.
.tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;- Specified by:
getDirectionValuein interfaceStopOrderOrBuilder- Returns:
- The enum numeric value on the wire for direction.
-
getDirection
Направление операции.
.tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;- Specified by:
getDirectionin interfaceStopOrderOrBuilder- Returns:
- The direction.
-
getCurrency
Валюта стоп-заявки.
string currency = 5;- Specified by:
getCurrencyin interfaceStopOrderOrBuilder- Returns:
- The currency.
-
getCurrencyBytes
public com.google.protobuf.ByteString getCurrencyBytes()Валюта стоп-заявки.
string currency = 5;- Specified by:
getCurrencyBytesin interfaceStopOrderOrBuilder- Returns:
- The bytes for currency.
-
getOrderTypeValue
public int getOrderTypeValue()Тип стоп-заявки.
.tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;- Specified by:
getOrderTypeValuein interfaceStopOrderOrBuilder- Returns:
- The enum numeric value on the wire for orderType.
-
getOrderType
Тип стоп-заявки.
.tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;- Specified by:
getOrderTypein interfaceStopOrderOrBuilder- Returns:
- The orderType.
-
hasCreateDate
public boolean hasCreateDate()Дата и время выставления заявки в часовом поясе UTC.
.google.protobuf.Timestamp create_date = 7;- Specified by:
hasCreateDatein interfaceStopOrderOrBuilder- Returns:
- Whether the createDate field is set.
-
getCreateDate
public com.google.protobuf.Timestamp getCreateDate()Дата и время выставления заявки в часовом поясе UTC.
.google.protobuf.Timestamp create_date = 7;- Specified by:
getCreateDatein interfaceStopOrderOrBuilder- Returns:
- The createDate.
-
getCreateDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateDateOrBuilder()Дата и время выставления заявки в часовом поясе UTC.
.google.protobuf.Timestamp create_date = 7;- Specified by:
getCreateDateOrBuilderin interfaceStopOrderOrBuilder
-
hasActivationDateTime
public boolean hasActivationDateTime()Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
.google.protobuf.Timestamp activation_date_time = 8;- Specified by:
hasActivationDateTimein interfaceStopOrderOrBuilder- Returns:
- Whether the activationDateTime field is set.
-
getActivationDateTime
public com.google.protobuf.Timestamp getActivationDateTime()Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
.google.protobuf.Timestamp activation_date_time = 8;- Specified by:
getActivationDateTimein interfaceStopOrderOrBuilder- Returns:
- The activationDateTime.
-
getActivationDateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getActivationDateTimeOrBuilder()Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
.google.protobuf.Timestamp activation_date_time = 8;- Specified by:
getActivationDateTimeOrBuilderin interfaceStopOrderOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()Дата и время снятия заявки в часовом поясе UTC.
.google.protobuf.Timestamp expiration_time = 9;- Specified by:
hasExpirationTimein interfaceStopOrderOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
public com.google.protobuf.Timestamp getExpirationTime()Дата и время снятия заявки в часовом поясе UTC.
.google.protobuf.Timestamp expiration_time = 9;- Specified by:
getExpirationTimein interfaceStopOrderOrBuilder- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()Дата и время снятия заявки в часовом поясе UTC.
.google.protobuf.Timestamp expiration_time = 9;- Specified by:
getExpirationTimeOrBuilderin interfaceStopOrderOrBuilder
-
hasPrice
public boolean hasPrice()Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;- Specified by:
hasPricein interfaceStopOrderOrBuilder- Returns:
- Whether the price field is set.
-
getPrice
Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;- Specified by:
getPricein interfaceStopOrderOrBuilder- Returns:
- The price.
-
getPriceOrBuilder
Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;- Specified by:
getPriceOrBuilderin interfaceStopOrderOrBuilder
-
hasStopPrice
public boolean hasStopPrice()Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;- Specified by:
hasStopPricein interfaceStopOrderOrBuilder- Returns:
- Whether the stopPrice field is set.
-
getStopPrice
Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;- Specified by:
getStopPricein interfaceStopOrderOrBuilder- Returns:
- The stopPrice.
-
getStopPriceOrBuilder
Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;- Specified by:
getStopPriceOrBuilderin interfaceStopOrderOrBuilder
-
getInstrumentUid
instrument_uid идентификатор инструмента
string instrument_uid = 12;- Specified by:
getInstrumentUidin interfaceStopOrderOrBuilder- Returns:
- The instrumentUid.
-
getInstrumentUidBytes
public com.google.protobuf.ByteString getInstrumentUidBytes()instrument_uid идентификатор инструмента
string instrument_uid = 12;- Specified by:
getInstrumentUidBytesin interfaceStopOrderOrBuilder- Returns:
- The bytes for instrumentUid.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StopOrder parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StopOrder parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StopOrder parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StopOrder parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StopOrder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StopOrder parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StopOrder parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StopOrder parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StopOrder parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StopOrder.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-