public final class SourceData extends com.google.protobuf.GeneratedMessageV3 implements SourceDataOrBuilder
SourceDataProtobuf type
kaikosdk.SourceData
Modifier and Type | Class and Description |
---|---|
static class |
SourceData.Builder
SourceData
|
Modifier and Type | Field and Description |
---|---|
static int |
COUNT_FIELD_NUMBER |
static int |
EXCHANGE_CODE_FIELD_NUMBER |
static int |
PRICE_FIELD_NUMBER |
static int |
VOLUME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getCount()
Number of trades for the given instrument code and aggregate.
|
static SourceData |
getDefaultInstance() |
SourceData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getExchangeCode()
Instrument exchange code, for example "cbse" (Coinbase).
|
com.google.protobuf.ByteString |
getExchangeCodeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
|
<any> |
getParserForType() |
java.lang.String |
getPrice()
Price for the instrument code on the exchange and interval.
|
com.google.protobuf.ByteString |
getPriceBytes()
Price for the instrument code on the exchange and interval.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVolume()
Volume for the instrument code on the exchange and interval.
|
com.google.protobuf.ByteString |
getVolumeBytes()
Volume for the instrument code on the exchange and interval.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SourceData.Builder |
newBuilder() |
static SourceData.Builder |
newBuilder(SourceData prototype) |
SourceData.Builder |
newBuilderForType() |
protected SourceData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static SourceData |
parseDelimitedFrom(java.io.InputStream input) |
static SourceData |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceData |
parseFrom(java.nio.ByteBuffer data) |
static SourceData |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceData |
parseFrom(com.google.protobuf.ByteString data) |
static SourceData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SourceData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceData |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
SourceData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int EXCHANGE_CODE_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int PRICE_FIELD_NUMBER
public static final int VOLUME_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 getExchangeCode()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange_code = 1;
getExchangeCode
in interface SourceDataOrBuilder
public com.google.protobuf.ByteString getExchangeCodeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange_code = 1;
getExchangeCodeBytes
in interface SourceDataOrBuilder
public long getCount()
Number of trades for the given instrument code and aggregate.
int64 count = 2;
getCount
in interface SourceDataOrBuilder
public java.lang.String getPrice()
Price for the instrument code on the exchange and interval.
string price = 3;
getPrice
in interface SourceDataOrBuilder
public com.google.protobuf.ByteString getPriceBytes()
Price for the instrument code on the exchange and interval.
string price = 3;
getPriceBytes
in interface SourceDataOrBuilder
public java.lang.String getVolume()
Volume for the instrument code on the exchange and interval.
string volume = 4;
getVolume
in interface SourceDataOrBuilder
public com.google.protobuf.ByteString getVolumeBytes()
Volume for the instrument code on the exchange and interval.
string volume = 4;
getVolumeBytes
in interface SourceDataOrBuilder
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 SourceData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SourceData parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SourceData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SourceData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SourceData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SourceData parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static SourceData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static SourceData parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static SourceData parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static SourceData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public SourceData.Builder newBuilderForType()
public static SourceData.Builder newBuilder()
public static SourceData.Builder newBuilder(SourceData prototype)
public SourceData.Builder toBuilder()
protected SourceData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static SourceData getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public SourceData getDefaultInstanceForType()