Interface IncentiveOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Incentive,Incentive.Builder
@Generated
public interface IncentiveOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe incentive ID of this incentive.The URL of the terms and conditions for THIS incentive offer ONLY.com.google.protobuf.ByteStringThe URL of the terms and conditions for THIS incentive offer ONLY.The type of the incentive.intThe type of the incentive.The requirement for this incentive.The requirement for this incentive.booleanThe incentive ID of this incentive.booleanThe URL of the terms and conditions for THIS incentive offer ONLY.booleanThe type of the incentive.booleanThe requirement for this incentive.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.v25.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.v25.services.Incentive.Requirement requirement = 2;- Returns:
- The requirement.
-
getRequirementOrBuilder
Incentive.RequirementOrBuilder getRequirementOrBuilder()The requirement for this incentive.
optional .google.ads.googleads.v25.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.
-
hasIncentiveType
boolean hasIncentiveType()The type of the incentive.
optional .google.ads.googleads.v25.enums.IncentiveTypeEnum.IncentiveType incentive_type = 5;- Returns:
- Whether the incentiveType field is set.
-
getIncentiveTypeValue
int getIncentiveTypeValue()The type of the incentive.
optional .google.ads.googleads.v25.enums.IncentiveTypeEnum.IncentiveType incentive_type = 5;- Returns:
- The enum numeric value on the wire for incentiveType.
-
getIncentiveType
IncentiveTypeEnum.IncentiveType getIncentiveType()The type of the incentive.
optional .google.ads.googleads.v25.enums.IncentiveTypeEnum.IncentiveType incentive_type = 5;- Returns:
- The incentiveType.
-