public final class StreamMarketUpdateResponseV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamMarketUpdateResponseV1OrBuilder
StreamMarketUpdateResponseV1Protobuf type
kaikosdk.StreamMarketUpdateResponseV1
Modifier and Type | Class and Description |
---|---|
static class |
StreamMarketUpdateResponseV1.Builder
StreamMarketUpdateResponseV1
|
static class |
StreamMarketUpdateResponseV1.Snapshot
Snapshot is an orderbook snapshot.
|
static interface |
StreamMarketUpdateResponseV1.SnapshotOrBuilder |
static class |
StreamMarketUpdateResponseV1.StreamMarketUpdateType
StreamMarketUpdateType is event category for a market update.
|
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONAL_PROPERTIES_FIELD_NUMBER |
static int |
AMOUNT_FIELD_NUMBER |
static int |
CLASS_FIELD_NUMBER |
static int |
CODE_FIELD_NUMBER |
static int |
COMMODITY_FIELD_NUMBER |
static int |
EXCHANGE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
PRICE_FIELD_NUMBER |
static int |
SEQUENCE_ID_FIELD_NUMBER |
static int |
SNAPSHOT_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.
|
double |
getAmount()
Amount / quantity of asset bought or sold, displayed in base currency.
|
java.lang.String |
getClass_()
Instrument class, internal Kaiko classification denoting whether an instrument is a spot, future, perpetual future, or option.
|
com.google.protobuf.ByteString |
getClass_Bytes()
Instrument class, internal Kaiko classification denoting whether an instrument is a spot, future, perpetual future, or option.
|
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.
|
StreamMarketUpdateCommodity |
getCommodity()
Kind of commodity concerned by the market update.
|
int |
getCommodityValue()
Kind of commodity concerned by the market update.
|
static StreamMarketUpdateResponseV1 |
getDefaultInstance() |
StreamMarketUpdateResponseV1 |
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).
|
java.lang.String |
getId()
ID from exchange (trades only), empty string when not present.
|
com.google.protobuf.ByteString |
getIdBytes()
ID from exchange (trades only), empty string when not present.
|
<any> |
getParserForType() |
double |
getPrice()
Price for quote currency.
|
java.lang.String |
getSequenceId()
Sequence ID for event.
|
com.google.protobuf.ByteString |
getSequenceIdBytes()
Sequence ID for event.
|
int |
getSerializedSize() |
StreamMarketUpdateResponseV1.Snapshot |
getSnapshot()
Snapshot for this update.
|
StreamMarketUpdateResponseV1.SnapshotOrBuilder |
getSnapshotOrBuilder()
Snapshot for this update.
|
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() |
StreamMarketUpdateResponseV1.StreamMarketUpdateType |
getUpdateType()
Event category for this update.
|
int |
getUpdateTypeValue()
Event category for this update.
|
int |
hashCode() |
boolean |
hasSnapshot()
Snapshot for this update.
|
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 StreamMarketUpdateResponseV1.Builder |
newBuilder() |
static StreamMarketUpdateResponseV1.Builder |
newBuilder(StreamMarketUpdateResponseV1 prototype) |
StreamMarketUpdateResponseV1.Builder |
newBuilderForType() |
protected StreamMarketUpdateResponseV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamMarketUpdateResponseV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamMarketUpdateResponseV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateResponseV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateResponseV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamMarketUpdateResponseV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateResponseV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamMarketUpdateResponseV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamMarketUpdateResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateResponseV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamMarketUpdateResponseV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int COMMODITY_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
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 ID_FIELD_NUMBER
public static final int PRICE_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 UPDATE_TYPE_FIELD_NUMBER
public static final int SNAPSHOT_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 int getCommodityValue()
Kind of commodity concerned by the market update.
.kaikosdk.StreamMarketUpdateCommodity commodity = 1;
getCommodityValue
in interface StreamMarketUpdateResponseV1OrBuilder
public StreamMarketUpdateCommodity getCommodity()
Kind of commodity concerned by the market update.
.kaikosdk.StreamMarketUpdateCommodity commodity = 1;
getCommodity
in interface StreamMarketUpdateResponseV1OrBuilder
public double getAmount()
Amount / quantity of asset bought or sold, displayed in base currency.
double amount = 2;
getAmount
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getClass_()
Instrument class, internal Kaiko classification denoting whether an instrument is a spot, future, perpetual future, or option.
string class = 3;
getClass_
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.ByteString getClass_Bytes()
Instrument class, internal Kaiko classification denoting whether an instrument is a spot, future, perpetual future, or option.
string class = 3;
getClass_Bytes
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getCode()
Instrument code (currency pair), for example btc-usd.
string code = 4;
getCode
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.ByteString getCodeBytes()
Instrument code (currency pair), for example btc-usd.
string code = 4;
getCodeBytes
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getExchange()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 5;
getExchange
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.ByteString getExchangeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 5;
getExchangeBytes
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getSequenceId()
Sequence ID for event. Sortable in lexicographic order.
string sequence_id = 6;
getSequenceId
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.ByteString getSequenceIdBytes()
Sequence ID for event. Sortable in lexicographic order.
string sequence_id = 6;
getSequenceIdBytes
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getId()
ID from exchange (trades only), empty string when not present.
string id = 7;
getId
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.ByteString getIdBytes()
ID from exchange (trades only), empty string when not present.
string id = 7;
getIdBytes
in interface StreamMarketUpdateResponseV1OrBuilder
public double getPrice()
Price for quote currency.
double price = 8;
getPrice
in interface StreamMarketUpdateResponseV1OrBuilder
public boolean hasTsExchange()
Timestamp of the event as provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 9;
hasTsExchange
in interface StreamMarketUpdateResponseV1OrBuilder
public TimestampValue getTsExchange()
Timestamp of the event as provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 9;
getTsExchange
in interface StreamMarketUpdateResponseV1OrBuilder
public TimestampValueOrBuilder getTsExchangeOrBuilder()
Timestamp of the event as provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 9;
getTsExchangeOrBuilder
in interface StreamMarketUpdateResponseV1OrBuilder
public boolean hasTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 10;
hasTsCollection
in interface StreamMarketUpdateResponseV1OrBuilder
public TimestampValue getTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 10;
getTsCollection
in interface StreamMarketUpdateResponseV1OrBuilder
public TimestampValueOrBuilder getTsCollectionOrBuilder()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 10;
getTsCollectionOrBuilder
in interface StreamMarketUpdateResponseV1OrBuilder
public boolean hasTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 11;
hasTsEvent
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.Timestamp getTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 11;
getTsEvent
in interface StreamMarketUpdateResponseV1OrBuilder
public com.google.protobuf.TimestampOrBuilder getTsEventOrBuilder()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 11;
getTsEventOrBuilder
in interface StreamMarketUpdateResponseV1OrBuilder
public int getUpdateTypeValue()
Event category for this update.
.kaikosdk.StreamMarketUpdateResponseV1.StreamMarketUpdateType update_type = 12;
getUpdateTypeValue
in interface StreamMarketUpdateResponseV1OrBuilder
public StreamMarketUpdateResponseV1.StreamMarketUpdateType getUpdateType()
Event category for this update.
.kaikosdk.StreamMarketUpdateResponseV1.StreamMarketUpdateType update_type = 12;
getUpdateType
in interface StreamMarketUpdateResponseV1OrBuilder
public boolean hasSnapshot()
Snapshot for this update.
.kaikosdk.StreamMarketUpdateResponseV1.Snapshot snapshot = 13;
hasSnapshot
in interface StreamMarketUpdateResponseV1OrBuilder
public StreamMarketUpdateResponseV1.Snapshot getSnapshot()
Snapshot for this update.
.kaikosdk.StreamMarketUpdateResponseV1.Snapshot snapshot = 13;
getSnapshot
in interface StreamMarketUpdateResponseV1OrBuilder
public StreamMarketUpdateResponseV1.SnapshotOrBuilder getSnapshotOrBuilder()
Snapshot for this update.
.kaikosdk.StreamMarketUpdateResponseV1.Snapshot snapshot = 13;
getSnapshotOrBuilder
in interface StreamMarketUpdateResponseV1OrBuilder
public int getAdditionalPropertiesCount()
StreamMarketUpdateResponseV1OrBuilder
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 14;
getAdditionalPropertiesCount
in interface StreamMarketUpdateResponseV1OrBuilder
public boolean containsAdditionalProperties(java.lang.String key)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 14;
containsAdditionalProperties
in interface StreamMarketUpdateResponseV1OrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAdditionalProperties()
getAdditionalPropertiesMap()
instead.getAdditionalProperties
in interface StreamMarketUpdateResponseV1OrBuilder
public java.util.Map<java.lang.String,java.lang.String> getAdditionalPropertiesMap()
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 14;
getAdditionalPropertiesMap
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getAdditionalPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 14;
getAdditionalPropertiesOrDefault
in interface StreamMarketUpdateResponseV1OrBuilder
public java.lang.String getAdditionalPropertiesOrThrow(java.lang.String key)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 14;
getAdditionalPropertiesOrThrow
in interface StreamMarketUpdateResponseV1OrBuilder
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 StreamMarketUpdateResponseV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateResponseV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateResponseV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateResponseV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateResponseV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateResponseV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateResponseV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateResponseV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateResponseV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateResponseV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamMarketUpdateResponseV1.Builder newBuilderForType()
public static StreamMarketUpdateResponseV1.Builder newBuilder()
public static StreamMarketUpdateResponseV1.Builder newBuilder(StreamMarketUpdateResponseV1 prototype)
public StreamMarketUpdateResponseV1.Builder toBuilder()
protected StreamMarketUpdateResponseV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamMarketUpdateResponseV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamMarketUpdateResponseV1 getDefaultInstanceForType()