Package ru.tinkoff.piapi.contract.v1
Interface InstrumentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstrumentRequest,InstrumentRequest.Builder
public interface InstrumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionИдентификатор class_code.com.google.protobuf.ByteStringИдентификатор class_code.getId()Идентификатор запрашиваемого инструмента.com.google.protobuf.ByteStringИдентификатор запрашиваемого инструмента.Тип идентификатора инструмента.intТип идентификатора инструмента.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getIdTypeValue
int getIdTypeValue()Тип идентификатора инструмента. Возможные значения: figi, ticker. Подробнее об идентификации инструментов: [Идентификация инструментов](https://tinkoff.github.io/investAPI/faq_identification/)
.tinkoff.public.invest.api.contract.v1.InstrumentIdType id_type = 1;- Returns:
- The enum numeric value on the wire for idType.
-
getIdType
InstrumentIdType getIdType()Тип идентификатора инструмента. Возможные значения: figi, ticker. Подробнее об идентификации инструментов: [Идентификация инструментов](https://tinkoff.github.io/investAPI/faq_identification/)
.tinkoff.public.invest.api.contract.v1.InstrumentIdType id_type = 1;- Returns:
- The idType.
-
getClassCode
String getClassCode()Идентификатор class_code. Обязателен при id_type = ticker.
string class_code = 2;- Returns:
- The classCode.
-
getClassCodeBytes
com.google.protobuf.ByteString getClassCodeBytes()Идентификатор class_code. Обязателен при id_type = ticker.
string class_code = 2;- Returns:
- The bytes for classCode.
-
getId
String getId()Идентификатор запрашиваемого инструмента.
string id = 3;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Идентификатор запрашиваемого инструмента.
string id = 3;- Returns:
- The bytes for id.
-