Class ShoppingProduct.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
com.google.ads.googleads.v18.resources.ShoppingProduct.Builder
All Implemented Interfaces:
ShoppingProductOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ShoppingProduct

public static final class ShoppingProduct.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder> implements ShoppingProductOrBuilder
 A shopping product from Google Merchant Center that can be advertised by
 campaigns.

 The resource returns currently existing products from Google Merchant Center
 accounts linked with the customer. A campaign includes a product by
 specifying its merchant id (or, if available, the Multi Client Account id of
 the merchant) in the `ShoppingSetting`, and can limit the inclusion to
 products having a specified feed label. Standard Shopping campaigns can also
 limit the inclusion through a `campaign_criterion.listing_scope`.

 Queries to this resource specify a scope:
 Account:
   - Filters on campaigns or ad groups are not specified.
   - All products from the linked Google Merchant Center accounts are
     returned.
   - Metrics and some fields (see the per-field documentation) are aggregated
     across all Shopping and Performance Max campaigns that include a product.
 Campaign:
   - An equality filter on `campaign` is specified. Supported campaign types
     are Shopping, Performance Max, Demand Gen, Video.
   - Only products that are included by the specified campaign are returned.
   - Metrics and some fields (see the per-field documentation) are restricted
     to the specified campaign.
 Ad group:
   - An equality filter on `ad group` and `campaign` is specified. Supported
     campaign types are Shopping, Demand Gen, Video.
   - Only products that are included by the specified campaign are returned.
   - Metrics and some fields (see the per-field documentation) are restricted
     to the specified ad group.
 Note that segmentation by date segments is not permitted and will return
 UNSUPPORTED_DATE_SEGMENTATION error. On the other hand, filtering on date
 segments is allowed.
 
Protobuf type google.ads.googleads.v18.resources.ShoppingProduct
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
    • clear

      public ShoppingProduct.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<ShoppingProduct.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.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
    • getDefaultInstanceForType

      public ShoppingProduct getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • setField

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • clearField

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • clearOneof

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • setRepeatedField

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • addRepeatedField

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • mergeFrom

      public ShoppingProduct.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<ShoppingProduct.Builder>
    • mergeFrom

      public ShoppingProduct.Builder mergeFrom(ShoppingProduct other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
    • mergeFrom

      public ShoppingProduct.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<ShoppingProduct.Builder>
      Throws:
      IOException
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the shopping product.
       Shopping product resource names have the form:
      
       `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface ShoppingProductOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the shopping product.
       Shopping product resource names have the form:
      
       `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public ShoppingProduct.Builder setResourceName(String value)
       Output only. The resource name of the shopping product.
       Shopping product resource names have the form:
      
       `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`
       
      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 ShoppingProduct.Builder clearResourceName()
       Output only. The resource name of the shopping product.
       Shopping product resource names have the form:
      
       `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public ShoppingProduct.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the shopping product.
       Shopping product resource names have the form:
      
       `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`
       
      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.
    • getMerchantCenterId

      public long getMerchantCenterId()
       Output only. The id of the merchant that owns the product.
       
      int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMerchantCenterId in interface ShoppingProductOrBuilder
      Returns:
      The merchantCenterId.
    • setMerchantCenterId

      public ShoppingProduct.Builder setMerchantCenterId(long value)
       Output only. The id of the merchant that owns the product.
       
      int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The merchantCenterId to set.
      Returns:
      This builder for chaining.
    • clearMerchantCenterId

      public ShoppingProduct.Builder clearMerchantCenterId()
       Output only. The id of the merchant that owns the product.
       
      int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getChannelValue

      public int getChannelValue()
       Output only. The product channel describing the locality of the product.
       
      .google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getChannelValue in interface ShoppingProductOrBuilder
      Returns:
      The enum numeric value on the wire for channel.
    • setChannelValue

      public ShoppingProduct.Builder setChannelValue(int value)
       Output only. The product channel describing the locality of the product.
       
      .google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for channel to set.
      Returns:
      This builder for chaining.
    • getChannel

      public ProductChannelEnum.ProductChannel getChannel()
       Output only. The product channel describing the locality of the product.
       
      .google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getChannel in interface ShoppingProductOrBuilder
      Returns:
      The channel.
    • setChannel

       Output only. The product channel describing the locality of the product.
       
      .google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The channel to set.
      Returns:
      This builder for chaining.
    • clearChannel

      public ShoppingProduct.Builder clearChannel()
       Output only. The product channel describing the locality of the product.
       
      .google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getLanguageCode

      public String getLanguageCode()
       Output only. The language code as provided by the merchant, in BCP 47
       format.
       
      string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLanguageCode in interface ShoppingProductOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Output only. The language code as provided by the merchant, in BCP 47
       format.
       
      string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLanguageCodeBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public ShoppingProduct.Builder setLanguageCode(String value)
       Output only. The language code as provided by the merchant, in BCP 47
       format.
       
      string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public ShoppingProduct.Builder clearLanguageCode()
       Output only. The language code as provided by the merchant, in BCP 47
       format.
       
      string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public ShoppingProduct.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       Output only. The language code as provided by the merchant, in BCP 47
       format.
       
      string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • getFeedLabel

      public String getFeedLabel()
       Output only. The product feed label as provided by the merchant.
       
      string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFeedLabel in interface ShoppingProductOrBuilder
      Returns:
      The feedLabel.
    • getFeedLabelBytes

      public com.google.protobuf.ByteString getFeedLabelBytes()
       Output only. The product feed label as provided by the merchant.
       
      string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFeedLabelBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for feedLabel.
    • setFeedLabel

      public ShoppingProduct.Builder setFeedLabel(String value)
       Output only. The product feed label as provided by the merchant.
       
      string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The feedLabel to set.
      Returns:
      This builder for chaining.
    • clearFeedLabel

      public ShoppingProduct.Builder clearFeedLabel()
       Output only. The product feed label as provided by the merchant.
       
      string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setFeedLabelBytes

      public ShoppingProduct.Builder setFeedLabelBytes(com.google.protobuf.ByteString value)
       Output only. The product feed label as provided by the merchant.
       
      string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for feedLabel to set.
      Returns:
      This builder for chaining.
    • getItemId

      public String getItemId()
       Output only. The item id of the product as provided by the merchant.
       
      string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getItemId in interface ShoppingProductOrBuilder
      Returns:
      The itemId.
    • getItemIdBytes

      public com.google.protobuf.ByteString getItemIdBytes()
       Output only. The item id of the product as provided by the merchant.
       
      string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getItemIdBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for itemId.
    • setItemId

      public ShoppingProduct.Builder setItemId(String value)
       Output only. The item id of the product as provided by the merchant.
       
      string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The itemId to set.
      Returns:
      This builder for chaining.
    • clearItemId

      public ShoppingProduct.Builder clearItemId()
       Output only. The item id of the product as provided by the merchant.
       
      string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setItemIdBytes

      public ShoppingProduct.Builder setItemIdBytes(com.google.protobuf.ByteString value)
       Output only. The item id of the product as provided by the merchant.
       
      string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for itemId to set.
      Returns:
      This builder for chaining.
    • hasMultiClientAccountId

      public boolean hasMultiClientAccountId()
       Output only. The id of the Multi Client Account of the merchant, if
       present.
       
      optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMultiClientAccountId in interface ShoppingProductOrBuilder
      Returns:
      Whether the multiClientAccountId field is set.
    • getMultiClientAccountId

      public long getMultiClientAccountId()
       Output only. The id of the Multi Client Account of the merchant, if
       present.
       
      optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMultiClientAccountId in interface ShoppingProductOrBuilder
      Returns:
      The multiClientAccountId.
    • setMultiClientAccountId

      public ShoppingProduct.Builder setMultiClientAccountId(long value)
       Output only. The id of the Multi Client Account of the merchant, if
       present.
       
      optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The multiClientAccountId to set.
      Returns:
      This builder for chaining.
    • clearMultiClientAccountId

      public ShoppingProduct.Builder clearMultiClientAccountId()
       Output only. The id of the Multi Client Account of the merchant, if
       present.
       
      optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasTitle

      public boolean hasTitle()
       Output only. The title of the product as provided by the merchant.
       
      optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTitle in interface ShoppingProductOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
       Output only. The title of the product as provided by the merchant.
       
      optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTitle in interface ShoppingProductOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Output only. The title of the product as provided by the merchant.
       
      optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTitleBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public ShoppingProduct.Builder setTitle(String value)
       Output only. The title of the product as provided by the merchant.
       
      optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public ShoppingProduct.Builder clearTitle()
       Output only. The title of the product as provided by the merchant.
       
      optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public ShoppingProduct.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Output only. The title of the product as provided by the merchant.
       
      optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasBrand

      public boolean hasBrand()
       Output only. The brand of the product as provided by the merchant.
       
      optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBrand in interface ShoppingProductOrBuilder
      Returns:
      Whether the brand field is set.
    • getBrand

      public String getBrand()
       Output only. The brand of the product as provided by the merchant.
       
      optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBrand in interface ShoppingProductOrBuilder
      Returns:
      The brand.
    • getBrandBytes

      public com.google.protobuf.ByteString getBrandBytes()
       Output only. The brand of the product as provided by the merchant.
       
      optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBrandBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for brand.
    • setBrand

      public ShoppingProduct.Builder setBrand(String value)
       Output only. The brand of the product as provided by the merchant.
       
      optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The brand to set.
      Returns:
      This builder for chaining.
    • clearBrand

      public ShoppingProduct.Builder clearBrand()
       Output only. The brand of the product as provided by the merchant.
       
      optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBrandBytes

      public ShoppingProduct.Builder setBrandBytes(com.google.protobuf.ByteString value)
       Output only. The brand of the product as provided by the merchant.
       
      optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for brand to set.
      Returns:
      This builder for chaining.
    • hasPriceMicros

      public boolean hasPriceMicros()
       Output only. The price of the product in micros as provided by the
       merchant, in the currency specified in `currency_code` (e.g. $2.97 is
       reported as 2970000).
       
      optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPriceMicros in interface ShoppingProductOrBuilder
      Returns:
      Whether the priceMicros field is set.
    • getPriceMicros

      public long getPriceMicros()
       Output only. The price of the product in micros as provided by the
       merchant, in the currency specified in `currency_code` (e.g. $2.97 is
       reported as 2970000).
       
      optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPriceMicros in interface ShoppingProductOrBuilder
      Returns:
      The priceMicros.
    • setPriceMicros

      public ShoppingProduct.Builder setPriceMicros(long value)
       Output only. The price of the product in micros as provided by the
       merchant, in the currency specified in `currency_code` (e.g. $2.97 is
       reported as 2970000).
       
      optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The priceMicros to set.
      Returns:
      This builder for chaining.
    • clearPriceMicros

      public ShoppingProduct.Builder clearPriceMicros()
       Output only. The price of the product in micros as provided by the
       merchant, in the currency specified in `currency_code` (e.g. $2.97 is
       reported as 2970000).
       
      optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCurrencyCode

      public boolean hasCurrencyCode()
       Output only. The currency code as provided by the merchant, in ISO 4217
       format.
       
      optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCurrencyCode in interface ShoppingProductOrBuilder
      Returns:
      Whether the currencyCode field is set.
    • getCurrencyCode

      public String getCurrencyCode()
       Output only. The currency code as provided by the merchant, in ISO 4217
       format.
       
      optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCurrencyCode in interface ShoppingProductOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       Output only. The currency code as provided by the merchant, in ISO 4217
       format.
       
      optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCurrencyCodeBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for currencyCode.
    • setCurrencyCode

      public ShoppingProduct.Builder setCurrencyCode(String value)
       Output only. The currency code as provided by the merchant, in ISO 4217
       format.
       
      optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The currencyCode to set.
      Returns:
      This builder for chaining.
    • clearCurrencyCode

      public ShoppingProduct.Builder clearCurrencyCode()
       Output only. The currency code as provided by the merchant, in ISO 4217
       format.
       
      optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCurrencyCodeBytes

      public ShoppingProduct.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
       Output only. The currency code as provided by the merchant, in ISO 4217
       format.
       
      optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for currencyCode to set.
      Returns:
      This builder for chaining.
    • hasChannelExclusivity

      public boolean hasChannelExclusivity()
       Output only. The channel exclusivity of the product as provided by the
       merchant.
       
      optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasChannelExclusivity in interface ShoppingProductOrBuilder
      Returns:
      Whether the channelExclusivity field is set.
    • getChannelExclusivityValue

      public int getChannelExclusivityValue()
       Output only. The channel exclusivity of the product as provided by the
       merchant.
       
      optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getChannelExclusivityValue in interface ShoppingProductOrBuilder
      Returns:
      The enum numeric value on the wire for channelExclusivity.
    • setChannelExclusivityValue

      public ShoppingProduct.Builder setChannelExclusivityValue(int value)
       Output only. The channel exclusivity of the product as provided by the
       merchant.
       
      optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for channelExclusivity to set.
      Returns:
      This builder for chaining.
    • getChannelExclusivity

       Output only. The channel exclusivity of the product as provided by the
       merchant.
       
      optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getChannelExclusivity in interface ShoppingProductOrBuilder
      Returns:
      The channelExclusivity.
    • setChannelExclusivity

       Output only. The channel exclusivity of the product as provided by the
       merchant.
       
      optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The channelExclusivity to set.
      Returns:
      This builder for chaining.
    • clearChannelExclusivity

      public ShoppingProduct.Builder clearChannelExclusivity()
       Output only. The channel exclusivity of the product as provided by the
       merchant.
       
      optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCondition

      public boolean hasCondition()
       Output only. The condition of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCondition in interface ShoppingProductOrBuilder
      Returns:
      Whether the condition field is set.
    • getConditionValue

      public int getConditionValue()
       Output only. The condition of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConditionValue in interface ShoppingProductOrBuilder
      Returns:
      The enum numeric value on the wire for condition.
    • setConditionValue

      public ShoppingProduct.Builder setConditionValue(int value)
       Output only. The condition of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for condition to set.
      Returns:
      This builder for chaining.
    • getCondition

       Output only. The condition of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCondition in interface ShoppingProductOrBuilder
      Returns:
      The condition.
    • setCondition

       Output only. The condition of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The condition to set.
      Returns:
      This builder for chaining.
    • clearCondition

      public ShoppingProduct.Builder clearCondition()
       Output only. The condition of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasAvailability

      public boolean hasAvailability()
       Output only. The availability of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAvailability in interface ShoppingProductOrBuilder
      Returns:
      Whether the availability field is set.
    • getAvailabilityValue

      public int getAvailabilityValue()
       Output only. The availability of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAvailabilityValue in interface ShoppingProductOrBuilder
      Returns:
      The enum numeric value on the wire for availability.
    • setAvailabilityValue

      public ShoppingProduct.Builder setAvailabilityValue(int value)
       Output only. The availability of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for availability to set.
      Returns:
      This builder for chaining.
    • getAvailability

       Output only. The availability of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAvailability in interface ShoppingProductOrBuilder
      Returns:
      The availability.
    • setAvailability

       Output only. The availability of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The availability to set.
      Returns:
      This builder for chaining.
    • clearAvailability

      public ShoppingProduct.Builder clearAvailability()
       Output only. The availability of the product as provided by the merchant.
       
      optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getTargetCountriesList

      public com.google.protobuf.ProtocolStringList getTargetCountriesList()
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCountriesList in interface ShoppingProductOrBuilder
      Returns:
      A list containing the targetCountries.
    • getTargetCountriesCount

      public int getTargetCountriesCount()
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCountriesCount in interface ShoppingProductOrBuilder
      Returns:
      The count of targetCountries.
    • getTargetCountries

      public String getTargetCountries(int index)
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCountries in interface ShoppingProductOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The targetCountries at the given index.
    • getTargetCountriesBytes

      public com.google.protobuf.ByteString getTargetCountriesBytes(int index)
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCountriesBytes in interface ShoppingProductOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targetCountries at the given index.
    • setTargetCountries

      public ShoppingProduct.Builder setTargetCountries(int index, String value)
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The targetCountries to set.
      Returns:
      This builder for chaining.
    • addTargetCountries

      public ShoppingProduct.Builder addTargetCountries(String value)
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The targetCountries to add.
      Returns:
      This builder for chaining.
    • addAllTargetCountries

      public ShoppingProduct.Builder addAllTargetCountries(Iterable<String> values)
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The targetCountries to add.
      Returns:
      This builder for chaining.
    • clearTargetCountries

      public ShoppingProduct.Builder clearTargetCountries()
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addTargetCountriesBytes

      public ShoppingProduct.Builder addTargetCountriesBytes(com.google.protobuf.ByteString value)
       Output only. Upper-case two-letter ISO 3166-1 code of the regions where the
       product is intended to be shown in ads.
       
      repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the targetCountries to add.
      Returns:
      This builder for chaining.
    • hasCustomAttribute0

      public boolean hasCustomAttribute0()
       Output only. The custom attribute 0 of the product as provided by the
       merchant.
       
      optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomAttribute0 in interface ShoppingProductOrBuilder
      Returns:
      Whether the customAttribute0 field is set.
    • getCustomAttribute0

      public String getCustomAttribute0()
       Output only. The custom attribute 0 of the product as provided by the
       merchant.
       
      optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute0 in interface ShoppingProductOrBuilder
      Returns:
      The customAttribute0.
    • getCustomAttribute0Bytes

      public com.google.protobuf.ByteString getCustomAttribute0Bytes()
       Output only. The custom attribute 0 of the product as provided by the
       merchant.
       
      optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute0Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for customAttribute0.
    • setCustomAttribute0

      public ShoppingProduct.Builder setCustomAttribute0(String value)
       Output only. The custom attribute 0 of the product as provided by the
       merchant.
       
      optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customAttribute0 to set.
      Returns:
      This builder for chaining.
    • clearCustomAttribute0

      public ShoppingProduct.Builder clearCustomAttribute0()
       Output only. The custom attribute 0 of the product as provided by the
       merchant.
       
      optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomAttribute0Bytes

      public ShoppingProduct.Builder setCustomAttribute0Bytes(com.google.protobuf.ByteString value)
       Output only. The custom attribute 0 of the product as provided by the
       merchant.
       
      optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customAttribute0 to set.
      Returns:
      This builder for chaining.
    • hasCustomAttribute1

      public boolean hasCustomAttribute1()
       Output only. The custom attribute 1 of the product as provided by the
       merchant.
       
      optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomAttribute1 in interface ShoppingProductOrBuilder
      Returns:
      Whether the customAttribute1 field is set.
    • getCustomAttribute1

      public String getCustomAttribute1()
       Output only. The custom attribute 1 of the product as provided by the
       merchant.
       
      optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute1 in interface ShoppingProductOrBuilder
      Returns:
      The customAttribute1.
    • getCustomAttribute1Bytes

      public com.google.protobuf.ByteString getCustomAttribute1Bytes()
       Output only. The custom attribute 1 of the product as provided by the
       merchant.
       
      optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute1Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for customAttribute1.
    • setCustomAttribute1

      public ShoppingProduct.Builder setCustomAttribute1(String value)
       Output only. The custom attribute 1 of the product as provided by the
       merchant.
       
      optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customAttribute1 to set.
      Returns:
      This builder for chaining.
    • clearCustomAttribute1

      public ShoppingProduct.Builder clearCustomAttribute1()
       Output only. The custom attribute 1 of the product as provided by the
       merchant.
       
      optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomAttribute1Bytes

      public ShoppingProduct.Builder setCustomAttribute1Bytes(com.google.protobuf.ByteString value)
       Output only. The custom attribute 1 of the product as provided by the
       merchant.
       
      optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customAttribute1 to set.
      Returns:
      This builder for chaining.
    • hasCustomAttribute2

      public boolean hasCustomAttribute2()
       Output only. The custom attribute 2 of the product as provided by the
       merchant.
       
      optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomAttribute2 in interface ShoppingProductOrBuilder
      Returns:
      Whether the customAttribute2 field is set.
    • getCustomAttribute2

      public String getCustomAttribute2()
       Output only. The custom attribute 2 of the product as provided by the
       merchant.
       
      optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute2 in interface ShoppingProductOrBuilder
      Returns:
      The customAttribute2.
    • getCustomAttribute2Bytes

      public com.google.protobuf.ByteString getCustomAttribute2Bytes()
       Output only. The custom attribute 2 of the product as provided by the
       merchant.
       
      optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute2Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for customAttribute2.
    • setCustomAttribute2

      public ShoppingProduct.Builder setCustomAttribute2(String value)
       Output only. The custom attribute 2 of the product as provided by the
       merchant.
       
      optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customAttribute2 to set.
      Returns:
      This builder for chaining.
    • clearCustomAttribute2

      public ShoppingProduct.Builder clearCustomAttribute2()
       Output only. The custom attribute 2 of the product as provided by the
       merchant.
       
      optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomAttribute2Bytes

      public ShoppingProduct.Builder setCustomAttribute2Bytes(com.google.protobuf.ByteString value)
       Output only. The custom attribute 2 of the product as provided by the
       merchant.
       
      optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customAttribute2 to set.
      Returns:
      This builder for chaining.
    • hasCustomAttribute3

      public boolean hasCustomAttribute3()
       Output only. The custom attribute 3 of the product as provided by the
       merchant.
       
      optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomAttribute3 in interface ShoppingProductOrBuilder
      Returns:
      Whether the customAttribute3 field is set.
    • getCustomAttribute3

      public String getCustomAttribute3()
       Output only. The custom attribute 3 of the product as provided by the
       merchant.
       
      optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute3 in interface ShoppingProductOrBuilder
      Returns:
      The customAttribute3.
    • getCustomAttribute3Bytes

      public com.google.protobuf.ByteString getCustomAttribute3Bytes()
       Output only. The custom attribute 3 of the product as provided by the
       merchant.
       
      optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute3Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for customAttribute3.
    • setCustomAttribute3

      public ShoppingProduct.Builder setCustomAttribute3(String value)
       Output only. The custom attribute 3 of the product as provided by the
       merchant.
       
      optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customAttribute3 to set.
      Returns:
      This builder for chaining.
    • clearCustomAttribute3

      public ShoppingProduct.Builder clearCustomAttribute3()
       Output only. The custom attribute 3 of the product as provided by the
       merchant.
       
      optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomAttribute3Bytes

      public ShoppingProduct.Builder setCustomAttribute3Bytes(com.google.protobuf.ByteString value)
       Output only. The custom attribute 3 of the product as provided by the
       merchant.
       
      optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customAttribute3 to set.
      Returns:
      This builder for chaining.
    • hasCustomAttribute4

      public boolean hasCustomAttribute4()
       Output only. The custom attribute 4 of the product as provided by the
       merchant.
       
      optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomAttribute4 in interface ShoppingProductOrBuilder
      Returns:
      Whether the customAttribute4 field is set.
    • getCustomAttribute4

      public String getCustomAttribute4()
       Output only. The custom attribute 4 of the product as provided by the
       merchant.
       
      optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute4 in interface ShoppingProductOrBuilder
      Returns:
      The customAttribute4.
    • getCustomAttribute4Bytes

      public com.google.protobuf.ByteString getCustomAttribute4Bytes()
       Output only. The custom attribute 4 of the product as provided by the
       merchant.
       
      optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomAttribute4Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for customAttribute4.
    • setCustomAttribute4

      public ShoppingProduct.Builder setCustomAttribute4(String value)
       Output only. The custom attribute 4 of the product as provided by the
       merchant.
       
      optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customAttribute4 to set.
      Returns:
      This builder for chaining.
    • clearCustomAttribute4

      public ShoppingProduct.Builder clearCustomAttribute4()
       Output only. The custom attribute 4 of the product as provided by the
       merchant.
       
      optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomAttribute4Bytes

      public ShoppingProduct.Builder setCustomAttribute4Bytes(com.google.protobuf.ByteString value)
       Output only. The custom attribute 4 of the product as provided by the
       merchant.
       
      optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customAttribute4 to set.
      Returns:
      This builder for chaining.
    • hasCategoryLevel1

      public boolean hasCategoryLevel1()
       Output only. The category level 1 of the product.
       
      optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCategoryLevel1 in interface ShoppingProductOrBuilder
      Returns:
      Whether the categoryLevel1 field is set.
    • getCategoryLevel1

      public String getCategoryLevel1()
       Output only. The category level 1 of the product.
       
      optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel1 in interface ShoppingProductOrBuilder
      Returns:
      The categoryLevel1.
    • getCategoryLevel1Bytes

      public com.google.protobuf.ByteString getCategoryLevel1Bytes()
       Output only. The category level 1 of the product.
       
      optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel1Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for categoryLevel1.
    • setCategoryLevel1

      public ShoppingProduct.Builder setCategoryLevel1(String value)
       Output only. The category level 1 of the product.
       
      optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The categoryLevel1 to set.
      Returns:
      This builder for chaining.
    • clearCategoryLevel1

      public ShoppingProduct.Builder clearCategoryLevel1()
       Output only. The category level 1 of the product.
       
      optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCategoryLevel1Bytes

      public ShoppingProduct.Builder setCategoryLevel1Bytes(com.google.protobuf.ByteString value)
       Output only. The category level 1 of the product.
       
      optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for categoryLevel1 to set.
      Returns:
      This builder for chaining.
    • hasCategoryLevel2

      public boolean hasCategoryLevel2()
       Output only. The category level 2 of the product.
       
      optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCategoryLevel2 in interface ShoppingProductOrBuilder
      Returns:
      Whether the categoryLevel2 field is set.
    • getCategoryLevel2

      public String getCategoryLevel2()
       Output only. The category level 2 of the product.
       
      optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel2 in interface ShoppingProductOrBuilder
      Returns:
      The categoryLevel2.
    • getCategoryLevel2Bytes

      public com.google.protobuf.ByteString getCategoryLevel2Bytes()
       Output only. The category level 2 of the product.
       
      optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel2Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for categoryLevel2.
    • setCategoryLevel2

      public ShoppingProduct.Builder setCategoryLevel2(String value)
       Output only. The category level 2 of the product.
       
      optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The categoryLevel2 to set.
      Returns:
      This builder for chaining.
    • clearCategoryLevel2

      public ShoppingProduct.Builder clearCategoryLevel2()
       Output only. The category level 2 of the product.
       
      optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCategoryLevel2Bytes

      public ShoppingProduct.Builder setCategoryLevel2Bytes(com.google.protobuf.ByteString value)
       Output only. The category level 2 of the product.
       
      optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for categoryLevel2 to set.
      Returns:
      This builder for chaining.
    • hasCategoryLevel3

      public boolean hasCategoryLevel3()
       Output only. The category level 3 of the product.
       
      optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCategoryLevel3 in interface ShoppingProductOrBuilder
      Returns:
      Whether the categoryLevel3 field is set.
    • getCategoryLevel3

      public String getCategoryLevel3()
       Output only. The category level 3 of the product.
       
      optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel3 in interface ShoppingProductOrBuilder
      Returns:
      The categoryLevel3.
    • getCategoryLevel3Bytes

      public com.google.protobuf.ByteString getCategoryLevel3Bytes()
       Output only. The category level 3 of the product.
       
      optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel3Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for categoryLevel3.
    • setCategoryLevel3

      public ShoppingProduct.Builder setCategoryLevel3(String value)
       Output only. The category level 3 of the product.
       
      optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The categoryLevel3 to set.
      Returns:
      This builder for chaining.
    • clearCategoryLevel3

      public ShoppingProduct.Builder clearCategoryLevel3()
       Output only. The category level 3 of the product.
       
      optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCategoryLevel3Bytes

      public ShoppingProduct.Builder setCategoryLevel3Bytes(com.google.protobuf.ByteString value)
       Output only. The category level 3 of the product.
       
      optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for categoryLevel3 to set.
      Returns:
      This builder for chaining.
    • hasCategoryLevel4

      public boolean hasCategoryLevel4()
       Output only. The category level 4 of the product.
       
      optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCategoryLevel4 in interface ShoppingProductOrBuilder
      Returns:
      Whether the categoryLevel4 field is set.
    • getCategoryLevel4

      public String getCategoryLevel4()
       Output only. The category level 4 of the product.
       
      optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel4 in interface ShoppingProductOrBuilder
      Returns:
      The categoryLevel4.
    • getCategoryLevel4Bytes

      public com.google.protobuf.ByteString getCategoryLevel4Bytes()
       Output only. The category level 4 of the product.
       
      optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel4Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for categoryLevel4.
    • setCategoryLevel4

      public ShoppingProduct.Builder setCategoryLevel4(String value)
       Output only. The category level 4 of the product.
       
      optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The categoryLevel4 to set.
      Returns:
      This builder for chaining.
    • clearCategoryLevel4

      public ShoppingProduct.Builder clearCategoryLevel4()
       Output only. The category level 4 of the product.
       
      optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCategoryLevel4Bytes

      public ShoppingProduct.Builder setCategoryLevel4Bytes(com.google.protobuf.ByteString value)
       Output only. The category level 4 of the product.
       
      optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for categoryLevel4 to set.
      Returns:
      This builder for chaining.
    • hasCategoryLevel5

      public boolean hasCategoryLevel5()
       Output only. The category level 5 of the product.
       
      optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCategoryLevel5 in interface ShoppingProductOrBuilder
      Returns:
      Whether the categoryLevel5 field is set.
    • getCategoryLevel5

      public String getCategoryLevel5()
       Output only. The category level 5 of the product.
       
      optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel5 in interface ShoppingProductOrBuilder
      Returns:
      The categoryLevel5.
    • getCategoryLevel5Bytes

      public com.google.protobuf.ByteString getCategoryLevel5Bytes()
       Output only. The category level 5 of the product.
       
      optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCategoryLevel5Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for categoryLevel5.
    • setCategoryLevel5

      public ShoppingProduct.Builder setCategoryLevel5(String value)
       Output only. The category level 5 of the product.
       
      optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The categoryLevel5 to set.
      Returns:
      This builder for chaining.
    • clearCategoryLevel5

      public ShoppingProduct.Builder clearCategoryLevel5()
       Output only. The category level 5 of the product.
       
      optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCategoryLevel5Bytes

      public ShoppingProduct.Builder setCategoryLevel5Bytes(com.google.protobuf.ByteString value)
       Output only. The category level 5 of the product.
       
      optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for categoryLevel5 to set.
      Returns:
      This builder for chaining.
    • hasProductTypeLevel1

      public boolean hasProductTypeLevel1()
       Output only. The product type level 1 as provided by the merchant.
       
      optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProductTypeLevel1 in interface ShoppingProductOrBuilder
      Returns:
      Whether the productTypeLevel1 field is set.
    • getProductTypeLevel1

      public String getProductTypeLevel1()
       Output only. The product type level 1 as provided by the merchant.
       
      optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel1 in interface ShoppingProductOrBuilder
      Returns:
      The productTypeLevel1.
    • getProductTypeLevel1Bytes

      public com.google.protobuf.ByteString getProductTypeLevel1Bytes()
       Output only. The product type level 1 as provided by the merchant.
       
      optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel1Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for productTypeLevel1.
    • setProductTypeLevel1

      public ShoppingProduct.Builder setProductTypeLevel1(String value)
       Output only. The product type level 1 as provided by the merchant.
       
      optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The productTypeLevel1 to set.
      Returns:
      This builder for chaining.
    • clearProductTypeLevel1

      public ShoppingProduct.Builder clearProductTypeLevel1()
       Output only. The product type level 1 as provided by the merchant.
       
      optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProductTypeLevel1Bytes

      public ShoppingProduct.Builder setProductTypeLevel1Bytes(com.google.protobuf.ByteString value)
       Output only. The product type level 1 as provided by the merchant.
       
      optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for productTypeLevel1 to set.
      Returns:
      This builder for chaining.
    • hasProductTypeLevel2

      public boolean hasProductTypeLevel2()
       Output only. The product type level 2 as provided by the merchant.
       
      optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProductTypeLevel2 in interface ShoppingProductOrBuilder
      Returns:
      Whether the productTypeLevel2 field is set.
    • getProductTypeLevel2

      public String getProductTypeLevel2()
       Output only. The product type level 2 as provided by the merchant.
       
      optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel2 in interface ShoppingProductOrBuilder
      Returns:
      The productTypeLevel2.
    • getProductTypeLevel2Bytes

      public com.google.protobuf.ByteString getProductTypeLevel2Bytes()
       Output only. The product type level 2 as provided by the merchant.
       
      optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel2Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for productTypeLevel2.
    • setProductTypeLevel2

      public ShoppingProduct.Builder setProductTypeLevel2(String value)
       Output only. The product type level 2 as provided by the merchant.
       
      optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The productTypeLevel2 to set.
      Returns:
      This builder for chaining.
    • clearProductTypeLevel2

      public ShoppingProduct.Builder clearProductTypeLevel2()
       Output only. The product type level 2 as provided by the merchant.
       
      optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProductTypeLevel2Bytes

      public ShoppingProduct.Builder setProductTypeLevel2Bytes(com.google.protobuf.ByteString value)
       Output only. The product type level 2 as provided by the merchant.
       
      optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for productTypeLevel2 to set.
      Returns:
      This builder for chaining.
    • hasProductTypeLevel3

      public boolean hasProductTypeLevel3()
       Output only. The product type level 3 as provided by the merchant.
       
      optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProductTypeLevel3 in interface ShoppingProductOrBuilder
      Returns:
      Whether the productTypeLevel3 field is set.
    • getProductTypeLevel3

      public String getProductTypeLevel3()
       Output only. The product type level 3 as provided by the merchant.
       
      optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel3 in interface ShoppingProductOrBuilder
      Returns:
      The productTypeLevel3.
    • getProductTypeLevel3Bytes

      public com.google.protobuf.ByteString getProductTypeLevel3Bytes()
       Output only. The product type level 3 as provided by the merchant.
       
      optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel3Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for productTypeLevel3.
    • setProductTypeLevel3

      public ShoppingProduct.Builder setProductTypeLevel3(String value)
       Output only. The product type level 3 as provided by the merchant.
       
      optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The productTypeLevel3 to set.
      Returns:
      This builder for chaining.
    • clearProductTypeLevel3

      public ShoppingProduct.Builder clearProductTypeLevel3()
       Output only. The product type level 3 as provided by the merchant.
       
      optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProductTypeLevel3Bytes

      public ShoppingProduct.Builder setProductTypeLevel3Bytes(com.google.protobuf.ByteString value)
       Output only. The product type level 3 as provided by the merchant.
       
      optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for productTypeLevel3 to set.
      Returns:
      This builder for chaining.
    • hasProductTypeLevel4

      public boolean hasProductTypeLevel4()
       Output only. The product type level 4 as provided by the merchant.
       
      optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProductTypeLevel4 in interface ShoppingProductOrBuilder
      Returns:
      Whether the productTypeLevel4 field is set.
    • getProductTypeLevel4

      public String getProductTypeLevel4()
       Output only. The product type level 4 as provided by the merchant.
       
      optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel4 in interface ShoppingProductOrBuilder
      Returns:
      The productTypeLevel4.
    • getProductTypeLevel4Bytes

      public com.google.protobuf.ByteString getProductTypeLevel4Bytes()
       Output only. The product type level 4 as provided by the merchant.
       
      optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel4Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for productTypeLevel4.
    • setProductTypeLevel4

      public ShoppingProduct.Builder setProductTypeLevel4(String value)
       Output only. The product type level 4 as provided by the merchant.
       
      optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The productTypeLevel4 to set.
      Returns:
      This builder for chaining.
    • clearProductTypeLevel4

      public ShoppingProduct.Builder clearProductTypeLevel4()
       Output only. The product type level 4 as provided by the merchant.
       
      optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProductTypeLevel4Bytes

      public ShoppingProduct.Builder setProductTypeLevel4Bytes(com.google.protobuf.ByteString value)
       Output only. The product type level 4 as provided by the merchant.
       
      optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for productTypeLevel4 to set.
      Returns:
      This builder for chaining.
    • hasProductTypeLevel5

      public boolean hasProductTypeLevel5()
       Output only. The product type level 5 as provided by the merchant.
       
      optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProductTypeLevel5 in interface ShoppingProductOrBuilder
      Returns:
      Whether the productTypeLevel5 field is set.
    • getProductTypeLevel5

      public String getProductTypeLevel5()
       Output only. The product type level 5 as provided by the merchant.
       
      optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel5 in interface ShoppingProductOrBuilder
      Returns:
      The productTypeLevel5.
    • getProductTypeLevel5Bytes

      public com.google.protobuf.ByteString getProductTypeLevel5Bytes()
       Output only. The product type level 5 as provided by the merchant.
       
      optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProductTypeLevel5Bytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for productTypeLevel5.
    • setProductTypeLevel5

      public ShoppingProduct.Builder setProductTypeLevel5(String value)
       Output only. The product type level 5 as provided by the merchant.
       
      optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The productTypeLevel5 to set.
      Returns:
      This builder for chaining.
    • clearProductTypeLevel5

      public ShoppingProduct.Builder clearProductTypeLevel5()
       Output only. The product type level 5 as provided by the merchant.
       
      optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProductTypeLevel5Bytes

      public ShoppingProduct.Builder setProductTypeLevel5Bytes(com.google.protobuf.ByteString value)
       Output only. The product type level 5 as provided by the merchant.
       
      optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for productTypeLevel5 to set.
      Returns:
      This builder for chaining.
    • hasEffectiveMaxCpcMicros

      public boolean hasEffectiveMaxCpcMicros()
       Output only. The effective maximum cost-per-click (effective max. CPC) of
       the product. This field is available only if the query specifies the
       campaign or ad group scope, and if the campaign uses manual bidding. The
       value is the highest bid set for the product in product groups across all
       enabled ad groups. It represents the most you're willing to pay for a click
       on the product. This field can take up to 24 hours to update.
       
      optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEffectiveMaxCpcMicros in interface ShoppingProductOrBuilder
      Returns:
      Whether the effectiveMaxCpcMicros field is set.
    • getEffectiveMaxCpcMicros

      public long getEffectiveMaxCpcMicros()
       Output only. The effective maximum cost-per-click (effective max. CPC) of
       the product. This field is available only if the query specifies the
       campaign or ad group scope, and if the campaign uses manual bidding. The
       value is the highest bid set for the product in product groups across all
       enabled ad groups. It represents the most you're willing to pay for a click
       on the product. This field can take up to 24 hours to update.
       
      optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEffectiveMaxCpcMicros in interface ShoppingProductOrBuilder
      Returns:
      The effectiveMaxCpcMicros.
    • setEffectiveMaxCpcMicros

      public ShoppingProduct.Builder setEffectiveMaxCpcMicros(long value)
       Output only. The effective maximum cost-per-click (effective max. CPC) of
       the product. This field is available only if the query specifies the
       campaign or ad group scope, and if the campaign uses manual bidding. The
       value is the highest bid set for the product in product groups across all
       enabled ad groups. It represents the most you're willing to pay for a click
       on the product. This field can take up to 24 hours to update.
       
      optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The effectiveMaxCpcMicros to set.
      Returns:
      This builder for chaining.
    • clearEffectiveMaxCpcMicros

      public ShoppingProduct.Builder clearEffectiveMaxCpcMicros()
       Output only. The effective maximum cost-per-click (effective max. CPC) of
       the product. This field is available only if the query specifies the
       campaign or ad group scope, and if the campaign uses manual bidding. The
       value is the highest bid set for the product in product groups across all
       enabled ad groups. It represents the most you're willing to pay for a click
       on the product. This field can take up to 24 hours to update.
       
      optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStatusValue

      public int getStatusValue()
       Output only. The status that indicates whether the product can show in ads.
       The value of this field is restricted to the scope specified in the query,
       see the documentation of the resource.
       This field can take up to 24 hours to update.
       
      .google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface ShoppingProductOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public ShoppingProduct.Builder setStatusValue(int value)
       Output only. The status that indicates whether the product can show in ads.
       The value of this field is restricted to the scope specified in the query,
       see the documentation of the resource.
       This field can take up to 24 hours to update.
       
      .google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public ProductStatusEnum.ProductStatus getStatus()
       Output only. The status that indicates whether the product can show in ads.
       The value of this field is restricted to the scope specified in the query,
       see the documentation of the resource.
       This field can take up to 24 hours to update.
       
      .google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface ShoppingProductOrBuilder
      Returns:
      The status.
    • setStatus

       Output only. The status that indicates whether the product can show in ads.
       The value of this field is restricted to the scope specified in the query,
       see the documentation of the resource.
       This field can take up to 24 hours to update.
       
      .google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public ShoppingProduct.Builder clearStatus()
       Output only. The status that indicates whether the product can show in ads.
       The value of this field is restricted to the scope specified in the query,
       see the documentation of the resource.
       This field can take up to 24 hours to update.
       
      .google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getIssuesList

      public List<ShoppingProduct.ProductIssue> getIssuesList()
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIssuesList in interface ShoppingProductOrBuilder
    • getIssuesCount

      public int getIssuesCount()
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIssuesCount in interface ShoppingProductOrBuilder
    • getIssues

      public ShoppingProduct.ProductIssue getIssues(int index)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIssues in interface ShoppingProductOrBuilder
    • setIssues

      public ShoppingProduct.Builder setIssues(int index, ShoppingProduct.ProductIssue value)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setIssues

      public ShoppingProduct.Builder setIssues(int index, ShoppingProduct.ProductIssue.Builder builderForValue)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addIssues

       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addIssues

      public ShoppingProduct.Builder addIssues(int index, ShoppingProduct.ProductIssue value)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addIssues

       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addIssues

      public ShoppingProduct.Builder addIssues(int index, ShoppingProduct.ProductIssue.Builder builderForValue)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllIssues

      public ShoppingProduct.Builder addAllIssues(Iterable<? extends ShoppingProduct.ProductIssue> values)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearIssues

      public ShoppingProduct.Builder clearIssues()
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeIssues

      public ShoppingProduct.Builder removeIssues(int index)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getIssuesBuilder

      public ShoppingProduct.ProductIssue.Builder getIssuesBuilder(int index)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getIssuesOrBuilder

      public ShoppingProduct.ProductIssueOrBuilder getIssuesOrBuilder(int index)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIssuesOrBuilder in interface ShoppingProductOrBuilder
    • getIssuesOrBuilderList

      public List<? extends ShoppingProduct.ProductIssueOrBuilder> getIssuesOrBuilderList()
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIssuesOrBuilderList in interface ShoppingProductOrBuilder
    • addIssuesBuilder

      public ShoppingProduct.ProductIssue.Builder addIssuesBuilder()
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addIssuesBuilder

      public ShoppingProduct.ProductIssue.Builder addIssuesBuilder(int index)
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getIssuesBuilderList

      public List<ShoppingProduct.ProductIssue.Builder> getIssuesBuilderList()
       Output only. The list of issues affecting whether the product can show in
       ads. The value of this field is restricted to the scope specified in the
       query, see the documentation of the resource. This field can take up to 24
       hours to update.
       
      repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasCampaign

      public boolean hasCampaign()
       Output only. A campaign that includes the product.
       This field is selectable only in the campaign scope, which requires an
       equality filter on `campaign`.
       
      optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCampaign in interface ShoppingProductOrBuilder
      Returns:
      Whether the campaign field is set.
    • getCampaign

      public String getCampaign()
       Output only. A campaign that includes the product.
       This field is selectable only in the campaign scope, which requires an
       equality filter on `campaign`.
       
      optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaign in interface ShoppingProductOrBuilder
      Returns:
      The campaign.
    • getCampaignBytes

      public com.google.protobuf.ByteString getCampaignBytes()
       Output only. A campaign that includes the product.
       This field is selectable only in the campaign scope, which requires an
       equality filter on `campaign`.
       
      optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for campaign.
    • setCampaign

      public ShoppingProduct.Builder setCampaign(String value)
       Output only. A campaign that includes the product.
       This field is selectable only in the campaign scope, which requires an
       equality filter on `campaign`.
       
      optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The campaign to set.
      Returns:
      This builder for chaining.
    • clearCampaign

      public ShoppingProduct.Builder clearCampaign()
       Output only. A campaign that includes the product.
       This field is selectable only in the campaign scope, which requires an
       equality filter on `campaign`.
       
      optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCampaignBytes

      public ShoppingProduct.Builder setCampaignBytes(com.google.protobuf.ByteString value)
       Output only. A campaign that includes the product.
       This field is selectable only in the campaign scope, which requires an
       equality filter on `campaign`.
       
      optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for campaign to set.
      Returns:
      This builder for chaining.
    • hasAdGroup

      public boolean hasAdGroup()
       Output only. An ad group of a campaign that includes the product.
       This field is selectable only in the ad group scope, which requires an
       equality filter on `campaign` and `ad_group`.
       
      optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasAdGroup in interface ShoppingProductOrBuilder
      Returns:
      Whether the adGroup field is set.
    • getAdGroup

      public String getAdGroup()
       Output only. An ad group of a campaign that includes the product.
       This field is selectable only in the ad group scope, which requires an
       equality filter on `campaign` and `ad_group`.
       
      optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAdGroup in interface ShoppingProductOrBuilder
      Returns:
      The adGroup.
    • getAdGroupBytes

      public com.google.protobuf.ByteString getAdGroupBytes()
       Output only. An ad group of a campaign that includes the product.
       This field is selectable only in the ad group scope, which requires an
       equality filter on `campaign` and `ad_group`.
       
      optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getAdGroupBytes in interface ShoppingProductOrBuilder
      Returns:
      The bytes for adGroup.
    • setAdGroup

      public ShoppingProduct.Builder setAdGroup(String value)
       Output only. An ad group of a campaign that includes the product.
       This field is selectable only in the ad group scope, which requires an
       equality filter on `campaign` and `ad_group`.
       
      optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The adGroup to set.
      Returns:
      This builder for chaining.
    • clearAdGroup

      public ShoppingProduct.Builder clearAdGroup()
       Output only. An ad group of a campaign that includes the product.
       This field is selectable only in the ad group scope, which requires an
       equality filter on `campaign` and `ad_group`.
       
      optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAdGroupBytes

      public ShoppingProduct.Builder setAdGroupBytes(com.google.protobuf.ByteString value)
       Output only. An ad group of a campaign that includes the product.
       This field is selectable only in the ad group scope, which requires an
       equality filter on `campaign` and `ad_group`.
       
      optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for adGroup to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ShoppingProduct.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<ShoppingProduct.Builder>
    • mergeUnknownFields

      public final ShoppingProduct.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<ShoppingProduct.Builder>