public static final class Protos.ExchangeRate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder> implements Protos.ExchangeRateOrBuilder
An exchange rate between Bitcoin and some fiat currency.Protobuf type
wallet.ExchangeRate
Modifier and Type | Method and Description |
---|---|
Protos.ExchangeRate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ExchangeRate |
build() |
Protos.ExchangeRate |
buildPartial() |
Protos.ExchangeRate.Builder |
clear() |
Protos.ExchangeRate.Builder |
clearCoinValue()
This much of satoshis (1E-8 fractions)…
|
Protos.ExchangeRate.Builder |
clearFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
|
Protos.ExchangeRate.Builder |
clearFiatValue()
…is worth this much of fiat (1E-4 fractions).
|
Protos.ExchangeRate.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ExchangeRate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ExchangeRate.Builder |
clone() |
long |
getCoinValue()
This much of satoshis (1E-8 fractions)…
|
Protos.ExchangeRate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
|
com.google.protobuf.ByteString |
getFiatCurrencyCodeBytes()
ISO 4217 currency code (if available) of the fiat currency.
|
long |
getFiatValue()
…is worth this much of fiat (1E-4 fractions).
|
boolean |
hasCoinValue()
This much of satoshis (1E-8 fractions)…
|
boolean |
hasFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
|
boolean |
hasFiatValue()
…is worth this much of fiat (1E-4 fractions).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ExchangeRate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ExchangeRate.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ExchangeRate.Builder |
mergeFrom(Protos.ExchangeRate other) |
Protos.ExchangeRate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ExchangeRate.Builder |
setCoinValue(long value)
This much of satoshis (1E-8 fractions)…
|
Protos.ExchangeRate.Builder |
setFiatCurrencyCode(java.lang.String value)
ISO 4217 currency code (if available) of the fiat currency.
|
Protos.ExchangeRate.Builder |
setFiatCurrencyCodeBytes(com.google.protobuf.ByteString value)
ISO 4217 currency code (if available) of the fiat currency.
|
Protos.ExchangeRate.Builder |
setFiatValue(long value)
…is worth this much of fiat (1E-4 fractions).
|
Protos.ExchangeRate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ExchangeRate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ExchangeRate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.ExchangeRate build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.ExchangeRate buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.ExchangeRate.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder mergeFrom(Protos.ExchangeRate other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.ExchangeRate.Builder>
java.io.IOException
public boolean hasCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;
hasCoinValue
in interface Protos.ExchangeRateOrBuilder
public long getCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;
getCoinValue
in interface Protos.ExchangeRateOrBuilder
public Protos.ExchangeRate.Builder setCoinValue(long value)
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;
public Protos.ExchangeRate.Builder clearCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;
public boolean hasFiatValue()
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;
hasFiatValue
in interface Protos.ExchangeRateOrBuilder
public long getFiatValue()
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;
getFiatValue
in interface Protos.ExchangeRateOrBuilder
public Protos.ExchangeRate.Builder setFiatValue(long value)
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;
public Protos.ExchangeRate.Builder clearFiatValue()
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;
public boolean hasFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;
hasFiatCurrencyCode
in interface Protos.ExchangeRateOrBuilder
public java.lang.String getFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;
getFiatCurrencyCode
in interface Protos.ExchangeRateOrBuilder
public com.google.protobuf.ByteString getFiatCurrencyCodeBytes()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;
getFiatCurrencyCodeBytes
in interface Protos.ExchangeRateOrBuilder
public Protos.ExchangeRate.Builder setFiatCurrencyCode(java.lang.String value)
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;
public Protos.ExchangeRate.Builder clearFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;
public Protos.ExchangeRate.Builder setFiatCurrencyCodeBytes(com.google.protobuf.ByteString value)
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;
public final Protos.ExchangeRate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>
public final Protos.ExchangeRate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>