public static final class SourceData.Builder extends <any> implements SourceDataOrBuilder
SourceDataProtobuf type
kaikosdk.SourceData
Modifier and Type | Method and Description |
---|---|
SourceData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SourceData |
build() |
SourceData |
buildPartial() |
SourceData.Builder |
clear() |
SourceData.Builder |
clearCount()
Number of trades for the given instrument code and aggregate.
|
SourceData.Builder |
clearExchangeCode()
Instrument exchange code, for example "cbse" (Coinbase).
|
SourceData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SourceData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SourceData.Builder |
clearPrice()
Price for the instrument code on the exchange and interval.
|
SourceData.Builder |
clearVolume()
Volume for the instrument code on the exchange and interval.
|
SourceData.Builder |
clone() |
long |
getCount()
Number of trades for the given instrument code and aggregate.
|
SourceData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getExchangeCode()
Instrument exchange code, for example "cbse" (Coinbase).
|
com.google.protobuf.ByteString |
getExchangeCodeBytes()
Instrument exchange code, for example "cbse" (Coinbase).
|
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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SourceData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SourceData.Builder |
mergeFrom(com.google.protobuf.Message other) |
SourceData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceData.Builder |
setCount(long value)
Number of trades for the given instrument code and aggregate.
|
SourceData.Builder |
setExchangeCode(java.lang.String value)
Instrument exchange code, for example "cbse" (Coinbase).
|
SourceData.Builder |
setExchangeCodeBytes(com.google.protobuf.ByteString value)
Instrument exchange code, for example "cbse" (Coinbase).
|
SourceData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SourceData.Builder |
setPrice(java.lang.String value)
Price for the instrument code on the exchange and interval.
|
SourceData.Builder |
setPriceBytes(com.google.protobuf.ByteString value)
Price for the instrument code on the exchange and interval.
|
SourceData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
SourceData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceData.Builder |
setVolume(java.lang.String value)
Volume for the instrument code on the exchange and interval.
|
SourceData.Builder |
setVolumeBytes(com.google.protobuf.ByteString value)
Volume for the instrument code on the exchange and interval.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public SourceData.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public SourceData getDefaultInstanceForType()
public SourceData build()
public SourceData buildPartial()
public SourceData.Builder clone()
public SourceData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public SourceData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public SourceData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public SourceData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public SourceData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public SourceData.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public SourceData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 SourceData.Builder setExchangeCode(java.lang.String value)
Instrument exchange code, for example "cbse" (Coinbase).
string exchange_code = 1;
value
- The exchangeCode to set.public SourceData.Builder clearExchangeCode()
Instrument exchange code, for example "cbse" (Coinbase).
string exchange_code = 1;
public SourceData.Builder setExchangeCodeBytes(com.google.protobuf.ByteString value)
Instrument exchange code, for example "cbse" (Coinbase).
string exchange_code = 1;
value
- The bytes for exchangeCode to set.public long getCount()
Number of trades for the given instrument code and aggregate.
int64 count = 2;
getCount
in interface SourceDataOrBuilder
public SourceData.Builder setCount(long value)
Number of trades for the given instrument code and aggregate.
int64 count = 2;
value
- The count to set.public SourceData.Builder clearCount()
Number of trades for the given instrument code and aggregate.
int64 count = 2;
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 SourceData.Builder setPrice(java.lang.String value)
Price for the instrument code on the exchange and interval.
string price = 3;
value
- The price to set.public SourceData.Builder clearPrice()
Price for the instrument code on the exchange and interval.
string price = 3;
public SourceData.Builder setPriceBytes(com.google.protobuf.ByteString value)
Price for the instrument code on the exchange and interval.
string price = 3;
value
- The bytes for price to set.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 SourceData.Builder setVolume(java.lang.String value)
Volume for the instrument code on the exchange and interval.
string volume = 4;
value
- The volume to set.public SourceData.Builder clearVolume()
Volume for the instrument code on the exchange and interval.
string volume = 4;
public SourceData.Builder setVolumeBytes(com.google.protobuf.ByteString value)
Volume for the instrument code on the exchange and interval.
string volume = 4;
value
- The bytes for volume to set.public final SourceData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final SourceData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)