public static final class Protos.ExchangeRate.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.ExchangeRate,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 |
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).
|
long |
getCoinValue()
This much of satoshis (1E-8 fractions)…
|
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).
|
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).
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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;
value
- The coinValue to set.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;
value
- The fiatValue to set.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;
value
- The fiatCurrencyCode to set.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;
value
- The bytes for fiatCurrencyCode to set.