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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>public Protos.ExchangeRate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Protos.ExchangeRate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Protos.ExchangeRate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Protos.ExchangeRate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.ExchangeRate.Builder>java.io.IOExceptionpublic boolean hasCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;hasCoinValue in interface Protos.ExchangeRateOrBuilderpublic long getCoinValue()
This much of satoshis (1E-8 fractions)…
required int64 coin_value = 1;getCoinValue in interface Protos.ExchangeRateOrBuilderpublic 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.ExchangeRateOrBuilderpublic long getFiatValue()
…is worth this much of fiat (1E-4 fractions).
required int64 fiat_value = 2;getFiatValue in interface Protos.ExchangeRateOrBuilderpublic 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.ExchangeRateOrBuilderpublic java.lang.String getFiatCurrencyCode()
ISO 4217 currency code (if available) of the fiat currency.
required string fiat_currency_code = 3;getFiatCurrencyCode in interface Protos.ExchangeRateOrBuilderpublic 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.ExchangeRateOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.ExchangeRate.Builder>