Package ru.tinkoff.piapi.contract.v1
Interface AssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset,Asset.Builder
public interface AssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetInstruments(int index) Массив идентификаторов инструментов.intМассив идентификаторов инструментов.Массив идентификаторов инструментов.getInstrumentsOrBuilder(int index) Массив идентификаторов инструментов.List<? extends AssetInstrumentOrBuilder>Массив идентификаторов инструментов.getName()Наименование актива.com.google.protobuf.ByteStringНаименование актива.getType()Тип актива.intТип актива.getUid()Уникальный идентификатор актива.com.google.protobuf.ByteStringУникальный идентификатор актива.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
-
getUid
String getUid()Уникальный идентификатор актива.
string uid = 1;- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()Уникальный идентификатор актива.
string uid = 1;- Returns:
- The bytes for uid.
-
getTypeValue
int getTypeValue()Тип актива.
.tinkoff.public.invest.api.contract.v1.AssetType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
AssetType getType()Тип актива.
.tinkoff.public.invest.api.contract.v1.AssetType type = 2;- Returns:
- The type.
-
getName
String getName()Наименование актива.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Наименование актива.
string name = 3;- Returns:
- The bytes for name.
-
getInstrumentsList
List<AssetInstrument> getInstrumentsList()Массив идентификаторов инструментов.
repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 4; -
getInstruments
Массив идентификаторов инструментов.
repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 4; -
getInstrumentsCount
int getInstrumentsCount()Массив идентификаторов инструментов.
repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 4; -
getInstrumentsOrBuilderList
List<? extends AssetInstrumentOrBuilder> getInstrumentsOrBuilderList()Массив идентификаторов инструментов.
repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 4; -
getInstrumentsOrBuilder
Массив идентификаторов инструментов.
repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 4;
-