public static final class InstrumentCriteria.Builder extends <any> implements InstrumentCriteriaOrBuilder
InstrumentCriteriaProtobuf type
kaikosdk.InstrumentCriteria
Modifier and Type | Method and Description |
---|---|
InstrumentCriteria.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
InstrumentCriteria |
build() |
InstrumentCriteria |
buildPartial() |
InstrumentCriteria.Builder |
clear() |
InstrumentCriteria.Builder |
clearCode()
Instrument code.
|
InstrumentCriteria.Builder |
clearExchange()
Instrument exchange code, for example "cbse" (Coinbase).
|
InstrumentCriteria.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstrumentCriteria.Builder |
clearInstrumentClass()
Instrument class.
|
InstrumentCriteria.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstrumentCriteria.Builder |
clone() |
java.lang.String |
getCode()
Instrument code.
|
com.google.protobuf.ByteString |
getCodeBytes()
Instrument code.
|
InstrumentCriteria |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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 |
getInstrumentClass()
Instrument class.
|
com.google.protobuf.ByteString |
getInstrumentClassBytes()
Instrument class.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InstrumentCriteria.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstrumentCriteria.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstrumentCriteria.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstrumentCriteria.Builder |
setCode(java.lang.String value)
Instrument code.
|
InstrumentCriteria.Builder |
setCodeBytes(com.google.protobuf.ByteString value)
Instrument code.
|
InstrumentCriteria.Builder |
setExchange(java.lang.String value)
Instrument exchange code, for example "cbse" (Coinbase).
|
InstrumentCriteria.Builder |
setExchangeBytes(com.google.protobuf.ByteString value)
Instrument exchange code, for example "cbse" (Coinbase).
|
InstrumentCriteria.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
InstrumentCriteria.Builder |
setInstrumentClass(java.lang.String value)
Instrument class.
|
InstrumentCriteria.Builder |
setInstrumentClassBytes(com.google.protobuf.ByteString value)
Instrument class.
|
InstrumentCriteria.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
InstrumentCriteria.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public InstrumentCriteria.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public InstrumentCriteria getDefaultInstanceForType()
public InstrumentCriteria build()
public InstrumentCriteria buildPartial()
public InstrumentCriteria.Builder clone()
public InstrumentCriteria.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public InstrumentCriteria.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public InstrumentCriteria.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public InstrumentCriteria.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public InstrumentCriteria.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public InstrumentCriteria.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public InstrumentCriteria.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.lang.String getExchange()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 1;
getExchange
in interface InstrumentCriteriaOrBuilder
public com.google.protobuf.ByteString getExchangeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 1;
getExchangeBytes
in interface InstrumentCriteriaOrBuilder
public InstrumentCriteria.Builder setExchange(java.lang.String value)
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 1;
value
- The exchange to set.public InstrumentCriteria.Builder clearExchange()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 1;
public InstrumentCriteria.Builder setExchangeBytes(com.google.protobuf.ByteString value)
Instrument exchange code, for example "cbse" (Coinbase).
string exchange = 1;
value
- The bytes for exchange to set.public java.lang.String getInstrumentClass()
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;
getInstrumentClass
in interface InstrumentCriteriaOrBuilder
public com.google.protobuf.ByteString getInstrumentClassBytes()
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;
getInstrumentClassBytes
in interface InstrumentCriteriaOrBuilder
public InstrumentCriteria.Builder setInstrumentClass(java.lang.String value)
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;
value
- The instrumentClass to set.public InstrumentCriteria.Builder clearInstrumentClass()
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;
public InstrumentCriteria.Builder setInstrumentClassBytes(com.google.protobuf.ByteString value)
Instrument class. See https://docs.kaiko.com/?python#instruments.
string instrument_class = 2;
value
- The bytes for instrumentClass to set.public java.lang.String getCode()
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;
getCode
in interface InstrumentCriteriaOrBuilder
public com.google.protobuf.ByteString getCodeBytes()
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;
getCodeBytes
in interface InstrumentCriteriaOrBuilder
public InstrumentCriteria.Builder setCode(java.lang.String value)
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;
value
- The code to set.public InstrumentCriteria.Builder clearCode()
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;
public InstrumentCriteria.Builder setCodeBytes(com.google.protobuf.ByteString value)
Instrument code. See https://docs.kaiko.com/?python#instruments.
string code = 3;
value
- The bytes for code to set.public final InstrumentCriteria.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final InstrumentCriteria.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)