Enum InstrumentIdType

java.lang.Object
java.lang.Enum<InstrumentIdType>
ru.tinkoff.piapi.contract.v1.InstrumentIdType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<InstrumentIdType>

public enum InstrumentIdType extends Enum<InstrumentIdType> implements com.google.protobuf.ProtocolMessageEnum
Тип идентификатора инструмента. Подробнее об идентификации инструментов: [Идентификация инструментов](https://tinkoff.github.io/investAPI/faq_identification/)
 
Protobuf enum tinkoff.public.invest.api.contract.v1.InstrumentIdType
  • Enum Constant Details

    • INSTRUMENT_ID_UNSPECIFIED

      public static final InstrumentIdType INSTRUMENT_ID_UNSPECIFIED
      Значение не определено.
       
      INSTRUMENT_ID_UNSPECIFIED = 0;
    • INSTRUMENT_ID_TYPE_FIGI

      public static final InstrumentIdType INSTRUMENT_ID_TYPE_FIGI
      Figi.
       
      INSTRUMENT_ID_TYPE_FIGI = 1;
    • INSTRUMENT_ID_TYPE_TICKER

      public static final InstrumentIdType INSTRUMENT_ID_TYPE_TICKER
      Ticker.
       
      INSTRUMENT_ID_TYPE_TICKER = 2;
    • INSTRUMENT_ID_TYPE_UID

      public static final InstrumentIdType INSTRUMENT_ID_TYPE_UID
      Уникальный идентификатор.
       
      INSTRUMENT_ID_TYPE_UID = 3;
    • INSTRUMENT_ID_TYPE_POSITION_UID

      public static final InstrumentIdType INSTRUMENT_ID_TYPE_POSITION_UID
      Идентификатор позиции.
       
      INSTRUMENT_ID_TYPE_POSITION_UID = 4;
    • UNRECOGNIZED

      public static final InstrumentIdType UNRECOGNIZED
  • Field Details

    • INSTRUMENT_ID_UNSPECIFIED_VALUE

      public static final int INSTRUMENT_ID_UNSPECIFIED_VALUE
      Значение не определено.
       
      INSTRUMENT_ID_UNSPECIFIED = 0;
      See Also:
    • INSTRUMENT_ID_TYPE_FIGI_VALUE

      public static final int INSTRUMENT_ID_TYPE_FIGI_VALUE
      Figi.
       
      INSTRUMENT_ID_TYPE_FIGI = 1;
      See Also:
    • INSTRUMENT_ID_TYPE_TICKER_VALUE

      public static final int INSTRUMENT_ID_TYPE_TICKER_VALUE
      Ticker.
       
      INSTRUMENT_ID_TYPE_TICKER = 2;
      See Also:
    • INSTRUMENT_ID_TYPE_UID_VALUE

      public static final int INSTRUMENT_ID_TYPE_UID_VALUE
      Уникальный идентификатор.
       
      INSTRUMENT_ID_TYPE_UID = 3;
      See Also:
    • INSTRUMENT_ID_TYPE_POSITION_UID_VALUE

      public static final int INSTRUMENT_ID_TYPE_POSITION_UID_VALUE
      Идентификатор позиции.
       
      INSTRUMENT_ID_TYPE_POSITION_UID = 4;
      See Also:
  • Method Details

    • values

      public static InstrumentIdType[] 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

      public static InstrumentIdType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static InstrumentIdType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static InstrumentIdType forNumber(int value)
      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<InstrumentIdType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static InstrumentIdType 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 name
      NullPointerException - if the argument is null