Class Attributes.Builder (0.10.0)

public static final class Attributes.Builder extends GeneratedMessageV3.Builder<Attributes.Builder> implements AttributesOrBuilder

Attributes.

Protobuf type google.shopping.merchant.products.v1beta.Attributes

Implements

AttributesOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public Attributes.Builder addAdditionalImageLinks(String value)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
value String

The additionalImageLinks to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAdditionalImageLinksBytes(ByteString value)

public Attributes.Builder addAdditionalImageLinksBytes(ByteString value)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
value ByteString

The bytes of the additionalImageLinks to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAdsLabels(String value)

public Attributes.Builder addAdsLabels(String value)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
value String

The adsLabels to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAdsLabelsBytes(ByteString value)

public Attributes.Builder addAdsLabelsBytes(ByteString value)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
value ByteString

The bytes of the adsLabels to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder addAllAdditionalImageLinks(Iterable<String> values)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
values Iterable<String>

The additionalImageLinks to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllAdsLabels(Iterable<String> values)

public Attributes.Builder addAllAdsLabels(Iterable<String> values)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
values Iterable<String>

The adsLabels to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllCertifications(Iterable<? extends Certification> values)

public Attributes.Builder addAllCertifications(Iterable<? extends Certification> values)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.Certification>
Returns
Type Description
Attributes.Builder

addAllCloudExportAdditionalProperties(Iterable<? extends CloudExportAdditionalProperties> values)

public Attributes.Builder addAllCloudExportAdditionalProperties(Iterable<? extends CloudExportAdditionalProperties> values)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties>
Returns
Type Description
Attributes.Builder

addAllDisplayAdsSimilarIds(Iterable<String> values)

public Attributes.Builder addAllDisplayAdsSimilarIds(Iterable<String> values)

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
values Iterable<String>

The displayAdsSimilarIds to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllExcludedDestinations(Iterable<String> values)

public Attributes.Builder addAllExcludedDestinations(Iterable<String> values)

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Parameter
Name Description
values Iterable<String>

The excludedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllFreeShippingThreshold(Iterable<? extends FreeShippingThreshold> values)

public Attributes.Builder addAllFreeShippingThreshold(Iterable<? extends FreeShippingThreshold> values)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.FreeShippingThreshold>
Returns
Type Description
Attributes.Builder

addAllIncludedDestinations(Iterable<String> values)

public Attributes.Builder addAllIncludedDestinations(Iterable<String> values)

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Parameter
Name Description
values Iterable<String>

The includedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder addAllLifestyleImageLinks(Iterable<String> values)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
values Iterable<String>

The lifestyleImageLinks to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllLoyaltyPrograms(Iterable<? extends LoyaltyProgram> values)

public Attributes.Builder addAllLoyaltyPrograms(Iterable<? extends LoyaltyProgram> values)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.LoyaltyProgram>
Returns
Type Description
Attributes.Builder

addAllProductDetails(Iterable<? extends ProductDetail> values)

public Attributes.Builder addAllProductDetails(Iterable<? extends ProductDetail> values)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.ProductDetail>
Returns
Type Description
Attributes.Builder

addAllProductHighlights(Iterable<String> values)

public Attributes.Builder addAllProductHighlights(Iterable<String> values)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Parameter
Name Description
values Iterable<String>

The productHighlights to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllProductTypes(Iterable<String> values)

public Attributes.Builder addAllProductTypes(Iterable<String> values)

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Parameter
Name Description
values Iterable<String>

The productTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllPromotionIds(Iterable<String> values)

public Attributes.Builder addAllPromotionIds(Iterable<String> values)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
values Iterable<String>

The promotionIds to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllShipping(Iterable<? extends Shipping> values)

public Attributes.Builder addAllShipping(Iterable<? extends Shipping> values)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.Shipping>
Returns
Type Description
Attributes.Builder

addAllShoppingAdsExcludedCountries(Iterable<String> values)

public Attributes.Builder addAllShoppingAdsExcludedCountries(Iterable<String> values)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
values Iterable<String>

The shoppingAdsExcludedCountries to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllSizeTypes(Iterable<String> values)

public Attributes.Builder addAllSizeTypes(Iterable<String> values)

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Parameter
Name Description
values Iterable<String>

The sizeTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllTaxes(Iterable<? extends Tax> values)

public Attributes.Builder addAllTaxes(Iterable<? extends Tax> values)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.Tax>
Returns
Type Description
Attributes.Builder

addCertifications(Certification value)

public Attributes.Builder addCertifications(Certification value)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
value Certification
Returns
Type Description
Attributes.Builder

addCertifications(Certification.Builder builderForValue)

public Attributes.Builder addCertifications(Certification.Builder builderForValue)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
builderForValue Certification.Builder
Returns
Type Description
Attributes.Builder

addCertifications(int index, Certification value)

public Attributes.Builder addCertifications(int index, Certification value)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameters
Name Description
index int
value Certification
Returns
Type Description
Attributes.Builder

addCertifications(int index, Certification.Builder builderForValue)

public Attributes.Builder addCertifications(int index, Certification.Builder builderForValue)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameters
Name Description
index int
builderForValue Certification.Builder
Returns
Type Description
Attributes.Builder

addCertificationsBuilder()

public Certification.Builder addCertificationsBuilder()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Returns
Type Description
Certification.Builder

addCertificationsBuilder(int index)

public Certification.Builder addCertificationsBuilder(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
Certification.Builder

addCloudExportAdditionalProperties(CloudExportAdditionalProperties value)

public Attributes.Builder addCloudExportAdditionalProperties(CloudExportAdditionalProperties value)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
value CloudExportAdditionalProperties
Returns
Type Description
Attributes.Builder

addCloudExportAdditionalProperties(CloudExportAdditionalProperties.Builder builderForValue)

public Attributes.Builder addCloudExportAdditionalProperties(CloudExportAdditionalProperties.Builder builderForValue)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
builderForValue CloudExportAdditionalProperties.Builder
Returns
Type Description
Attributes.Builder

addCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties value)

public Attributes.Builder addCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties value)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameters
Name Description
index int
value CloudExportAdditionalProperties
Returns
Type Description
Attributes.Builder

addCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties.Builder builderForValue)

public Attributes.Builder addCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties.Builder builderForValue)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameters
Name Description
index int
builderForValue CloudExportAdditionalProperties.Builder
Returns
Type Description
Attributes.Builder

addCloudExportAdditionalPropertiesBuilder()

public CloudExportAdditionalProperties.Builder addCloudExportAdditionalPropertiesBuilder()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
CloudExportAdditionalProperties.Builder

addCloudExportAdditionalPropertiesBuilder(int index)

public CloudExportAdditionalProperties.Builder addCloudExportAdditionalPropertiesBuilder(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
CloudExportAdditionalProperties.Builder

addDisplayAdsSimilarIds(String value)

public Attributes.Builder addDisplayAdsSimilarIds(String value)

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
value String

The displayAdsSimilarIds to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addDisplayAdsSimilarIdsBytes(ByteString value)

public Attributes.Builder addDisplayAdsSimilarIdsBytes(ByteString value)

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
value ByteString

The bytes of the displayAdsSimilarIds to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addExcludedDestinations(String value)

public Attributes.Builder addExcludedDestinations(String value)

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Parameter
Name Description
value String

The excludedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addExcludedDestinationsBytes(ByteString value)

public Attributes.Builder addExcludedDestinationsBytes(ByteString value)

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Parameter
Name Description
value ByteString

The bytes of the excludedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addFreeShippingThreshold(FreeShippingThreshold value)

public Attributes.Builder addFreeShippingThreshold(FreeShippingThreshold value)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
value FreeShippingThreshold
Returns
Type Description
Attributes.Builder

addFreeShippingThreshold(FreeShippingThreshold.Builder builderForValue)

public Attributes.Builder addFreeShippingThreshold(FreeShippingThreshold.Builder builderForValue)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
builderForValue FreeShippingThreshold.Builder
Returns
Type Description
Attributes.Builder

addFreeShippingThreshold(int index, FreeShippingThreshold value)

public Attributes.Builder addFreeShippingThreshold(int index, FreeShippingThreshold value)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameters
Name Description
index int
value FreeShippingThreshold
Returns
Type Description
Attributes.Builder

addFreeShippingThreshold(int index, FreeShippingThreshold.Builder builderForValue)

public Attributes.Builder addFreeShippingThreshold(int index, FreeShippingThreshold.Builder builderForValue)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameters
Name Description
index int
builderForValue FreeShippingThreshold.Builder
Returns
Type Description
Attributes.Builder

addFreeShippingThresholdBuilder()

public FreeShippingThreshold.Builder addFreeShippingThresholdBuilder()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
FreeShippingThreshold.Builder

addFreeShippingThresholdBuilder(int index)

public FreeShippingThreshold.Builder addFreeShippingThresholdBuilder(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
FreeShippingThreshold.Builder

addIncludedDestinations(String value)

public Attributes.Builder addIncludedDestinations(String value)

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Parameter
Name Description
value String

The includedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addIncludedDestinationsBytes(ByteString value)

public Attributes.Builder addIncludedDestinationsBytes(ByteString value)

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Parameter
Name Description
value ByteString

The bytes of the includedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder addLifestyleImageLinks(String value)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
value String

The lifestyleImageLinks to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addLifestyleImageLinksBytes(ByteString value)

public Attributes.Builder addLifestyleImageLinksBytes(ByteString value)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
value ByteString

The bytes of the lifestyleImageLinks to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addLoyaltyPrograms(LoyaltyProgram value)

public Attributes.Builder addLoyaltyPrograms(LoyaltyProgram value)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
value LoyaltyProgram
Returns
Type Description
Attributes.Builder

addLoyaltyPrograms(LoyaltyProgram.Builder builderForValue)

public Attributes.Builder addLoyaltyPrograms(LoyaltyProgram.Builder builderForValue)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
builderForValue LoyaltyProgram.Builder
Returns
Type Description
Attributes.Builder

addLoyaltyPrograms(int index, LoyaltyProgram value)

public Attributes.Builder addLoyaltyPrograms(int index, LoyaltyProgram value)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameters
Name Description
index int
value LoyaltyProgram
Returns
Type Description
Attributes.Builder

addLoyaltyPrograms(int index, LoyaltyProgram.Builder builderForValue)

public Attributes.Builder addLoyaltyPrograms(int index, LoyaltyProgram.Builder builderForValue)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameters
Name Description
index int
builderForValue LoyaltyProgram.Builder
Returns
Type Description
Attributes.Builder

addLoyaltyProgramsBuilder()

public LoyaltyProgram.Builder addLoyaltyProgramsBuilder()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
LoyaltyProgram.Builder

addLoyaltyProgramsBuilder(int index)

public LoyaltyProgram.Builder addLoyaltyProgramsBuilder(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
LoyaltyProgram.Builder

addProductDetails(ProductDetail value)

public Attributes.Builder addProductDetails(ProductDetail value)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
value ProductDetail
Returns
Type Description
Attributes.Builder

addProductDetails(ProductDetail.Builder builderForValue)

public Attributes.Builder addProductDetails(ProductDetail.Builder builderForValue)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
builderForValue ProductDetail.Builder
Returns
Type Description
Attributes.Builder

addProductDetails(int index, ProductDetail value)

public Attributes.Builder addProductDetails(int index, ProductDetail value)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameters
Name Description
index int
value ProductDetail
Returns
Type Description
Attributes.Builder

addProductDetails(int index, ProductDetail.Builder builderForValue)

public Attributes.Builder addProductDetails(int index, ProductDetail.Builder builderForValue)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameters
Name Description
index int
builderForValue ProductDetail.Builder
Returns
Type Description
Attributes.Builder

addProductDetailsBuilder()

public ProductDetail.Builder addProductDetailsBuilder()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Returns
Type Description
ProductDetail.Builder

addProductDetailsBuilder(int index)

public ProductDetail.Builder addProductDetailsBuilder(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
ProductDetail.Builder

addProductHighlights(String value)

public Attributes.Builder addProductHighlights(String value)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Parameter
Name Description
value String

The productHighlights to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addProductHighlightsBytes(ByteString value)

public Attributes.Builder addProductHighlightsBytes(ByteString value)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Parameter
Name Description
value ByteString

The bytes of the productHighlights to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addProductTypes(String value)

public Attributes.Builder addProductTypes(String value)

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Parameter
Name Description
value String

The productTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addProductTypesBytes(ByteString value)

public Attributes.Builder addProductTypesBytes(ByteString value)

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Parameter
Name Description
value ByteString

The bytes of the productTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addPromotionIds(String value)

public Attributes.Builder addPromotionIds(String value)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
value String

The promotionIds to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addPromotionIdsBytes(ByteString value)

public Attributes.Builder addPromotionIdsBytes(ByteString value)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
value ByteString

The bytes of the promotionIds to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Attributes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Attributes.Builder
Overrides

addShipping(Shipping value)

public Attributes.Builder addShipping(Shipping value)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
value Shipping
Returns
Type Description
Attributes.Builder

addShipping(Shipping.Builder builderForValue)

public Attributes.Builder addShipping(Shipping.Builder builderForValue)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
builderForValue Shipping.Builder
Returns
Type Description
Attributes.Builder

addShipping(int index, Shipping value)

public Attributes.Builder addShipping(int index, Shipping value)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameters
Name Description
index int
value Shipping
Returns
Type Description
Attributes.Builder

addShipping(int index, Shipping.Builder builderForValue)

public Attributes.Builder addShipping(int index, Shipping.Builder builderForValue)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameters
Name Description
index int
builderForValue Shipping.Builder
Returns
Type Description
Attributes.Builder

addShippingBuilder()

public Shipping.Builder addShippingBuilder()

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Returns
Type Description
Shipping.Builder

addShippingBuilder(int index)

public Shipping.Builder addShippingBuilder(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
Shipping.Builder

addShoppingAdsExcludedCountries(String value)

public Attributes.Builder addShoppingAdsExcludedCountries(String value)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
value String

The shoppingAdsExcludedCountries to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addShoppingAdsExcludedCountriesBytes(ByteString value)

public Attributes.Builder addShoppingAdsExcludedCountriesBytes(ByteString value)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
value ByteString

The bytes of the shoppingAdsExcludedCountries to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addSizeTypes(String value)

public Attributes.Builder addSizeTypes(String value)

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Parameter
Name Description
value String

The sizeTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addSizeTypesBytes(ByteString value)

public Attributes.Builder addSizeTypesBytes(ByteString value)

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Parameter
Name Description
value ByteString

The bytes of the sizeTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addTaxes(Tax value)

public Attributes.Builder addTaxes(Tax value)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
value Tax
Returns
Type Description
Attributes.Builder

addTaxes(Tax.Builder builderForValue)

public Attributes.Builder addTaxes(Tax.Builder builderForValue)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
builderForValue Tax.Builder
Returns
Type Description
Attributes.Builder

addTaxes(int index, Tax value)

public Attributes.Builder addTaxes(int index, Tax value)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameters
Name Description
index int
value Tax
Returns
Type Description
Attributes.Builder

addTaxes(int index, Tax.Builder builderForValue)

public Attributes.Builder addTaxes(int index, Tax.Builder builderForValue)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameters
Name Description
index int
builderForValue Tax.Builder
Returns
Type Description
Attributes.Builder

addTaxesBuilder()

public Tax.Builder addTaxesBuilder()

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Returns
Type Description
Tax.Builder

addTaxesBuilder(int index)

public Tax.Builder addTaxesBuilder(int index)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
index int
Returns
Type Description
Tax.Builder

build()

public Attributes build()
Returns
Type Description
Attributes

buildPartial()

public Attributes buildPartial()
Returns
Type Description
Attributes

clear()

public Attributes.Builder clear()
Returns
Type Description
Attributes.Builder
Overrides
public Attributes.Builder clearAdditionalImageLinks()

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAdsGrouping()

public Attributes.Builder clearAdsGrouping()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

optional string ads_grouping = 59;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAdsLabels()

public Attributes.Builder clearAdsLabels()

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAdsRedirect()

public Attributes.Builder clearAdsRedirect()

Allows advertisers to override the item URL when the product is shown within the context of Product ads.

optional string ads_redirect = 61;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAdult()

public Attributes.Builder clearAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 17;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAgeGroup()

public Attributes.Builder clearAgeGroup()

Target age group of the item.

optional string age_group = 18;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAutoPricingMinPrice()

public Attributes.Builder clearAutoPricingMinPrice()

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Returns
Type Description
Attributes.Builder

clearAvailability()

public Attributes.Builder clearAvailability()

Availability status of the item.

optional string availability = 19;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAvailabilityDate()

public Attributes.Builder clearAvailabilityDate()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
Attributes.Builder

clearBrand()

public Attributes.Builder clearBrand()

Brand of the item.

optional string brand = 21;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearCanonicalLink()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCertifications()

public Attributes.Builder clearCertifications()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Returns
Type Description
Attributes.Builder

clearCloudExportAdditionalProperties()

public Attributes.Builder clearCloudExportAdditionalProperties()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
Attributes.Builder

clearColor()

public Attributes.Builder clearColor()

Color of the item.

optional string color = 22;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCondition()

public Attributes.Builder clearCondition()

Condition or state of the item.

optional string condition = 23;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCostOfGoodsSold()

public Attributes.Builder clearCostOfGoodsSold()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Returns
Type Description
Attributes.Builder

clearCustomLabel0()

public Attributes.Builder clearCustomLabel0()

Custom label 0 for custom grouping of items in a Shopping campaign.

optional string custom_label_0 = 71;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCustomLabel1()

public Attributes.Builder clearCustomLabel1()

Custom label 1 for custom grouping of items in a Shopping campaign.

optional string custom_label_1 = 72;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCustomLabel2()

public Attributes.Builder clearCustomLabel2()

Custom label 2 for custom grouping of items in a Shopping campaign.

optional string custom_label_2 = 73;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCustomLabel3()

public Attributes.Builder clearCustomLabel3()

Custom label 3 for custom grouping of items in a Shopping campaign.

optional string custom_label_3 = 74;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCustomLabel4()

public Attributes.Builder clearCustomLabel4()

Custom label 4 for custom grouping of items in a Shopping campaign.

optional string custom_label_4 = 75;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearDescription()

public Attributes.Builder clearDescription()

Description of the item.

optional string description = 7;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearDisclosureDate()

public Attributes.Builder clearDisclosureDate()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
Attributes.Builder

clearDisplayAdsId()

public Attributes.Builder clearDisplayAdsId()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearDisplayAdsLink()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearDisplayAdsSimilarIds()

public Attributes.Builder clearDisplayAdsSimilarIds()

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearDisplayAdsTitle()

public Attributes.Builder clearDisplayAdsTitle()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearDisplayAdsValue()

public Attributes.Builder clearDisplayAdsValue()

Offer margin for dynamic remarketing campaigns.

optional double display_ads_value = 69;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearEnergyEfficiencyClass()

public Attributes.Builder clearEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string energy_efficiency_class = 53;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearExcludedDestinations()

public Attributes.Builder clearExcludedDestinations()

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearExpirationDate()

public Attributes.Builder clearExpirationDate()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
Attributes.Builder

clearExternalSellerId()

public Attributes.Builder clearExternalSellerId()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Attributes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Attributes.Builder
Overrides

clearFreeShippingThreshold()

public Attributes.Builder clearFreeShippingThreshold()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
Attributes.Builder

clearGender()

public Attributes.Builder clearGender()

Target gender of the item.

optional string gender = 24;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearGoogleProductCategory()

public Attributes.Builder clearGoogleProductCategory()

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

optional string google_product_category = 25;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearGtin()

public Attributes.Builder clearGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 26;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearIdentifierExists()

public Attributes.Builder clearIdentifierExists()

Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.

optional bool identifier_exists = 4;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearIncludedDestinations()

public Attributes.Builder clearIncludedDestinations()

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearInstallment()

public Attributes.Builder clearInstallment()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Returns
Type Description
Attributes.Builder

clearIsBundle()

public Attributes.Builder clearIsBundle()

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

optional bool is_bundle = 5;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearItemGroupId()

public Attributes.Builder clearItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearLifestyleImageLinks()

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearLink()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearLinkTemplate()

public Attributes.Builder clearLinkTemplate()

Link template for merchant hosted local storefront.

optional string link_template = 82;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearLoyaltyPoints()

public Attributes.Builder clearLoyaltyPoints()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
Attributes.Builder

clearLoyaltyPrograms()

public Attributes.Builder clearLoyaltyPrograms()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
Attributes.Builder

clearMaterial()

public Attributes.Builder clearMaterial()

The material of which the item is made.

optional string material = 28;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMaxEnergyEfficiencyClass()

public Attributes.Builder clearMaxEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string max_energy_efficiency_class = 55;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMaxHandlingTime()

public Attributes.Builder clearMaxHandlingTime()

Maximal product handling time (in business days).

optional int64 max_handling_time = 44;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMinEnergyEfficiencyClass()

public Attributes.Builder clearMinEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string min_energy_efficiency_class = 54;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMinHandlingTime()

public Attributes.Builder clearMinHandlingTime()

Minimal product handling time (in business days).

optional int64 min_handling_time = 45;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearMobileLink()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMobileLinkTemplate()

public Attributes.Builder clearMobileLinkTemplate()

Link template for merchant hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMpn()

public Attributes.Builder clearMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMultipack()

public Attributes.Builder clearMultipack()

The number of identical products in a merchant-defined multipack.

optional int64 multipack = 58;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Attributes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Attributes.Builder
Overrides

clearPattern()

public Attributes.Builder clearPattern()

The item's pattern (for example, polka dots).

optional string pattern = 30;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearPause()

public Attributes.Builder clearPause()

Publication of this item will be temporarily paused.

optional string pause = 13;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearPickupMethod()

public Attributes.Builder clearPickupMethod()

The pick up option for the item.

optional string pickup_method = 80;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearPickupSla()

public Attributes.Builder clearPickupSla()

Item store pickup timeline.

optional string pickup_sla = 81;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearPrice()

public Attributes.Builder clearPrice()

Price of the item.

.google.shopping.type.Price price = 31;

Returns
Type Description
Attributes.Builder

clearProductDetails()

public Attributes.Builder clearProductDetails()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Returns
Type Description
Attributes.Builder

clearProductHeight()

public Attributes.Builder clearProductHeight()

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Returns
Type Description
Attributes.Builder

clearProductHighlights()

public Attributes.Builder clearProductHighlights()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearProductLength()

public Attributes.Builder clearProductLength()

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Returns
Type Description
Attributes.Builder

clearProductTypes()

public Attributes.Builder clearProductTypes()

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearProductWeight()

public Attributes.Builder clearProductWeight()

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Returns
Type Description
Attributes.Builder

clearProductWidth()

public Attributes.Builder clearProductWidth()

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Returns
Type Description
Attributes.Builder

clearPromotionIds()

public Attributes.Builder clearPromotionIds()

The unique ID of a promotion.

repeated string promotion_ids = 70;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearSalePrice()

public Attributes.Builder clearSalePrice()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Returns
Type Description
Attributes.Builder

clearSalePriceEffectiveDate()

public Attributes.Builder clearSalePriceEffectiveDate()

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
Attributes.Builder

clearSellOnGoogleQuantity()

public Attributes.Builder clearSellOnGoogleQuantity()

The quantity of the product that is available for selling on Google. Supported only for online products.

optional int64 sell_on_google_quantity = 38;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearShipping()

public Attributes.Builder clearShipping()

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Returns
Type Description
Attributes.Builder

clearShippingHeight()

public Attributes.Builder clearShippingHeight()

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Returns
Type Description
Attributes.Builder

clearShippingLabel()

public Attributes.Builder clearShippingLabel()

The shipping label of the product, used to group product in account-level shipping rules.

optional string shipping_label = 46;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearShippingLength()

public Attributes.Builder clearShippingLength()

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Returns
Type Description
Attributes.Builder

clearShippingWeight()

public Attributes.Builder clearShippingWeight()

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Returns
Type Description
Attributes.Builder

clearShippingWidth()

public Attributes.Builder clearShippingWidth()

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Returns
Type Description
Attributes.Builder

clearShoppingAdsExcludedCountries()

public Attributes.Builder clearShoppingAdsExcludedCountries()

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearSize()

public Attributes.Builder clearSize()

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see https://support.google.com/merchants/answer/6324492).

optional string size = 48;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearSizeSystem()

public Attributes.Builder clearSizeSystem()

System in which the size is specified. Recommended for apparel items.

optional string size_system = 49;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearSizeTypes()

public Attributes.Builder clearSizeTypes()

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearStructuredDescription()

public Attributes.Builder clearStructuredDescription()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Returns
Type Description
Attributes.Builder

clearStructuredTitle()

public Attributes.Builder clearStructuredTitle()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Returns
Type Description
Attributes.Builder

clearSubscriptionCost()

public Attributes.Builder clearSubscriptionCost()

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Returns
Type Description
Attributes.Builder

clearTaxCategory()

public Attributes.Builder clearTaxCategory()

The tax category of the product, used to configure detailed tax nexus in account-level tax settings.

optional string tax_category = 52;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearTaxes()

public Attributes.Builder clearTaxes()

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Returns
Type Description
Attributes.Builder

clearTitle()

public Attributes.Builder clearTitle()

Title of the item.

optional string title = 6;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearTransitTimeLabel()

public Attributes.Builder clearTransitTimeLabel()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearUnitPricingBaseMeasure()

public Attributes.Builder clearUnitPricingBaseMeasure()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
Attributes.Builder

clearUnitPricingMeasure()

public Attributes.Builder clearUnitPricingMeasure()

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
Attributes.Builder
public Attributes.Builder clearVirtualModelLink()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clone()

public Attributes.Builder clone()
Returns
Type Description
Attributes.Builder
Overrides
public String getAdditionalImageLinks(int index)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The additionalImageLinks at the given index.

getAdditionalImageLinksBytes(int index)

public ByteString getAdditionalImageLinksBytes(int index)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the additionalImageLinks at the given index.

getAdditionalImageLinksCount()

public int getAdditionalImageLinksCount()

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
int

The count of additionalImageLinks.

public ProtocolStringList getAdditionalImageLinksList()

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
ProtocolStringList

A list containing the additionalImageLinks.

getAdsGrouping()

public String getAdsGrouping()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

optional string ads_grouping = 59;

Returns
Type Description
String

The adsGrouping.

getAdsGroupingBytes()

public ByteString getAdsGroupingBytes()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

optional string ads_grouping = 59;

Returns
Type Description
ByteString

The bytes for adsGrouping.

getAdsLabels(int index)

public String getAdsLabels(int index)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The adsLabels at the given index.

getAdsLabelsBytes(int index)

public ByteString getAdsLabelsBytes(int index)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the adsLabels at the given index.

getAdsLabelsCount()

public int getAdsLabelsCount()

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Returns
Type Description
int

The count of adsLabels.

getAdsLabelsList()

public ProtocolStringList getAdsLabelsList()

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Returns
Type Description
ProtocolStringList

A list containing the adsLabels.

getAdsRedirect()

public String getAdsRedirect()

Allows advertisers to override the item URL when the product is shown within the context of Product ads.

optional string ads_redirect = 61;

Returns
Type Description
String

The adsRedirect.

getAdsRedirectBytes()

public ByteString getAdsRedirectBytes()

Allows advertisers to override the item URL when the product is shown within the context of Product ads.

optional string ads_redirect = 61;

Returns
Type Description
ByteString

The bytes for adsRedirect.

getAdult()

public boolean getAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 17;

Returns
Type Description
boolean

The adult.

getAgeGroup()

public String getAgeGroup()

Target age group of the item.

optional string age_group = 18;

Returns
Type Description
String

The ageGroup.

getAgeGroupBytes()

public ByteString getAgeGroupBytes()

Target age group of the item.

optional string age_group = 18;

Returns
Type Description
ByteString

The bytes for ageGroup.

getAutoPricingMinPrice()

public Price getAutoPricingMinPrice()

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Returns
Type Description
com.google.shopping.type.Price

The autoPricingMinPrice.

getAutoPricingMinPriceBuilder()

public Price.Builder getAutoPricingMinPriceBuilder()

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Returns
Type Description
com.google.shopping.type.Price.Builder

getAutoPricingMinPriceOrBuilder()

public PriceOrBuilder getAutoPricingMinPriceOrBuilder()

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getAvailability()

public String getAvailability()

Availability status of the item.

optional string availability = 19;

Returns
Type Description
String

The availability.

getAvailabilityBytes()

public ByteString getAvailabilityBytes()

Availability status of the item.

optional string availability = 19;

Returns
Type Description
ByteString

The bytes for availability.

getAvailabilityDate()

public Timestamp getAvailabilityDate()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
Timestamp

The availabilityDate.

getAvailabilityDateBuilder()

public Timestamp.Builder getAvailabilityDateBuilder()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
Builder

getAvailabilityDateOrBuilder()

public TimestampOrBuilder getAvailabilityDateOrBuilder()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
TimestampOrBuilder

getBrand()

public String getBrand()

Brand of the item.

optional string brand = 21;

Returns
Type Description
String

The brand.

getBrandBytes()

public ByteString getBrandBytes()

Brand of the item.

optional string brand = 21;

Returns
Type Description
ByteString

The bytes for brand.

public String getCanonicalLink()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
String

The canonicalLink.

getCanonicalLinkBytes()

public ByteString getCanonicalLinkBytes()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
ByteString

The bytes for canonicalLink.

getCertifications(int index)

public Certification getCertifications(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
Certification

getCertificationsBuilder(int index)

public Certification.Builder getCertificationsBuilder(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
Certification.Builder

getCertificationsBuilderList()

public List<Certification.Builder> getCertificationsBuilderList()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Returns
Type Description
List<Builder>

getCertificationsCount()

public int getCertificationsCount()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Returns
Type Description
int

getCertificationsList()

public List<Certification> getCertificationsList()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Returns
Type Description
List<Certification>

getCertificationsOrBuilder(int index)

public CertificationOrBuilder getCertificationsOrBuilder(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
CertificationOrBuilder

getCertificationsOrBuilderList()

public List<? extends CertificationOrBuilder> getCertificationsOrBuilderList()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.CertificationOrBuilder>

getCloudExportAdditionalProperties(int index)

public CloudExportAdditionalProperties getCloudExportAdditionalProperties(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
CloudExportAdditionalProperties

getCloudExportAdditionalPropertiesBuilder(int index)

public CloudExportAdditionalProperties.Builder getCloudExportAdditionalPropertiesBuilder(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
CloudExportAdditionalProperties.Builder

getCloudExportAdditionalPropertiesBuilderList()

public List<CloudExportAdditionalProperties.Builder> getCloudExportAdditionalPropertiesBuilderList()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
List<Builder>

getCloudExportAdditionalPropertiesCount()

public int getCloudExportAdditionalPropertiesCount()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
int

getCloudExportAdditionalPropertiesList()

public List<CloudExportAdditionalProperties> getCloudExportAdditionalPropertiesList()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
List<CloudExportAdditionalProperties>

getCloudExportAdditionalPropertiesOrBuilder(int index)

public CloudExportAdditionalPropertiesOrBuilder getCloudExportAdditionalPropertiesOrBuilder(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
CloudExportAdditionalPropertiesOrBuilder

getCloudExportAdditionalPropertiesOrBuilderList()

public List<? extends CloudExportAdditionalPropertiesOrBuilder> getCloudExportAdditionalPropertiesOrBuilderList()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.CloudExportAdditionalPropertiesOrBuilder>

getColor()

public String getColor()

Color of the item.

optional string color = 22;

Returns
Type Description
String

The color.

getColorBytes()

public ByteString getColorBytes()

Color of the item.

optional string color = 22;

Returns
Type Description
ByteString

The bytes for color.

getCondition()

public String getCondition()

Condition or state of the item.

optional string condition = 23;

Returns
Type Description
String

The condition.

getConditionBytes()

public ByteString getConditionBytes()

Condition or state of the item.

optional string condition = 23;

Returns
Type Description
ByteString

The bytes for condition.

getCostOfGoodsSold()

public Price getCostOfGoodsSold()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Returns
Type Description
com.google.shopping.type.Price

The costOfGoodsSold.

getCostOfGoodsSoldBuilder()

public Price.Builder getCostOfGoodsSoldBuilder()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Returns
Type Description
com.google.shopping.type.Price.Builder

getCostOfGoodsSoldOrBuilder()

public PriceOrBuilder getCostOfGoodsSoldOrBuilder()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getCustomLabel0()

public String getCustomLabel0()

Custom label 0 for custom grouping of items in a Shopping campaign.

optional string custom_label_0 = 71;

Returns
Type Description
String

The customLabel0.

getCustomLabel0Bytes()

public ByteString getCustomLabel0Bytes()

Custom label 0 for custom grouping of items in a Shopping campaign.

optional string custom_label_0 = 71;

Returns
Type Description
ByteString

The bytes for customLabel0.

getCustomLabel1()

public String getCustomLabel1()

Custom label 1 for custom grouping of items in a Shopping campaign.

optional string custom_label_1 = 72;

Returns
Type Description
String

The customLabel1.

getCustomLabel1Bytes()

public ByteString getCustomLabel1Bytes()

Custom label 1 for custom grouping of items in a Shopping campaign.

optional string custom_label_1 = 72;

Returns
Type Description
ByteString

The bytes for customLabel1.

getCustomLabel2()

public String getCustomLabel2()

Custom label 2 for custom grouping of items in a Shopping campaign.

optional string custom_label_2 = 73;

Returns
Type Description
String

The customLabel2.

getCustomLabel2Bytes()

public ByteString getCustomLabel2Bytes()

Custom label 2 for custom grouping of items in a Shopping campaign.

optional string custom_label_2 = 73;

Returns
Type Description
ByteString

The bytes for customLabel2.

getCustomLabel3()

public String getCustomLabel3()

Custom label 3 for custom grouping of items in a Shopping campaign.

optional string custom_label_3 = 74;

Returns
Type Description
String

The customLabel3.

getCustomLabel3Bytes()

public ByteString getCustomLabel3Bytes()

Custom label 3 for custom grouping of items in a Shopping campaign.

optional string custom_label_3 = 74;

Returns
Type Description
ByteString

The bytes for customLabel3.

getCustomLabel4()

public String getCustomLabel4()

Custom label 4 for custom grouping of items in a Shopping campaign.

optional string custom_label_4 = 75;

Returns
Type Description
String

The customLabel4.

getCustomLabel4Bytes()

public ByteString getCustomLabel4Bytes()

Custom label 4 for custom grouping of items in a Shopping campaign.

optional string custom_label_4 = 75;

Returns
Type Description
ByteString

The bytes for customLabel4.

getDefaultInstanceForType()

public Attributes getDefaultInstanceForType()
Returns
Type Description
Attributes

getDescription()

public String getDescription()

Description of the item.

optional string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the item.

optional string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisclosureDate()

public Timestamp getDisclosureDate()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
Timestamp

The disclosureDate.

getDisclosureDateBuilder()

public Timestamp.Builder getDisclosureDateBuilder()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
Builder

getDisclosureDateOrBuilder()

public TimestampOrBuilder getDisclosureDateOrBuilder()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
TimestampOrBuilder

getDisplayAdsId()

public String getDisplayAdsId()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
String

The displayAdsId.

getDisplayAdsIdBytes()

public ByteString getDisplayAdsIdBytes()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
ByteString

The bytes for displayAdsId.

public String getDisplayAdsLink()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
String

The displayAdsLink.

getDisplayAdsLinkBytes()

public ByteString getDisplayAdsLinkBytes()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
ByteString

The bytes for displayAdsLink.

getDisplayAdsSimilarIds(int index)

public String getDisplayAdsSimilarIds(int index)

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The displayAdsSimilarIds at the given index.

getDisplayAdsSimilarIdsBytes(int index)

public ByteString getDisplayAdsSimilarIdsBytes(int index)

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the displayAdsSimilarIds at the given index.

getDisplayAdsSimilarIdsCount()

public int getDisplayAdsSimilarIdsCount()

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Returns
Type Description
int

The count of displayAdsSimilarIds.

getDisplayAdsSimilarIdsList()

public ProtocolStringList getDisplayAdsSimilarIdsList()

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Returns
Type Description
ProtocolStringList

A list containing the displayAdsSimilarIds.

getDisplayAdsTitle()

public String getDisplayAdsTitle()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
String

The displayAdsTitle.

getDisplayAdsTitleBytes()

public ByteString getDisplayAdsTitleBytes()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
ByteString

The bytes for displayAdsTitle.

getDisplayAdsValue()

public double getDisplayAdsValue()

Offer margin for dynamic remarketing campaigns.

optional double display_ads_value = 69;

Returns
Type Description
double

The displayAdsValue.

getEnergyEfficiencyClass()

public String getEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string energy_efficiency_class = 53;

Returns
Type Description
String

The energyEfficiencyClass.

getEnergyEfficiencyClassBytes()

public ByteString getEnergyEfficiencyClassBytes()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string energy_efficiency_class = 53;

Returns
Type Description
ByteString

The bytes for energyEfficiencyClass.

getExcludedDestinations(int index)

public String getExcludedDestinations(int index)

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedDestinations at the given index.

getExcludedDestinationsBytes(int index)

public ByteString getExcludedDestinationsBytes(int index)

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedDestinations at the given index.

getExcludedDestinationsCount()

public int getExcludedDestinationsCount()

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Returns
Type Description
int

The count of excludedDestinations.

getExcludedDestinationsList()

public ProtocolStringList getExcludedDestinationsList()

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Returns
Type Description
ProtocolStringList

A list containing the excludedDestinations.

getExpirationDate()

public Timestamp getExpirationDate()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
Timestamp

The expirationDate.

getExpirationDateBuilder()

public Timestamp.Builder getExpirationDateBuilder()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
Builder

getExpirationDateOrBuilder()

public TimestampOrBuilder getExpirationDateOrBuilder()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
TimestampOrBuilder

getExternalSellerId()

public String getExternalSellerId()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
String

The externalSellerId.

getExternalSellerIdBytes()

public ByteString getExternalSellerIdBytes()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
ByteString

The bytes for externalSellerId.

getFreeShippingThreshold(int index)

public FreeShippingThreshold getFreeShippingThreshold(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
FreeShippingThreshold

getFreeShippingThresholdBuilder(int index)

public FreeShippingThreshold.Builder getFreeShippingThresholdBuilder(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
FreeShippingThreshold.Builder

getFreeShippingThresholdBuilderList()

public List<FreeShippingThreshold.Builder> getFreeShippingThresholdBuilderList()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
List<Builder>

getFreeShippingThresholdCount()

public int getFreeShippingThresholdCount()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
int

getFreeShippingThresholdList()

public List<FreeShippingThreshold> getFreeShippingThresholdList()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
List<FreeShippingThreshold>

getFreeShippingThresholdOrBuilder(int index)

public FreeShippingThresholdOrBuilder getFreeShippingThresholdOrBuilder(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
FreeShippingThresholdOrBuilder

getFreeShippingThresholdOrBuilderList()

public List<? extends FreeShippingThresholdOrBuilder> getFreeShippingThresholdOrBuilderList()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.FreeShippingThresholdOrBuilder>

getGender()

public String getGender()

Target gender of the item.

optional string gender = 24;

Returns
Type Description
String

The gender.

getGenderBytes()

public ByteString getGenderBytes()

Target gender of the item.

optional string gender = 24;

Returns
Type Description
ByteString

The bytes for gender.

getGoogleProductCategory()

public String getGoogleProductCategory()

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

optional string google_product_category = 25;

Returns
Type Description
String

The googleProductCategory.

getGoogleProductCategoryBytes()

public ByteString getGoogleProductCategoryBytes()

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

optional string google_product_category = 25;

Returns
Type Description
ByteString

The bytes for googleProductCategory.

getGtin()

public String getGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 26;

Returns
Type Description
String

The gtin.

getGtinBytes()

public ByteString getGtinBytes()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 26;

Returns
Type Description
ByteString

The bytes for gtin.

getIdentifierExists()

public boolean getIdentifierExists()

Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.

optional bool identifier_exists = 4;

Returns
Type Description
boolean

The identifierExists.

public String getImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
String

The imageLink.

getImageLinkBytes()

public ByteString getImageLinkBytes()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
ByteString

The bytes for imageLink.

getIncludedDestinations(int index)

public String getIncludedDestinations(int index)

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includedDestinations at the given index.

getIncludedDestinationsBytes(int index)

public ByteString getIncludedDestinationsBytes(int index)

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the includedDestinations at the given index.

getIncludedDestinationsCount()

public int getIncludedDestinationsCount()

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Returns
Type Description
int

The count of includedDestinations.

getIncludedDestinationsList()

public ProtocolStringList getIncludedDestinationsList()

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Returns
Type Description
ProtocolStringList

A list containing the includedDestinations.

getInstallment()

public Installment getInstallment()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Returns
Type Description
Installment

The installment.

getInstallmentBuilder()

public Installment.Builder getInstallmentBuilder()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Returns
Type Description
Installment.Builder

getInstallmentOrBuilder()

public InstallmentOrBuilder getInstallmentOrBuilder()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Returns
Type Description
InstallmentOrBuilder

getIsBundle()

public boolean getIsBundle()

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

optional bool is_bundle = 5;

Returns
Type Description
boolean

The isBundle.

getItemGroupId()

public String getItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Returns
Type Description
String

The itemGroupId.

getItemGroupIdBytes()

public ByteString getItemGroupIdBytes()

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Returns
Type Description
ByteString

The bytes for itemGroupId.

public String getLifestyleImageLinks(int index)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The lifestyleImageLinks at the given index.

getLifestyleImageLinksBytes(int index)

public ByteString getLifestyleImageLinksBytes(int index)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the lifestyleImageLinks at the given index.

getLifestyleImageLinksCount()

public int getLifestyleImageLinksCount()

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Returns
Type Description
int

The count of lifestyleImageLinks.

public ProtocolStringList getLifestyleImageLinksList()

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Returns
Type Description
ProtocolStringList

A list containing the lifestyleImageLinks.

public String getLink()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
String

The link.

getLinkBytes()

public ByteString getLinkBytes()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
ByteString

The bytes for link.

getLinkTemplate()

public String getLinkTemplate()

Link template for merchant hosted local storefront.

optional string link_template = 82;

Returns
Type Description
String

The linkTemplate.

getLinkTemplateBytes()

public ByteString getLinkTemplateBytes()

Link template for merchant hosted local storefront.

optional string link_template = 82;

Returns
Type Description
ByteString

The bytes for linkTemplate.

getLoyaltyPoints()

public LoyaltyPoints getLoyaltyPoints()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
LoyaltyPoints

The loyaltyPoints.

getLoyaltyPointsBuilder()

public LoyaltyPoints.Builder getLoyaltyPointsBuilder()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
LoyaltyPoints.Builder

getLoyaltyPointsOrBuilder()

public LoyaltyPointsOrBuilder getLoyaltyPointsOrBuilder()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
LoyaltyPointsOrBuilder

getLoyaltyPrograms(int index)

public LoyaltyProgram getLoyaltyPrograms(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
LoyaltyProgram

getLoyaltyProgramsBuilder(int index)

public LoyaltyProgram.Builder getLoyaltyProgramsBuilder(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
LoyaltyProgram.Builder

getLoyaltyProgramsBuilderList()

public List<LoyaltyProgram.Builder> getLoyaltyProgramsBuilderList()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
List<Builder>

getLoyaltyProgramsCount()

public int getLoyaltyProgramsCount()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
int

getLoyaltyProgramsList()

public List<LoyaltyProgram> getLoyaltyProgramsList()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
List<LoyaltyProgram>

getLoyaltyProgramsOrBuilder(int index)

public LoyaltyProgramOrBuilder getLoyaltyProgramsOrBuilder(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
LoyaltyProgramOrBuilder

getLoyaltyProgramsOrBuilderList()

public List<? extends LoyaltyProgramOrBuilder> getLoyaltyProgramsOrBuilderList()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.LoyaltyProgramOrBuilder>

getMaterial()

public String getMaterial()

The material of which the item is made.

optional string material = 28;

Returns
Type Description
String

The material.

getMaterialBytes()

public ByteString getMaterialBytes()

The material of which the item is made.

optional string material = 28;

Returns
Type Description
ByteString

The bytes for material.

getMaxEnergyEfficiencyClass()

public String getMaxEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string max_energy_efficiency_class = 55;

Returns
Type Description
String

The maxEnergyEfficiencyClass.

getMaxEnergyEfficiencyClassBytes()

public ByteString getMaxEnergyEfficiencyClassBytes()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string max_energy_efficiency_class = 55;

Returns
Type Description
ByteString

The bytes for maxEnergyEfficiencyClass.

getMaxHandlingTime()

public long getMaxHandlingTime()

Maximal product handling time (in business days).

optional int64 max_handling_time = 44;

Returns
Type Description
long

The maxHandlingTime.

getMinEnergyEfficiencyClass()

public String getMinEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string min_energy_efficiency_class = 54;

Returns
Type Description
String

The minEnergyEfficiencyClass.

getMinEnergyEfficiencyClassBytes()

public ByteString getMinEnergyEfficiencyClassBytes()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string min_energy_efficiency_class = 54;

Returns
Type Description
ByteString

The bytes for minEnergyEfficiencyClass.

getMinHandlingTime()

public long getMinHandlingTime()

Minimal product handling time (in business days).

optional int64 min_handling_time = 45;

Returns
Type Description
long

The minHandlingTime.

public String getMobileLink()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
String

The mobileLink.

getMobileLinkBytes()

public ByteString getMobileLinkBytes()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
ByteString

The bytes for mobileLink.

getMobileLinkTemplate()

public String getMobileLinkTemplate()

Link template for merchant hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
String

The mobileLinkTemplate.

getMobileLinkTemplateBytes()

public ByteString getMobileLinkTemplateBytes()

Link template for merchant hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
ByteString

The bytes for mobileLinkTemplate.

getMpn()

public String getMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
String

The mpn.

getMpnBytes()

public ByteString getMpnBytes()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
ByteString

The bytes for mpn.

getMultipack()

public long getMultipack()

The number of identical products in a merchant-defined multipack.

optional int64 multipack = 58;

Returns
Type Description
long

The multipack.

getPattern()

public String getPattern()

The item's pattern (for example, polka dots).

optional string pattern = 30;

Returns
Type Description
String

The pattern.

getPatternBytes()

public ByteString getPatternBytes()

The item's pattern (for example, polka dots).

optional string pattern = 30;

Returns
Type Description
ByteString

The bytes for pattern.

getPause()

public String getPause()

Publication of this item will be temporarily paused.

optional string pause = 13;

Returns
Type Description
String

The pause.

getPauseBytes()

public ByteString getPauseBytes()

Publication of this item will be temporarily paused.

optional string pause = 13;

Returns
Type Description
ByteString

The bytes for pause.

getPickupMethod()

public String getPickupMethod()

The pick up option for the item.

optional string pickup_method = 80;

Returns
Type Description
String

The pickupMethod.

getPickupMethodBytes()

public ByteString getPickupMethodBytes()

The pick up option for the item.

optional string pickup_method = 80;

Returns
Type Description
ByteString

The bytes for pickupMethod.

getPickupSla()

public String getPickupSla()

Item store pickup timeline.

optional string pickup_sla = 81;

Returns
Type Description
String

The pickupSla.

getPickupSlaBytes()

public ByteString getPickupSlaBytes()

Item store pickup timeline.

optional string pickup_sla = 81;

Returns
Type Description
ByteString

The bytes for pickupSla.

getPrice()

public Price getPrice()

Price of the item.

.google.shopping.type.Price price = 31;

Returns
Type Description
com.google.shopping.type.Price

The price.

getPriceBuilder()

public Price.Builder getPriceBuilder()

Price of the item.

.google.shopping.type.Price price = 31;

Returns
Type Description
com.google.shopping.type.Price.Builder

getPriceOrBuilder()

public PriceOrBuilder getPriceOrBuilder()

Price of the item.

.google.shopping.type.Price price = 31;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getProductDetails(int index)

public ProductDetail getProductDetails(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
ProductDetail

getProductDetailsBuilder(int index)

public ProductDetail.Builder getProductDetailsBuilder(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
ProductDetail.Builder

getProductDetailsBuilderList()

public List<ProductDetail.Builder> getProductDetailsBuilderList()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Returns
Type Description
List<Builder>

getProductDetailsCount()

public int getProductDetailsCount()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Returns
Type Description
int

getProductDetailsList()

public List<ProductDetail> getProductDetailsList()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Returns
Type Description
List<ProductDetail>

getProductDetailsOrBuilder(int index)

public ProductDetailOrBuilder getProductDetailsOrBuilder(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
ProductDetailOrBuilder

getProductDetailsOrBuilderList()

public List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.ProductDetailOrBuilder>

getProductHeight()

public ProductDimension getProductHeight()

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Returns
Type Description
ProductDimension

The productHeight.

getProductHeightBuilder()

public ProductDimension.Builder getProductHeightBuilder()

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Returns
Type Description
ProductDimension.Builder

getProductHeightOrBuilder()

public ProductDimensionOrBuilder getProductHeightOrBuilder()

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Returns
Type Description
ProductDimensionOrBuilder

getProductHighlights(int index)

public String getProductHighlights(int index)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The productHighlights at the given index.

getProductHighlightsBytes(int index)

public ByteString getProductHighlightsBytes(int index)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the productHighlights at the given index.

getProductHighlightsCount()

public int getProductHighlightsCount()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Returns
Type Description
int

The count of productHighlights.

getProductHighlightsList()

public ProtocolStringList getProductHighlightsList()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Returns
Type Description
ProtocolStringList

A list containing the productHighlights.

getProductLength()

public ProductDimension getProductLength()

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Returns
Type Description
ProductDimension

The productLength.

getProductLengthBuilder()

public ProductDimension.Builder getProductLengthBuilder()

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Returns
Type Description
ProductDimension.Builder

getProductLengthOrBuilder()

public ProductDimensionOrBuilder getProductLengthOrBuilder()

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Returns
Type Description
ProductDimensionOrBuilder

getProductTypes(int index)

public String getProductTypes(int index)

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The productTypes at the given index.

getProductTypesBytes(int index)

public ByteString getProductTypesBytes(int index)

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the productTypes at the given index.

getProductTypesCount()

public int getProductTypesCount()

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Returns
Type Description
int

The count of productTypes.

getProductTypesList()

public ProtocolStringList getProductTypesList()

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Returns
Type Description
ProtocolStringList

A list containing the productTypes.

getProductWeight()

public ProductWeight getProductWeight()

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Returns
Type Description
ProductWeight

The productWeight.

getProductWeightBuilder()

public ProductWeight.Builder getProductWeightBuilder()

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Returns
Type Description
ProductWeight.Builder

getProductWeightOrBuilder()

public ProductWeightOrBuilder getProductWeightOrBuilder()

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Returns
Type Description
ProductWeightOrBuilder

getProductWidth()

public ProductDimension getProductWidth()

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Returns
Type Description
ProductDimension

The productWidth.

getProductWidthBuilder()

public ProductDimension.Builder getProductWidthBuilder()

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Returns
Type Description
ProductDimension.Builder

getProductWidthOrBuilder()

public ProductDimensionOrBuilder getProductWidthOrBuilder()

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Returns
Type Description
ProductDimensionOrBuilder

getPromotionIds(int index)

public String getPromotionIds(int index)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The promotionIds at the given index.

getPromotionIdsBytes(int index)

public ByteString getPromotionIdsBytes(int index)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the promotionIds at the given index.

getPromotionIdsCount()

public int getPromotionIdsCount()

The unique ID of a promotion.

repeated string promotion_ids = 70;

Returns
Type Description
int

The count of promotionIds.

getPromotionIdsList()

public ProtocolStringList getPromotionIdsList()

The unique ID of a promotion.

repeated string promotion_ids = 70;

Returns
Type Description
ProtocolStringList

A list containing the promotionIds.

getSalePrice()

public Price getSalePrice()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Returns
Type Description
com.google.shopping.type.Price

The salePrice.

getSalePriceBuilder()

public Price.Builder getSalePriceBuilder()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Returns
Type Description
com.google.shopping.type.Price.Builder

getSalePriceEffectiveDate()

public Interval getSalePriceEffectiveDate()

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
com.google.type.Interval

The salePriceEffectiveDate.

getSalePriceEffectiveDateBuilder()

public Interval.Builder getSalePriceEffectiveDateBuilder()

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
com.google.type.Interval.Builder

getSalePriceEffectiveDateOrBuilder()

public IntervalOrBuilder getSalePriceEffectiveDateOrBuilder()

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
com.google.type.IntervalOrBuilder

getSalePriceOrBuilder()

public PriceOrBuilder getSalePriceOrBuilder()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getSellOnGoogleQuantity()

public long getSellOnGoogleQuantity()

The quantity of the product that is available for selling on Google. Supported only for online products.

optional int64 sell_on_google_quantity = 38;

Returns
Type Description
long

The sellOnGoogleQuantity.

getShipping(int index)

public Shipping getShipping(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
Shipping

getShippingBuilder(int index)

public Shipping.Builder getShippingBuilder(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
Shipping.Builder

getShippingBuilderList()

public List<Shipping.Builder> getShippingBuilderList()

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Returns
Type Description
List<Builder>

getShippingCount()

public int getShippingCount()

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Returns
Type Description
int

getShippingHeight()

public ShippingDimension getShippingHeight()

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Returns
Type Description
ShippingDimension

The shippingHeight.

getShippingHeightBuilder()

public ShippingDimension.Builder getShippingHeightBuilder()

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Returns
Type Description
ShippingDimension.Builder

getShippingHeightOrBuilder()

public ShippingDimensionOrBuilder getShippingHeightOrBuilder()

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Returns
Type Description
ShippingDimensionOrBuilder

getShippingLabel()

public String getShippingLabel()

The shipping label of the product, used to group product in account-level shipping rules.

optional string shipping_label = 46;

Returns
Type Description
String

The shippingLabel.

getShippingLabelBytes()

public ByteString getShippingLabelBytes()

The shipping label of the product, used to group product in account-level shipping rules.

optional string shipping_label = 46;

Returns
Type Description
ByteString

The bytes for shippingLabel.

getShippingLength()

public ShippingDimension getShippingLength()

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Returns
Type Description
ShippingDimension

The shippingLength.

getShippingLengthBuilder()

public ShippingDimension.Builder getShippingLengthBuilder()

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Returns
Type Description
ShippingDimension.Builder

getShippingLengthOrBuilder()

public ShippingDimensionOrBuilder getShippingLengthOrBuilder()

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Returns
Type Description
ShippingDimensionOrBuilder

getShippingList()

public List<Shipping> getShippingList()

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Returns
Type Description
List<Shipping>

getShippingOrBuilder(int index)

public ShippingOrBuilder getShippingOrBuilder(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
ShippingOrBuilder

getShippingOrBuilderList()

public List<? extends ShippingOrBuilder> getShippingOrBuilderList()

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.ShippingOrBuilder>

getShippingWeight()

public ShippingWeight getShippingWeight()

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Returns
Type Description
ShippingWeight

The shippingWeight.

getShippingWeightBuilder()

public ShippingWeight.Builder getShippingWeightBuilder()

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Returns
Type Description
ShippingWeight.Builder

getShippingWeightOrBuilder()

public ShippingWeightOrBuilder getShippingWeightOrBuilder()

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Returns
Type Description
ShippingWeightOrBuilder

getShippingWidth()

public ShippingDimension getShippingWidth()

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Returns
Type Description
ShippingDimension

The shippingWidth.

getShippingWidthBuilder()

public ShippingDimension.Builder getShippingWidthBuilder()

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Returns
Type Description
ShippingDimension.Builder

getShippingWidthOrBuilder()

public ShippingDimensionOrBuilder getShippingWidthOrBuilder()

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Returns
Type Description
ShippingDimensionOrBuilder

getShoppingAdsExcludedCountries(int index)

public String getShoppingAdsExcludedCountries(int index)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The shoppingAdsExcludedCountries at the given index.

getShoppingAdsExcludedCountriesBytes(int index)

public ByteString getShoppingAdsExcludedCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the shoppingAdsExcludedCountries at the given index.

getShoppingAdsExcludedCountriesCount()

public int getShoppingAdsExcludedCountriesCount()

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Returns
Type Description
int

The count of shoppingAdsExcludedCountries.

getShoppingAdsExcludedCountriesList()

public ProtocolStringList getShoppingAdsExcludedCountriesList()

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Returns
Type Description
ProtocolStringList

A list containing the shoppingAdsExcludedCountries.

getSize()

public String getSize()

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see https://support.google.com/merchants/answer/6324492).

optional string size = 48;

Returns
Type Description
String

The size.

getSizeBytes()

public ByteString getSizeBytes()

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see https://support.google.com/merchants/answer/6324492).

optional string size = 48;

Returns
Type Description
ByteString

The bytes for size.

getSizeSystem()

public String getSizeSystem()

System in which the size is specified. Recommended for apparel items.

optional string size_system = 49;

Returns
Type Description
String

The sizeSystem.

getSizeSystemBytes()

public ByteString getSizeSystemBytes()

System in which the size is specified. Recommended for apparel items.

optional string size_system = 49;

Returns
Type Description
ByteString

The bytes for sizeSystem.

getSizeTypes(int index)

public String getSizeTypes(int index)

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sizeTypes at the given index.

getSizeTypesBytes(int index)

public ByteString getSizeTypesBytes(int index)

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sizeTypes at the given index.

getSizeTypesCount()

public int getSizeTypesCount()

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Returns
Type Description
int

The count of sizeTypes.

getSizeTypesList()

public ProtocolStringList getSizeTypesList()

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Returns
Type Description
ProtocolStringList

A list containing the sizeTypes.

getStructuredDescription()

public ProductStructuredDescription getStructuredDescription()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Returns
Type Description
ProductStructuredDescription

The structuredDescription.

getStructuredDescriptionBuilder()

public ProductStructuredDescription.Builder getStructuredDescriptionBuilder()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Returns
Type Description
ProductStructuredDescription.Builder

getStructuredDescriptionOrBuilder()

public ProductStructuredDescriptionOrBuilder getStructuredDescriptionOrBuilder()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Returns
Type Description
ProductStructuredDescriptionOrBuilder

getStructuredTitle()

public ProductStructuredTitle getStructuredTitle()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Returns
Type Description
ProductStructuredTitle

The structuredTitle.

getStructuredTitleBuilder()

public ProductStructuredTitle.Builder getStructuredTitleBuilder()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Returns
Type Description
ProductStructuredTitle.Builder

getStructuredTitleOrBuilder()

public ProductStructuredTitleOrBuilder getStructuredTitleOrBuilder()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Returns
Type Description
ProductStructuredTitleOrBuilder

getSubscriptionCost()

public SubscriptionCost getSubscriptionCost()

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Returns
Type Description
SubscriptionCost

The subscriptionCost.

getSubscriptionCostBuilder()

public SubscriptionCost.Builder getSubscriptionCostBuilder()

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Returns
Type Description
SubscriptionCost.Builder

getSubscriptionCostOrBuilder()

public SubscriptionCostOrBuilder getSubscriptionCostOrBuilder()

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Returns
Type Description
SubscriptionCostOrBuilder

getTaxCategory()

public String getTaxCategory()

The tax category of the product, used to configure detailed tax nexus in account-level tax settings.

optional string tax_category = 52;

Returns
Type Description
String

The taxCategory.

getTaxCategoryBytes()

public ByteString getTaxCategoryBytes()

The tax category of the product, used to configure detailed tax nexus in account-level tax settings.

optional string tax_category = 52;

Returns
Type Description
ByteString

The bytes for taxCategory.

getTaxes(int index)

public Tax getTaxes(int index)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
index int
Returns
Type Description
Tax

getTaxesBuilder(int index)

public Tax.Builder getTaxesBuilder(int index)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
index int
Returns
Type Description
Tax.Builder

getTaxesBuilderList()

public List<Tax.Builder> getTaxesBuilderList()

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Returns
Type Description
List<Builder>

getTaxesCount()

public int getTaxesCount()

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Returns
Type Description
int

getTaxesList()

public List<Tax> getTaxesList()

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Returns
Type Description
List<Tax>

getTaxesOrBuilder(int index)

public TaxOrBuilder getTaxesOrBuilder(int index)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
index int
Returns
Type Description
TaxOrBuilder

getTaxesOrBuilderList()

public List<? extends TaxOrBuilder> getTaxesOrBuilderList()

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.TaxOrBuilder>

getTitle()

public String getTitle()

Title of the item.

optional string title = 6;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Title of the item.

optional string title = 6;

Returns
Type Description
ByteString

The bytes for title.

getTransitTimeLabel()

public String getTransitTimeLabel()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
String

The transitTimeLabel.

getTransitTimeLabelBytes()

public ByteString getTransitTimeLabelBytes()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
ByteString

The bytes for transitTimeLabel.

getUnitPricingBaseMeasure()

public UnitPricingBaseMeasure getUnitPricingBaseMeasure()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
UnitPricingBaseMeasure

The unitPricingBaseMeasure.

getUnitPricingBaseMeasureBuilder()

public UnitPricingBaseMeasure.Builder getUnitPricingBaseMeasureBuilder()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
UnitPricingBaseMeasure.Builder

getUnitPricingBaseMeasureOrBuilder()

public UnitPricingBaseMeasureOrBuilder getUnitPricingBaseMeasureOrBuilder()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
UnitPricingBaseMeasureOrBuilder

getUnitPricingMeasure()

public UnitPricingMeasure getUnitPricingMeasure()

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
UnitPricingMeasure

The unitPricingMeasure.

getUnitPricingMeasureBuilder()

public UnitPricingMeasure.Builder getUnitPricingMeasureBuilder()

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
UnitPricingMeasure.Builder

getUnitPricingMeasureOrBuilder()

public UnitPricingMeasureOrBuilder getUnitPricingMeasureOrBuilder()

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
UnitPricingMeasureOrBuilder
public String getVirtualModelLink()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
String

The virtualModelLink.

getVirtualModelLinkBytes()

public ByteString getVirtualModelLinkBytes()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
ByteString

The bytes for virtualModelLink.

hasAdsGrouping()

public boolean hasAdsGrouping()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

optional string ads_grouping = 59;

Returns
Type Description
boolean

Whether the adsGrouping field is set.

hasAdsRedirect()

public boolean hasAdsRedirect()

Allows advertisers to override the item URL when the product is shown within the context of Product ads.

optional string ads_redirect = 61;

Returns
Type Description
boolean

Whether the adsRedirect field is set.

hasAdult()

public boolean hasAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 17;

Returns
Type Description
boolean

Whether the adult field is set.

hasAgeGroup()

public boolean hasAgeGroup()

Target age group of the item.

optional string age_group = 18;

Returns
Type Description
boolean

Whether the ageGroup field is set.

hasAutoPricingMinPrice()

public boolean hasAutoPricingMinPrice()

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Returns
Type Description
boolean

Whether the autoPricingMinPrice field is set.

hasAvailability()

public boolean hasAvailability()

Availability status of the item.

optional string availability = 19;

Returns
Type Description
boolean

Whether the availability field is set.

hasAvailabilityDate()

public boolean hasAvailabilityDate()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
boolean

Whether the availabilityDate field is set.

hasBrand()

public boolean hasBrand()

Brand of the item.

optional string brand = 21;

Returns
Type Description
boolean

Whether the brand field is set.

public boolean hasCanonicalLink()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
boolean

Whether the canonicalLink field is set.

hasColor()

public boolean hasColor()

Color of the item.

optional string color = 22;

Returns
Type Description
boolean

Whether the color field is set.

hasCondition()

public boolean hasCondition()

Condition or state of the item.

optional string condition = 23;

Returns
Type Description
boolean

Whether the condition field is set.

hasCostOfGoodsSold()

public boolean hasCostOfGoodsSold()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Returns
Type Description
boolean

Whether the costOfGoodsSold field is set.

hasCustomLabel0()

public boolean hasCustomLabel0()

Custom label 0 for custom grouping of items in a Shopping campaign.

optional string custom_label_0 = 71;

Returns
Type Description
boolean

Whether the customLabel0 field is set.

hasCustomLabel1()

public boolean hasCustomLabel1()

Custom label 1 for custom grouping of items in a Shopping campaign.

optional string custom_label_1 = 72;

Returns
Type Description
boolean

Whether the customLabel1 field is set.

hasCustomLabel2()

public boolean hasCustomLabel2()

Custom label 2 for custom grouping of items in a Shopping campaign.

optional string custom_label_2 = 73;

Returns
Type Description
boolean

Whether the customLabel2 field is set.

hasCustomLabel3()

public boolean hasCustomLabel3()

Custom label 3 for custom grouping of items in a Shopping campaign.

optional string custom_label_3 = 74;

Returns
Type Description
boolean

Whether the customLabel3 field is set.

hasCustomLabel4()

public boolean hasCustomLabel4()

Custom label 4 for custom grouping of items in a Shopping campaign.

optional string custom_label_4 = 75;

Returns
Type Description
boolean

Whether the customLabel4 field is set.

hasDescription()

public boolean hasDescription()

Description of the item.

optional string description = 7;

Returns
Type Description
boolean

Whether the description field is set.

hasDisclosureDate()

public boolean hasDisclosureDate()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
boolean

Whether the disclosureDate field is set.

hasDisplayAdsId()

public boolean hasDisplayAdsId()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
boolean

Whether the displayAdsId field is set.

public boolean hasDisplayAdsLink()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
boolean

Whether the displayAdsLink field is set.

hasDisplayAdsTitle()

public boolean hasDisplayAdsTitle()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
boolean

Whether the displayAdsTitle field is set.

hasDisplayAdsValue()

public boolean hasDisplayAdsValue()

Offer margin for dynamic remarketing campaigns.

optional double display_ads_value = 69;

Returns
Type Description
boolean

Whether the displayAdsValue field is set.

hasEnergyEfficiencyClass()

public boolean hasEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string energy_efficiency_class = 53;

Returns
Type Description
boolean

Whether the energyEfficiencyClass field is set.

hasExpirationDate()

public boolean hasExpirationDate()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
boolean

Whether the expirationDate field is set.

hasExternalSellerId()

public boolean hasExternalSellerId()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
boolean

Whether the externalSellerId field is set.

hasGender()

public boolean hasGender()

Target gender of the item.

optional string gender = 24;

Returns
Type Description
boolean

Whether the gender field is set.

hasGoogleProductCategory()

public boolean hasGoogleProductCategory()

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

optional string google_product_category = 25;

Returns
Type Description
boolean

Whether the googleProductCategory field is set.

hasGtin()

public boolean hasGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 26;

Returns
Type Description
boolean

Whether the gtin field is set.

hasIdentifierExists()

public boolean hasIdentifierExists()

Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.

optional bool identifier_exists = 4;

Returns
Type Description
boolean

Whether the identifierExists field is set.

public boolean hasImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
boolean

Whether the imageLink field is set.

hasInstallment()

public boolean hasInstallment()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Returns
Type Description
boolean

Whether the installment field is set.

hasIsBundle()

public boolean hasIsBundle()

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

optional bool is_bundle = 5;

Returns
Type Description
boolean

Whether the isBundle field is set.

hasItemGroupId()

public boolean hasItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Returns
Type Description
boolean

Whether the itemGroupId field is set.

public boolean hasLink()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
boolean

Whether the link field is set.

hasLinkTemplate()

public boolean hasLinkTemplate()

Link template for merchant hosted local storefront.

optional string link_template = 82;

Returns
Type Description
boolean

Whether the linkTemplate field is set.

hasLoyaltyPoints()

public boolean hasLoyaltyPoints()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
boolean

Whether the loyaltyPoints field is set.

hasMaterial()

public boolean hasMaterial()

The material of which the item is made.

optional string material = 28;

Returns
Type Description
boolean

Whether the material field is set.

hasMaxEnergyEfficiencyClass()

public boolean hasMaxEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string max_energy_efficiency_class = 55;

Returns
Type Description
boolean

Whether the maxEnergyEfficiencyClass field is set.

hasMaxHandlingTime()

public boolean hasMaxHandlingTime()

Maximal product handling time (in business days).

optional int64 max_handling_time = 44;

Returns
Type Description
boolean

Whether the maxHandlingTime field is set.

hasMinEnergyEfficiencyClass()

public boolean hasMinEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string min_energy_efficiency_class = 54;

Returns
Type Description
boolean

Whether the minEnergyEfficiencyClass field is set.

hasMinHandlingTime()

public boolean hasMinHandlingTime()

Minimal product handling time (in business days).

optional int64 min_handling_time = 45;

Returns
Type Description
boolean

Whether the minHandlingTime field is set.

public boolean hasMobileLink()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
boolean

Whether the mobileLink field is set.

hasMobileLinkTemplate()

public boolean hasMobileLinkTemplate()

Link template for merchant hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
boolean

Whether the mobileLinkTemplate field is set.

hasMpn()

public boolean hasMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
boolean

Whether the mpn field is set.

hasMultipack()

public boolean hasMultipack()

The number of identical products in a merchant-defined multipack.

optional int64 multipack = 58;

Returns
Type Description
boolean

Whether the multipack field is set.

hasPattern()

public boolean hasPattern()

The item's pattern (for example, polka dots).

optional string pattern = 30;

Returns
Type Description
boolean

Whether the pattern field is set.

hasPause()

public boolean hasPause()

Publication of this item will be temporarily paused.

optional string pause = 13;

Returns
Type Description
boolean

Whether the pause field is set.

hasPickupMethod()

public boolean hasPickupMethod()

The pick up option for the item.

optional string pickup_method = 80;

Returns
Type Description
boolean

Whether the pickupMethod field is set.

hasPickupSla()

public boolean hasPickupSla()

Item store pickup timeline.

optional string pickup_sla = 81;

Returns
Type Description
boolean

Whether the pickupSla field is set.

hasPrice()

public boolean hasPrice()

Price of the item.

.google.shopping.type.Price price = 31;

Returns
Type Description
boolean

Whether the price field is set.

hasProductHeight()

public boolean hasProductHeight()

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Returns
Type Description
boolean

Whether the productHeight field is set.

hasProductLength()

public boolean hasProductLength()

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Returns
Type Description
boolean

Whether the productLength field is set.

hasProductWeight()

public boolean hasProductWeight()

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Returns
Type Description
boolean

Whether the productWeight field is set.

hasProductWidth()

public boolean hasProductWidth()

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Returns
Type Description
boolean

Whether the productWidth field is set.

hasSalePrice()

public boolean hasSalePrice()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Returns
Type Description
boolean

Whether the salePrice field is set.

hasSalePriceEffectiveDate()

public boolean hasSalePriceEffectiveDate()

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
boolean

Whether the salePriceEffectiveDate field is set.

hasSellOnGoogleQuantity()

public boolean hasSellOnGoogleQuantity()

The quantity of the product that is available for selling on Google. Supported only for online products.

optional int64 sell_on_google_quantity = 38;

Returns
Type Description
boolean

Whether the sellOnGoogleQuantity field is set.

hasShippingHeight()

public boolean hasShippingHeight()

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Returns
Type Description
boolean

Whether the shippingHeight field is set.

hasShippingLabel()

public boolean hasShippingLabel()

The shipping label of the product, used to group product in account-level shipping rules.

optional string shipping_label = 46;

Returns
Type Description
boolean

Whether the shippingLabel field is set.

hasShippingLength()

public boolean hasShippingLength()

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Returns
Type Description
boolean

Whether the shippingLength field is set.

hasShippingWeight()

public boolean hasShippingWeight()

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Returns
Type Description
boolean

Whether the shippingWeight field is set.

hasShippingWidth()

public boolean hasShippingWidth()

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Returns
Type Description
boolean

Whether the shippingWidth field is set.

hasSize()

public boolean hasSize()

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see https://support.google.com/merchants/answer/6324492).

optional string size = 48;

Returns
Type Description
boolean

Whether the size field is set.

hasSizeSystem()

public boolean hasSizeSystem()

System in which the size is specified. Recommended for apparel items.

optional string size_system = 49;

Returns
Type Description
boolean

Whether the sizeSystem field is set.

hasStructuredDescription()

public boolean hasStructuredDescription()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Returns
Type Description
boolean

Whether the structuredDescription field is set.

hasStructuredTitle()

public boolean hasStructuredTitle()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Returns
Type Description
boolean

Whether the structuredTitle field is set.

hasSubscriptionCost()

public boolean hasSubscriptionCost()

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Returns
Type Description
boolean

Whether the subscriptionCost field is set.

hasTaxCategory()

public boolean hasTaxCategory()

The tax category of the product, used to configure detailed tax nexus in account-level tax settings.

optional string tax_category = 52;

Returns
Type Description
boolean

Whether the taxCategory field is set.

hasTitle()

public boolean hasTitle()

Title of the item.

optional string title = 6;

Returns
Type Description
boolean

Whether the title field is set.

hasTransitTimeLabel()

public boolean hasTransitTimeLabel()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
boolean

Whether the transitTimeLabel field is set.

hasUnitPricingBaseMeasure()

public boolean hasUnitPricingBaseMeasure()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
boolean

Whether the unitPricingBaseMeasure field is set.

hasUnitPricingMeasure()

public boolean hasUnitPricingMeasure()

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
boolean

Whether the unitPricingMeasure field is set.

public boolean hasVirtualModelLink()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
boolean

Whether the virtualModelLink field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutoPricingMinPrice(Price value)

public Attributes.Builder mergeAutoPricingMinPrice(Price value)

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

mergeAvailabilityDate(Timestamp value)

public Attributes.Builder mergeAvailabilityDate(Timestamp value)

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

mergeCostOfGoodsSold(Price value)

public Attributes.Builder mergeCostOfGoodsSold(Price value)

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

mergeDisclosureDate(Timestamp value)

public Attributes.Builder mergeDisclosureDate(Timestamp value)

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

mergeExpirationDate(Timestamp value)

public Attributes.Builder mergeExpirationDate(Timestamp value)

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Attributes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attributes.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Attributes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Attributes.Builder
Overrides

mergeFrom(Attributes other)

public Attributes.Builder mergeFrom(Attributes other)
Parameter
Name Description
other Attributes
Returns
Type Description
Attributes.Builder

mergeInstallment(Installment value)

public Attributes.Builder mergeInstallment(Installment value)

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Parameter
Name Description
value Installment
Returns
Type Description
Attributes.Builder

mergeLoyaltyPoints(LoyaltyPoints value)

public Attributes.Builder mergeLoyaltyPoints(LoyaltyPoints value)

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Parameter
Name Description
value LoyaltyPoints
Returns
Type Description
Attributes.Builder

mergePrice(Price value)

public Attributes.Builder mergePrice(Price value)

Price of the item.

.google.shopping.type.Price price = 31;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

mergeProductHeight(ProductDimension value)

public Attributes.Builder mergeProductHeight(ProductDimension value)

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

mergeProductLength(ProductDimension value)

public Attributes.Builder mergeProductLength(ProductDimension value)

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

mergeProductWeight(ProductWeight value)

public Attributes.Builder mergeProductWeight(ProductWeight value)

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Parameter
Name Description
value ProductWeight
Returns
Type Description
Attributes.Builder

mergeProductWidth(ProductDimension value)

public Attributes.Builder mergeProductWidth(ProductDimension value)

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

mergeSalePrice(Price value)

public Attributes.Builder mergeSalePrice(Price value)

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

mergeSalePriceEffectiveDate(Interval value)

public Attributes.Builder mergeSalePriceEffectiveDate(Interval value)

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
Attributes.Builder

mergeShippingHeight(ShippingDimension value)

public Attributes.Builder mergeShippingHeight(ShippingDimension value)

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Parameter
Name Description
value ShippingDimension
Returns
Type Description
Attributes.Builder

mergeShippingLength(ShippingDimension value)

public Attributes.Builder mergeShippingLength(ShippingDimension value)

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Parameter
Name Description
value ShippingDimension
Returns
Type Description
Attributes.Builder

mergeShippingWeight(ShippingWeight value)

public Attributes.Builder mergeShippingWeight(ShippingWeight value)

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Parameter
Name Description
value ShippingWeight
Returns
Type Description
Attributes.Builder

mergeShippingWidth(ShippingDimension value)

public Attributes.Builder mergeShippingWidth(ShippingDimension value)

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Parameter
Name Description
value ShippingDimension
Returns
Type Description
Attributes.Builder

mergeStructuredDescription(ProductStructuredDescription value)

public Attributes.Builder mergeStructuredDescription(ProductStructuredDescription value)

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Parameter
Name Description
value ProductStructuredDescription
Returns
Type Description
Attributes.Builder

mergeStructuredTitle(ProductStructuredTitle value)

public Attributes.Builder mergeStructuredTitle(ProductStructuredTitle value)

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Parameter
Name Description
value ProductStructuredTitle
Returns
Type Description
Attributes.Builder

mergeSubscriptionCost(SubscriptionCost value)

public Attributes.Builder mergeSubscriptionCost(SubscriptionCost value)

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Parameter
Name Description
value SubscriptionCost
Returns
Type Description
Attributes.Builder

mergeUnitPricingBaseMeasure(UnitPricingBaseMeasure value)

public Attributes.Builder mergeUnitPricingBaseMeasure(UnitPricingBaseMeasure value)

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Parameter
Name Description
value UnitPricingBaseMeasure
Returns
Type Description
Attributes.Builder

mergeUnitPricingMeasure(UnitPricingMeasure value)

public Attributes.Builder mergeUnitPricingMeasure(UnitPricingMeasure value)

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Parameter
Name Description
value UnitPricingMeasure
Returns
Type Description
Attributes.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Attributes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Attributes.Builder
Overrides

removeCertifications(int index)

public Attributes.Builder removeCertifications(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder

removeCloudExportAdditionalProperties(int index)

public Attributes.Builder removeCloudExportAdditionalProperties(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder

removeFreeShippingThreshold(int index)

public Attributes.Builder removeFreeShippingThreshold(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder

removeLoyaltyPrograms(int index)

public Attributes.Builder removeLoyaltyPrograms(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder

removeProductDetails(int index)

public Attributes.Builder removeProductDetails(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder

removeShipping(int index)

public Attributes.Builder removeShipping(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder

removeTaxes(int index)

public Attributes.Builder removeTaxes(int index)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameter
Name Description
index int
Returns
Type Description
Attributes.Builder
public Attributes.Builder setAdditionalImageLinks(int index, String value)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameters
Name Description
index int

The index to set the value at.

value String

The additionalImageLinks to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdsGrouping(String value)

public Attributes.Builder setAdsGrouping(String value)

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

optional string ads_grouping = 59;

Parameter
Name Description
value String

The adsGrouping to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdsGroupingBytes(ByteString value)

public Attributes.Builder setAdsGroupingBytes(ByteString value)

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

optional string ads_grouping = 59;

Parameter
Name Description
value ByteString

The bytes for adsGrouping to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdsLabels(int index, String value)

public Attributes.Builder setAdsLabels(int index, String value)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameters
Name Description
index int

The index to set the value at.

value String

The adsLabels to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdsRedirect(String value)

public Attributes.Builder setAdsRedirect(String value)

Allows advertisers to override the item URL when the product is shown within the context of Product ads.

optional string ads_redirect = 61;

Parameter
Name Description
value String

The adsRedirect to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdsRedirectBytes(ByteString value)

public Attributes.Builder setAdsRedirectBytes(ByteString value)

Allows advertisers to override the item URL when the product is shown within the context of Product ads.

optional string ads_redirect = 61;

Parameter
Name Description
value ByteString

The bytes for adsRedirect to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdult(boolean value)

public Attributes.Builder setAdult(boolean value)

Set to true if the item is targeted towards adults.

optional bool adult = 17;

Parameter
Name Description
value boolean

The adult to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAgeGroup(String value)

public Attributes.Builder setAgeGroup(String value)

Target age group of the item.

optional string age_group = 18;

Parameter
Name Description
value String

The ageGroup to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAgeGroupBytes(ByteString value)

public Attributes.Builder setAgeGroupBytes(ByteString value)

Target age group of the item.

optional string age_group = 18;

Parameter
Name Description
value ByteString

The bytes for ageGroup to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAutoPricingMinPrice(Price value)

public Attributes.Builder setAutoPricingMinPrice(Price value)

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

setAutoPricingMinPrice(Price.Builder builderForValue)

public Attributes.Builder setAutoPricingMinPrice(Price.Builder builderForValue)

A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Parameter
Name Description
builderForValue com.google.shopping.type.Price.Builder
Returns
Type Description
Attributes.Builder

setAvailability(String value)

public Attributes.Builder setAvailability(String value)

Availability status of the item.

optional string availability = 19;

Parameter
Name Description
value String

The availability to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAvailabilityBytes(ByteString value)

public Attributes.Builder setAvailabilityBytes(ByteString value)

Availability status of the item.

optional string availability = 19;

Parameter
Name Description
value ByteString

The bytes for availability to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAvailabilityDate(Timestamp value)

public Attributes.Builder setAvailabilityDate(Timestamp value)

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

setAvailabilityDate(Timestamp.Builder builderForValue)

public Attributes.Builder setAvailabilityDate(Timestamp.Builder builderForValue)

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attributes.Builder

setBrand(String value)

public Attributes.Builder setBrand(String value)

Brand of the item.

optional string brand = 21;

Parameter
Name Description
value String

The brand to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setBrandBytes(ByteString value)

public Attributes.Builder setBrandBytes(ByteString value)

Brand of the item.

optional string brand = 21;

Parameter
Name Description
value ByteString

The bytes for brand to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setCanonicalLink(String value)

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Parameter
Name Description
value String

The canonicalLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCanonicalLinkBytes(ByteString value)

public Attributes.Builder setCanonicalLinkBytes(ByteString value)

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Parameter
Name Description
value ByteString

The bytes for canonicalLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCertifications(int index, Certification value)

public Attributes.Builder setCertifications(int index, Certification value)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameters
Name Description
index int
value Certification
Returns
Type Description
Attributes.Builder

setCertifications(int index, Certification.Builder builderForValue)

public Attributes.Builder setCertifications(int index, Certification.Builder builderForValue)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1beta.Certification certifications = 123;

Parameters
Name Description
index int
builderForValue Certification.Builder
Returns
Type Description
Attributes.Builder

setCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties value)

public Attributes.Builder setCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties value)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameters
Name Description
index int
value CloudExportAdditionalProperties
Returns
Type Description
Attributes.Builder

setCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties.Builder builderForValue)

public Attributes.Builder setCloudExportAdditionalProperties(int index, CloudExportAdditionalProperties.Builder builderForValue)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameters
Name Description
index int
builderForValue CloudExportAdditionalProperties.Builder
Returns
Type Description
Attributes.Builder

setColor(String value)

public Attributes.Builder setColor(String value)

Color of the item.

optional string color = 22;

Parameter
Name Description
value String

The color to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setColorBytes(ByteString value)

public Attributes.Builder setColorBytes(ByteString value)

Color of the item.

optional string color = 22;

Parameter
Name Description
value ByteString

The bytes for color to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCondition(String value)

public Attributes.Builder setCondition(String value)

Condition or state of the item.

optional string condition = 23;

Parameter
Name Description
value String

The condition to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setConditionBytes(ByteString value)

public Attributes.Builder setConditionBytes(ByteString value)

Condition or state of the item.

optional string condition = 23;

Parameter
Name Description
value ByteString

The bytes for condition to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCostOfGoodsSold(Price value)

public Attributes.Builder setCostOfGoodsSold(Price value)

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

setCostOfGoodsSold(Price.Builder builderForValue)

public Attributes.Builder setCostOfGoodsSold(Price.Builder builderForValue)

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Parameter
Name Description
builderForValue com.google.shopping.type.Price.Builder
Returns
Type Description
Attributes.Builder

setCustomLabel0(String value)

public Attributes.Builder setCustomLabel0(String value)

Custom label 0 for custom grouping of items in a Shopping campaign.

optional string custom_label_0 = 71;

Parameter
Name Description
value String

The customLabel0 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel0Bytes(ByteString value)

public Attributes.Builder setCustomLabel0Bytes(ByteString value)

Custom label 0 for custom grouping of items in a Shopping campaign.

optional string custom_label_0 = 71;

Parameter
Name Description
value ByteString

The bytes for customLabel0 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel1(String value)

public Attributes.Builder setCustomLabel1(String value)

Custom label 1 for custom grouping of items in a Shopping campaign.

optional string custom_label_1 = 72;

Parameter
Name Description
value String

The customLabel1 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel1Bytes(ByteString value)

public Attributes.Builder setCustomLabel1Bytes(ByteString value)

Custom label 1 for custom grouping of items in a Shopping campaign.

optional string custom_label_1 = 72;

Parameter
Name Description
value ByteString

The bytes for customLabel1 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel2(String value)

public Attributes.Builder setCustomLabel2(String value)

Custom label 2 for custom grouping of items in a Shopping campaign.

optional string custom_label_2 = 73;

Parameter
Name Description
value String

The customLabel2 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel2Bytes(ByteString value)

public Attributes.Builder setCustomLabel2Bytes(ByteString value)

Custom label 2 for custom grouping of items in a Shopping campaign.

optional string custom_label_2 = 73;

Parameter
Name Description
value ByteString

The bytes for customLabel2 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel3(String value)

public Attributes.Builder setCustomLabel3(String value)

Custom label 3 for custom grouping of items in a Shopping campaign.

optional string custom_label_3 = 74;

Parameter
Name Description
value String

The customLabel3 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel3Bytes(ByteString value)

public Attributes.Builder setCustomLabel3Bytes(ByteString value)

Custom label 3 for custom grouping of items in a Shopping campaign.

optional string custom_label_3 = 74;

Parameter
Name Description
value ByteString

The bytes for customLabel3 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel4(String value)

public Attributes.Builder setCustomLabel4(String value)

Custom label 4 for custom grouping of items in a Shopping campaign.

optional string custom_label_4 = 75;

Parameter
Name Description
value String

The customLabel4 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel4Bytes(ByteString value)

public Attributes.Builder setCustomLabel4Bytes(ByteString value)

Custom label 4 for custom grouping of items in a Shopping campaign.

optional string custom_label_4 = 75;

Parameter
Name Description
value ByteString

The bytes for customLabel4 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDescription(String value)

public Attributes.Builder setDescription(String value)

Description of the item.

optional string description = 7;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Attributes.Builder setDescriptionBytes(ByteString value)

Description of the item.

optional string description = 7;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisclosureDate(Timestamp value)

public Attributes.Builder setDisclosureDate(Timestamp value)

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

setDisclosureDate(Timestamp.Builder builderForValue)

public Attributes.Builder setDisclosureDate(Timestamp.Builder builderForValue)

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attributes.Builder

setDisplayAdsId(String value)

public Attributes.Builder setDisplayAdsId(String value)

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Parameter
Name Description
value String

The displayAdsId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisplayAdsIdBytes(ByteString value)

public Attributes.Builder setDisplayAdsIdBytes(ByteString value)

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Parameter
Name Description
value ByteString

The bytes for displayAdsId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setDisplayAdsLink(String value)

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Parameter
Name Description
value String

The displayAdsLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisplayAdsLinkBytes(ByteString value)

public Attributes.Builder setDisplayAdsLinkBytes(ByteString value)

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Parameter
Name Description
value ByteString

The bytes for displayAdsLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisplayAdsSimilarIds(int index, String value)

public Attributes.Builder setDisplayAdsSimilarIds(int index, String value)

Advertiser-specified recommendations.

repeated string display_ads_similar_ids = 66;

Parameters
Name Description
index int

The index to set the value at.

value String

The displayAdsSimilarIds to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisplayAdsTitle(String value)

public Attributes.Builder setDisplayAdsTitle(String value)

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Parameter
Name Description
value String

The displayAdsTitle to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisplayAdsTitleBytes(ByteString value)

public Attributes.Builder setDisplayAdsTitleBytes(ByteString value)

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Parameter
Name Description
value ByteString

The bytes for displayAdsTitle to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDisplayAdsValue(double value)

public Attributes.Builder setDisplayAdsValue(double value)

Offer margin for dynamic remarketing campaigns.

optional double display_ads_value = 69;

Parameter
Name Description
value double

The displayAdsValue to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setEnergyEfficiencyClass(String value)

public Attributes.Builder setEnergyEfficiencyClass(String value)

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string energy_efficiency_class = 53;

Parameter
Name Description
value String

The energyEfficiencyClass to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setEnergyEfficiencyClassBytes(ByteString value)

public Attributes.Builder setEnergyEfficiencyClassBytes(ByteString value)

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string energy_efficiency_class = 53;

Parameter
Name Description
value ByteString

The bytes for energyEfficiencyClass to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setExcludedDestinations(int index, String value)

public Attributes.Builder setExcludedDestinations(int index, String value)

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

repeated string excluded_destinations = 77;

Parameters
Name Description
index int

The index to set the value at.

value String

The excludedDestinations to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setExpirationDate(Timestamp value)

public Attributes.Builder setExpirationDate(Timestamp value)

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

setExpirationDate(Timestamp.Builder builderForValue)

public Attributes.Builder setExpirationDate(Timestamp.Builder builderForValue)

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attributes.Builder

setExternalSellerId(String value)

public Attributes.Builder setExternalSellerId(String value)

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Parameter
Name Description
value String

The externalSellerId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setExternalSellerIdBytes(ByteString value)

public Attributes.Builder setExternalSellerIdBytes(ByteString value)

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Parameter
Name Description
value ByteString

The bytes for externalSellerId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Attributes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Attributes.Builder
Overrides

setFreeShippingThreshold(int index, FreeShippingThreshold value)

public Attributes.Builder setFreeShippingThreshold(int index, FreeShippingThreshold value)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameters
Name Description
index int
value FreeShippingThreshold
Returns
Type Description
Attributes.Builder

setFreeShippingThreshold(int index, FreeShippingThreshold.Builder builderForValue)

public Attributes.Builder setFreeShippingThreshold(int index, FreeShippingThreshold.Builder builderForValue)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;

Parameters
Name Description
index int
builderForValue FreeShippingThreshold.Builder
Returns
Type Description
Attributes.Builder

setGender(String value)

public Attributes.Builder setGender(String value)

Target gender of the item.

optional string gender = 24;

Parameter
Name Description
value String

The gender to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGenderBytes(ByteString value)

public Attributes.Builder setGenderBytes(ByteString value)

Target gender of the item.

optional string gender = 24;

Parameter
Name Description
value ByteString

The bytes for gender to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGoogleProductCategory(String value)

public Attributes.Builder setGoogleProductCategory(String value)

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

optional string google_product_category = 25;

Parameter
Name Description
value String

The googleProductCategory to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGoogleProductCategoryBytes(ByteString value)

public Attributes.Builder setGoogleProductCategoryBytes(ByteString value)

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

optional string google_product_category = 25;

Parameter
Name Description
value ByteString

The bytes for googleProductCategory to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGtin(String value)

public Attributes.Builder setGtin(String value)

Global Trade Item Number (GTIN) of the item.

optional string gtin = 26;

Parameter
Name Description
value String

The gtin to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGtinBytes(ByteString value)

public Attributes.Builder setGtinBytes(ByteString value)

Global Trade Item Number (GTIN) of the item.

optional string gtin = 26;

Parameter
Name Description
value ByteString

The bytes for gtin to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setIdentifierExists(boolean value)

public Attributes.Builder setIdentifierExists(boolean value)

Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.

optional bool identifier_exists = 4;

Parameter
Name Description
value boolean

The identifierExists to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setImageLink(String value)

URL of an image of the item.

optional string image_link = 11;

Parameter
Name Description
value String

The imageLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setImageLinkBytes(ByteString value)

public Attributes.Builder setImageLinkBytes(ByteString value)

URL of an image of the item.

optional string image_link = 11;

Parameter
Name Description
value ByteString

The bytes for imageLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setIncludedDestinations(int index, String value)

public Attributes.Builder setIncludedDestinations(int index, String value)

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

repeated string included_destinations = 76;

Parameters
Name Description
index int

The index to set the value at.

value String

The includedDestinations to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setInstallment(Installment value)

public Attributes.Builder setInstallment(Installment value)

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Parameter
Name Description
value Installment
Returns
Type Description
Attributes.Builder

setInstallment(Installment.Builder builderForValue)

public Attributes.Builder setInstallment(Installment.Builder builderForValue)

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1beta.Installment installment = 32;

Parameter
Name Description
builderForValue Installment.Builder
Returns
Type Description
Attributes.Builder

setIsBundle(boolean value)

public Attributes.Builder setIsBundle(boolean value)

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

optional bool is_bundle = 5;

Parameter
Name Description
value boolean

The isBundle to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setItemGroupId(String value)

public Attributes.Builder setItemGroupId(String value)

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Parameter
Name Description
value String

The itemGroupId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setItemGroupIdBytes(ByteString value)

public Attributes.Builder setItemGroupIdBytes(ByteString value)

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Parameter
Name Description
value ByteString

The bytes for itemGroupId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setLifestyleImageLinks(int index, String value)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameters
Name Description
index int

The index to set the value at.

value String

The lifestyleImageLinks to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setLink(String value)

URL directly linking to your item's page on your online store.

optional string link = 8;

Parameter
Name Description
value String

The link to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setLinkBytes(ByteString value)

public Attributes.Builder setLinkBytes(ByteString value)

URL directly linking to your item's page on your online store.

optional string link = 8;

Parameter
Name Description
value ByteString

The bytes for link to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setLinkTemplate(String value)

public Attributes.Builder setLinkTemplate(String value)

Link template for merchant hosted local storefront.

optional string link_template = 82;

Parameter
Name Description
value String

The linkTemplate to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setLinkTemplateBytes(ByteString value)

public Attributes.Builder setLinkTemplateBytes(ByteString value)

Link template for merchant hosted local storefront.

optional string link_template = 82;

Parameter
Name Description
value ByteString

The bytes for linkTemplate to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setLoyaltyPoints(LoyaltyPoints value)

public Attributes.Builder setLoyaltyPoints(LoyaltyPoints value)

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Parameter
Name Description
value LoyaltyPoints
Returns
Type Description
Attributes.Builder

setLoyaltyPoints(LoyaltyPoints.Builder builderForValue)

public Attributes.Builder setLoyaltyPoints(LoyaltyPoints.Builder builderForValue)

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;

Parameter
Name Description
builderForValue LoyaltyPoints.Builder
Returns
Type Description
Attributes.Builder

setLoyaltyPrograms(int index, LoyaltyProgram value)

public Attributes.Builder setLoyaltyPrograms(int index, LoyaltyProgram value)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameters
Name Description
index int
value LoyaltyProgram
Returns
Type Description
Attributes.Builder

setLoyaltyPrograms(int index, LoyaltyProgram.Builder builderForValue)

public Attributes.Builder setLoyaltyPrograms(int index, LoyaltyProgram.Builder builderForValue)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1beta.LoyaltyProgram loyalty_programs = 136;

Parameters
Name Description
index int
builderForValue LoyaltyProgram.Builder
Returns
Type Description
Attributes.Builder

setMaterial(String value)

public Attributes.Builder setMaterial(String value)

The material of which the item is made.

optional string material = 28;

Parameter
Name Description
value String

The material to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMaterialBytes(ByteString value)

public Attributes.Builder setMaterialBytes(ByteString value)

The material of which the item is made.

optional string material = 28;

Parameter
Name Description
value ByteString

The bytes for material to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMaxEnergyEfficiencyClass(String value)

public Attributes.Builder setMaxEnergyEfficiencyClass(String value)

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string max_energy_efficiency_class = 55;

Parameter
Name Description
value String

The maxEnergyEfficiencyClass to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMaxEnergyEfficiencyClassBytes(ByteString value)

public Attributes.Builder setMaxEnergyEfficiencyClassBytes(ByteString value)

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string max_energy_efficiency_class = 55;

Parameter
Name Description
value ByteString

The bytes for maxEnergyEfficiencyClass to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMaxHandlingTime(long value)

public Attributes.Builder setMaxHandlingTime(long value)

Maximal product handling time (in business days).

optional int64 max_handling_time = 44;

Parameter
Name Description
value long

The maxHandlingTime to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMinEnergyEfficiencyClass(String value)

public Attributes.Builder setMinEnergyEfficiencyClass(String value)

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string min_energy_efficiency_class = 54;

Parameter
Name Description
value String

The minEnergyEfficiencyClass to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMinEnergyEfficiencyClassBytes(ByteString value)

public Attributes.Builder setMinEnergyEfficiencyClassBytes(ByteString value)

The energy efficiency class as defined in EU directive 2010/30/EU.

optional string min_energy_efficiency_class = 54;

Parameter
Name Description
value ByteString

The bytes for minEnergyEfficiencyClass to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMinHandlingTime(long value)

public Attributes.Builder setMinHandlingTime(long value)

Minimal product handling time (in business days).

optional int64 min_handling_time = 45;

Parameter
Name Description
value long

The minHandlingTime to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setMobileLink(String value)

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Parameter
Name Description
value String

The mobileLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMobileLinkBytes(ByteString value)

public Attributes.Builder setMobileLinkBytes(ByteString value)

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Parameter
Name Description
value ByteString

The bytes for mobileLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMobileLinkTemplate(String value)

public Attributes.Builder setMobileLinkTemplate(String value)

Link template for merchant hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Parameter
Name Description
value String

The mobileLinkTemplate to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMobileLinkTemplateBytes(ByteString value)

public Attributes.Builder setMobileLinkTemplateBytes(ByteString value)

Link template for merchant hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Parameter
Name Description
value ByteString

The bytes for mobileLinkTemplate to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMpn(String value)

public Attributes.Builder setMpn(String value)

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Parameter
Name Description
value String

The mpn to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMpnBytes(ByteString value)

public Attributes.Builder setMpnBytes(ByteString value)

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Parameter
Name Description
value ByteString

The bytes for mpn to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMultipack(long value)

public Attributes.Builder setMultipack(long value)

The number of identical products in a merchant-defined multipack.

optional int64 multipack = 58;

Parameter
Name Description
value long

The multipack to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPattern(String value)

public Attributes.Builder setPattern(String value)

The item's pattern (for example, polka dots).

optional string pattern = 30;

Parameter
Name Description
value String

The pattern to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPatternBytes(ByteString value)

public Attributes.Builder setPatternBytes(ByteString value)

The item's pattern (for example, polka dots).

optional string pattern = 30;

Parameter
Name Description
value ByteString

The bytes for pattern to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPause(String value)

public Attributes.Builder setPause(String value)

Publication of this item will be temporarily paused.

optional string pause = 13;

Parameter
Name Description
value String

The pause to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPauseBytes(ByteString value)

public Attributes.Builder setPauseBytes(ByteString value)

Publication of this item will be temporarily paused.

optional string pause = 13;

Parameter
Name Description
value ByteString

The bytes for pause to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPickupMethod(String value)

public Attributes.Builder setPickupMethod(String value)

The pick up option for the item.

optional string pickup_method = 80;

Parameter
Name Description
value String

The pickupMethod to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPickupMethodBytes(ByteString value)

public Attributes.Builder setPickupMethodBytes(ByteString value)

The pick up option for the item.

optional string pickup_method = 80;

Parameter
Name Description
value ByteString

The bytes for pickupMethod to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPickupSla(String value)

public Attributes.Builder setPickupSla(String value)

Item store pickup timeline.

optional string pickup_sla = 81;

Parameter
Name Description
value String

The pickupSla to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPickupSlaBytes(ByteString value)

public Attributes.Builder setPickupSlaBytes(ByteString value)

Item store pickup timeline.

optional string pickup_sla = 81;

Parameter
Name Description
value ByteString

The bytes for pickupSla to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPrice(Price value)

public Attributes.Builder setPrice(Price value)

Price of the item.

.google.shopping.type.Price price = 31;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

setPrice(Price.Builder builderForValue)

public Attributes.Builder setPrice(Price.Builder builderForValue)

Price of the item.

.google.shopping.type.Price price = 31;

Parameter
Name Description
builderForValue com.google.shopping.type.Price.Builder
Returns
Type Description
Attributes.Builder

setProductDetails(int index, ProductDetail value)

public Attributes.Builder setProductDetails(int index, ProductDetail value)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameters
Name Description
index int
value ProductDetail
Returns
Type Description
Attributes.Builder

setProductDetails(int index, ProductDetail.Builder builderForValue)

public Attributes.Builder setProductDetails(int index, ProductDetail.Builder builderForValue)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;

Parameters
Name Description
index int
builderForValue ProductDetail.Builder
Returns
Type Description
Attributes.Builder

setProductHeight(ProductDimension value)

public Attributes.Builder setProductHeight(ProductDimension value)

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

setProductHeight(ProductDimension.Builder builderForValue)

public Attributes.Builder setProductHeight(ProductDimension.Builder builderForValue)

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;

Parameter
Name Description
builderForValue ProductDimension.Builder
Returns
Type Description
Attributes.Builder

setProductHighlights(int index, String value)

public Attributes.Builder setProductHighlights(int index, String value)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 64;

Parameters
Name Description
index int

The index to set the value at.

value String

The productHighlights to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setProductLength(ProductDimension value)

public Attributes.Builder setProductLength(ProductDimension value)

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

setProductLength(ProductDimension.Builder builderForValue)

public Attributes.Builder setProductLength(ProductDimension.Builder builderForValue)

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;

Parameter
Name Description
builderForValue ProductDimension.Builder
Returns
Type Description
Attributes.Builder

setProductTypes(int index, String value)

public Attributes.Builder setProductTypes(int index, String value)

Categories of the item (formatted as in product data specification).

repeated string product_types = 35;

Parameters
Name Description
index int

The index to set the value at.

value String

The productTypes to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setProductWeight(ProductWeight value)

public Attributes.Builder setProductWeight(ProductWeight value)

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Parameter
Name Description
value ProductWeight
Returns
Type Description
Attributes.Builder

setProductWeight(ProductWeight.Builder builderForValue)

public Attributes.Builder setProductWeight(ProductWeight.Builder builderForValue)

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;

Parameter
Name Description
builderForValue ProductWeight.Builder
Returns
Type Description
Attributes.Builder

setProductWidth(ProductDimension value)

public Attributes.Builder setProductWidth(ProductDimension value)

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

setProductWidth(ProductDimension.Builder builderForValue)

public Attributes.Builder setProductWidth(ProductDimension.Builder builderForValue)

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;

Parameter
Name Description
builderForValue ProductDimension.Builder
Returns
Type Description
Attributes.Builder

setPromotionIds(int index, String value)

public Attributes.Builder setPromotionIds(int index, String value)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameters
Name Description
index int

The index to set the value at.

value String

The promotionIds to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Attributes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Attributes.Builder
Overrides

setSalePrice(Price value)

public Attributes.Builder setSalePrice(Price value)

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Parameter
Name Description
value com.google.shopping.type.Price
Returns
Type Description
Attributes.Builder

setSalePrice(Price.Builder builderForValue)

public Attributes.Builder setSalePrice(Price.Builder builderForValue)

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Parameter
Name Description
builderForValue com.google.shopping.type.Price.Builder
Returns
Type Description
Attributes.Builder

setSalePriceEffectiveDate(Interval value)

public Attributes.Builder setSalePriceEffectiveDate(Interval value)

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
Attributes.Builder

setSalePriceEffectiveDate(Interval.Builder builderForValue)

public Attributes.Builder setSalePriceEffectiveDate(Interval.Builder builderForValue)

Date range during which the item is on sale (see product data specification).

.google.type.Interval sale_price_effective_date = 37;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
Attributes.Builder

setSellOnGoogleQuantity(long value)

public Attributes.Builder setSellOnGoogleQuantity(long value)

The quantity of the product that is available for selling on Google. Supported only for online products.

optional int64 sell_on_google_quantity = 38;

Parameter
Name Description
value long

The sellOnGoogleQuantity to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setShipping(int index, Shipping value)

public Attributes.Builder setShipping(int index, Shipping value)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameters
Name Description
index int
value Shipping
Returns
Type Description
Attributes.Builder

setShipping(int index, Shipping.Builder builderForValue)

public Attributes.Builder setShipping(int index, Shipping.Builder builderForValue)

Shipping rules.

repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;

Parameters
Name Description
index int
builderForValue Shipping.Builder
Returns
Type Description
Attributes.Builder

setShippingHeight(ShippingDimension value)

public Attributes.Builder setShippingHeight(ShippingDimension value)

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Parameter
Name Description
value ShippingDimension
Returns
Type Description
Attributes.Builder

setShippingHeight(ShippingDimension.Builder builderForValue)

public Attributes.Builder setShippingHeight(ShippingDimension.Builder builderForValue)

Height of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;

Parameter
Name Description
builderForValue ShippingDimension.Builder
Returns
Type Description
Attributes.Builder

setShippingLabel(String value)

public Attributes.Builder setShippingLabel(String value)

The shipping label of the product, used to group product in account-level shipping rules.

optional string shipping_label = 46;

Parameter
Name Description
value String

The shippingLabel to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setShippingLabelBytes(ByteString value)

public Attributes.Builder setShippingLabelBytes(ByteString value)

The shipping label of the product, used to group product in account-level shipping rules.

optional string shipping_label = 46;

Parameter
Name Description
value ByteString

The bytes for shippingLabel to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setShippingLength(ShippingDimension value)

public Attributes.Builder setShippingLength(ShippingDimension value)

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Parameter
Name Description
value ShippingDimension
Returns
Type Description
Attributes.Builder

setShippingLength(ShippingDimension.Builder builderForValue)

public Attributes.Builder setShippingLength(ShippingDimension.Builder builderForValue)

Length of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;

Parameter
Name Description
builderForValue ShippingDimension.Builder
Returns
Type Description
Attributes.Builder

setShippingWeight(ShippingWeight value)

public Attributes.Builder setShippingWeight(ShippingWeight value)

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Parameter
Name Description
value ShippingWeight
Returns
Type Description
Attributes.Builder

setShippingWeight(ShippingWeight.Builder builderForValue)

public Attributes.Builder setShippingWeight(ShippingWeight.Builder builderForValue)

Weight of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;

Parameter
Name Description
builderForValue ShippingWeight.Builder
Returns
Type Description
Attributes.Builder

setShippingWidth(ShippingDimension value)

public Attributes.Builder setShippingWidth(ShippingDimension value)

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Parameter
Name Description
value ShippingDimension
Returns
Type Description
Attributes.Builder

setShippingWidth(ShippingDimension.Builder builderForValue)

public Attributes.Builder setShippingWidth(ShippingDimension.Builder builderForValue)

Width of the item for shipping.

.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;

Parameter
Name Description
builderForValue ShippingDimension.Builder
Returns
Type Description
Attributes.Builder

setShoppingAdsExcludedCountries(int index, String value)

public Attributes.Builder setShoppingAdsExcludedCountries(int index, String value)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameters
Name Description
index int

The index to set the value at.

value String

The shoppingAdsExcludedCountries to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSize(String value)

public Attributes.Builder setSize(String value)

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see https://support.google.com/merchants/answer/6324492).

optional string size = 48;

Parameter
Name Description
value String

The size to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeBytes(ByteString value)

public Attributes.Builder setSizeBytes(ByteString value)

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see https://support.google.com/merchants/answer/6324492).

optional string size = 48;

Parameter
Name Description
value ByteString

The bytes for size to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeSystem(String value)

public Attributes.Builder setSizeSystem(String value)

System in which the size is specified. Recommended for apparel items.

optional string size_system = 49;

Parameter
Name Description
value String

The sizeSystem to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeSystemBytes(ByteString value)

public Attributes.Builder setSizeSystemBytes(ByteString value)

System in which the size is specified. Recommended for apparel items.

optional string size_system = 49;

Parameter
Name Description
value ByteString

The bytes for sizeSystem to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeTypes(int index, String value)

public Attributes.Builder setSizeTypes(int index, String value)

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).

repeated string size_types = 50;

Parameters
Name Description
index int

The index to set the value at.

value String

The sizeTypes to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setStructuredDescription(ProductStructuredDescription value)

public Attributes.Builder setStructuredDescription(ProductStructuredDescription value)

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Parameter
Name Description
value ProductStructuredDescription
Returns
Type Description
Attributes.Builder

setStructuredDescription(ProductStructuredDescription.Builder builderForValue)

public Attributes.Builder setStructuredDescription(ProductStructuredDescription.Builder builderForValue)

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;

Parameter
Name Description
builderForValue ProductStructuredDescription.Builder
Returns
Type Description
Attributes.Builder

setStructuredTitle(ProductStructuredTitle value)

public Attributes.Builder setStructuredTitle(ProductStructuredTitle value)

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Parameter
Name Description
value ProductStructuredTitle
Returns
Type Description
Attributes.Builder

setStructuredTitle(ProductStructuredTitle.Builder builderForValue)

public Attributes.Builder setStructuredTitle(ProductStructuredTitle.Builder builderForValue)

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;

Parameter
Name Description
builderForValue ProductStructuredTitle.Builder
Returns
Type Description
Attributes.Builder

setSubscriptionCost(SubscriptionCost value)

public Attributes.Builder setSubscriptionCost(SubscriptionCost value)

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Parameter
Name Description
value SubscriptionCost
Returns
Type Description
Attributes.Builder

setSubscriptionCost(SubscriptionCost.Builder builderForValue)

public Attributes.Builder setSubscriptionCost(SubscriptionCost.Builder builderForValue)

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;

Parameter
Name Description
builderForValue SubscriptionCost.Builder
Returns
Type Description
Attributes.Builder

setTaxCategory(String value)

public Attributes.Builder setTaxCategory(String value)

The tax category of the product, used to configure detailed tax nexus in account-level tax settings.

optional string tax_category = 52;

Parameter
Name Description
value String

The taxCategory to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTaxCategoryBytes(ByteString value)

public Attributes.Builder setTaxCategoryBytes(ByteString value)

The tax category of the product, used to configure detailed tax nexus in account-level tax settings.

optional string tax_category = 52;

Parameter
Name Description
value ByteString

The bytes for taxCategory to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTaxes(int index, Tax value)

public Attributes.Builder setTaxes(int index, Tax value)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameters
Name Description
index int
value Tax
Returns
Type Description
Attributes.Builder

setTaxes(int index, Tax.Builder builderForValue)

public Attributes.Builder setTaxes(int index, Tax.Builder builderForValue)

Tax information.

repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;

Parameters
Name Description
index int
builderForValue Tax.Builder
Returns
Type Description
Attributes.Builder

setTitle(String value)

public Attributes.Builder setTitle(String value)

Title of the item.

optional string title = 6;

Parameter
Name Description
value String

The title to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public Attributes.Builder setTitleBytes(ByteString value)

Title of the item.

optional string title = 6;

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTransitTimeLabel(String value)

public Attributes.Builder setTransitTimeLabel(String value)

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Parameter
Name Description
value String

The transitTimeLabel to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTransitTimeLabelBytes(ByteString value)

public Attributes.Builder setTransitTimeLabelBytes(ByteString value)

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Parameter
Name Description
value ByteString

The bytes for transitTimeLabel to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setUnitPricingBaseMeasure(UnitPricingBaseMeasure value)

public Attributes.Builder setUnitPricingBaseMeasure(UnitPricingBaseMeasure value)

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Parameter
Name Description
value UnitPricingBaseMeasure
Returns
Type Description
Attributes.Builder

setUnitPricingBaseMeasure(UnitPricingBaseMeasure.Builder builderForValue)

public Attributes.Builder setUnitPricingBaseMeasure(UnitPricingBaseMeasure.Builder builderForValue)

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Parameter
Name Description
builderForValue UnitPricingBaseMeasure.Builder
Returns
Type Description
Attributes.Builder

setUnitPricingMeasure(UnitPricingMeasure value)

public Attributes.Builder setUnitPricingMeasure(UnitPricingMeasure value)

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Parameter
Name Description
value UnitPricingMeasure
Returns
Type Description
Attributes.Builder

setUnitPricingMeasure(UnitPricingMeasure.Builder builderForValue)

public Attributes.Builder setUnitPricingMeasure(UnitPricingMeasure.Builder builderForValue)

The measure and dimension of an item.

.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;

Parameter
Name Description
builderForValue UnitPricingMeasure.Builder
Returns
Type Description
Attributes.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Attributes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Attributes.Builder
Overrides
public Attributes.Builder setVirtualModelLink(String value)

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Parameter
Name Description
value String

The virtualModelLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setVirtualModelLinkBytes(ByteString value)

public Attributes.Builder setVirtualModelLinkBytes(ByteString value)

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Parameter
Name Description
value ByteString

The bytes for virtualModelLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.