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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Информация о стоп-заявке.

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    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
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.Timestamp
    Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
    com.google.protobuf.TimestampOrBuilder
    Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
    com.google.protobuf.Timestamp
    Дата и время выставления заявки в часовом поясе UTC.
    com.google.protobuf.TimestampOrBuilder
    Дата и время выставления заявки в часовом поясе UTC.
    Валюта стоп-заявки.
    com.google.protobuf.ByteString
    Валюта стоп-заявки.
    static StopOrder
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Направление операции.
    int
    Направление операции.
    com.google.protobuf.Timestamp
    Дата и время снятия заявки в часовом поясе UTC.
    com.google.protobuf.TimestampOrBuilder
    Дата и время снятия заявки в часовом поясе UTC.
    Figi-идентификатор инструмента.
    com.google.protobuf.ByteString
    Figi-идентификатор инструмента.
    instrument_uid идентификатор инструмента
    com.google.protobuf.ByteString
    instrument_uid идентификатор инструмента
    long
    Запрошено лотов.
    Тип стоп-заявки.
    int
    Тип стоп-заявки.
    com.google.protobuf.Parser<StopOrder>
     
    Цена заявки за 1 инструмент.
    Цена заявки за 1 инструмент.
    int
     
    Идентификатор-идентификатор стоп-заявки.
    com.google.protobuf.ByteString
    Идентификатор-идентификатор стоп-заявки.
    Цена активации стоп-заявки за 1 инструмент.
    Цена активации стоп-заявки за 1 инструмент.
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
    boolean
    Дата и время выставления заявки в часовом поясе UTC.
    boolean
    Дата и время снятия заявки в часовом поясе UTC.
    int
     
    boolean
    Цена заявки за 1 инструмент.
    boolean
    Цена активации стоп-заявки за 1 инструмент.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(StopOrder prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static StopOrder
     
    static StopOrder
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static StopOrder
    parseFrom(byte[] data)
     
    static StopOrder
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static StopOrder
    parseFrom(com.google.protobuf.ByteString data)
     
    static StopOrder
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static StopOrder
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static StopOrder
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static StopOrder
     
    static StopOrder
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static StopOrder
     
    static StopOrder
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<StopOrder>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getStopOrderId

      public String getStopOrderId()
      Идентификатор-идентификатор стоп-заявки.
       
      string stop_order_id = 1;
      Specified by:
      getStopOrderId in interface StopOrderOrBuilder
      Returns:
      The stopOrderId.
    • getStopOrderIdBytes

      public com.google.protobuf.ByteString getStopOrderIdBytes()
      Идентификатор-идентификатор стоп-заявки.
       
      string stop_order_id = 1;
      Specified by:
      getStopOrderIdBytes in interface StopOrderOrBuilder
      Returns:
      The bytes for stopOrderId.
    • getLotsRequested

      public long getLotsRequested()
      Запрошено лотов.
       
      int64 lots_requested = 2;
      Specified by:
      getLotsRequested in interface StopOrderOrBuilder
      Returns:
      The lotsRequested.
    • getFigi

      public String getFigi()
      Figi-идентификатор инструмента.
       
      string figi = 3;
      Specified by:
      getFigi in interface StopOrderOrBuilder
      Returns:
      The figi.
    • getFigiBytes

      public com.google.protobuf.ByteString getFigiBytes()
      Figi-идентификатор инструмента.
       
      string figi = 3;
      Specified by:
      getFigiBytes in interface StopOrderOrBuilder
      Returns:
      The bytes for figi.
    • getDirectionValue

      public int getDirectionValue()
      Направление операции.
       
      .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
      Specified by:
      getDirectionValue in interface StopOrderOrBuilder
      Returns:
      The enum numeric value on the wire for direction.
    • getDirection

      public StopOrderDirection getDirection()
      Направление операции.
       
      .tinkoff.public.invest.api.contract.v1.StopOrderDirection direction = 4;
      Specified by:
      getDirection in interface StopOrderOrBuilder
      Returns:
      The direction.
    • getCurrency

      public String getCurrency()
      Валюта стоп-заявки.
       
      string currency = 5;
      Specified by:
      getCurrency in interface StopOrderOrBuilder
      Returns:
      The currency.
    • getCurrencyBytes

      public com.google.protobuf.ByteString getCurrencyBytes()
      Валюта стоп-заявки.
       
      string currency = 5;
      Specified by:
      getCurrencyBytes in interface StopOrderOrBuilder
      Returns:
      The bytes for currency.
    • getOrderTypeValue

      public int getOrderTypeValue()
      Тип стоп-заявки.
       
      .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
      Specified by:
      getOrderTypeValue in interface StopOrderOrBuilder
      Returns:
      The enum numeric value on the wire for orderType.
    • getOrderType

      public StopOrderType getOrderType()
      Тип стоп-заявки.
       
      .tinkoff.public.invest.api.contract.v1.StopOrderType order_type = 6;
      Specified by:
      getOrderType in interface StopOrderOrBuilder
      Returns:
      The orderType.
    • hasCreateDate

      public boolean hasCreateDate()
      Дата и время выставления заявки в часовом поясе UTC.
       
      .google.protobuf.Timestamp create_date = 7;
      Specified by:
      hasCreateDate in interface StopOrderOrBuilder
      Returns:
      Whether the createDate field is set.
    • getCreateDate

      public com.google.protobuf.Timestamp getCreateDate()
      Дата и время выставления заявки в часовом поясе UTC.
       
      .google.protobuf.Timestamp create_date = 7;
      Specified by:
      getCreateDate in interface StopOrderOrBuilder
      Returns:
      The createDate.
    • getCreateDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateDateOrBuilder()
      Дата и время выставления заявки в часовом поясе UTC.
       
      .google.protobuf.Timestamp create_date = 7;
      Specified by:
      getCreateDateOrBuilder in interface StopOrderOrBuilder
    • hasActivationDateTime

      public boolean hasActivationDateTime()
      Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
       
      .google.protobuf.Timestamp activation_date_time = 8;
      Specified by:
      hasActivationDateTime in interface StopOrderOrBuilder
      Returns:
      Whether the activationDateTime field is set.
    • getActivationDateTime

      public com.google.protobuf.Timestamp getActivationDateTime()
      Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
       
      .google.protobuf.Timestamp activation_date_time = 8;
      Specified by:
      getActivationDateTime in interface StopOrderOrBuilder
      Returns:
      The activationDateTime.
    • getActivationDateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getActivationDateTimeOrBuilder()
      Дата и время конвертации стоп-заявки в биржевую в часовом поясе UTC.
       
      .google.protobuf.Timestamp activation_date_time = 8;
      Specified by:
      getActivationDateTimeOrBuilder in interface StopOrderOrBuilder
    • hasExpirationTime

      public boolean hasExpirationTime()
      Дата и время снятия заявки в часовом поясе UTC.
       
      .google.protobuf.Timestamp expiration_time = 9;
      Specified by:
      hasExpirationTime in interface StopOrderOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public com.google.protobuf.Timestamp getExpirationTime()
      Дата и время снятия заявки в часовом поясе UTC.
       
      .google.protobuf.Timestamp expiration_time = 9;
      Specified by:
      getExpirationTime in interface StopOrderOrBuilder
      Returns:
      The expirationTime.
    • getExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
      Дата и время снятия заявки в часовом поясе UTC.
       
      .google.protobuf.Timestamp expiration_time = 9;
      Specified by:
      getExpirationTimeOrBuilder in interface StopOrderOrBuilder
    • hasPrice

      public boolean hasPrice()
      Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
      Specified by:
      hasPrice in interface StopOrderOrBuilder
      Returns:
      Whether the price field is set.
    • getPrice

      public MoneyValue getPrice()
      Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
      Specified by:
      getPrice in interface StopOrderOrBuilder
      Returns:
      The price.
    • getPriceOrBuilder

      public MoneyValueOrBuilder getPriceOrBuilder()
      Цена заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue price = 10;
      Specified by:
      getPriceOrBuilder in interface StopOrderOrBuilder
    • hasStopPrice

      public boolean hasStopPrice()
      Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
      Specified by:
      hasStopPrice in interface StopOrderOrBuilder
      Returns:
      Whether the stopPrice field is set.
    • getStopPrice

      public MoneyValue getStopPrice()
      Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
      Specified by:
      getStopPrice in interface StopOrderOrBuilder
      Returns:
      The stopPrice.
    • getStopPriceOrBuilder

      public MoneyValueOrBuilder getStopPriceOrBuilder()
      Цена активации стоп-заявки за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue stop_price = 11;
      Specified by:
      getStopPriceOrBuilder in interface StopOrderOrBuilder
    • getInstrumentUid

      public String getInstrumentUid()
      instrument_uid идентификатор инструмента
       
      string instrument_uid = 12;
      Specified by:
      getInstrumentUid in interface StopOrderOrBuilder
      Returns:
      The instrumentUid.
    • getInstrumentUidBytes

      public com.google.protobuf.ByteString getInstrumentUidBytes()
      instrument_uid идентификатор инструмента
       
      string instrument_uid = 12;
      Specified by:
      getInstrumentUidBytes in interface StopOrderOrBuilder
      Returns:
      The bytes for instrumentUid.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static StopOrder parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StopOrder parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StopOrder parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StopOrder parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StopOrder parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StopOrder parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StopOrder.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StopOrder.Builder newBuilder()
    • newBuilder

      public static StopOrder.Builder newBuilder(StopOrder prototype)
    • toBuilder

      public StopOrder.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StopOrder.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static StopOrder getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StopOrder> parser()
    • getParserForType

      public com.google.protobuf.Parser<StopOrder> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public StopOrder getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder