public static final class StreamMarketUpdateRequestV1.Builder extends <any> implements StreamMarketUpdateRequestV1OrBuilder
StreamMarketUpdateRequestV1Protobuf type
kaikosdk.StreamMarketUpdateRequestV1
Modifier and Type | Method and Description |
---|---|
StreamMarketUpdateRequestV1.Builder |
addAllCommodities(java.lang.Iterable<? extends StreamMarketUpdateCommodity> values)
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
addAllCommoditiesValue(java.lang.Iterable<java.lang.Integer> values)
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
addCommodities(StreamMarketUpdateCommodity value)
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
addCommoditiesValue(int value)
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
StreamMarketUpdateRequestV1 |
build() |
StreamMarketUpdateRequestV1 |
buildPartial() |
StreamMarketUpdateRequestV1.Builder |
clear() |
StreamMarketUpdateRequestV1.Builder |
clearCommodities()
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamMarketUpdateRequestV1.Builder |
clearInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
StreamMarketUpdateRequestV1.Builder |
clearInterval()
Data interval.
|
StreamMarketUpdateRequestV1.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamMarketUpdateRequestV1.Builder |
clearSnapshotType()
Deprecated.
kaikosdk.StreamMarketUpdateRequestV1.snapshot_type is deprecated.
See sdk/stream/market_update_v1/request.proto;l=33
|
StreamMarketUpdateRequestV1.Builder |
clone() |
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.
|
StreamMarketUpdateRequestV1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
InstrumentCriteria |
getInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
InstrumentCriteria.Builder |
getInstrumentCriteriaBuilder()
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.
|
DataInterval.Builder |
getIntervalBuilder()
Data interval.
|
DataIntervalOrBuilder |
getIntervalOrBuilder()
Data interval.
|
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
|
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() |
StreamMarketUpdateRequestV1.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamMarketUpdateRequestV1.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamMarketUpdateRequestV1.Builder |
mergeInstrumentCriteria(InstrumentCriteria value)
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
StreamMarketUpdateRequestV1.Builder |
mergeInterval(DataInterval value)
Data interval.
|
StreamMarketUpdateRequestV1.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamMarketUpdateRequestV1.Builder |
setCommodities(int index,
StreamMarketUpdateCommodity value)
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
setCommoditiesValue(int index,
int value)
Enum indicating type of feed.
|
StreamMarketUpdateRequestV1.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
StreamMarketUpdateRequestV1.Builder |
setInstrumentCriteria(InstrumentCriteria.Builder builderForValue)
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
StreamMarketUpdateRequestV1.Builder |
setInstrumentCriteria(InstrumentCriteria value)
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
|
StreamMarketUpdateRequestV1.Builder |
setInterval(DataInterval.Builder builderForValue)
Data interval.
|
StreamMarketUpdateRequestV1.Builder |
setInterval(DataInterval value)
Data interval.
|
StreamMarketUpdateRequestV1.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
StreamMarketUpdateRequestV1.Builder |
setSnapshotType(StreamMarketUpdateRequestV1.OrderbookSnapshotType value)
Deprecated.
kaikosdk.StreamMarketUpdateRequestV1.snapshot_type is deprecated.
See sdk/stream/market_update_v1/request.proto;l=33
|
StreamMarketUpdateRequestV1.Builder |
setSnapshotTypeValue(int value)
Deprecated.
kaikosdk.StreamMarketUpdateRequestV1.snapshot_type is deprecated.
See sdk/stream/market_update_v1/request.proto;l=33
|
StreamMarketUpdateRequestV1.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public StreamMarketUpdateRequestV1.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public StreamMarketUpdateRequestV1 getDefaultInstanceForType()
public StreamMarketUpdateRequestV1 build()
public StreamMarketUpdateRequestV1 buildPartial()
public StreamMarketUpdateRequestV1.Builder clone()
public StreamMarketUpdateRequestV1.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public StreamMarketUpdateRequestV1.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public StreamMarketUpdateRequestV1.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public StreamMarketUpdateRequestV1.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public StreamMarketUpdateRequestV1.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public StreamMarketUpdateRequestV1.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public StreamMarketUpdateRequestV1.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 StreamMarketUpdateRequestV1.Builder setInstrumentCriteria(InstrumentCriteria value)
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
public StreamMarketUpdateRequestV1.Builder setInstrumentCriteria(InstrumentCriteria.Builder builderForValue)
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
public StreamMarketUpdateRequestV1.Builder mergeInstrumentCriteria(InstrumentCriteria value)
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
public StreamMarketUpdateRequestV1.Builder clearInstrumentCriteria()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
public InstrumentCriteria.Builder getInstrumentCriteriaBuilder()
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
.kaikosdk.InstrumentCriteria instrument_criteria = 1;
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 StreamMarketUpdateRequestV1.Builder setCommodities(int index, StreamMarketUpdateCommodity value)
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;
index
- The index to set the value at.value
- The commodities to set.public StreamMarketUpdateRequestV1.Builder addCommodities(StreamMarketUpdateCommodity value)
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;
value
- The commodities to add.public StreamMarketUpdateRequestV1.Builder addAllCommodities(java.lang.Iterable<? extends StreamMarketUpdateCommodity> values)
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;
values
- The commodities to add.public StreamMarketUpdateRequestV1.Builder clearCommodities()
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;
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 StreamMarketUpdateRequestV1.Builder setCommoditiesValue(int index, int value)
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;
index
- The index to set the value at.value
- The enum numeric value on the wire for commodities to set.public StreamMarketUpdateRequestV1.Builder addCommoditiesValue(int value)
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;
value
- The enum numeric value on the wire for commodities to add.public StreamMarketUpdateRequestV1.Builder addAllCommoditiesValue(java.lang.Iterable<java.lang.Integer> values)
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;
values
- The enum numeric values on the wire for commodities to add.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 StreamMarketUpdateRequestV1.Builder setInterval(DataInterval value)
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
public StreamMarketUpdateRequestV1.Builder setInterval(DataInterval.Builder builderForValue)
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
public StreamMarketUpdateRequestV1.Builder mergeInterval(DataInterval value)
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
public StreamMarketUpdateRequestV1.Builder clearInterval()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
public DataInterval.Builder getIntervalBuilder()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
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.Builder setSnapshotTypeValue(int value)
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];
value
- The enum numeric value on the wire for snapshotType to set.@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
@Deprecated public StreamMarketUpdateRequestV1.Builder setSnapshotType(StreamMarketUpdateRequestV1.OrderbookSnapshotType value)
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];
value
- The snapshotType to set.@Deprecated public StreamMarketUpdateRequestV1.Builder clearSnapshotType()
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];
public final StreamMarketUpdateRequestV1.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final StreamMarketUpdateRequestV1.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)