Class InstrumentShort

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.InstrumentShort
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, InstrumentShortOrBuilder

public final class InstrumentShort extends com.google.protobuf.GeneratedMessageV3 implements InstrumentShortOrBuilder
Краткая информация об инструменте.
 
Protobuf type tinkoff.public.invest.api.contract.v1.InstrumentShort
See Also:
  • Field Details

    • ISIN_FIELD_NUMBER

      public static final int ISIN_FIELD_NUMBER
      See Also:
    • FIGI_FIELD_NUMBER

      public static final int FIGI_FIELD_NUMBER
      See Also:
    • TICKER_FIELD_NUMBER

      public static final int TICKER_FIELD_NUMBER
      See Also:
    • CLASS_CODE_FIELD_NUMBER

      public static final int CLASS_CODE_FIELD_NUMBER
      See Also:
    • INSTRUMENT_TYPE_FIELD_NUMBER

      public static final int INSTRUMENT_TYPE_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • POSITION_UID_FIELD_NUMBER

      public static final int POSITION_UID_FIELD_NUMBER
      See Also:
    • API_TRADE_AVAILABLE_FLAG_FIELD_NUMBER

      public static final int API_TRADE_AVAILABLE_FLAG_FIELD_NUMBER
      See Also:
    • FOR_IIS_FLAG_FIELD_NUMBER

      public static final int FOR_IIS_FLAG_FIELD_NUMBER
      See Also:
    • FIRST_1MIN_CANDLE_DATE_FIELD_NUMBER

      public static final int FIRST_1MIN_CANDLE_DATE_FIELD_NUMBER
      See Also:
    • FIRST_1DAY_CANDLE_DATE_FIELD_NUMBER

      public static final int FIRST_1DAY_CANDLE_DATE_FIELD_NUMBER
      See Also:
    • FOR_QUAL_INVESTOR_FLAG_FIELD_NUMBER

      public static final int FOR_QUAL_INVESTOR_FLAG_FIELD_NUMBER
      See Also:
    • WEEKEND_FLAG_FIELD_NUMBER

      public static final int WEEKEND_FLAG_FIELD_NUMBER
      See Also:
    • BLOCKED_TCA_FLAG_FIELD_NUMBER

      public static final int BLOCKED_TCA_FLAG_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
    • getIsin

      public String getIsin()
      Isin инструмента.
       
      string isin = 1;
      Specified by:
      getIsin in interface InstrumentShortOrBuilder
      Returns:
      The isin.
    • getIsinBytes

      public com.google.protobuf.ByteString getIsinBytes()
      Isin инструмента.
       
      string isin = 1;
      Specified by:
      getIsinBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for isin.
    • getFigi

      public String getFigi()
      Figi инструмента.
       
      string figi = 2;
      Specified by:
      getFigi in interface InstrumentShortOrBuilder
      Returns:
      The figi.
    • getFigiBytes

      public com.google.protobuf.ByteString getFigiBytes()
      Figi инструмента.
       
      string figi = 2;
      Specified by:
      getFigiBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for figi.
    • getTicker

      public String getTicker()
      Ticker инструмента.
       
      string ticker = 3;
      Specified by:
      getTicker in interface InstrumentShortOrBuilder
      Returns:
      The ticker.
    • getTickerBytes

      public com.google.protobuf.ByteString getTickerBytes()
      Ticker инструмента.
       
      string ticker = 3;
      Specified by:
      getTickerBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for ticker.
    • getClassCode

      public String getClassCode()
      ClassCode инструмента.
       
      string class_code = 4;
      Specified by:
      getClassCode in interface InstrumentShortOrBuilder
      Returns:
      The classCode.
    • getClassCodeBytes

      public com.google.protobuf.ByteString getClassCodeBytes()
      ClassCode инструмента.
       
      string class_code = 4;
      Specified by:
      getClassCodeBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for classCode.
    • getInstrumentType

      public String getInstrumentType()
      Тип инструмента.
       
      string instrument_type = 5;
      Specified by:
      getInstrumentType in interface InstrumentShortOrBuilder
      Returns:
      The instrumentType.
    • getInstrumentTypeBytes

      public com.google.protobuf.ByteString getInstrumentTypeBytes()
      Тип инструмента.
       
      string instrument_type = 5;
      Specified by:
      getInstrumentTypeBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for instrumentType.
    • getName

      public String getName()
      Название инструмента.
       
      string name = 6;
      Specified by:
      getName in interface InstrumentShortOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      Название инструмента.
       
      string name = 6;
      Specified by:
      getNameBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for name.
    • getUid

      public String getUid()
      Уникальный идентификатор инструмента.
       
      string uid = 7;
      Specified by:
      getUid in interface InstrumentShortOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
      Уникальный идентификатор инструмента.
       
      string uid = 7;
      Specified by:
      getUidBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for uid.
    • getPositionUid

      public String getPositionUid()
      Уникальный идентификатор позиции инструмента.
       
      string position_uid = 8;
      Specified by:
      getPositionUid in interface InstrumentShortOrBuilder
      Returns:
      The positionUid.
    • getPositionUidBytes

      public com.google.protobuf.ByteString getPositionUidBytes()
      Уникальный идентификатор позиции инструмента.
       
      string position_uid = 8;
      Specified by:
      getPositionUidBytes in interface InstrumentShortOrBuilder
      Returns:
      The bytes for positionUid.
    • getApiTradeAvailableFlag

      public boolean getApiTradeAvailableFlag()
      Параметр указывает на возможность торговать инструментом через API.
       
      bool api_trade_available_flag = 11;
      Specified by:
      getApiTradeAvailableFlag in interface InstrumentShortOrBuilder
      Returns:
      The apiTradeAvailableFlag.
    • getForIisFlag

      public boolean getForIisFlag()
      Признак доступности для ИИС.
       
      bool for_iis_flag = 12;
      Specified by:
      getForIisFlag in interface InstrumentShortOrBuilder
      Returns:
      The forIisFlag.
    • hasFirst1MinCandleDate

      public boolean hasFirst1MinCandleDate()
      Дата первой минутной свечи.
       
      .google.protobuf.Timestamp first_1min_candle_date = 26;
      Specified by:
      hasFirst1MinCandleDate in interface InstrumentShortOrBuilder
      Returns:
      Whether the first1minCandleDate field is set.
    • getFirst1MinCandleDate

      public com.google.protobuf.Timestamp getFirst1MinCandleDate()
      Дата первой минутной свечи.
       
      .google.protobuf.Timestamp first_1min_candle_date = 26;
      Specified by:
      getFirst1MinCandleDate in interface InstrumentShortOrBuilder
      Returns:
      The first1minCandleDate.
    • getFirst1MinCandleDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getFirst1MinCandleDateOrBuilder()
      Дата первой минутной свечи.
       
      .google.protobuf.Timestamp first_1min_candle_date = 26;
      Specified by:
      getFirst1MinCandleDateOrBuilder in interface InstrumentShortOrBuilder
    • hasFirst1DayCandleDate

      public boolean hasFirst1DayCandleDate()
      Дата первой дневной свечи.
       
      .google.protobuf.Timestamp first_1day_candle_date = 27;
      Specified by:
      hasFirst1DayCandleDate in interface InstrumentShortOrBuilder
      Returns:
      Whether the first1dayCandleDate field is set.
    • getFirst1DayCandleDate

      public com.google.protobuf.Timestamp getFirst1DayCandleDate()
      Дата первой дневной свечи.
       
      .google.protobuf.Timestamp first_1day_candle_date = 27;
      Specified by:
      getFirst1DayCandleDate in interface InstrumentShortOrBuilder
      Returns:
      The first1dayCandleDate.
    • getFirst1DayCandleDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getFirst1DayCandleDateOrBuilder()
      Дата первой дневной свечи.
       
      .google.protobuf.Timestamp first_1day_candle_date = 27;
      Specified by:
      getFirst1DayCandleDateOrBuilder in interface InstrumentShortOrBuilder
    • getForQualInvestorFlag

      public boolean getForQualInvestorFlag()
      Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов.
       
      bool for_qual_investor_flag = 28;
      Specified by:
      getForQualInvestorFlag in interface InstrumentShortOrBuilder
      Returns:
      The forQualInvestorFlag.
    • getWeekendFlag

      public boolean getWeekendFlag()
      Флаг отображающий доступность торговли инструментом по выходным
       
      bool weekend_flag = 29;
      Specified by:
      getWeekendFlag in interface InstrumentShortOrBuilder
      Returns:
      The weekendFlag.
    • getBlockedTcaFlag

      public boolean getBlockedTcaFlag()
      Флаг заблокированного ТКС
       
      bool blocked_tca_flag = 30;
      Specified by:
      getBlockedTcaFlag in interface InstrumentShortOrBuilder
      Returns:
      The blockedTcaFlag.
    • 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 InstrumentShort parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstrumentShort parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstrumentShort parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstrumentShort parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstrumentShort parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstrumentShort parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static InstrumentShort.Builder newBuilder()
    • newBuilder

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

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

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

      public static InstrumentShort getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<InstrumentShort> 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 InstrumentShort getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder