Interface IncentiveOrBuilder

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

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

    • hasIncentiveId

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

      long getIncentiveId()
       The incentive ID of this incentive. This is used to identify which
       incentive is selected by the user in the CYO flow.
       
      optional int64 incentive_id = 1;
      Returns:
      The incentiveId.
    • hasRequirement

      boolean hasRequirement()
       The requirement for this incentive.
       
      optional .google.ads.googleads.v23.services.Incentive.Requirement requirement = 2;
      Returns:
      Whether the requirement field is set.
    • getRequirement

      Incentive.Requirement getRequirement()
       The requirement for this incentive.
       
      optional .google.ads.googleads.v23.services.Incentive.Requirement requirement = 2;
      Returns:
      The requirement.
    • getRequirementOrBuilder

      Incentive.RequirementOrBuilder getRequirementOrBuilder()
       The requirement for this incentive.
       
      optional .google.ads.googleads.v23.services.Incentive.Requirement requirement = 2;
    • hasIncentiveTermsAndConditionsUrl

      boolean hasIncentiveTermsAndConditionsUrl()
       The URL of the terms and conditions for THIS incentive offer ONLY.
      
       This is different from the terms_and_conditions_url field in
       AcquisitionIncentiveOffer which is a combination of all the Incentive
       offers in a CYO offer.
       
      optional string incentive_terms_and_conditions_url = 3;
      Returns:
      Whether the incentiveTermsAndConditionsUrl field is set.
    • getIncentiveTermsAndConditionsUrl

      String getIncentiveTermsAndConditionsUrl()
       The URL of the terms and conditions for THIS incentive offer ONLY.
      
       This is different from the terms_and_conditions_url field in
       AcquisitionIncentiveOffer which is a combination of all the Incentive
       offers in a CYO offer.
       
      optional string incentive_terms_and_conditions_url = 3;
      Returns:
      The incentiveTermsAndConditionsUrl.
    • getIncentiveTermsAndConditionsUrlBytes

      com.google.protobuf.ByteString getIncentiveTermsAndConditionsUrlBytes()
       The URL of the terms and conditions for THIS incentive offer ONLY.
      
       This is different from the terms_and_conditions_url field in
       AcquisitionIncentiveOffer which is a combination of all the Incentive
       offers in a CYO offer.
       
      optional string incentive_terms_and_conditions_url = 3;
      Returns:
      The bytes for incentiveTermsAndConditionsUrl.
    • hasType

      boolean hasType()
       The type of the incentive.
       
      optional .google.ads.googleads.v23.services.FetchIncentiveRequest.IncentiveType type = 4;
      Returns:
      Whether the type field is set.
    • getTypeValue

      int getTypeValue()
       The type of the incentive.
       
      optional .google.ads.googleads.v23.services.FetchIncentiveRequest.IncentiveType type = 4;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       The type of the incentive.
       
      optional .google.ads.googleads.v23.services.FetchIncentiveRequest.IncentiveType type = 4;
      Returns:
      The type.