Class Attributes.Builder (0.1.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.