Class Protos.ExchangeRate.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Detail

      • hasCoinValue

        public boolean hasCoinValue()
         This much of satoshis (1E-8 fractions)…
         
        required int64 coin_value = 1;
        Specified by:
        hasCoinValue in interface Protos.ExchangeRateOrBuilder
        Returns:
        Whether the coinValue field is set.
      • getCoinValue

        public long getCoinValue()
         This much of satoshis (1E-8 fractions)…
         
        required int64 coin_value = 1;
        Specified by:
        getCoinValue in interface Protos.ExchangeRateOrBuilder
        Returns:
        The coinValue.
      • setCoinValue

        public Protos.ExchangeRate.Builder setCoinValue​(long value)
         This much of satoshis (1E-8 fractions)…
         
        required int64 coin_value = 1;
        Parameters:
        value - The coinValue to set.
        Returns:
        This builder for chaining.
      • clearCoinValue

        public Protos.ExchangeRate.Builder clearCoinValue()
         This much of satoshis (1E-8 fractions)…
         
        required int64 coin_value = 1;
        Returns:
        This builder for chaining.
      • hasFiatValue

        public boolean hasFiatValue()
         …is worth this much of fiat (1E-4 fractions).
         
        required int64 fiat_value = 2;
        Specified by:
        hasFiatValue in interface Protos.ExchangeRateOrBuilder
        Returns:
        Whether the fiatValue field is set.
      • getFiatValue

        public long getFiatValue()
         …is worth this much of fiat (1E-4 fractions).
         
        required int64 fiat_value = 2;
        Specified by:
        getFiatValue in interface Protos.ExchangeRateOrBuilder
        Returns:
        The fiatValue.
      • setFiatValue

        public Protos.ExchangeRate.Builder setFiatValue​(long value)
         …is worth this much of fiat (1E-4 fractions).
         
        required int64 fiat_value = 2;
        Parameters:
        value - The fiatValue to set.
        Returns:
        This builder for chaining.
      • clearFiatValue

        public Protos.ExchangeRate.Builder clearFiatValue()
         …is worth this much of fiat (1E-4 fractions).
         
        required int64 fiat_value = 2;
        Returns:
        This builder for chaining.
      • hasFiatCurrencyCode

        public boolean hasFiatCurrencyCode()
         ISO 4217 currency code (if available) of the fiat currency.
         
        required string fiat_currency_code = 3;
        Specified by:
        hasFiatCurrencyCode in interface Protos.ExchangeRateOrBuilder
        Returns:
        Whether the fiatCurrencyCode field is set.
      • getFiatCurrencyCode

        public java.lang.String getFiatCurrencyCode()
         ISO 4217 currency code (if available) of the fiat currency.
         
        required string fiat_currency_code = 3;
        Specified by:
        getFiatCurrencyCode in interface Protos.ExchangeRateOrBuilder
        Returns:
        The fiatCurrencyCode.
      • getFiatCurrencyCodeBytes

        public com.google.protobuf.ByteString getFiatCurrencyCodeBytes()
         ISO 4217 currency code (if available) of the fiat currency.
         
        required string fiat_currency_code = 3;
        Specified by:
        getFiatCurrencyCodeBytes in interface Protos.ExchangeRateOrBuilder
        Returns:
        The bytes for fiatCurrencyCode.
      • setFiatCurrencyCode

        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;
        Parameters:
        value - The fiatCurrencyCode to set.
        Returns:
        This builder for chaining.
      • clearFiatCurrencyCode

        public Protos.ExchangeRate.Builder clearFiatCurrencyCode()
         ISO 4217 currency code (if available) of the fiat currency.
         
        required string fiat_currency_code = 3;
        Returns:
        This builder for chaining.
      • setFiatCurrencyCodeBytes

        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;
        Parameters:
        value - The bytes for fiatCurrencyCode to set.
        Returns:
        This builder for chaining.