public final class StreamMarketUpdateRequestV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamMarketUpdateRequestV1OrBuilder
StreamMarketUpdateRequestV1Protobuf type
kaikosdk.StreamMarketUpdateRequestV1
Modifier and Type | Class and Description |
---|---|
static class |
StreamMarketUpdateRequestV1.Builder
StreamMarketUpdateRequestV1
|
static class |
StreamMarketUpdateRequestV1.OrderbookSnapshotType
OrderbookSnapshotType
|
Modifier and Type | Field and Description |
---|---|
static int |
COMMODITIES_FIELD_NUMBER |
static int |
INSTRUMENT_CRITERIA_FIELD_NUMBER |
static int |
INTERVAL_FIELD_NUMBER |
static int |
SNAPSHOT_TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
StreamMarketUpdateCommodity |
getCommodities(int index)
Enum indicating type of feed.
|
int |
getCommoditiesCount()
Enum indicating type of feed.
|
java.util.List<StreamMarketUpdateCommodity> |
getCommoditiesList()
Enum indicating type of feed.
|
int |
getCommoditiesValue(int index)
Enum indicating type of feed.
|
java.util.List<java.lang.Integer> |
getCommoditiesValueList()
Enum indicating type of feed.
|
static StreamMarketUpdateRequestV1 |
getDefaultInstance() |
StreamMarketUpdateRequestV1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
InstrumentCriteria |
getInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
InstrumentCriteriaOrBuilder |
getInstrumentCriteriaOrBuilder()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
DataInterval |
getInterval()
Data interval.
|
DataIntervalOrBuilder |
getIntervalOrBuilder()
Data interval.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
StreamMarketUpdateRequestV1.OrderbookSnapshotType |
getSnapshotType()
Deprecated.
kaikosdk.StreamMarketUpdateRequestV1.snapshot_type is deprecated.
See sdk/stream/market_update_v1/request.proto;l=33
|
int |
getSnapshotTypeValue()
Deprecated.
kaikosdk.StreamMarketUpdateRequestV1.snapshot_type is deprecated.
See sdk/stream/market_update_v1/request.proto;l=33
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
boolean |
hasInterval()
Data interval.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamMarketUpdateRequestV1.Builder |
newBuilder() |
static StreamMarketUpdateRequestV1.Builder |
newBuilder(StreamMarketUpdateRequestV1 prototype) |
StreamMarketUpdateRequestV1.Builder |
newBuilderForType() |
protected StreamMarketUpdateRequestV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamMarketUpdateRequestV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamMarketUpdateRequestV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateRequestV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateRequestV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamMarketUpdateRequestV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateRequestV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamMarketUpdateRequestV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateRequestV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamMarketUpdateRequestV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamMarketUpdateRequestV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamMarketUpdateRequestV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int INSTRUMENT_CRITERIA_FIELD_NUMBER
public static final int COMMODITIES_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
public static final int SNAPSHOT_TYPE_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 boolean hasInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
hasInstrumentCriteria
in interface StreamMarketUpdateRequestV1OrBuilder
public InstrumentCriteria getInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
getInstrumentCriteria
in interface StreamMarketUpdateRequestV1OrBuilder
public InstrumentCriteriaOrBuilder getInstrumentCriteriaOrBuilder()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
getInstrumentCriteriaOrBuilder
in interface StreamMarketUpdateRequestV1OrBuilder
public java.util.List<StreamMarketUpdateCommodity> getCommoditiesList()
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
repeated .kaikosdk.StreamMarketUpdateCommodity commodities = 2;
getCommoditiesList
in interface StreamMarketUpdateRequestV1OrBuilder
public int getCommoditiesCount()
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
repeated .kaikosdk.StreamMarketUpdateCommodity commodities = 2;
getCommoditiesCount
in interface StreamMarketUpdateRequestV1OrBuilder
public StreamMarketUpdateCommodity getCommodities(int index)
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
repeated .kaikosdk.StreamMarketUpdateCommodity commodities = 2;
getCommodities
in interface StreamMarketUpdateRequestV1OrBuilder
index
- The index of the element to return.public java.util.List<java.lang.Integer> getCommoditiesValueList()
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
repeated .kaikosdk.StreamMarketUpdateCommodity commodities = 2;
getCommoditiesValueList
in interface StreamMarketUpdateRequestV1OrBuilder
public int getCommoditiesValue(int index)
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
repeated .kaikosdk.StreamMarketUpdateCommodity commodities = 2;
getCommoditiesValue
in interface StreamMarketUpdateRequestV1OrBuilder
index
- The index of the value to return.public boolean hasInterval()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
hasInterval
in interface StreamMarketUpdateRequestV1OrBuilder
public DataInterval getInterval()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
getInterval
in interface StreamMarketUpdateRequestV1OrBuilder
public DataIntervalOrBuilder getIntervalOrBuilder()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
getIntervalOrBuilder
in interface StreamMarketUpdateRequestV1OrBuilder
@Deprecated public int getSnapshotTypeValue()
SnapshotType is the type of snapshot if commodities contains orderbook. This field is deprecated and used anymore, only full snapshot are sent.
.kaikosdk.StreamMarketUpdateRequestV1.OrderbookSnapshotType snapshot_type = 4 [deprecated = true];
getSnapshotTypeValue
in interface StreamMarketUpdateRequestV1OrBuilder
@Deprecated public StreamMarketUpdateRequestV1.OrderbookSnapshotType getSnapshotType()
SnapshotType is the type of snapshot if commodities contains orderbook. This field is deprecated and used anymore, only full snapshot are sent.
.kaikosdk.StreamMarketUpdateRequestV1.OrderbookSnapshotType snapshot_type = 4 [deprecated = true];
getSnapshotType
in interface StreamMarketUpdateRequestV1OrBuilder
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 StreamMarketUpdateRequestV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateRequestV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateRequestV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateRequestV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateRequestV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamMarketUpdateRequestV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateRequestV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateRequestV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateRequestV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamMarketUpdateRequestV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamMarketUpdateRequestV1.Builder newBuilderForType()
public static StreamMarketUpdateRequestV1.Builder newBuilder()
public static StreamMarketUpdateRequestV1.Builder newBuilder(StreamMarketUpdateRequestV1 prototype)
public StreamMarketUpdateRequestV1.Builder toBuilder()
protected StreamMarketUpdateRequestV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamMarketUpdateRequestV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamMarketUpdateRequestV1 getDefaultInstanceForType()