public final class StreamOrderBookL2ResponseV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamOrderBookL2ResponseV1OrBuilder
StreamOrderBookL2ResponseV1 is the response of a Level 2 order book event.Protobuf type
kaikosdk.StreamOrderBookL2ResponseV1
Modifier and Type | Class and Description |
---|---|
static class |
StreamOrderBookL2ResponseV1.Builder
StreamOrderBookL2ResponseV1 is the response of a Level 2 order book event.
|
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONAL_PROPERTIES_FIELD_NUMBER |
static int |
ASKS_FIELD_NUMBER |
static int |
BIDS_FIELD_NUMBER |
static int |
CLASS_FIELD_NUMBER |
static int |
CODE_FIELD_NUMBER |
static int |
EXCHANGE_FIELD_NUMBER |
static int |
SEQUENCE_ID_FIELD_NUMBER |
static int |
TS_COLLECTION_FIELD_NUMBER |
static int |
TS_EVENT_FIELD_NUMBER |
static int |
TS_EXCHANGE_FIELD_NUMBER |
static int |
UPDATE_TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAdditionalProperties(java.lang.String key)
Additionnal properties, specific to the exchange.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAdditionalProperties()
Deprecated.
|
int |
getAdditionalPropertiesCount()
Additionnal properties, specific to the exchange.
|
java.util.Map<java.lang.String,java.lang.String> |
getAdditionalPropertiesMap()
Additionnal properties, specific to the exchange.
|
java.lang.String |
getAdditionalPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
Additionnal properties, specific to the exchange.
|
java.lang.String |
getAdditionalPropertiesOrThrow(java.lang.String key)
Additionnal properties, specific to the exchange.
|
Order |
getAsks(int index)
Asks is the list of asks of the orderbook.
|
int |
getAsksCount()
Asks is the list of asks of the orderbook.
|
java.util.List<Order> |
getAsksList()
Asks is the list of asks of the orderbook.
|
OrderOrBuilder |
getAsksOrBuilder(int index)
Asks is the list of asks of the orderbook.
|
java.util.List<? extends OrderOrBuilder> |
getAsksOrBuilderList()
Asks is the list of asks of the orderbook.
|
Order |
getBids(int index)
Bids is the list of bids of the orderbook.
|
int |
getBidsCount()
Bids is the list of bids of the orderbook.
|
java.util.List<Order> |
getBidsList()
Bids is the list of bids of the orderbook.
|
OrderOrBuilder |
getBidsOrBuilder(int index)
Bids is the list of bids of the orderbook.
|
java.util.List<? extends OrderOrBuilder> |
getBidsOrBuilderList()
Bids is the list of bids of the orderbook.
|
java.lang.String |
getClass_()
Instrument class, for example "spot".
|
com.google.protobuf.ByteString |
getClass_Bytes()
Instrument class, for example "spot".
|
java.lang.String |
getCode()
Instrument code (currency pair), for example btc-usd.
|
com.google.protobuf.ByteString |
getCodeBytes()
Instrument code (currency pair), for example btc-usd.
|
static StreamOrderBookL2ResponseV1 |
getDefaultInstance() |
StreamOrderBookL2ResponseV1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getExchange()
Instrument exchange code, for example "cbse" (Coinbase).
|
com.google.protobuf.ByteString |
getExchangeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
|
<any> |
getParserForType() |
java.lang.String |
getSequenceId()
Sequence ID for event.
|
com.google.protobuf.ByteString |
getSequenceIdBytes()
Sequence ID for event.
|
int |
getSerializedSize() |
TimestampValue |
getTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
|
TimestampValueOrBuilder |
getTsCollectionOrBuilder()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
|
com.google.protobuf.Timestamp |
getTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
|
com.google.protobuf.TimestampOrBuilder |
getTsEventOrBuilder()
Event generation timestamp (event created by Kaiko), after normalization.
|
TimestampValue |
getTsExchange()
Timestamp of the event as provided by the exchange.
|
TimestampValueOrBuilder |
getTsExchangeOrBuilder()
Timestamp of the event as provided by the exchange.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
StreamOrderBookL2UpdateType |
getUpdateType()
Event type.
|
int |
getUpdateTypeValue()
Event type.
|
int |
hashCode() |
boolean |
hasTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
|
boolean |
hasTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
|
boolean |
hasTsExchange()
Timestamp of the event as provided by the exchange.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static StreamOrderBookL2ResponseV1.Builder |
newBuilder() |
static StreamOrderBookL2ResponseV1.Builder |
newBuilder(StreamOrderBookL2ResponseV1 prototype) |
StreamOrderBookL2ResponseV1.Builder |
newBuilderForType() |
protected StreamOrderBookL2ResponseV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamOrderBookL2ResponseV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamOrderBookL2ResponseV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamOrderBookL2ResponseV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamOrderBookL2ResponseV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamOrderBookL2ResponseV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamOrderBookL2ResponseV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamOrderBookL2ResponseV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamOrderBookL2ResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamOrderBookL2ResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamOrderBookL2ResponseV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamOrderBookL2ResponseV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int CLASS_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static final int EXCHANGE_FIELD_NUMBER
public static final int SEQUENCE_ID_FIELD_NUMBER
public static final int UPDATE_TYPE_FIELD_NUMBER
public static final int ASKS_FIELD_NUMBER
public static final int BIDS_FIELD_NUMBER
public static final int TS_EXCHANGE_FIELD_NUMBER
public static final int TS_COLLECTION_FIELD_NUMBER
public static final int TS_EVENT_FIELD_NUMBER
public static final int ADDITIONAL_PROPERTIES_FIELD_NUMBER
protected java.lang.Object newInstance(UnusedPrivateParameter unused)
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public java.lang.String getClass_()
Instrument class, for example "spot".
string class = 1;
getClass_
in interface StreamOrderBookL2ResponseV1OrBuilder
public com.google.protobuf.ByteString getClass_Bytes()
Instrument class, for example "spot".
string class = 1;
getClass_Bytes
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.lang.String getCode()
Instrument code (currency pair), for example btc-usd.
string code = 2;
getCode
in interface StreamOrderBookL2ResponseV1OrBuilder
public com.google.protobuf.ByteString getCodeBytes()
Instrument code (currency pair), for example btc-usd.
string code = 2;
getCodeBytes
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.lang.String getExchange()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 3;
getExchange
in interface StreamOrderBookL2ResponseV1OrBuilder
public com.google.protobuf.ByteString getExchangeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 3;
getExchangeBytes
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.lang.String getSequenceId()
Sequence ID for event. Sortable in lexicographic order.
string sequence_id = 4;
getSequenceId
in interface StreamOrderBookL2ResponseV1OrBuilder
public com.google.protobuf.ByteString getSequenceIdBytes()
Sequence ID for event. Sortable in lexicographic order.
string sequence_id = 4;
getSequenceIdBytes
in interface StreamOrderBookL2ResponseV1OrBuilder
public int getUpdateTypeValue()
Event type.
.kaikosdk.StreamOrderBookL2UpdateType update_type = 5;
getUpdateTypeValue
in interface StreamOrderBookL2ResponseV1OrBuilder
public StreamOrderBookL2UpdateType getUpdateType()
Event type.
.kaikosdk.StreamOrderBookL2UpdateType update_type = 5;
getUpdateType
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.util.List<Order> getAsksList()
Asks is the list of asks of the orderbook.
repeated .kaikosdk.Order asks = 6;
getAsksList
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.util.List<? extends OrderOrBuilder> getAsksOrBuilderList()
Asks is the list of asks of the orderbook.
repeated .kaikosdk.Order asks = 6;
getAsksOrBuilderList
in interface StreamOrderBookL2ResponseV1OrBuilder
public int getAsksCount()
Asks is the list of asks of the orderbook.
repeated .kaikosdk.Order asks = 6;
getAsksCount
in interface StreamOrderBookL2ResponseV1OrBuilder
public Order getAsks(int index)
Asks is the list of asks of the orderbook.
repeated .kaikosdk.Order asks = 6;
getAsks
in interface StreamOrderBookL2ResponseV1OrBuilder
public OrderOrBuilder getAsksOrBuilder(int index)
Asks is the list of asks of the orderbook.
repeated .kaikosdk.Order asks = 6;
getAsksOrBuilder
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.util.List<Order> getBidsList()
Bids is the list of bids of the orderbook.
repeated .kaikosdk.Order bids = 7;
getBidsList
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.util.List<? extends OrderOrBuilder> getBidsOrBuilderList()
Bids is the list of bids of the orderbook.
repeated .kaikosdk.Order bids = 7;
getBidsOrBuilderList
in interface StreamOrderBookL2ResponseV1OrBuilder
public int getBidsCount()
Bids is the list of bids of the orderbook.
repeated .kaikosdk.Order bids = 7;
getBidsCount
in interface StreamOrderBookL2ResponseV1OrBuilder
public Order getBids(int index)
Bids is the list of bids of the orderbook.
repeated .kaikosdk.Order bids = 7;
getBids
in interface StreamOrderBookL2ResponseV1OrBuilder
public OrderOrBuilder getBidsOrBuilder(int index)
Bids is the list of bids of the orderbook.
repeated .kaikosdk.Order bids = 7;
getBidsOrBuilder
in interface StreamOrderBookL2ResponseV1OrBuilder
public boolean hasTsExchange()
Timestamp of the event as provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 8;
hasTsExchange
in interface StreamOrderBookL2ResponseV1OrBuilder
public TimestampValue getTsExchange()
Timestamp of the event as provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 8;
getTsExchange
in interface StreamOrderBookL2ResponseV1OrBuilder
public TimestampValueOrBuilder getTsExchangeOrBuilder()
Timestamp of the event as provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 8;
getTsExchangeOrBuilder
in interface StreamOrderBookL2ResponseV1OrBuilder
public boolean hasTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 9;
hasTsCollection
in interface StreamOrderBookL2ResponseV1OrBuilder
public TimestampValue getTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 9;
getTsCollection
in interface StreamOrderBookL2ResponseV1OrBuilder
public TimestampValueOrBuilder getTsCollectionOrBuilder()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 9;
getTsCollectionOrBuilder
in interface StreamOrderBookL2ResponseV1OrBuilder
public boolean hasTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 10;
hasTsEvent
in interface StreamOrderBookL2ResponseV1OrBuilder
public com.google.protobuf.Timestamp getTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 10;
getTsEvent
in interface StreamOrderBookL2ResponseV1OrBuilder
public com.google.protobuf.TimestampOrBuilder getTsEventOrBuilder()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 10;
getTsEventOrBuilder
in interface StreamOrderBookL2ResponseV1OrBuilder
public int getAdditionalPropertiesCount()
StreamOrderBookL2ResponseV1OrBuilder
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 11;
getAdditionalPropertiesCount
in interface StreamOrderBookL2ResponseV1OrBuilder
public boolean containsAdditionalProperties(java.lang.String key)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 11;
containsAdditionalProperties
in interface StreamOrderBookL2ResponseV1OrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAdditionalProperties()
getAdditionalPropertiesMap()
instead.getAdditionalProperties
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.util.Map<java.lang.String,java.lang.String> getAdditionalPropertiesMap()
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 11;
getAdditionalPropertiesMap
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.lang.String getAdditionalPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 11;
getAdditionalPropertiesOrDefault
in interface StreamOrderBookL2ResponseV1OrBuilder
public java.lang.String getAdditionalPropertiesOrThrow(java.lang.String key)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 11;
getAdditionalPropertiesOrThrow
in interface StreamOrderBookL2ResponseV1OrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static StreamOrderBookL2ResponseV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamOrderBookL2ResponseV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamOrderBookL2ResponseV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamOrderBookL2ResponseV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamOrderBookL2ResponseV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamOrderBookL2ResponseV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamOrderBookL2ResponseV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamOrderBookL2ResponseV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamOrderBookL2ResponseV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamOrderBookL2ResponseV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamOrderBookL2ResponseV1.Builder newBuilderForType()
public static StreamOrderBookL2ResponseV1.Builder newBuilder()
public static StreamOrderBookL2ResponseV1.Builder newBuilder(StreamOrderBookL2ResponseV1 prototype)
public StreamOrderBookL2ResponseV1.Builder toBuilder()
protected StreamOrderBookL2ResponseV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamOrderBookL2ResponseV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamOrderBookL2ResponseV1 getDefaultInstanceForType()