public static final class Protos.ExchangeRate.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.ExchangeRate.Builder> implements Protos.ExchangeRateOrBuilder
wallet.ExchangeRate
An exchange rate between Bitcoin and some fiat currency.
Modifier and Type | Method and Description |
---|---|
Protos.ExchangeRate |
build() |
Protos.ExchangeRate |
buildPartial() |
Protos.ExchangeRate.Builder |
clear() |
Protos.ExchangeRate.Builder |
clearCoinValue()
required int64 coin_value = 1; |
Protos.ExchangeRate.Builder |
clearFiatCurrencyCode()
required string fiat_currency_code = 3; |
Protos.ExchangeRate.Builder |
clearFiatValue()
required int64 fiat_value = 2; |
Protos.ExchangeRate.Builder |
clone() |
long |
getCoinValue()
required int64 coin_value = 1; |
Protos.ExchangeRate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFiatCurrencyCode()
required string fiat_currency_code = 3; |
com.google.protobuf.ByteString |
getFiatCurrencyCodeBytes()
required string fiat_currency_code = 3; |
long |
getFiatValue()
required int64 fiat_value = 2; |
boolean |
hasCoinValue()
required int64 coin_value = 1; |
boolean |
hasFiatCurrencyCode()
required string fiat_currency_code = 3; |
boolean |
hasFiatValue()
required int64 fiat_value = 2; |
protected com.google.protobuf.GeneratedMessage.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 |
setCoinValue(long value)
required int64 coin_value = 1; |
Protos.ExchangeRate.Builder |
setFiatCurrencyCode(String value)
required string fiat_currency_code = 3; |
Protos.ExchangeRate.Builder |
setFiatCurrencyCodeBytes(com.google.protobuf.ByteString value)
required string fiat_currency_code = 3; |
Protos.ExchangeRate.Builder |
setFiatValue(long value)
required int64 fiat_value = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Protos.ExchangeRate.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.Builder<Protos.ExchangeRate.Builder>
public Protos.ExchangeRate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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>
IOException
public boolean hasCoinValue()
required int64 coin_value = 1;
This much of satoshis (1E-8 fractions)…
hasCoinValue
in interface Protos.ExchangeRateOrBuilder
public long getCoinValue()
required int64 coin_value = 1;
This much of satoshis (1E-8 fractions)…
getCoinValue
in interface Protos.ExchangeRateOrBuilder
public Protos.ExchangeRate.Builder setCoinValue(long value)
required int64 coin_value = 1;
This much of satoshis (1E-8 fractions)…
public Protos.ExchangeRate.Builder clearCoinValue()
required int64 coin_value = 1;
This much of satoshis (1E-8 fractions)…
public boolean hasFiatValue()
required int64 fiat_value = 2;
…is worth this much of fiat (1E-4 fractions).
hasFiatValue
in interface Protos.ExchangeRateOrBuilder
public long getFiatValue()
required int64 fiat_value = 2;
…is worth this much of fiat (1E-4 fractions).
getFiatValue
in interface Protos.ExchangeRateOrBuilder
public Protos.ExchangeRate.Builder setFiatValue(long value)
required int64 fiat_value = 2;
…is worth this much of fiat (1E-4 fractions).
public Protos.ExchangeRate.Builder clearFiatValue()
required int64 fiat_value = 2;
…is worth this much of fiat (1E-4 fractions).
public boolean hasFiatCurrencyCode()
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
hasFiatCurrencyCode
in interface Protos.ExchangeRateOrBuilder
public String getFiatCurrencyCode()
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
getFiatCurrencyCode
in interface Protos.ExchangeRateOrBuilder
public com.google.protobuf.ByteString getFiatCurrencyCodeBytes()
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
getFiatCurrencyCodeBytes
in interface Protos.ExchangeRateOrBuilder
public Protos.ExchangeRate.Builder setFiatCurrencyCode(String value)
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
public Protos.ExchangeRate.Builder clearFiatCurrencyCode()
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
public Protos.ExchangeRate.Builder setFiatCurrencyCodeBytes(com.google.protobuf.ByteString value)
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
Copyright © 2014. All rights reserved.