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
Modifier and TypeMethodDescriptionlongOutput only.getCode()Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasCode()Output only.booleanhasName()Output only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
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, for example, "USD"
optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the code field is set.
-
getCode
String getCode()Output only. ISO 4217 three-letter currency code, for example, "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, for example, "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
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, for example, '$' for US Dollars.
optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the symbol field is set.
-
getSymbol
String getSymbol()Output only. Standard symbol for describing this currency, for example, '$' 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, for example, '$' 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.
-