Package ru.tinkoff.piapi.contract.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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
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 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 TypeMethodDescriptionbooleanbooleanПараметр указывает на возможность торговать инструментом через API.booleanФлаг заблокированного ТКСClassCode инструмента.com.google.protobuf.ByteStringClassCode инструмента.static InstrumentShortstatic final com.google.protobuf.Descriptors.DescriptorgetFigi()Figi инструмента.com.google.protobuf.ByteStringFigi инструмента.com.google.protobuf.TimestampДата первой дневной свечи.com.google.protobuf.TimestampOrBuilderДата первой дневной свечи.com.google.protobuf.TimestampДата первой минутной свечи.com.google.protobuf.TimestampOrBuilderДата первой минутной свечи.booleanПризнак доступности для ИИС.booleanФлаг отображающий доступность торговли инструментом только для квалифицированных инвесторов.Тип инструмента.com.google.protobuf.ByteStringТип инструмента.getIsin()Isin инструмента.com.google.protobuf.ByteStringIsin инструмента.getName()Название инструмента.com.google.protobuf.ByteStringНазвание инструмента.com.google.protobuf.Parser<InstrumentShort>Уникальный идентификатор позиции инструмента.com.google.protobuf.ByteStringУникальный идентификатор позиции инструмента.intTicker инструмента.com.google.protobuf.ByteStringTicker инструмента.getUid()Уникальный идентификатор инструмента.com.google.protobuf.ByteStringУникальный идентификатор инструмента.final com.google.protobuf.UnknownFieldSetbooleanФлаг отображающий доступность торговли инструментом по выходнымbooleanДата первой дневной свечи.booleanДата первой минутной свечи.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic InstrumentShort.Builderstatic InstrumentShort.BuildernewBuilder(InstrumentShort prototype) protected InstrumentShort.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static InstrumentShortparseDelimitedFrom(InputStream input) static InstrumentShortparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentShortparseFrom(byte[] data) static InstrumentShortparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentShortparseFrom(com.google.protobuf.ByteString data) static InstrumentShortparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentShortparseFrom(com.google.protobuf.CodedInputStream input) static InstrumentShortparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentShortparseFrom(InputStream input) static InstrumentShortparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentShortparseFrom(ByteBuffer data) static InstrumentShortparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstrumentShort>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
-
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
- 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
-
getIsin
Isin инструмента.
string isin = 1;- Specified by:
getIsinin interfaceInstrumentShortOrBuilder- Returns:
- The isin.
-
getIsinBytes
public com.google.protobuf.ByteString getIsinBytes()Isin инструмента.
string isin = 1;- Specified by:
getIsinBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for isin.
-
getFigi
Figi инструмента.
string figi = 2;- Specified by:
getFigiin interfaceInstrumentShortOrBuilder- Returns:
- The figi.
-
getFigiBytes
public com.google.protobuf.ByteString getFigiBytes()Figi инструмента.
string figi = 2;- Specified by:
getFigiBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for figi.
-
getTicker
Ticker инструмента.
string ticker = 3;- Specified by:
getTickerin interfaceInstrumentShortOrBuilder- Returns:
- The ticker.
-
getTickerBytes
public com.google.protobuf.ByteString getTickerBytes()Ticker инструмента.
string ticker = 3;- Specified by:
getTickerBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for ticker.
-
getClassCode
ClassCode инструмента.
string class_code = 4;- Specified by:
getClassCodein interfaceInstrumentShortOrBuilder- Returns:
- The classCode.
-
getClassCodeBytes
public com.google.protobuf.ByteString getClassCodeBytes()ClassCode инструмента.
string class_code = 4;- Specified by:
getClassCodeBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for classCode.
-
getInstrumentType
Тип инструмента.
string instrument_type = 5;- Specified by:
getInstrumentTypein interfaceInstrumentShortOrBuilder- Returns:
- The instrumentType.
-
getInstrumentTypeBytes
public com.google.protobuf.ByteString getInstrumentTypeBytes()Тип инструмента.
string instrument_type = 5;- Specified by:
getInstrumentTypeBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for instrumentType.
-
getName
Название инструмента.
string name = 6;- Specified by:
getNamein interfaceInstrumentShortOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Название инструмента.
string name = 6;- Specified by:
getNameBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for name.
-
getUid
Уникальный идентификатор инструмента.
string uid = 7;- Specified by:
getUidin interfaceInstrumentShortOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Уникальный идентификатор инструмента.
string uid = 7;- Specified by:
getUidBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for uid.
-
getPositionUid
Уникальный идентификатор позиции инструмента.
string position_uid = 8;- Specified by:
getPositionUidin interfaceInstrumentShortOrBuilder- Returns:
- The positionUid.
-
getPositionUidBytes
public com.google.protobuf.ByteString getPositionUidBytes()Уникальный идентификатор позиции инструмента.
string position_uid = 8;- Specified by:
getPositionUidBytesin interfaceInstrumentShortOrBuilder- Returns:
- The bytes for positionUid.
-
getApiTradeAvailableFlag
public boolean getApiTradeAvailableFlag()Параметр указывает на возможность торговать инструментом через API.
bool api_trade_available_flag = 11;- Specified by:
getApiTradeAvailableFlagin interfaceInstrumentShortOrBuilder- Returns:
- The apiTradeAvailableFlag.
-
getForIisFlag
public boolean getForIisFlag()Признак доступности для ИИС.
bool for_iis_flag = 12;- Specified by:
getForIisFlagin interfaceInstrumentShortOrBuilder- Returns:
- The forIisFlag.
-
hasFirst1MinCandleDate
public boolean hasFirst1MinCandleDate()Дата первой минутной свечи.
.google.protobuf.Timestamp first_1min_candle_date = 26;- Specified by:
hasFirst1MinCandleDatein interfaceInstrumentShortOrBuilder- Returns:
- Whether the first1minCandleDate field is set.
-
getFirst1MinCandleDate
public com.google.protobuf.Timestamp getFirst1MinCandleDate()Дата первой минутной свечи.
.google.protobuf.Timestamp first_1min_candle_date = 26;- Specified by:
getFirst1MinCandleDatein interfaceInstrumentShortOrBuilder- Returns:
- The first1minCandleDate.
-
getFirst1MinCandleDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirst1MinCandleDateOrBuilder()Дата первой минутной свечи.
.google.protobuf.Timestamp first_1min_candle_date = 26;- Specified by:
getFirst1MinCandleDateOrBuilderin interfaceInstrumentShortOrBuilder
-
hasFirst1DayCandleDate
public boolean hasFirst1DayCandleDate()Дата первой дневной свечи.
.google.protobuf.Timestamp first_1day_candle_date = 27;- Specified by:
hasFirst1DayCandleDatein interfaceInstrumentShortOrBuilder- Returns:
- Whether the first1dayCandleDate field is set.
-
getFirst1DayCandleDate
public com.google.protobuf.Timestamp getFirst1DayCandleDate()Дата первой дневной свечи.
.google.protobuf.Timestamp first_1day_candle_date = 27;- Specified by:
getFirst1DayCandleDatein interfaceInstrumentShortOrBuilder- Returns:
- The first1dayCandleDate.
-
getFirst1DayCandleDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirst1DayCandleDateOrBuilder()Дата первой дневной свечи.
.google.protobuf.Timestamp first_1day_candle_date = 27;- Specified by:
getFirst1DayCandleDateOrBuilderin interfaceInstrumentShortOrBuilder
-
getForQualInvestorFlag
public boolean getForQualInvestorFlag()Флаг отображающий доступность торговли инструментом только для квалифицированных инвесторов.
bool for_qual_investor_flag = 28;- Specified by:
getForQualInvestorFlagin interfaceInstrumentShortOrBuilder- Returns:
- The forQualInvestorFlag.
-
getWeekendFlag
public boolean getWeekendFlag()Флаг отображающий доступность торговли инструментом по выходным
bool weekend_flag = 29;- Specified by:
getWeekendFlagin interfaceInstrumentShortOrBuilder- Returns:
- The weekendFlag.
-
getBlockedTcaFlag
public boolean getBlockedTcaFlag()Флаг заблокированного ТКС
bool blocked_tca_flag = 30;- Specified by:
getBlockedTcaFlagin interfaceInstrumentShortOrBuilder- Returns:
- The blockedTcaFlag.
-
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 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
- Throws:
IOException
-
parseFrom
public static InstrumentShort parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- 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 InstrumentShort.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
-