public final class StreamDerivativesInstrumentMetricsResponseV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamDerivativesInstrumentMetricsResponseV1OrBuilder
StreamDerivativesInstrumentMetricsResponseV1 derivatives v1 response.Protobuf type
kaikosdk.StreamDerivativesInstrumentMetricsResponseV1
Modifier and Type | Class and Description |
---|---|
static class |
StreamDerivativesInstrumentMetricsResponseV1.Builder
StreamDerivativesInstrumentMetricsResponseV1 derivatives v1 response.
|
Modifier and Type | Field and Description |
---|---|
static int |
COMMODITY_FIELD_NUMBER |
static int |
COMMODITY_KIND_FIELD_NUMBER |
static int |
EXCHANGE_FIELD_NUMBER |
static int |
LEGACY_SYMBOL_FIELD_NUMBER |
static int |
TS_COLLECTION_FIELD_NUMBER |
static int |
TS_EVENT_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCommodity()
Commodity.
|
com.google.protobuf.ByteString |
getCommodityBytes()
Commodity.
|
StreamDerivativesInstrumentCommodityKindV1 |
getCommodityKind()
Kind of commodity (price of risk).
|
int |
getCommodityKindValue()
Kind of commodity (price of risk).
|
static StreamDerivativesInstrumentMetricsResponseV1 |
getDefaultInstance() |
StreamDerivativesInstrumentMetricsResponseV1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getExchange()
Exchange.
|
com.google.protobuf.ByteString |
getExchangeBytes()
Exchange.
|
java.lang.String |
getLegacySymbol()
Legacy symbol.
|
com.google.protobuf.ByteString |
getLegacySymbolBytes()
Legacy symbol.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
|
com.google.protobuf.TimestampOrBuilder |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getValue()
Value of the commodity.
|
com.google.protobuf.ByteString |
getValueBytes()
Value of the commodity.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamDerivativesInstrumentMetricsResponseV1.Builder |
newBuilder() |
static StreamDerivativesInstrumentMetricsResponseV1.Builder |
newBuilder(StreamDerivativesInstrumentMetricsResponseV1 prototype) |
StreamDerivativesInstrumentMetricsResponseV1.Builder |
newBuilderForType() |
protected StreamDerivativesInstrumentMetricsResponseV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDerivativesInstrumentMetricsResponseV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamDerivativesInstrumentMetricsResponseV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VALUE_FIELD_NUMBER
public static final int LEGACY_SYMBOL_FIELD_NUMBER
public static final int EXCHANGE_FIELD_NUMBER
public static final int COMMODITY_FIELD_NUMBER
public static final int COMMODITY_KIND_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public java.lang.String getValue()
Value of the commodity.
string value = 1;
getValue
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.ByteString getValueBytes()
Value of the commodity.
string value = 1;
getValueBytes
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public java.lang.String getLegacySymbol()
Legacy symbol.
string legacy_symbol = 2;
getLegacySymbol
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.ByteString getLegacySymbolBytes()
Legacy symbol.
string legacy_symbol = 2;
getLegacySymbolBytes
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public java.lang.String getExchange()
Exchange.
string exchange = 3;
getExchange
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.ByteString getExchangeBytes()
Exchange.
string exchange = 3;
getExchangeBytes
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public java.lang.String getCommodity()
Commodity. See https://docs.kaiko.com/v/kaiko-rest-api/market-data/derivatives/derivatives-metrics/risk#fields and https://docs.kaiko.com/v/kaiko-rest-api/market-data/derivatives/derivatives-metrics/price#fields.
string commodity = 4;
getCommodity
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.ByteString getCommodityBytes()
Commodity. See https://docs.kaiko.com/v/kaiko-rest-api/market-data/derivatives/derivatives-metrics/risk#fields and https://docs.kaiko.com/v/kaiko-rest-api/market-data/derivatives/derivatives-metrics/price#fields.
string commodity = 4;
getCommodityBytes
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public int getCommodityKindValue()
Kind of commodity (price of risk).
.kaikosdk.StreamDerivativesInstrumentCommodityKindV1 commodity_kind = 5;
getCommodityKindValue
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public StreamDerivativesInstrumentCommodityKindV1 getCommodityKind()
Kind of commodity (price of risk).
.kaikosdk.StreamDerivativesInstrumentCommodityKindV1 commodity_kind = 5;
getCommodityKind
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public boolean hasTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.google.protobuf.Timestamp ts_collection = 6;
hasTsCollection
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.Timestamp getTsCollection()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.google.protobuf.Timestamp ts_collection = 6;
getTsCollection
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.TimestampOrBuilder getTsCollectionOrBuilder()
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
.google.protobuf.Timestamp ts_collection = 6;
getTsCollectionOrBuilder
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public boolean hasTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 7;
hasTsEvent
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.Timestamp getTsEvent()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 7;
getTsEvent
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
public com.google.protobuf.TimestampOrBuilder getTsEventOrBuilder()
Event generation timestamp (event created by Kaiko), after normalization.
.google.protobuf.Timestamp ts_event = 7;
getTsEventOrBuilder
in interface StreamDerivativesInstrumentMetricsResponseV1OrBuilder
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 StreamDerivativesInstrumentMetricsResponseV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamDerivativesInstrumentMetricsResponseV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamDerivativesInstrumentMetricsResponseV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamDerivativesInstrumentMetricsResponseV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamDerivativesInstrumentMetricsResponseV1.Builder newBuilderForType()
public static StreamDerivativesInstrumentMetricsResponseV1.Builder newBuilder()
public static StreamDerivativesInstrumentMetricsResponseV1.Builder newBuilder(StreamDerivativesInstrumentMetricsResponseV1 prototype)
public StreamDerivativesInstrumentMetricsResponseV1.Builder toBuilder()
protected StreamDerivativesInstrumentMetricsResponseV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamDerivativesInstrumentMetricsResponseV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamDerivativesInstrumentMetricsResponseV1 getDefaultInstanceForType()