Class ShoppingProduct

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ShoppingProduct
All Implemented Interfaces:
ShoppingProductOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ShoppingProduct extends com.google.protobuf.GeneratedMessageV3 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
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • MERCHANT_CENTER_ID_FIELD_NUMBER

      public static final int MERCHANT_CENTER_ID_FIELD_NUMBER
      See Also:
    • CHANNEL_FIELD_NUMBER

      public static final int CHANNEL_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODE_FIELD_NUMBER

      public static final int LANGUAGE_CODE_FIELD_NUMBER
      See Also:
    • FEED_LABEL_FIELD_NUMBER

      public static final int FEED_LABEL_FIELD_NUMBER
      See Also:
    • ITEM_ID_FIELD_NUMBER

      public static final int ITEM_ID_FIELD_NUMBER
      See Also:
    • MULTI_CLIENT_ACCOUNT_ID_FIELD_NUMBER

      public static final int MULTI_CLIENT_ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • TITLE_FIELD_NUMBER

      public static final int TITLE_FIELD_NUMBER
      See Also:
    • BRAND_FIELD_NUMBER

      public static final int BRAND_FIELD_NUMBER
      See Also:
    • PRICE_MICROS_FIELD_NUMBER

      public static final int PRICE_MICROS_FIELD_NUMBER
      See Also:
    • CURRENCY_CODE_FIELD_NUMBER

      public static final int CURRENCY_CODE_FIELD_NUMBER
      See Also:
    • CHANNEL_EXCLUSIVITY_FIELD_NUMBER

      public static final int CHANNEL_EXCLUSIVITY_FIELD_NUMBER
      See Also:
    • CONDITION_FIELD_NUMBER

      public static final int CONDITION_FIELD_NUMBER
      See Also:
    • AVAILABILITY_FIELD_NUMBER

      public static final int AVAILABILITY_FIELD_NUMBER
      See Also:
    • TARGET_COUNTRIES_FIELD_NUMBER

      public static final int TARGET_COUNTRIES_FIELD_NUMBER
      See Also:
    • CUSTOM_ATTRIBUTE0_FIELD_NUMBER

      public static final int CUSTOM_ATTRIBUTE0_FIELD_NUMBER
      See Also:
    • CUSTOM_ATTRIBUTE1_FIELD_NUMBER

      public static final int CUSTOM_ATTRIBUTE1_FIELD_NUMBER
      See Also:
    • CUSTOM_ATTRIBUTE2_FIELD_NUMBER

      public static final int CUSTOM_ATTRIBUTE2_FIELD_NUMBER
      See Also:
    • CUSTOM_ATTRIBUTE3_FIELD_NUMBER

      public static final int CUSTOM_ATTRIBUTE3_FIELD_NUMBER
      See Also:
    • CUSTOM_ATTRIBUTE4_FIELD_NUMBER

      public static final int CUSTOM_ATTRIBUTE4_FIELD_NUMBER
      See Also:
    • CATEGORY_LEVEL1_FIELD_NUMBER

      public static final int CATEGORY_LEVEL1_FIELD_NUMBER
      See Also:
    • CATEGORY_LEVEL2_FIELD_NUMBER

      public static final int CATEGORY_LEVEL2_FIELD_NUMBER
      See Also:
    • CATEGORY_LEVEL3_FIELD_NUMBER

      public static final int CATEGORY_LEVEL3_FIELD_NUMBER
      See Also:
    • CATEGORY_LEVEL4_FIELD_NUMBER

      public static final int CATEGORY_LEVEL4_FIELD_NUMBER
      See Also:
    • CATEGORY_LEVEL5_FIELD_NUMBER

      public static final int CATEGORY_LEVEL5_FIELD_NUMBER
      See Also:
    • PRODUCT_TYPE_LEVEL1_FIELD_NUMBER

      public static final int PRODUCT_TYPE_LEVEL1_FIELD_NUMBER
      See Also:
    • PRODUCT_TYPE_LEVEL2_FIELD_NUMBER

      public static final int PRODUCT_TYPE_LEVEL2_FIELD_NUMBER
      See Also:
    • PRODUCT_TYPE_LEVEL3_FIELD_NUMBER

      public static final int PRODUCT_TYPE_LEVEL3_FIELD_NUMBER
      See Also:
    • PRODUCT_TYPE_LEVEL4_FIELD_NUMBER

      public static final int PRODUCT_TYPE_LEVEL4_FIELD_NUMBER
      See Also:
    • PRODUCT_TYPE_LEVEL5_FIELD_NUMBER

      public static final int PRODUCT_TYPE_LEVEL5_FIELD_NUMBER
      See Also:
    • EFFECTIVE_MAX_CPC_MICROS_FIELD_NUMBER

      public static final int EFFECTIVE_MAX_CPC_MICROS_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • ISSUES_FIELD_NUMBER

      public static final int ISSUES_FIELD_NUMBER
      See Also:
    • CAMPAIGN_FIELD_NUMBER

      public static final int CAMPAIGN_FIELD_NUMBER
      See Also:
    • AD_GROUP_FIELD_NUMBER

      public static final int AD_GROUP_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ShoppingProduct parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShoppingProduct parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShoppingProduct parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShoppingProduct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShoppingProduct parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShoppingProduct parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ShoppingProduct.Builder newBuilder()
    • newBuilder

      public static ShoppingProduct.Builder newBuilder(ShoppingProduct prototype)
    • toBuilder

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

      protected ShoppingProduct.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ShoppingProduct getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ShoppingProduct> parser()
    • getParserForType

      public com.google.protobuf.Parser<ShoppingProduct> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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