All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.shopping.merchant.promotions.v1beta.AttributesOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/shopping/merchant/promotions/v1beta/promotions_common.proto

// Protobuf Java Version: 3.25.4
package com.google.shopping.merchant.promotions.v1beta;

public interface AttributesOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.shopping.merchant.promotions.v1beta.Attributes)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Applicability of the promotion to either all products or
   * [only specific
   * products](https://support.google.com/merchants/answer/6396257?ref_topic=6396150&sjid=17642868584668136159-NC).
   * 
* * * .google.shopping.merchant.promotions.v1beta.ProductApplicability product_applicability = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return The enum numeric value on the wire for productApplicability. */ int getProductApplicabilityValue(); /** * * *
   * Required. Applicability of the promotion to either all products or
   * [only specific
   * products](https://support.google.com/merchants/answer/6396257?ref_topic=6396150&sjid=17642868584668136159-NC).
   * 
* * * .google.shopping.merchant.promotions.v1beta.ProductApplicability product_applicability = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return The productApplicability. */ com.google.shopping.merchant.promotions.v1beta.ProductApplicability getProductApplicability(); /** * * *
   * Required.
   * [Type](https://support.google.com/merchants/answer/13837405?ref_topic=13773355&sjid=17642868584668136159-NC)
   * of the promotion. Use this attribute to indicate whether or not customers
   * need a coupon code to redeem your promotion.
   * 
* * * .google.shopping.merchant.promotions.v1beta.OfferType offer_type = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The enum numeric value on the wire for offerType. */ int getOfferTypeValue(); /** * * *
   * Required.
   * [Type](https://support.google.com/merchants/answer/13837405?ref_topic=13773355&sjid=17642868584668136159-NC)
   * of the promotion. Use this attribute to indicate whether or not customers
   * need a coupon code to redeem your promotion.
   * 
* * * .google.shopping.merchant.promotions.v1beta.OfferType offer_type = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The offerType. */ com.google.shopping.merchant.promotions.v1beta.OfferType getOfferType(); /** * * *
   * Optional. Generic redemption code for the promotion. To be used with the
   * `offerType` field and must meet the [minimum
   * requirements](https://support.google.com/merchants/answer/13837405?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * string generic_redemption_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The genericRedemptionCode. */ java.lang.String getGenericRedemptionCode(); /** * * *
   * Optional. Generic redemption code for the promotion. To be used with the
   * `offerType` field and must meet the [minimum
   * requirements](https://support.google.com/merchants/answer/13837405?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * string generic_redemption_code = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for genericRedemptionCode. */ com.google.protobuf.ByteString getGenericRedemptionCodeBytes(); /** * * *
   * Required. [Long
   * title](https://support.google.com/merchants/answer/13838102?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * string long_title = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The longTitle. */ java.lang.String getLongTitle(); /** * * *
   * Required. [Long
   * title](https://support.google.com/merchants/answer/13838102?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * string long_title = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for longTitle. */ com.google.protobuf.ByteString getLongTitleBytes(); /** * * *
   * Required. The [coupon value type]
   * (https://support.google.com/merchants/answer/13861986?ref_topic=13773355&sjid=17642868584668136159-NC)
   * attribute to signal the type of promotion that you are running. Depending
   * on type of the selected coupon value [some attributes are
   * required](https://support.google.com/merchants/answer/6393006?ref_topic=7322920).
   * 
* * * .google.shopping.merchant.promotions.v1beta.CouponValueType coupon_value_type = 5 [(.google.api.field_behavior) = REQUIRED]; * * * @return The enum numeric value on the wire for couponValueType. */ int getCouponValueTypeValue(); /** * * *
   * Required. The [coupon value type]
   * (https://support.google.com/merchants/answer/13861986?ref_topic=13773355&sjid=17642868584668136159-NC)
   * attribute to signal the type of promotion that you are running. Depending
   * on type of the selected coupon value [some attributes are
   * required](https://support.google.com/merchants/answer/6393006?ref_topic=7322920).
   * 
* * * .google.shopping.merchant.promotions.v1beta.CouponValueType coupon_value_type = 5 [(.google.api.field_behavior) = REQUIRED]; * * * @return The couponValueType. */ com.google.shopping.merchant.promotions.v1beta.CouponValueType getCouponValueType(); /** * * *
   * Required. The list of destinations where the promotion applies to. If you
   * don't specify a destination by including a supported value in your data
   * source, your promotion will display in Shopping ads and free listings by
   * default.
   *
   * You may have previously submitted the following values as destinations for
   * your products: Shopping Actions, Surfaces across Google, Local surfaces
   * across Google.  To represent these values use `FREE_LISTINGS`,
   * `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see
   * [Promotion
   * destination](https://support.google.com/merchants/answer/13837465?sjid=5155774230887277618-NC)
   * 
* * * repeated .google.shopping.type.Destination.DestinationEnum promotion_destinations = 6 [(.google.api.field_behavior) = REQUIRED]; * * * @return A list containing the promotionDestinations. */ java.util.List getPromotionDestinationsList(); /** * * *
   * Required. The list of destinations where the promotion applies to. If you
   * don't specify a destination by including a supported value in your data
   * source, your promotion will display in Shopping ads and free listings by
   * default.
   *
   * You may have previously submitted the following values as destinations for
   * your products: Shopping Actions, Surfaces across Google, Local surfaces
   * across Google.  To represent these values use `FREE_LISTINGS`,
   * `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see
   * [Promotion
   * destination](https://support.google.com/merchants/answer/13837465?sjid=5155774230887277618-NC)
   * 
* * * repeated .google.shopping.type.Destination.DestinationEnum promotion_destinations = 6 [(.google.api.field_behavior) = REQUIRED]; * * * @return The count of promotionDestinations. */ int getPromotionDestinationsCount(); /** * * *
   * Required. The list of destinations where the promotion applies to. If you
   * don't specify a destination by including a supported value in your data
   * source, your promotion will display in Shopping ads and free listings by
   * default.
   *
   * You may have previously submitted the following values as destinations for
   * your products: Shopping Actions, Surfaces across Google, Local surfaces
   * across Google.  To represent these values use `FREE_LISTINGS`,
   * `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see
   * [Promotion
   * destination](https://support.google.com/merchants/answer/13837465?sjid=5155774230887277618-NC)
   * 
* * * repeated .google.shopping.type.Destination.DestinationEnum promotion_destinations = 6 [(.google.api.field_behavior) = REQUIRED]; * * * @param index The index of the element to return. * @return The promotionDestinations at the given index. */ com.google.shopping.type.Destination.DestinationEnum getPromotionDestinations(int index); /** * * *
   * Required. The list of destinations where the promotion applies to. If you
   * don't specify a destination by including a supported value in your data
   * source, your promotion will display in Shopping ads and free listings by
   * default.
   *
   * You may have previously submitted the following values as destinations for
   * your products: Shopping Actions, Surfaces across Google, Local surfaces
   * across Google.  To represent these values use `FREE_LISTINGS`,
   * `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see
   * [Promotion
   * destination](https://support.google.com/merchants/answer/13837465?sjid=5155774230887277618-NC)
   * 
* * * repeated .google.shopping.type.Destination.DestinationEnum promotion_destinations = 6 [(.google.api.field_behavior) = REQUIRED]; * * * @return A list containing the enum numeric values on the wire for promotionDestinations. */ java.util.List getPromotionDestinationsValueList(); /** * * *
   * Required. The list of destinations where the promotion applies to. If you
   * don't specify a destination by including a supported value in your data
   * source, your promotion will display in Shopping ads and free listings by
   * default.
   *
   * You may have previously submitted the following values as destinations for
   * your products: Shopping Actions, Surfaces across Google, Local surfaces
   * across Google.  To represent these values use `FREE_LISTINGS`,
   * `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see
   * [Promotion
   * destination](https://support.google.com/merchants/answer/13837465?sjid=5155774230887277618-NC)
   * 
* * * repeated .google.shopping.type.Destination.DestinationEnum promotion_destinations = 6 [(.google.api.field_behavior) = REQUIRED]; * * * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionDestinations at the given index. */ int getPromotionDestinationsValue(int index); /** * * *
   * Optional. Product filter by [item
   * ID](https://support.google.com/merchants/answer/13861565?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_inclusion = 7 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the itemIdInclusion. */ java.util.List getItemIdInclusionList(); /** * * *
   * Optional. Product filter by [item
   * ID](https://support.google.com/merchants/answer/13861565?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_inclusion = 7 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of itemIdInclusion. */ int getItemIdInclusionCount(); /** * * *
   * Optional. Product filter by [item
   * ID](https://support.google.com/merchants/answer/13861565?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_inclusion = 7 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The itemIdInclusion at the given index. */ java.lang.String getItemIdInclusion(int index); /** * * *
   * Optional. Product filter by [item
   * ID](https://support.google.com/merchants/answer/13861565?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_inclusion = 7 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the itemIdInclusion at the given index. */ com.google.protobuf.ByteString getItemIdInclusionBytes(int index); /** * * *
   * Optional. Product filter by brand for the promotion. The product filter
   * attributes only applies when the products eligible for promotion product
   * applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_inclusion = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the brandInclusion. */ java.util.List getBrandInclusionList(); /** * * *
   * Optional. Product filter by brand for the promotion. The product filter
   * attributes only applies when the products eligible for promotion product
   * applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_inclusion = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of brandInclusion. */ int getBrandInclusionCount(); /** * * *
   * Optional. Product filter by brand for the promotion. The product filter
   * attributes only applies when the products eligible for promotion product
   * applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_inclusion = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The brandInclusion at the given index. */ java.lang.String getBrandInclusion(int index); /** * * *
   * Optional. Product filter by brand for the promotion. The product filter
   * attributes only applies when the products eligible for promotion product
   * applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_inclusion = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the brandInclusion at the given index. */ com.google.protobuf.ByteString getBrandInclusionBytes(int index); /** * * *
   * Optional. Product filter by item group ID for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability [product_applicability] attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_group_id_inclusion = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the itemGroupIdInclusion. */ java.util.List getItemGroupIdInclusionList(); /** * * *
   * Optional. Product filter by item group ID for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability [product_applicability] attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_group_id_inclusion = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of itemGroupIdInclusion. */ int getItemGroupIdInclusionCount(); /** * * *
   * Optional. Product filter by item group ID for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability [product_applicability] attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_group_id_inclusion = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The itemGroupIdInclusion at the given index. */ java.lang.String getItemGroupIdInclusion(int index); /** * * *
   * Optional. Product filter by item group ID for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability [product_applicability] attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_group_id_inclusion = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The bytes of the itemGroupIdInclusion at the given index. */ com.google.protobuf.ByteString getItemGroupIdInclusionBytes(int index); /** * * *
   * Optional. Product filter by product type for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_inclusion = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the productTypeInclusion. */ java.util.List getProductTypeInclusionList(); /** * * *
   * Optional. Product filter by product type for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_inclusion = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of productTypeInclusion. */ int getProductTypeInclusionCount(); /** * * *
   * Optional. Product filter by product type for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_inclusion = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The productTypeInclusion at the given index. */ java.lang.String getProductTypeInclusion(int index); /** * * *
   * Optional. Product filter by product type for the promotion. The product
   * filter attributes only applies when the products eligible for promotion
   * product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_inclusion = 10 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The bytes of the productTypeInclusion at the given index. */ com.google.protobuf.ByteString getProductTypeInclusionBytes(int index); /** * * *
   * Optional. Product filter by [item ID
   * exclusion](https://support.google.com/merchants/answer/13863524?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_exclusion = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the itemIdExclusion. */ java.util.List getItemIdExclusionList(); /** * * *
   * Optional. Product filter by [item ID
   * exclusion](https://support.google.com/merchants/answer/13863524?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_exclusion = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of itemIdExclusion. */ int getItemIdExclusionCount(); /** * * *
   * Optional. Product filter by [item ID
   * exclusion](https://support.google.com/merchants/answer/13863524?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_exclusion = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The itemIdExclusion at the given index. */ java.lang.String getItemIdExclusion(int index); /** * * *
   * Optional. Product filter by [item ID
   * exclusion](https://support.google.com/merchants/answer/13863524?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string item_id_exclusion = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the itemIdExclusion at the given index. */ com.google.protobuf.ByteString getItemIdExclusionBytes(int index); /** * * *
   * Optional. Product filter by [brand
   * exclusion](https://support.google.com/merchants/answer/13861679?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_exclusion = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the brandExclusion. */ java.util.List getBrandExclusionList(); /** * * *
   * Optional. Product filter by [brand
   * exclusion](https://support.google.com/merchants/answer/13861679?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_exclusion = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of brandExclusion. */ int getBrandExclusionCount(); /** * * *
   * Optional. Product filter by [brand
   * exclusion](https://support.google.com/merchants/answer/13861679?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_exclusion = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The brandExclusion at the given index. */ java.lang.String getBrandExclusion(int index); /** * * *
   * Optional. Product filter by [brand
   * exclusion](https://support.google.com/merchants/answer/13861679?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string brand_exclusion = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the brandExclusion at the given index. */ com.google.protobuf.ByteString getBrandExclusionBytes(int index); /** * * *
   * Optional. Product filter by [item group
   * ID](https://support.google.com/merchants/answer/13837298?ref_topic=13773355&sjid=17642868584668136159-NC).
   * The product filter attributes only applies when the products eligible for
   * promotion product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * exclusion for the promotion.
   * 
* * repeated string item_group_id_exclusion = 13 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the itemGroupIdExclusion. */ java.util.List getItemGroupIdExclusionList(); /** * * *
   * Optional. Product filter by [item group
   * ID](https://support.google.com/merchants/answer/13837298?ref_topic=13773355&sjid=17642868584668136159-NC).
   * The product filter attributes only applies when the products eligible for
   * promotion product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * exclusion for the promotion.
   * 
* * repeated string item_group_id_exclusion = 13 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of itemGroupIdExclusion. */ int getItemGroupIdExclusionCount(); /** * * *
   * Optional. Product filter by [item group
   * ID](https://support.google.com/merchants/answer/13837298?ref_topic=13773355&sjid=17642868584668136159-NC).
   * The product filter attributes only applies when the products eligible for
   * promotion product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * exclusion for the promotion.
   * 
* * repeated string item_group_id_exclusion = 13 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The itemGroupIdExclusion at the given index. */ java.lang.String getItemGroupIdExclusion(int index); /** * * *
   * Optional. Product filter by [item group
   * ID](https://support.google.com/merchants/answer/13837298?ref_topic=13773355&sjid=17642868584668136159-NC).
   * The product filter attributes only applies when the products eligible for
   * promotion product applicability `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * exclusion for the promotion.
   * 
* * repeated string item_group_id_exclusion = 13 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The bytes of the itemGroupIdExclusion at the given index. */ com.google.protobuf.ByteString getItemGroupIdExclusionBytes(int index); /** * * *
   * Optional. Product filter by [product type
   * exclusion](https://support.google.com/merchants/answer/13863746?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_exclusion = 14 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the productTypeExclusion. */ java.util.List getProductTypeExclusionList(); /** * * *
   * Optional. Product filter by [product type
   * exclusion](https://support.google.com/merchants/answer/13863746?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_exclusion = 14 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of productTypeExclusion. */ int getProductTypeExclusionCount(); /** * * *
   * Optional. Product filter by [product type
   * exclusion](https://support.google.com/merchants/answer/13863746?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_exclusion = 14 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The productTypeExclusion at the given index. */ java.lang.String getProductTypeExclusion(int index); /** * * *
   * Optional. Product filter by [product type
   * exclusion](https://support.google.com/merchants/answer/13863746?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The product filter attributes only applies when the
   * products eligible for promotion product applicability
   * `product_applicability` attribute is set to
   * [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string product_type_exclusion = 14 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The bytes of the productTypeExclusion at the given index. */ com.google.protobuf.ByteString getProductTypeExclusionBytes(int index); /** * * *
   * Optional. [Minimum purchase
   * amount](https://support.google.com/merchants/answer/13837705?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * * .google.shopping.type.Price minimum_purchase_amount = 15 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the minimumPurchaseAmount field is set. */ boolean hasMinimumPurchaseAmount(); /** * * *
   * Optional. [Minimum purchase
   * amount](https://support.google.com/merchants/answer/13837705?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * * .google.shopping.type.Price minimum_purchase_amount = 15 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The minimumPurchaseAmount. */ com.google.shopping.type.Price getMinimumPurchaseAmount(); /** * * *
   * Optional. [Minimum purchase
   * amount](https://support.google.com/merchants/answer/13837705?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * * .google.shopping.type.Price minimum_purchase_amount = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.shopping.type.PriceOrBuilder getMinimumPurchaseAmountOrBuilder(); /** * * *
   * Optional. [Minimum purchase
   * quantity](https://support.google.com/merchants/answer/13838182?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * int64 minimum_purchase_quantity = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The minimumPurchaseQuantity. */ long getMinimumPurchaseQuantity(); /** * * *
   * Optional. [Maximum purchase
   * quantity](https://support.google.com/merchants/answer/13861564?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * int64 limit_quantity = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The limitQuantity. */ long getLimitQuantity(); /** * * *
   * Optional. [Maximum product
   * price](https://support.google.com/merchants/answer/2906014) for
   * promotion.
   * 
* * .google.shopping.type.Price limit_value = 18 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the limitValue field is set. */ boolean hasLimitValue(); /** * * *
   * Optional. [Maximum product
   * price](https://support.google.com/merchants/answer/2906014) for
   * promotion.
   * 
* * .google.shopping.type.Price limit_value = 18 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The limitValue. */ com.google.shopping.type.Price getLimitValue(); /** * * *
   * Optional. [Maximum product
   * price](https://support.google.com/merchants/answer/2906014) for
   * promotion.
   * 
* * .google.shopping.type.Price limit_value = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.shopping.type.PriceOrBuilder getLimitValueOrBuilder(); /** * * *
   * Optional. The [percentage
   * discount](https://support.google.com/merchants/answer/13837404?sjid=17642868584668136159-NC)
   * offered in the promotion.
   * 
* * int64 percent_off = 19 [(.google.api.field_behavior) = OPTIONAL]; * * @return The percentOff. */ long getPercentOff(); /** * * *
   * Optional. The [money off
   * amount](https://support.google.com/merchants/answer/13838101?ref_topic=13773355&sjid=17642868584668136159-NC)
   * offered in the promotion.
   * 
* * * .google.shopping.type.Price money_off_amount = 20 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the moneyOffAmount field is set. */ boolean hasMoneyOffAmount(); /** * * *
   * Optional. The [money off
   * amount](https://support.google.com/merchants/answer/13838101?ref_topic=13773355&sjid=17642868584668136159-NC)
   * offered in the promotion.
   * 
* * * .google.shopping.type.Price money_off_amount = 20 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The moneyOffAmount. */ com.google.shopping.type.Price getMoneyOffAmount(); /** * * *
   * Optional. The [money off
   * amount](https://support.google.com/merchants/answer/13838101?ref_topic=13773355&sjid=17642868584668136159-NC)
   * offered in the promotion.
   * 
* * * .google.shopping.type.Price money_off_amount = 20 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.shopping.type.PriceOrBuilder getMoneyOffAmountOrBuilder(); /** * * *
   * Optional. The number of items discounted in the promotion. The attribute is
   * set when `couponValueType` is equal to `buy_m_get_n_money_off` or
   * `buy_m_get_n_percent_off`.
   * 
* * int64 get_this_quantity_discounted = 21 [(.google.api.field_behavior) = OPTIONAL]; * * @return The getThisQuantityDiscounted. */ long getGetThisQuantityDiscounted(); /** * * *
   * Optional. [Free gift
   * value](https://support.google.com/merchants/answer/13844477?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * * .google.shopping.type.Price free_gift_value = 22 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the freeGiftValue field is set. */ boolean hasFreeGiftValue(); /** * * *
   * Optional. [Free gift
   * value](https://support.google.com/merchants/answer/13844477?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * * .google.shopping.type.Price free_gift_value = 22 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The freeGiftValue. */ com.google.shopping.type.Price getFreeGiftValue(); /** * * *
   * Optional. [Free gift
   * value](https://support.google.com/merchants/answer/13844477?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * * .google.shopping.type.Price free_gift_value = 22 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.shopping.type.PriceOrBuilder getFreeGiftValueOrBuilder(); /** * * *
   * Optional. [Free gift
   * description](https://support.google.com/merchants/answer/13847245?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * string free_gift_description = 23 [(.google.api.field_behavior) = OPTIONAL]; * * @return The freeGiftDescription. */ java.lang.String getFreeGiftDescription(); /** * * *
   * Optional. [Free gift
   * description](https://support.google.com/merchants/answer/13847245?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * string free_gift_description = 23 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for freeGiftDescription. */ com.google.protobuf.ByteString getFreeGiftDescriptionBytes(); /** * * *
   * Optional. [Free gift item
   * ID](https://support.google.com/merchants/answer/13857152?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * string free_gift_item_id = 24 [(.google.api.field_behavior) = OPTIONAL]; * * @return The freeGiftItemId. */ java.lang.String getFreeGiftItemId(); /** * * *
   * Optional. [Free gift item
   * ID](https://support.google.com/merchants/answer/13857152?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion.
   * 
* * string free_gift_item_id = 24 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for freeGiftItemId. */ com.google.protobuf.ByteString getFreeGiftItemIdBytes(); /** * * *
   * Required. `TimePeriod` representation of the promotion's effective dates.
   * This attribute specifies that the promotion can be tested on your online
   * store during this time period.
   * 
* * * .google.type.Interval promotion_effective_time_period = 25 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the promotionEffectiveTimePeriod field is set. */ boolean hasPromotionEffectiveTimePeriod(); /** * * *
   * Required. `TimePeriod` representation of the promotion's effective dates.
   * This attribute specifies that the promotion can be tested on your online
   * store during this time period.
   * 
* * * .google.type.Interval promotion_effective_time_period = 25 [(.google.api.field_behavior) = REQUIRED]; * * * @return The promotionEffectiveTimePeriod. */ com.google.type.Interval getPromotionEffectiveTimePeriod(); /** * * *
   * Required. `TimePeriod` representation of the promotion's effective dates.
   * This attribute specifies that the promotion can be tested on your online
   * store during this time period.
   * 
* * * .google.type.Interval promotion_effective_time_period = 25 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.type.IntervalOrBuilder getPromotionEffectiveTimePeriodOrBuilder(); /** * * *
   * Optional. `TimePeriod` representation of the promotion's display dates.
   * This attribute specifies the date and time frame when the promotion will be
   * live on Google.com and Shopping ads. If the display time period for
   * promotion `promotion_display_time_period` attribute is not specified, the
   * promotion effective time period `promotion_effective_time_period`
   * determines the date and time frame when the promotion will be live on
   * Google.com and Shopping ads.
   * 
* * * .google.type.Interval promotion_display_time_period = 26 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the promotionDisplayTimePeriod field is set. */ boolean hasPromotionDisplayTimePeriod(); /** * * *
   * Optional. `TimePeriod` representation of the promotion's display dates.
   * This attribute specifies the date and time frame when the promotion will be
   * live on Google.com and Shopping ads. If the display time period for
   * promotion `promotion_display_time_period` attribute is not specified, the
   * promotion effective time period `promotion_effective_time_period`
   * determines the date and time frame when the promotion will be live on
   * Google.com and Shopping ads.
   * 
* * * .google.type.Interval promotion_display_time_period = 26 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The promotionDisplayTimePeriod. */ com.google.type.Interval getPromotionDisplayTimePeriod(); /** * * *
   * Optional. `TimePeriod` representation of the promotion's display dates.
   * This attribute specifies the date and time frame when the promotion will be
   * live on Google.com and Shopping ads. If the display time period for
   * promotion `promotion_display_time_period` attribute is not specified, the
   * promotion effective time period `promotion_effective_time_period`
   * determines the date and time frame when the promotion will be live on
   * Google.com and Shopping ads.
   * 
* * * .google.type.Interval promotion_display_time_period = 26 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.type.IntervalOrBuilder getPromotionDisplayTimePeriodOrBuilder(); /** * * *
   * Optional. Whether the promotion applies to [all stores, or only specified
   * stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC).
   * Local Inventory ads promotions throw an error if no store applicability is
   * included. An `INVALID_ARGUMENT` error is thrown if `store_applicability` is
   * set to `ALL_STORES` and `store_codes_inclusion` or `score_code_exclusion`
   * is set to a value.
   * 
* * * .google.shopping.merchant.promotions.v1beta.StoreApplicability store_applicability = 28 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for storeApplicability. */ int getStoreApplicabilityValue(); /** * * *
   * Optional. Whether the promotion applies to [all stores, or only specified
   * stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC).
   * Local Inventory ads promotions throw an error if no store applicability is
   * included. An `INVALID_ARGUMENT` error is thrown if `store_applicability` is
   * set to `ALL_STORES` and `store_codes_inclusion` or `score_code_exclusion`
   * is set to a value.
   * 
* * * .google.shopping.merchant.promotions.v1beta.StoreApplicability store_applicability = 28 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The storeApplicability. */ com.google.shopping.merchant.promotions.v1beta.StoreApplicability getStoreApplicability(); /** * * *
   * Optional. [Store codes to
   * include](https://support.google.com/merchants/answer/13857470?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   *
   * Store code (the store ID from
   * your Business Profile) of the physical store the product is sold in. See
   * the [Local product inventory data
   * specification](https://support.google.com/merchants/answer/3061342) for
   * more information.
   * 
* * repeated string store_codes_inclusion = 29 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the storeCodesInclusion. */ java.util.List getStoreCodesInclusionList(); /** * * *
   * Optional. [Store codes to
   * include](https://support.google.com/merchants/answer/13857470?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   *
   * Store code (the store ID from
   * your Business Profile) of the physical store the product is sold in. See
   * the [Local product inventory data
   * specification](https://support.google.com/merchants/answer/3061342) for
   * more information.
   * 
* * repeated string store_codes_inclusion = 29 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of storeCodesInclusion. */ int getStoreCodesInclusionCount(); /** * * *
   * Optional. [Store codes to
   * include](https://support.google.com/merchants/answer/13857470?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   *
   * Store code (the store ID from
   * your Business Profile) of the physical store the product is sold in. See
   * the [Local product inventory data
   * specification](https://support.google.com/merchants/answer/3061342) for
   * more information.
   * 
* * repeated string store_codes_inclusion = 29 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The storeCodesInclusion at the given index. */ java.lang.String getStoreCodesInclusion(int index); /** * * *
   * Optional. [Store codes to
   * include](https://support.google.com/merchants/answer/13857470?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   *
   * Store code (the store ID from
   * your Business Profile) of the physical store the product is sold in. See
   * the [Local product inventory data
   * specification](https://support.google.com/merchants/answer/3061342) for
   * more information.
   * 
* * repeated string store_codes_inclusion = 29 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The bytes of the storeCodesInclusion at the given index. */ com.google.protobuf.ByteString getStoreCodesInclusionBytes(int index); /** * * *
   * Optional. [Store codes to
   * exclude](https://support.google.com/merchants/answer/13859586?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string store_codes_exclusion = 30 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the storeCodesExclusion. */ java.util.List getStoreCodesExclusionList(); /** * * *
   * Optional. [Store codes to
   * exclude](https://support.google.com/merchants/answer/13859586?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string store_codes_exclusion = 30 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of storeCodesExclusion. */ int getStoreCodesExclusionCount(); /** * * *
   * Optional. [Store codes to
   * exclude](https://support.google.com/merchants/answer/13859586?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string store_codes_exclusion = 30 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The storeCodesExclusion at the given index. */ java.lang.String getStoreCodesExclusion(int index); /** * * *
   * Optional. [Store codes to
   * exclude](https://support.google.com/merchants/answer/13859586?ref_topic=13773355&sjid=17642868584668136159-NC)
   * for the promotion. The store filter attributes only applies when the
   * `store_applicability` attribute is set to
   * [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).
   * 
* * repeated string store_codes_exclusion = 30 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The bytes of the storeCodesExclusion at the given index. */ com.google.protobuf.ByteString getStoreCodesExclusionBytes(int index); /** * * *
   * Optional. URL to the page on the merchant's site where the promotion shows.
   * Local Inventory ads promotions throw an error if no `promotion_url` is
   * included. URL is used to confirm that the promotion is valid and can be
   * redeemed.
   * 
* * string promotion_url = 31 [(.google.api.field_behavior) = OPTIONAL]; * * @return The promotionUrl. */ java.lang.String getPromotionUrl(); /** * * *
   * Optional. URL to the page on the merchant's site where the promotion shows.
   * Local Inventory ads promotions throw an error if no `promotion_url` is
   * included. URL is used to confirm that the promotion is valid and can be
   * redeemed.
   * 
* * string promotion_url = 31 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for promotionUrl. */ com.google.protobuf.ByteString getPromotionUrlBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy