public final class StreamIndexServiceUnderlyingTrade extends com.google.protobuf.GeneratedMessageV3 implements StreamIndexServiceUnderlyingTradeOrBuilder
StreamIndexServiceUnderlyingTrade is underlying trade information for a partition.Protobuf type
kaikosdk.StreamIndexServiceUnderlyingTrade
Modifier and Type | Class and Description |
---|---|
static class |
StreamIndexServiceUnderlyingTrade.Builder
StreamIndexServiceUnderlyingTrade is underlying trade information for a partition.
|
Modifier and Type | Field and Description |
---|---|
static int |
DATETIME_FIELD_NUMBER |
static int |
EXCHANGE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
VOLUME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.Timestamp |
getDatetime()
Date of trade.
|
com.google.protobuf.TimestampOrBuilder |
getDatetimeOrBuilder()
Date of trade.
|
static StreamIndexServiceUnderlyingTrade |
getDefaultInstance() |
StreamIndexServiceUnderlyingTrade |
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() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
double |
getVolume()
Amount / quantity of asset bought or sold, displayed in base currency.
|
boolean |
hasDatetime()
Date of trade.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamIndexServiceUnderlyingTrade.Builder |
newBuilder() |
static StreamIndexServiceUnderlyingTrade.Builder |
newBuilder(StreamIndexServiceUnderlyingTrade prototype) |
StreamIndexServiceUnderlyingTrade.Builder |
newBuilderForType() |
protected StreamIndexServiceUnderlyingTrade.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamIndexServiceUnderlyingTrade |
parseDelimitedFrom(java.io.InputStream input) |
static StreamIndexServiceUnderlyingTrade |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(java.nio.ByteBuffer data) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(com.google.protobuf.ByteString data) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceUnderlyingTrade |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamIndexServiceUnderlyingTrade.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VOLUME_FIELD_NUMBER
public static final int EXCHANGE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int DATETIME_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public double getVolume()
Amount / quantity of asset bought or sold, displayed in base currency.
double volume = 1;
getVolume
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public java.lang.String getExchange()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 2;
getExchange
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public com.google.protobuf.ByteString getExchangeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 2;
getExchangeBytes
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public java.lang.String getId()
Trade ID, empty string when not present.
string id = 3;
getId
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public com.google.protobuf.ByteString getIdBytes()
Trade ID, empty string when not present.
string id = 3;
getIdBytes
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public boolean hasDatetime()
Date of trade.
.google.protobuf.Timestamp datetime = 4;
hasDatetime
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public com.google.protobuf.Timestamp getDatetime()
Date of trade.
.google.protobuf.Timestamp datetime = 4;
getDatetime
in interface StreamIndexServiceUnderlyingTradeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDatetimeOrBuilder()
Date of trade.
.google.protobuf.Timestamp datetime = 4;
getDatetimeOrBuilder
in interface StreamIndexServiceUnderlyingTradeOrBuilder
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 StreamIndexServiceUnderlyingTrade parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceUnderlyingTrade parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceUnderlyingTrade parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceUnderlyingTrade parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceUnderlyingTrade parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceUnderlyingTrade parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceUnderlyingTrade parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceUnderlyingTrade parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceUnderlyingTrade parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceUnderlyingTrade parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamIndexServiceUnderlyingTrade.Builder newBuilderForType()
public static StreamIndexServiceUnderlyingTrade.Builder newBuilder()
public static StreamIndexServiceUnderlyingTrade.Builder newBuilder(StreamIndexServiceUnderlyingTrade prototype)
public StreamIndexServiceUnderlyingTrade.Builder toBuilder()
protected StreamIndexServiceUnderlyingTrade.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamIndexServiceUnderlyingTrade getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamIndexServiceUnderlyingTrade getDefaultInstanceForType()