public final class StreamTradesResponseV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamTradesResponseV1OrBuilder
StreamTradesResponseV1Protobuf type
kaikosdk.StreamTradesResponseV1
Modifier and Type | Class and Description |
---|---|
static class |
StreamTradesResponseV1.Builder
StreamTradesResponseV1
|
static class |
StreamTradesResponseV1.TradeSide
Side
|
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 |
EXCHANGE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
PRICE_FIELD_NUMBER |
static int |
SEQUENCE_ID_FIELD_NUMBER |
static int |
SIDE_FIELD_NUMBER |
static int |
TS_COLLECTION_FIELD_NUMBER |
static int |
TS_EVENT_FIELD_NUMBER |
static int |
TS_EXCHANGE_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, empty when instrument not mapped.
|
com.google.protobuf.ByteString |
getClass_Bytes()
Instrument class, empty when instrument not mapped.
|
java.lang.String |
getCode()
Instrument code, empty when instrument not mapped.
|
com.google.protobuf.ByteString |
getCodeBytes()
Instrument code, empty when instrument not mapped.
|
static StreamTradesResponseV1 |
getDefaultInstance() |
StreamTradesResponseV1 |
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()
Trade ID, empty string when not present.
|
com.google.protobuf.ByteString |
getIdBytes()
Trade ID, empty string when not present.
|
<any> |
getParserForType() |
double |
getPrice()
Price for the trade.
|
java.lang.String |
getSequenceId()
Sequence ID for event.
|
com.google.protobuf.ByteString |
getSequenceIdBytes()
Sequence ID for event.
|
int |
getSerializedSize() |
StreamTradesResponseV1.TradeSide |
getSide()
Trade side.
|
int |
getSideValue()
Trade side.
|
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 trade, when provided by the exchange.
|
TimestampValueOrBuilder |
getTsExchangeOrBuilder()
Timestamp of trade, when provided by the exchange.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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 trade, when provided by the exchange.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static StreamTradesResponseV1.Builder |
newBuilder() |
static StreamTradesResponseV1.Builder |
newBuilder(StreamTradesResponseV1 prototype) |
StreamTradesResponseV1.Builder |
newBuilderForType() |
protected StreamTradesResponseV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamTradesResponseV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamTradesResponseV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamTradesResponseV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamTradesResponseV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamTradesResponseV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamTradesResponseV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamTradesResponseV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamTradesResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamTradesResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamTradesResponseV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamTradesResponseV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int ADDITIONAL_PROPERTIES_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 SIDE_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
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 getAdditionalPropertiesCount()
StreamTradesResponseV1OrBuilder
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 1;
getAdditionalPropertiesCount
in interface StreamTradesResponseV1OrBuilder
public boolean containsAdditionalProperties(java.lang.String key)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 1;
containsAdditionalProperties
in interface StreamTradesResponseV1OrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAdditionalProperties()
getAdditionalPropertiesMap()
instead.getAdditionalProperties
in interface StreamTradesResponseV1OrBuilder
public java.util.Map<java.lang.String,java.lang.String> getAdditionalPropertiesMap()
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 1;
getAdditionalPropertiesMap
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getAdditionalPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 1;
getAdditionalPropertiesOrDefault
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getAdditionalPropertiesOrThrow(java.lang.String key)
Additionnal properties, specific to the exchange.
map<string, string> additional_properties = 1;
getAdditionalPropertiesOrThrow
in interface StreamTradesResponseV1OrBuilder
public double getAmount()
Amount / quantity of asset bought or sold, displayed in base currency.
double amount = 2;
getAmount
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getClass_()
Instrument class, empty when instrument not mapped.
string class = 3;
getClass_
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.ByteString getClass_Bytes()
Instrument class, empty when instrument not mapped.
string class = 3;
getClass_Bytes
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getCode()
Instrument code, empty when instrument not mapped.
string code = 4;
getCode
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.ByteString getCodeBytes()
Instrument code, empty when instrument not mapped.
string code = 4;
getCodeBytes
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getExchange()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 5;
getExchange
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.ByteString getExchangeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 5;
getExchangeBytes
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getSequenceId()
Sequence ID for event. Sortable in lexicographic order.
string sequence_id = 6;
getSequenceId
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.ByteString getSequenceIdBytes()
Sequence ID for event. Sortable in lexicographic order.
string sequence_id = 6;
getSequenceIdBytes
in interface StreamTradesResponseV1OrBuilder
public java.lang.String getId()
Trade ID, empty string when not present.
string id = 7;
getId
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.ByteString getIdBytes()
Trade ID, empty string when not present.
string id = 7;
getIdBytes
in interface StreamTradesResponseV1OrBuilder
public double getPrice()
Price for the trade.
double price = 8;
getPrice
in interface StreamTradesResponseV1OrBuilder
public int getSideValue()
Trade side.
.kaikosdk.StreamTradesResponseV1.TradeSide side = 9;
getSideValue
in interface StreamTradesResponseV1OrBuilder
public StreamTradesResponseV1.TradeSide getSide()
Trade side.
.kaikosdk.StreamTradesResponseV1.TradeSide side = 9;
getSide
in interface StreamTradesResponseV1OrBuilder
public boolean hasTsExchange()
Timestamp of trade, when provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 10;
hasTsExchange
in interface StreamTradesResponseV1OrBuilder
public TimestampValue getTsExchange()
Timestamp of trade, when provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 10;
getTsExchange
in interface StreamTradesResponseV1OrBuilder
public TimestampValueOrBuilder getTsExchangeOrBuilder()
Timestamp of trade, when provided by the exchange.
.kaikosdk.TimestampValue ts_exchange = 10;
getTsExchangeOrBuilder
in interface StreamTradesResponseV1OrBuilder
public boolean hasTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 11;
hasTsCollection
in interface StreamTradesResponseV1OrBuilder
public TimestampValue getTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 11;
getTsCollection
in interface StreamTradesResponseV1OrBuilder
public TimestampValueOrBuilder getTsCollectionOrBuilder()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.kaikosdk.TimestampValue ts_collection = 11;
getTsCollectionOrBuilder
in interface StreamTradesResponseV1OrBuilder
public boolean hasTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 12;
hasTsEvent
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.Timestamp getTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 12;
getTsEvent
in interface StreamTradesResponseV1OrBuilder
public com.google.protobuf.TimestampOrBuilder getTsEventOrBuilder()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 12;
getTsEventOrBuilder
in interface StreamTradesResponseV1OrBuilder
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 StreamTradesResponseV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamTradesResponseV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamTradesResponseV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamTradesResponseV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamTradesResponseV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamTradesResponseV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamTradesResponseV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamTradesResponseV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamTradesResponseV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamTradesResponseV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamTradesResponseV1.Builder newBuilderForType()
public static StreamTradesResponseV1.Builder newBuilder()
public static StreamTradesResponseV1.Builder newBuilder(StreamTradesResponseV1 prototype)
public StreamTradesResponseV1.Builder toBuilder()
protected StreamTradesResponseV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamTradesResponseV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamTradesResponseV1 getDefaultInstanceForType()