public final class InstrumentCriteria extends com.google.protobuf.GeneratedMessageV3 implements InstrumentCriteriaOrBuilder
InstrumentCriteriaProtobuf type
kaikosdk.InstrumentCriteria
Modifier and Type | Class and Description |
---|---|
static class |
InstrumentCriteria.Builder
InstrumentCriteria
|
Modifier and Type | Field and Description |
---|---|
static int |
CODE_FIELD_NUMBER |
static int |
EXCHANGE_FIELD_NUMBER |
static int |
INSTRUMENT_CLASS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
Instrument code.
|
com.google.protobuf.ByteString |
getCodeBytes()
Instrument code.
|
static InstrumentCriteria |
getDefaultInstance() |
InstrumentCriteria |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static InstrumentCriteria.Builder |
newBuilder() |
static InstrumentCriteria.Builder |
newBuilder(InstrumentCriteria prototype) |
InstrumentCriteria.Builder |
newBuilderForType() |
protected InstrumentCriteria.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static InstrumentCriteria |
parseDelimitedFrom(java.io.InputStream input) |
static InstrumentCriteria |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstrumentCriteria |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstrumentCriteria |
parseFrom(java.nio.ByteBuffer data) |
static InstrumentCriteria |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstrumentCriteria |
parseFrom(com.google.protobuf.ByteString data) |
static InstrumentCriteria |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstrumentCriteria |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InstrumentCriteria |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstrumentCriteria |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
InstrumentCriteria.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int EXCHANGE_FIELD_NUMBER
public static final int INSTRUMENT_CLASS_FIELD_NUMBER
public static final int CODE_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 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 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 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 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 InstrumentCriteria parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static InstrumentCriteria parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static InstrumentCriteria parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static InstrumentCriteria parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static InstrumentCriteria parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static InstrumentCriteria parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static InstrumentCriteria parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static InstrumentCriteria parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static InstrumentCriteria parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static InstrumentCriteria parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public InstrumentCriteria.Builder newBuilderForType()
public static InstrumentCriteria.Builder newBuilder()
public static InstrumentCriteria.Builder newBuilder(InstrumentCriteria prototype)
public InstrumentCriteria.Builder toBuilder()
protected InstrumentCriteria.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static InstrumentCriteria getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public InstrumentCriteria getDefaultInstanceForType()