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, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Protos.ExchangeRate.Builder>public Protos.ExchangeRate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 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.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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.ExchangeRate.Builder>IOExceptionpublic boolean hasCoinValue()
required int64 coin_value = 1;
This much of satoshis (1E-8 fractions)…
hasCoinValue in interface Protos.ExchangeRateOrBuilderpublic long getCoinValue()
required int64 coin_value = 1;
This much of satoshis (1E-8 fractions)…
getCoinValue in interface Protos.ExchangeRateOrBuilderpublic 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.ExchangeRateOrBuilderpublic long getFiatValue()
required int64 fiat_value = 2;
…is worth this much of fiat (1E-4 fractions).
getFiatValue in interface Protos.ExchangeRateOrBuilderpublic 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.ExchangeRateOrBuilderpublic String getFiatCurrencyCode()
required string fiat_currency_code = 3;
ISO 4217 currency code (if available) of the fiat currency.
getFiatCurrencyCode in interface Protos.ExchangeRateOrBuilderpublic 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.ExchangeRateOrBuilderpublic 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 © 2015. All rights reserved.