Interface FetchIncentiveRequestOrBuilder

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

public interface FetchIncentiveRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasLanguageCode

      boolean hasLanguageCode()
       Optional. User's language code.
       If not provided, the server will default to "en".
       Possible language codes:
       https://developers.google.com/google-ads/api/data/codes-formats#languages
       
      optional string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the languageCode field is set.
    • getLanguageCode

      String getLanguageCode()
       Optional. User's language code.
       If not provided, the server will default to "en".
       Possible language codes:
       https://developers.google.com/google-ads/api/data/codes-formats#languages
       
      optional string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. User's language code.
       If not provided, the server will default to "en".
       Possible language codes:
       https://developers.google.com/google-ads/api/data/codes-formats#languages
       
      optional string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for languageCode.
    • hasCountryCode

      boolean hasCountryCode()
       Optional. User's country code.
       If not provided, the server will default to "US".
       Possible country codes:
       https://developers.google.com/google-ads/api/data/codes-formats#country_codes
       
      optional string country_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the countryCode field is set.
    • getCountryCode

      String getCountryCode()
       Optional. User's country code.
       If not provided, the server will default to "US".
       Possible country codes:
       https://developers.google.com/google-ads/api/data/codes-formats#country_codes
       
      optional string country_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The countryCode.
    • getCountryCodeBytes

      com.google.protobuf.ByteString getCountryCodeBytes()
       Optional. User's country code.
       If not provided, the server will default to "US".
       Possible country codes:
       https://developers.google.com/google-ads/api/data/codes-formats#country_codes
       
      optional string country_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for countryCode.
    • hasEmail

      boolean hasEmail()
       Optional. Email of the user that the requested incentive is meant for.
       Will be used for channel partners who do NOT use OAuth to authenticate on
       behalf of user.
       
      optional string email = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the email field is set.
    • getEmail

      String getEmail()
       Optional. Email of the user that the requested incentive is meant for.
       Will be used for channel partners who do NOT use OAuth to authenticate on
       behalf of user.
       
      optional string email = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The email.
    • getEmailBytes

      com.google.protobuf.ByteString getEmailBytes()
       Optional. Email of the user that the requested incentive is meant for.
       Will be used for channel partners who do NOT use OAuth to authenticate on
       behalf of user.
       
      optional string email = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for email.
    • hasType

      boolean hasType()
       Optional. The type of incentive to get.
       Defaults to ACQUISITION.
       
      optional .google.ads.googleads.v23.services.FetchIncentiveRequest.IncentiveType type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the type field is set.
    • getTypeValue

      int getTypeValue()
       Optional. The type of incentive to get.
       Defaults to ACQUISITION.
       
      optional .google.ads.googleads.v23.services.FetchIncentiveRequest.IncentiveType type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Optional. The type of incentive to get.
       Defaults to ACQUISITION.
       
      optional .google.ads.googleads.v23.services.FetchIncentiveRequest.IncentiveType type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The type.