Interface ApplyIncentiveRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ApplyIncentiveRequest, ApplyIncentiveRequest.Builder

public interface ApplyIncentiveRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    The customer ID of the account that the incentive is being applied to.
    com.google.protobuf.ByteString
    The customer ID of the account that the incentive is being applied to.
    long
    The incentive ID of this incentive.
    boolean
    Required.
    boolean
    The customer ID of the account that the incentive is being applied to.
    boolean
    The incentive ID of this incentive.

    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

    • hasSelectedIncentiveId

      boolean hasSelectedIncentiveId()
       The incentive ID of this incentive. This is used to identify which
       incentive is selected by the user in the CYO flow.
       
      optional int64 selected_incentive_id = 1;
      Returns:
      Whether the selectedIncentiveId field is set.
    • getSelectedIncentiveId

      long getSelectedIncentiveId()
       The incentive ID of this incentive. This is used to identify which
       incentive is selected by the user in the CYO flow.
       
      optional int64 selected_incentive_id = 1;
      Returns:
      The selectedIncentiveId.
    • hasCustomerId

      boolean hasCustomerId()
       The customer ID of the account that the incentive is being applied to.
       
      optional string customer_id = 2;
      Returns:
      Whether the customerId field is set.
    • getCustomerId

      String getCustomerId()
       The customer ID of the account that the incentive is being applied to.
       
      optional string customer_id = 2;
      Returns:
      The customerId.
    • getCustomerIdBytes

      com.google.protobuf.ByteString getCustomerIdBytes()
       The customer ID of the account that the incentive is being applied to.
       
      optional string customer_id = 2;
      Returns:
      The bytes for customerId.
    • hasCountryCode

      boolean hasCountryCode()
       Required. User's country code.
       Required. This field must be equal to the Google Ads account's billing
       country. Incentive eligibility, terms of service, and reward values are
       often country-specific. This country code is used to ensure the selected
       incentive is applicable to the user.
       Possible country codes:
       https://developers.google.com/google-ads/api/data/codes-formats#country_codes
       
      optional string country_code = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the countryCode field is set.
    • getCountryCode

      String getCountryCode()
       Required. User's country code.
       Required. This field must be equal to the Google Ads account's billing
       country. Incentive eligibility, terms of service, and reward values are
       often country-specific. This country code is used to ensure the selected
       incentive is applicable to the user.
       Possible country codes:
       https://developers.google.com/google-ads/api/data/codes-formats#country_codes
       
      optional string country_code = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The countryCode.
    • getCountryCodeBytes

      com.google.protobuf.ByteString getCountryCodeBytes()
       Required. User's country code.
       Required. This field must be equal to the Google Ads account's billing
       country. Incentive eligibility, terms of service, and reward values are
       often country-specific. This country code is used to ensure the selected
       incentive is applicable to the user.
       Possible country codes:
       https://developers.google.com/google-ads/api/data/codes-formats#country_codes
       
      optional string country_code = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for countryCode.