public final class StreamAggregatedPriceResponseV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamAggregatedPriceResponseV1OrBuilder
StreamAggregatedPriceResponseV1Protobuf type
kaikosdk.StreamAggregatedPriceResponseV1| Modifier and Type | Class and Description |
|---|---|
static class |
StreamAggregatedPriceResponseV1.Builder
StreamAggregatedPriceResponseV1
|
static class |
StreamAggregatedPriceResponseV1.EventType
EventType is event category for a value.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AGGREGATE_FIELD_NUMBER |
static int |
CODE_FIELD_NUMBER |
static int |
EVENT_TYPE_FIELD_NUMBER |
static int |
INSTRUMENT_CLASS_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 |
getAggregate()
Aggregate (interval).
|
com.google.protobuf.ByteString |
getAggregateBytes()
Aggregate (interval).
|
java.lang.String |
getCode()
Instrument code.
|
com.google.protobuf.ByteString |
getCodeBytes()
Instrument code.
|
static StreamAggregatedPriceResponseV1 |
getDefaultInstance() |
StreamAggregatedPriceResponseV1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
StreamAggregatedPriceResponseV1.EventType |
getEventType()
Event type is ASK or BID.
|
int |
getEventTypeValue()
Event type is ASK or BID.
|
java.lang.String |
getInstrumentClass()
Instrument class.
|
com.google.protobuf.ByteString |
getInstrumentClassBytes()
Instrument class.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getTsEvent()
Timestamp of event.
|
com.google.protobuf.TimestampOrBuilder |
getTsEventOrBuilder()
Timestamp of event.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
StreamAggregatedPriceValue |
getValue()
Value is update value (price and volume).
|
StreamAggregatedPriceValueOrBuilder |
getValueOrBuilder()
Value is update value (price and volume).
|
int |
hashCode() |
boolean |
hasTsEvent()
Timestamp of event.
|
boolean |
hasValue()
Value is update value (price and volume).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamAggregatedPriceResponseV1.Builder |
newBuilder() |
static StreamAggregatedPriceResponseV1.Builder |
newBuilder(StreamAggregatedPriceResponseV1 prototype) |
StreamAggregatedPriceResponseV1.Builder |
newBuilderForType() |
protected StreamAggregatedPriceResponseV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamAggregatedPriceResponseV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamAggregatedPriceResponseV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamAggregatedPriceResponseV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamAggregatedPriceResponseV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamAggregatedPriceResponseV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamAggregatedPriceResponseV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamAggregatedPriceResponseV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamAggregatedPriceResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamAggregatedPriceResponseV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamAggregatedPriceResponseV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamAggregatedPriceResponseV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int AGGREGATE_FIELD_NUMBER
public static final int INSTRUMENT_CLASS_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int EVENT_TYPE_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 getAggregate()
Aggregate (interval).
string aggregate = 1;getAggregate in interface StreamAggregatedPriceResponseV1OrBuilderpublic com.google.protobuf.ByteString getAggregateBytes()
Aggregate (interval).
string aggregate = 1;getAggregateBytes in interface StreamAggregatedPriceResponseV1OrBuilderpublic java.lang.String getInstrumentClass()
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;getInstrumentClass in interface StreamAggregatedPriceResponseV1OrBuilderpublic com.google.protobuf.ByteString getInstrumentClassBytes()
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;getInstrumentClassBytes in interface StreamAggregatedPriceResponseV1OrBuilderpublic java.lang.String getCode()
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;getCode in interface StreamAggregatedPriceResponseV1OrBuilderpublic com.google.protobuf.ByteString getCodeBytes()
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;getCodeBytes in interface StreamAggregatedPriceResponseV1OrBuilderpublic boolean hasValue()
Value is update value (price and volume). Field is absent if the ticker has no update during the aggregate inerval.
.kaikosdk.StreamAggregatedPriceValue value = 4;hasValue in interface StreamAggregatedPriceResponseV1OrBuilderpublic StreamAggregatedPriceValue getValue()
Value is update value (price and volume). Field is absent if the ticker has no update during the aggregate inerval.
.kaikosdk.StreamAggregatedPriceValue value = 4;getValue in interface StreamAggregatedPriceResponseV1OrBuilderpublic StreamAggregatedPriceValueOrBuilder getValueOrBuilder()
Value is update value (price and volume). Field is absent if the ticker has no update during the aggregate inerval.
.kaikosdk.StreamAggregatedPriceValue value = 4;getValueOrBuilder in interface StreamAggregatedPriceResponseV1OrBuilderpublic int getEventTypeValue()
Event type is ASK or BID.
.kaikosdk.StreamAggregatedPriceResponseV1.EventType event_type = 5;getEventTypeValue in interface StreamAggregatedPriceResponseV1OrBuilderpublic StreamAggregatedPriceResponseV1.EventType getEventType()
Event type is ASK or BID.
.kaikosdk.StreamAggregatedPriceResponseV1.EventType event_type = 5;getEventType in interface StreamAggregatedPriceResponseV1OrBuilderpublic boolean hasTsEvent()
Timestamp of event.
.google.protobuf.Timestamp ts_event = 6;hasTsEvent in interface StreamAggregatedPriceResponseV1OrBuilderpublic com.google.protobuf.Timestamp getTsEvent()
Timestamp of event.
.google.protobuf.Timestamp ts_event = 6;getTsEvent in interface StreamAggregatedPriceResponseV1OrBuilderpublic com.google.protobuf.TimestampOrBuilder getTsEventOrBuilder()
Timestamp of event.
.google.protobuf.Timestamp ts_event = 6;getTsEventOrBuilder in interface StreamAggregatedPriceResponseV1OrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static StreamAggregatedPriceResponseV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static StreamAggregatedPriceResponseV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StreamAggregatedPriceResponseV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StreamAggregatedPriceResponseV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic StreamAggregatedPriceResponseV1.Builder newBuilderForType()
public static StreamAggregatedPriceResponseV1.Builder newBuilder()
public static StreamAggregatedPriceResponseV1.Builder newBuilder(StreamAggregatedPriceResponseV1 prototype)
public StreamAggregatedPriceResponseV1.Builder toBuilder()
protected StreamAggregatedPriceResponseV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamAggregatedPriceResponseV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamAggregatedPriceResponseV1 getDefaultInstanceForType()