Class AppliedIncentive.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
com.google.ads.googleads.v23.resources.AppliedIncentive.Builder
- All Implemented Interfaces:
AppliedIncentiveOrBuilder,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AppliedIncentive
public static final class AppliedIncentive.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
implements AppliedIncentiveOrBuilder
Represents an applied incentive.Protobuf type
google.ads.googleads.v23.resources.AppliedIncentive-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.Output only.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.Output only.Output only.Output only.Output only.clone()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(AppliedIncentive other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final AppliedIncentive.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCouponCode(String value) Output only.setCouponCodeBytes(com.google.protobuf.ByteString value) Output only.setCurrencyCode(String value) Output only.setCurrencyCodeBytes(com.google.protobuf.ByteString value) Output only.setCurrentSpendTowardsFulfillmentMicros(long value) Output only.Output only.setFulfillmentExpirationDateTimeBytes(com.google.protobuf.ByteString value) Output only.setGrantedAmountMicros(long value) Output only.Output only.setIncentiveStateValue(int value) Output only.setRedemptionDateTime(String value) Output only.setRedemptionDateTimeBytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequiredMinSpendMicros(long value) Output only.setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.setRewardAmountMicros(long value) Output only.setRewardBalanceRemainingMicros(long value) Output only.Output only.setRewardExpirationDateTimeBytes(com.google.protobuf.ByteString value) Output only.setRewardGrantDateTime(String value) Output only.setRewardGrantDateTimeBytes(com.google.protobuf.ByteString value) Output only.final AppliedIncentive.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getParentForChildrenMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtensionMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AppliedIncentive.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
setField
public AppliedIncentive.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
setRepeatedField
public AppliedIncentive.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
addRepeatedField
public AppliedIncentive.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppliedIncentive.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,AppliedIncentive.Builder>
-
mergeFrom
public AppliedIncentive.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppliedIncentive.Builder>- Throws:
IOException
-
getResourceName
Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAppliedIncentiveOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasCouponCode
public boolean hasCouponCode()Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCouponCodein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the couponCode field is set.
-
getCouponCode
Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCouponCodein interfaceAppliedIncentiveOrBuilder- Returns:
- The couponCode.
-
getCouponCodeBytes
public com.google.protobuf.ByteString getCouponCodeBytes()Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCouponCodeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for couponCode.
-
setCouponCode
Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The couponCode to set.- Returns:
- This builder for chaining.
-
clearCouponCode
Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCouponCodeBytes
Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for couponCode to set.- Returns:
- This builder for chaining.
-
hasIncentiveState
public boolean hasIncentiveState()Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIncentiveStatein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the incentiveState field is set.
-
getIncentiveStateValue
public int getIncentiveStateValue()Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIncentiveStateValuein interfaceAppliedIncentiveOrBuilder- Returns:
- The enum numeric value on the wire for incentiveState.
-
setIncentiveStateValue
Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for incentiveState to set.- Returns:
- This builder for chaining.
-
getIncentiveState
Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIncentiveStatein interfaceAppliedIncentiveOrBuilder- Returns:
- The incentiveState.
-
setIncentiveState
Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The incentiveState to set.- Returns:
- This builder for chaining.
-
clearIncentiveState
Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasRedemptionDateTime
public boolean hasRedemptionDateTime()Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRedemptionDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the redemptionDateTime field is set.
-
getRedemptionDateTime
Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRedemptionDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The redemptionDateTime.
-
getRedemptionDateTimeBytes
public com.google.protobuf.ByteString getRedemptionDateTimeBytes()Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRedemptionDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for redemptionDateTime.
-
setRedemptionDateTime
Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The redemptionDateTime to set.- Returns:
- This builder for chaining.
-
clearRedemptionDateTime
Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRedemptionDateTimeBytes
Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for redemptionDateTime to set.- Returns:
- This builder for chaining.
-
hasFulfillmentExpirationDateTime
public boolean hasFulfillmentExpirationDateTime()Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFulfillmentExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the fulfillmentExpirationDateTime field is set.
-
getFulfillmentExpirationDateTime
Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFulfillmentExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The fulfillmentExpirationDateTime.
-
getFulfillmentExpirationDateTimeBytes
public com.google.protobuf.ByteString getFulfillmentExpirationDateTimeBytes()Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFulfillmentExpirationDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for fulfillmentExpirationDateTime.
-
setFulfillmentExpirationDateTime
Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The fulfillmentExpirationDateTime to set.- Returns:
- This builder for chaining.
-
clearFulfillmentExpirationDateTime
Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFulfillmentExpirationDateTimeBytes
public AppliedIncentive.Builder setFulfillmentExpirationDateTimeBytes(com.google.protobuf.ByteString value) Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for fulfillmentExpirationDateTime to set.- Returns:
- This builder for chaining.
-
hasRewardGrantDateTime
public boolean hasRewardGrantDateTime()Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardGrantDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardGrantDateTime field is set.
-
getRewardGrantDateTime
Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardGrantDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardGrantDateTime.
-
getRewardGrantDateTimeBytes
public com.google.protobuf.ByteString getRewardGrantDateTimeBytes()Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardGrantDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for rewardGrantDateTime.
-
setRewardGrantDateTime
Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rewardGrantDateTime to set.- Returns:
- This builder for chaining.
-
clearRewardGrantDateTime
Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRewardGrantDateTimeBytes
Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for rewardGrantDateTime to set.- Returns:
- This builder for chaining.
-
hasRewardExpirationDateTime
public boolean hasRewardExpirationDateTime()Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardExpirationDateTime field is set.
-
getRewardExpirationDateTime
Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardExpirationDateTime.
-
getRewardExpirationDateTimeBytes
public com.google.protobuf.ByteString getRewardExpirationDateTimeBytes()Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardExpirationDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for rewardExpirationDateTime.
-
setRewardExpirationDateTime
Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rewardExpirationDateTime to set.- Returns:
- This builder for chaining.
-
clearRewardExpirationDateTime
Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRewardExpirationDateTimeBytes
public AppliedIncentive.Builder setRewardExpirationDateTimeBytes(com.google.protobuf.ByteString value) Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for rewardExpirationDateTime to set.- Returns:
- This builder for chaining.
-
hasCurrencyCode
public boolean hasCurrencyCode()Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrencyCodein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodein interfaceAppliedIncentiveOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasRewardAmountMicros
public boolean hasRewardAmountMicros()Output only. The maximum potential reward amount in micros for the incentive.
optional int64 reward_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardAmountMicros field is set.
-
getRewardAmountMicros
public long getRewardAmountMicros()Output only. The maximum potential reward amount in micros for the incentive.
optional int64 reward_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardAmountMicros.
-
setRewardAmountMicros
Output only. The maximum potential reward amount in micros for the incentive.
optional int64 reward_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rewardAmountMicros to set.- Returns:
- This builder for chaining.
-
clearRewardAmountMicros
Output only. The maximum potential reward amount in micros for the incentive.
optional int64 reward_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasGrantedAmountMicros
public boolean hasGrantedAmountMicros()Output only. The amount of the reward granted in micros. This field is not set if the reward has not been granted.
optional int64 granted_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGrantedAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the grantedAmountMicros field is set.
-
getGrantedAmountMicros
public long getGrantedAmountMicros()Output only. The amount of the reward granted in micros. This field is not set if the reward has not been granted.
optional int64 granted_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGrantedAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The grantedAmountMicros.
-
setGrantedAmountMicros
Output only. The amount of the reward granted in micros. This field is not set if the reward has not been granted.
optional int64 granted_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The grantedAmountMicros to set.- Returns:
- This builder for chaining.
-
clearGrantedAmountMicros
Output only. The amount of the reward granted in micros. This field is not set if the reward has not been granted.
optional int64 granted_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasRequiredMinSpendMicros
public boolean hasRequiredMinSpendMicros()Output only. The minimum amount that must be spent to fulfill the coupon requirements, in micros.
optional int64 required_min_spend_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRequiredMinSpendMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the requiredMinSpendMicros field is set.
-
getRequiredMinSpendMicros
public long getRequiredMinSpendMicros()Output only. The minimum amount that must be spent to fulfill the coupon requirements, in micros.
optional int64 required_min_spend_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRequiredMinSpendMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The requiredMinSpendMicros.
-
setRequiredMinSpendMicros
Output only. The minimum amount that must be spent to fulfill the coupon requirements, in micros.
optional int64 required_min_spend_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The requiredMinSpendMicros to set.- Returns:
- This builder for chaining.
-
clearRequiredMinSpendMicros
Output only. The minimum amount that must be spent to fulfill the coupon requirements, in micros.
optional int64 required_min_spend_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCurrentSpendTowardsFulfillmentMicros
public boolean hasCurrentSpendTowardsFulfillmentMicros()Output only. The current amount spent towards the fulfillment requirements, in micros.
optional int64 current_spend_towards_fulfillment_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrentSpendTowardsFulfillmentMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the currentSpendTowardsFulfillmentMicros field is set.
-
getCurrentSpendTowardsFulfillmentMicros
public long getCurrentSpendTowardsFulfillmentMicros()Output only. The current amount spent towards the fulfillment requirements, in micros.
optional int64 current_spend_towards_fulfillment_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrentSpendTowardsFulfillmentMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The currentSpendTowardsFulfillmentMicros.
-
setCurrentSpendTowardsFulfillmentMicros
Output only. The current amount spent towards the fulfillment requirements, in micros.
optional int64 current_spend_towards_fulfillment_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The currentSpendTowardsFulfillmentMicros to set.- Returns:
- This builder for chaining.
-
clearCurrentSpendTowardsFulfillmentMicros
Output only. The current amount spent towards the fulfillment requirements, in micros.
optional int64 current_spend_towards_fulfillment_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasRewardBalanceRemainingMicros
public boolean hasRewardBalanceRemainingMicros()Output only. The remaining balance of the granted reward in micros. This field is not set if the reward has not been granted.
optional int64 reward_balance_remaining_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardBalanceRemainingMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardBalanceRemainingMicros field is set.
-
getRewardBalanceRemainingMicros
public long getRewardBalanceRemainingMicros()Output only. The remaining balance of the granted reward in micros. This field is not set if the reward has not been granted.
optional int64 reward_balance_remaining_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardBalanceRemainingMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardBalanceRemainingMicros.
-
setRewardBalanceRemainingMicros
Output only. The remaining balance of the granted reward in micros. This field is not set if the reward has not been granted.
optional int64 reward_balance_remaining_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rewardBalanceRemainingMicros to set.- Returns:
- This builder for chaining.
-
clearRewardBalanceRemainingMicros
Output only. The remaining balance of the granted reward in micros. This field is not set if the reward has not been granted.
optional int64 reward_balance_remaining_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final AppliedIncentive.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-
mergeUnknownFields
public final AppliedIncentive.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
-