Interface KeyEvent.DefaultValueOrBuilder (0.65.0)

public static interface KeyEvent.DefaultValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrencyCode()

public abstract String getCurrencyCode()

Required. When an occurrence of this Key Event (specified by event_name) has no set currency this currency will be applied as the default. Must be in ISO 4217 currency code format.

See https://en.wikipedia.org/wiki/ISO_4217 for more information.

string currency_code = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The currencyCode.

getCurrencyCodeBytes()

public abstract ByteString getCurrencyCodeBytes()

Required. When an occurrence of this Key Event (specified by event_name) has no set currency this currency will be applied as the default. Must be in ISO 4217 currency code format.

See https://en.wikipedia.org/wiki/ISO_4217 for more information.

string currency_code = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for currencyCode.

getNumericValue()

public abstract double getNumericValue()

Required. This will be used to populate the "value" parameter for all occurrences of this Key Event (specified by event_name) where that parameter is unset.

double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The numericValue.