Interface KeyEvent.DefaultValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
KeyEvent.DefaultValue, KeyEvent.DefaultValue.Builder
Enclosing class:
KeyEvent

public static interface KeyEvent.DefaultValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    double
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNumericValue

      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:
      The numericValue.
    • getCurrencyCode

      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:
      The currencyCode.
    • getCurrencyCodeBytes

      com.google.protobuf.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:
      The bytes for currencyCode.