Package ru.tinkoff.piapi.contract.v1
Class MarketDataResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.MarketDataResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,MarketDataResponseOrBuilder
public final class MarketDataResponse
extends com.google.protobuf.GeneratedMessageV3
implements MarketDataResponseOrBuilder
Пакет биржевой информации по подписке.Protobuf type
tinkoff.public.invest.api.contract.v1.MarketDataResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classПакет биржевой информации по подписке.static enumNested 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 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 TypeMethodDescriptionbooleanСвеча.Свеча.static MarketDataResponsestatic final com.google.protobuf.Descriptors.DescriptorЦена последней сделки.Цена последней сделки.Стакан.Стакан.com.google.protobuf.Parser<MarketDataResponse>getPing()Проверка активности стрима.Проверка активности стрима.intРезультат подписки на свечи.Результат подписки на свечи.Результат подписки на торговые статусы инструментов.Результат подписки на торговые статусы инструментов.Результат подписки на цены последние сделок по инструментам.Результат подписки на цены последние сделок по инструментам.Результат подписки на стаканы.Результат подписки на стаканы.Результат подписки на поток обезличенных сделок.Результат подписки на поток обезличенных сделок.getTrade()Сделки.Сделки.Торговый статус.Торговый статус.final com.google.protobuf.UnknownFieldSetbooleanСвеча.inthashCode()booleanЦена последней сделки.booleanСтакан.booleanhasPing()Проверка активности стрима.booleanРезультат подписки на свечи.booleanРезультат подписки на торговые статусы инструментов.booleanРезультат подписки на цены последние сделок по инструментам.booleanРезультат подписки на стаканы.booleanРезультат подписки на поток обезличенных сделок.booleanhasTrade()Сделки.booleanТорговый статус.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic MarketDataResponse.Builderstatic MarketDataResponse.BuildernewBuilder(MarketDataResponse prototype) protected MarketDataResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MarketDataResponseparseDelimitedFrom(InputStream input) static MarketDataResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MarketDataResponseparseFrom(byte[] data) static MarketDataResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MarketDataResponseparseFrom(com.google.protobuf.ByteString data) static MarketDataResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MarketDataResponseparseFrom(com.google.protobuf.CodedInputStream input) static MarketDataResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MarketDataResponseparseFrom(InputStream input) static MarketDataResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MarketDataResponseparseFrom(ByteBuffer data) static MarketDataResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MarketDataResponse>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
-
SUBSCRIBE_CANDLES_RESPONSE_FIELD_NUMBER
public static final int SUBSCRIBE_CANDLES_RESPONSE_FIELD_NUMBER- See Also:
-
SUBSCRIBE_ORDER_BOOK_RESPONSE_FIELD_NUMBER
public static final int SUBSCRIBE_ORDER_BOOK_RESPONSE_FIELD_NUMBER- See Also:
-
SUBSCRIBE_TRADES_RESPONSE_FIELD_NUMBER
public static final int SUBSCRIBE_TRADES_RESPONSE_FIELD_NUMBER- See Also:
-
SUBSCRIBE_INFO_RESPONSE_FIELD_NUMBER
public static final int SUBSCRIBE_INFO_RESPONSE_FIELD_NUMBER- See Also:
-
CANDLE_FIELD_NUMBER
public static final int CANDLE_FIELD_NUMBER- See Also:
-
TRADE_FIELD_NUMBER
public static final int TRADE_FIELD_NUMBER- See Also:
-
ORDERBOOK_FIELD_NUMBER
public static final int ORDERBOOK_FIELD_NUMBER- See Also:
-
TRADING_STATUS_FIELD_NUMBER
public static final int TRADING_STATUS_FIELD_NUMBER- See Also:
-
PING_FIELD_NUMBER
public static final int PING_FIELD_NUMBER- See Also:
-
SUBSCRIBE_LAST_PRICE_RESPONSE_FIELD_NUMBER
public static final int SUBSCRIBE_LAST_PRICE_RESPONSE_FIELD_NUMBER- See Also:
-
LAST_PRICE_FIELD_NUMBER
public static final int LAST_PRICE_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
-
getPayloadCase
- Specified by:
getPayloadCasein interfaceMarketDataResponseOrBuilder
-
hasSubscribeCandlesResponse
public boolean hasSubscribeCandlesResponse()Результат подписки на свечи.
.tinkoff.public.invest.api.contract.v1.SubscribeCandlesResponse subscribe_candles_response = 1;- Specified by:
hasSubscribeCandlesResponsein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the subscribeCandlesResponse field is set.
-
getSubscribeCandlesResponse
Результат подписки на свечи.
.tinkoff.public.invest.api.contract.v1.SubscribeCandlesResponse subscribe_candles_response = 1;- Specified by:
getSubscribeCandlesResponsein interfaceMarketDataResponseOrBuilder- Returns:
- The subscribeCandlesResponse.
-
getSubscribeCandlesResponseOrBuilder
Результат подписки на свечи.
.tinkoff.public.invest.api.contract.v1.SubscribeCandlesResponse subscribe_candles_response = 1;- Specified by:
getSubscribeCandlesResponseOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasSubscribeOrderBookResponse
public boolean hasSubscribeOrderBookResponse()Результат подписки на стаканы.
.tinkoff.public.invest.api.contract.v1.SubscribeOrderBookResponse subscribe_order_book_response = 2;- Specified by:
hasSubscribeOrderBookResponsein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the subscribeOrderBookResponse field is set.
-
getSubscribeOrderBookResponse
Результат подписки на стаканы.
.tinkoff.public.invest.api.contract.v1.SubscribeOrderBookResponse subscribe_order_book_response = 2;- Specified by:
getSubscribeOrderBookResponsein interfaceMarketDataResponseOrBuilder- Returns:
- The subscribeOrderBookResponse.
-
getSubscribeOrderBookResponseOrBuilder
Результат подписки на стаканы.
.tinkoff.public.invest.api.contract.v1.SubscribeOrderBookResponse subscribe_order_book_response = 2;- Specified by:
getSubscribeOrderBookResponseOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasSubscribeTradesResponse
public boolean hasSubscribeTradesResponse()Результат подписки на поток обезличенных сделок.
.tinkoff.public.invest.api.contract.v1.SubscribeTradesResponse subscribe_trades_response = 3;- Specified by:
hasSubscribeTradesResponsein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the subscribeTradesResponse field is set.
-
getSubscribeTradesResponse
Результат подписки на поток обезличенных сделок.
.tinkoff.public.invest.api.contract.v1.SubscribeTradesResponse subscribe_trades_response = 3;- Specified by:
getSubscribeTradesResponsein interfaceMarketDataResponseOrBuilder- Returns:
- The subscribeTradesResponse.
-
getSubscribeTradesResponseOrBuilder
Результат подписки на поток обезличенных сделок.
.tinkoff.public.invest.api.contract.v1.SubscribeTradesResponse subscribe_trades_response = 3;- Specified by:
getSubscribeTradesResponseOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasSubscribeInfoResponse
public boolean hasSubscribeInfoResponse()Результат подписки на торговые статусы инструментов.
.tinkoff.public.invest.api.contract.v1.SubscribeInfoResponse subscribe_info_response = 4;- Specified by:
hasSubscribeInfoResponsein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the subscribeInfoResponse field is set.
-
getSubscribeInfoResponse
Результат подписки на торговые статусы инструментов.
.tinkoff.public.invest.api.contract.v1.SubscribeInfoResponse subscribe_info_response = 4;- Specified by:
getSubscribeInfoResponsein interfaceMarketDataResponseOrBuilder- Returns:
- The subscribeInfoResponse.
-
getSubscribeInfoResponseOrBuilder
Результат подписки на торговые статусы инструментов.
.tinkoff.public.invest.api.contract.v1.SubscribeInfoResponse subscribe_info_response = 4;- Specified by:
getSubscribeInfoResponseOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasCandle
public boolean hasCandle()Свеча.
.tinkoff.public.invest.api.contract.v1.Candle candle = 5;- Specified by:
hasCandlein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the candle field is set.
-
getCandle
Свеча.
.tinkoff.public.invest.api.contract.v1.Candle candle = 5;- Specified by:
getCandlein interfaceMarketDataResponseOrBuilder- Returns:
- The candle.
-
getCandleOrBuilder
Свеча.
.tinkoff.public.invest.api.contract.v1.Candle candle = 5;- Specified by:
getCandleOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasTrade
public boolean hasTrade()Сделки.
.tinkoff.public.invest.api.contract.v1.Trade trade = 6;- Specified by:
hasTradein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the trade field is set.
-
getTrade
Сделки.
.tinkoff.public.invest.api.contract.v1.Trade trade = 6;- Specified by:
getTradein interfaceMarketDataResponseOrBuilder- Returns:
- The trade.
-
getTradeOrBuilder
Сделки.
.tinkoff.public.invest.api.contract.v1.Trade trade = 6;- Specified by:
getTradeOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasOrderbook
public boolean hasOrderbook()Стакан.
.tinkoff.public.invest.api.contract.v1.OrderBook orderbook = 7;- Specified by:
hasOrderbookin interfaceMarketDataResponseOrBuilder- Returns:
- Whether the orderbook field is set.
-
getOrderbook
Стакан.
.tinkoff.public.invest.api.contract.v1.OrderBook orderbook = 7;- Specified by:
getOrderbookin interfaceMarketDataResponseOrBuilder- Returns:
- The orderbook.
-
getOrderbookOrBuilder
Стакан.
.tinkoff.public.invest.api.contract.v1.OrderBook orderbook = 7;- Specified by:
getOrderbookOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasTradingStatus
public boolean hasTradingStatus()Торговый статус.
.tinkoff.public.invest.api.contract.v1.TradingStatus trading_status = 8;- Specified by:
hasTradingStatusin interfaceMarketDataResponseOrBuilder- Returns:
- Whether the tradingStatus field is set.
-
getTradingStatus
Торговый статус.
.tinkoff.public.invest.api.contract.v1.TradingStatus trading_status = 8;- Specified by:
getTradingStatusin interfaceMarketDataResponseOrBuilder- Returns:
- The tradingStatus.
-
getTradingStatusOrBuilder
Торговый статус.
.tinkoff.public.invest.api.contract.v1.TradingStatus trading_status = 8;- Specified by:
getTradingStatusOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasPing
public boolean hasPing()Проверка активности стрима.
.tinkoff.public.invest.api.contract.v1.Ping ping = 9;- Specified by:
hasPingin interfaceMarketDataResponseOrBuilder- Returns:
- Whether the ping field is set.
-
getPing
Проверка активности стрима.
.tinkoff.public.invest.api.contract.v1.Ping ping = 9;- Specified by:
getPingin interfaceMarketDataResponseOrBuilder- Returns:
- The ping.
-
getPingOrBuilder
Проверка активности стрима.
.tinkoff.public.invest.api.contract.v1.Ping ping = 9;- Specified by:
getPingOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasSubscribeLastPriceResponse
public boolean hasSubscribeLastPriceResponse()Результат подписки на цены последние сделок по инструментам.
.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceResponse subscribe_last_price_response = 10;- Specified by:
hasSubscribeLastPriceResponsein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the subscribeLastPriceResponse field is set.
-
getSubscribeLastPriceResponse
Результат подписки на цены последние сделок по инструментам.
.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceResponse subscribe_last_price_response = 10;- Specified by:
getSubscribeLastPriceResponsein interfaceMarketDataResponseOrBuilder- Returns:
- The subscribeLastPriceResponse.
-
getSubscribeLastPriceResponseOrBuilder
Результат подписки на цены последние сделок по инструментам.
.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceResponse subscribe_last_price_response = 10;- Specified by:
getSubscribeLastPriceResponseOrBuilderin interfaceMarketDataResponseOrBuilder
-
hasLastPrice
public boolean hasLastPrice()Цена последней сделки.
.tinkoff.public.invest.api.contract.v1.LastPrice last_price = 11;- Specified by:
hasLastPricein interfaceMarketDataResponseOrBuilder- Returns:
- Whether the lastPrice field is set.
-
getLastPrice
Цена последней сделки.
.tinkoff.public.invest.api.contract.v1.LastPrice last_price = 11;- Specified by:
getLastPricein interfaceMarketDataResponseOrBuilder- Returns:
- The lastPrice.
-
getLastPriceOrBuilder
Цена последней сделки.
.tinkoff.public.invest.api.contract.v1.LastPrice last_price = 11;- Specified by:
getLastPriceOrBuilderin interfaceMarketDataResponseOrBuilder
-
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 MarketDataResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MarketDataResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MarketDataResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MarketDataResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MarketDataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MarketDataResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MarketDataResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MarketDataResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MarketDataResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MarketDataResponse 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 MarketDataResponse.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
-