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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • clear

      public AppliedIncentive.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AppliedIncentive.Builder>
    • getDefaultInstanceForType

      public AppliedIncentive getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AppliedIncentive build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AppliedIncentive buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public AppliedIncentive.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • setField

      public AppliedIncentive.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • clearField

      public AppliedIncentive.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • clearOneof

      public AppliedIncentive.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • setRepeatedField

      public AppliedIncentive.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • addRepeatedField

      public AppliedIncentive.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • mergeFrom

      public AppliedIncentive.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppliedIncentive.Builder>
    • mergeFrom

      public AppliedIncentive.Builder mergeFrom(AppliedIncentive other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AppliedIncentive.Builder>
      Throws:
      IOException
    • getResourceName

      public String 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:
      getResourceName in interface AppliedIncentiveOrBuilder
      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:
      getResourceNameBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public AppliedIncentive.Builder setResourceName(String value)
       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

      public AppliedIncentive.Builder 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

      public AppliedIncentive.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       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:
      hasCouponCode in interface AppliedIncentiveOrBuilder
      Returns:
      Whether the couponCode field is set.
    • getCouponCode

      public String getCouponCode()
       Output only. The coupon code of the incentive.
       
      optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCouponCode in interface AppliedIncentiveOrBuilder
      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:
      getCouponCodeBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for couponCode.
    • setCouponCode

      public AppliedIncentive.Builder setCouponCode(String value)
       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

      public AppliedIncentive.Builder 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

      public AppliedIncentive.Builder setCouponCodeBytes(com.google.protobuf.ByteString value)
       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:
      hasIncentiveState in interface AppliedIncentiveOrBuilder
      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:
      getIncentiveStateValue in interface AppliedIncentiveOrBuilder
      Returns:
      The enum numeric value on the wire for incentiveState.
    • setIncentiveStateValue

      public AppliedIncentive.Builder setIncentiveStateValue(int value)
       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

      public IncentiveStateEnum.IncentiveState 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:
      getIncentiveState in interface AppliedIncentiveOrBuilder
      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

      public AppliedIncentive.Builder 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:
      hasRedemptionDateTime in interface AppliedIncentiveOrBuilder
      Returns:
      Whether the redemptionDateTime field is set.
    • getRedemptionDateTime

      public String 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:
      getRedemptionDateTime in interface AppliedIncentiveOrBuilder
      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:
      getRedemptionDateTimeBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for redemptionDateTime.
    • setRedemptionDateTime

      public AppliedIncentive.Builder setRedemptionDateTime(String value)
       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

      public AppliedIncentive.Builder 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

      public AppliedIncentive.Builder setRedemptionDateTimeBytes(com.google.protobuf.ByteString value)
       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:
      hasFulfillmentExpirationDateTime in interface AppliedIncentiveOrBuilder
      Returns:
      Whether the fulfillmentExpirationDateTime field is set.
    • getFulfillmentExpirationDateTime

      public String 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:
      getFulfillmentExpirationDateTime in interface AppliedIncentiveOrBuilder
      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:
      getFulfillmentExpirationDateTimeBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for fulfillmentExpirationDateTime.
    • setFulfillmentExpirationDateTime

      public AppliedIncentive.Builder setFulfillmentExpirationDateTime(String 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 fulfillmentExpirationDateTime to set.
      Returns:
      This builder for chaining.
    • clearFulfillmentExpirationDateTime

      public AppliedIncentive.Builder 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:
      hasRewardGrantDateTime in interface AppliedIncentiveOrBuilder
      Returns:
      Whether the rewardGrantDateTime field is set.
    • getRewardGrantDateTime

      public String 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:
      getRewardGrantDateTime in interface AppliedIncentiveOrBuilder
      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:
      getRewardGrantDateTimeBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for rewardGrantDateTime.
    • setRewardGrantDateTime

      public AppliedIncentive.Builder setRewardGrantDateTime(String value)
       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

      public AppliedIncentive.Builder 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

      public AppliedIncentive.Builder setRewardGrantDateTimeBytes(com.google.protobuf.ByteString value)
       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:
      hasRewardExpirationDateTime in interface AppliedIncentiveOrBuilder
      Returns:
      Whether the rewardExpirationDateTime field is set.
    • getRewardExpirationDateTime

      public String 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:
      getRewardExpirationDateTime in interface AppliedIncentiveOrBuilder
      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:
      getRewardExpirationDateTimeBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for rewardExpirationDateTime.
    • setRewardExpirationDateTime

      public AppliedIncentive.Builder setRewardExpirationDateTime(String 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 rewardExpirationDateTime to set.
      Returns:
      This builder for chaining.
    • clearRewardExpirationDateTime

      public AppliedIncentive.Builder 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:
      hasCurrencyCode in interface AppliedIncentiveOrBuilder
      Returns:
      Whether the currencyCode field is set.
    • getCurrencyCode

      public String 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:
      getCurrencyCode in interface AppliedIncentiveOrBuilder
      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:
      getCurrencyCodeBytes in interface AppliedIncentiveOrBuilder
      Returns:
      The bytes for currencyCode.
    • setCurrencyCode

      public AppliedIncentive.Builder setCurrencyCode(String value)
       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

      public AppliedIncentive.Builder 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

      public AppliedIncentive.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
       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:
      hasRewardAmountMicros in interface AppliedIncentiveOrBuilder
      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:
      getRewardAmountMicros in interface AppliedIncentiveOrBuilder
      Returns:
      The rewardAmountMicros.
    • setRewardAmountMicros

      public AppliedIncentive.Builder setRewardAmountMicros(long value)
       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

      public AppliedIncentive.Builder 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:
      hasGrantedAmountMicros in interface AppliedIncentiveOrBuilder
      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:
      getGrantedAmountMicros in interface AppliedIncentiveOrBuilder
      Returns:
      The grantedAmountMicros.
    • setGrantedAmountMicros

      public AppliedIncentive.Builder setGrantedAmountMicros(long value)
       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

      public AppliedIncentive.Builder 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:
      hasRequiredMinSpendMicros in interface AppliedIncentiveOrBuilder
      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:
      getRequiredMinSpendMicros in interface AppliedIncentiveOrBuilder
      Returns:
      The requiredMinSpendMicros.
    • setRequiredMinSpendMicros

      public AppliedIncentive.Builder setRequiredMinSpendMicros(long value)
       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

      public AppliedIncentive.Builder 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:
      hasCurrentSpendTowardsFulfillmentMicros in interface AppliedIncentiveOrBuilder
      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:
      getCurrentSpendTowardsFulfillmentMicros in interface AppliedIncentiveOrBuilder
      Returns:
      The currentSpendTowardsFulfillmentMicros.
    • setCurrentSpendTowardsFulfillmentMicros

      public AppliedIncentive.Builder setCurrentSpendTowardsFulfillmentMicros(long value)
       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

      public AppliedIncentive.Builder 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:
      hasRewardBalanceRemainingMicros in interface AppliedIncentiveOrBuilder
      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:
      getRewardBalanceRemainingMicros in interface AppliedIncentiveOrBuilder
      Returns:
      The rewardBalanceRemainingMicros.
    • setRewardBalanceRemainingMicros

      public AppliedIncentive.Builder setRewardBalanceRemainingMicros(long value)
       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

      public AppliedIncentive.Builder 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>
    • mergeUnknownFields

      public final AppliedIncentive.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AppliedIncentive.Builder>