Interface CurrencyConstantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CurrencyConstant,CurrencyConstant.Builder
public interface CurrencyConstantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBillableUnitMicros()Output only.java.lang.StringgetCode()Output only.com.google.protobuf.ByteStringgetCodeBytes()Output only.java.lang.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.java.lang.StringgetSymbol()Output only.com.google.protobuf.ByteStringgetSymbolBytes()Output only.booleanhasBillableUnitMicros()Output only.booleanhasCode()Output only.booleanhasName()Output only.booleanhasSymbol()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String getResourceName()
Output only. The resource name of the currency constant. Currency constant resource names have the form: `currencyConstants/{code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the currency constant. Currency constant resource names have the form: `currencyConstants/{code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasCode
boolean hasCode()
Output only. ISO 4217 three-letter currency code, e.g. "USD"
optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the code field is set.
-
getCode
java.lang.String getCode()
Output only. ISO 4217 three-letter currency code, e.g. "USD"
optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()
Output only. ISO 4217 three-letter currency code, e.g. "USD"
optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for code.
-
hasName
boolean hasName()
Output only. Full English name of the currency.
optional string name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Output only. Full English name of the currency.
optional string name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. Full English name of the currency.
optional string name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasSymbol
boolean hasSymbol()
Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars.
optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the symbol field is set.
-
getSymbol
java.lang.String getSymbol()
Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars.
optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The symbol.
-
getSymbolBytes
com.google.protobuf.ByteString getSymbolBytes()
Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars.
optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for symbol.
-
hasBillableUnitMicros
boolean hasBillableUnitMicros()
Output only. The billable unit for this currency. Billed amounts should be multiples of this value.
optional int64 billable_unit_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the billableUnitMicros field is set.
-
getBillableUnitMicros
long getBillableUnitMicros()
Output only. The billable unit for this currency. Billed amounts should be multiples of this value.
optional int64 billable_unit_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The billableUnitMicros.
-
-