Interface AttributesOrBuilder (0.20.0)

public interface AttributesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

public abstract String getAdditionalImageLinks(int index)

Additional URL 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 abstract ByteString getAdditionalImageLinksBytes(int index)

Additional URL 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 abstract int getAdditionalImageLinksCount()

Additional URL of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
int

The count of additionalImageLinks.

public abstract List<String> getAdditionalImageLinksList()

Additional URL of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
List<String>

A list containing the additionalImageLinks.

getAdult()

public abstract boolean getAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 18;

Returns
Type Description
boolean

The adult.

getAgeGroup()

public abstract String getAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
Type Description
String

The ageGroup.

getAgeGroupBytes()

public abstract ByteString getAgeGroupBytes()

Target age group of the item.

optional string age_group = 21;

Returns
Type Description
ByteString

The bytes for ageGroup.

getBrand()

public abstract String getBrand()

Product Related Attributes.[14-36] Brand of the item.

optional string brand = 14;

Returns
Type Description
String

The brand.

getBrandBytes()

public abstract ByteString getBrandBytes()

Product Related Attributes.[14-36] Brand of the item.

optional string brand = 14;

Returns
Type Description
ByteString

The bytes for brand.

getCertifications(int index)

public abstract Certification getCertifications(int index)

A list of certificates claimed by the CSS for the given product.

repeated .google.shopping.css.v1.Certification certifications = 39;

Parameter
Name Description
index int
Returns
Type Description
Certification

getCertificationsCount()

public abstract int getCertificationsCount()

A list of certificates claimed by the CSS for the given product.

repeated .google.shopping.css.v1.Certification certifications = 39;

Returns
Type Description
int

getCertificationsList()

public abstract List<Certification> getCertificationsList()

A list of certificates claimed by the CSS for the given product.

repeated .google.shopping.css.v1.Certification certifications = 39;

Returns
Type Description
List<Certification>

getCertificationsOrBuilder(int index)

public abstract CertificationOrBuilder getCertificationsOrBuilder(int index)

A list of certificates claimed by the CSS for the given product.

repeated .google.shopping.css.v1.Certification certifications = 39;

Parameter
Name Description
index int
Returns
Type Description
CertificationOrBuilder

getCertificationsOrBuilderList()

public abstract List<? extends CertificationOrBuilder> getCertificationsOrBuilderList()

A list of certificates claimed by the CSS for the given product.

repeated .google.shopping.css.v1.Certification certifications = 39;

Returns
Type Description
List<? extends com.google.shopping.css.v1.CertificationOrBuilder>

getColor()

public abstract String getColor()

Color of the item.

optional string color = 22;

Returns
Type Description
String

The color.

getColorBytes()

public abstract ByteString getColorBytes()

Color of the item.

optional string color = 22;

Returns
Type Description
ByteString

The bytes for color.

getCppAdsRedirect()

public abstract String getCppAdsRedirect()

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

optional string cpp_ads_redirect = 42;

Returns
Type Description
String

The cppAdsRedirect.

getCppAdsRedirectBytes()

public abstract ByteString getCppAdsRedirectBytes()

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

optional string cpp_ads_redirect = 42;

Returns
Type Description
ByteString

The bytes for cppAdsRedirect.

public abstract String getCppLink()

URL directly linking to your the Product Detail Page of the CSS.

optional string cpp_link = 1;

Returns
Type Description
String

The cppLink.

getCppLinkBytes()

public abstract ByteString getCppLinkBytes()

URL directly linking to your the Product Detail Page of the CSS.

optional string cpp_link = 1;

Returns
Type Description
ByteString

The bytes for cppLink.

public abstract String getCppMobileLink()

URL for the mobile-optimized version of the Product Detail Page of the CSS.

optional string cpp_mobile_link = 2;

Returns
Type Description
String

The cppMobileLink.

getCppMobileLinkBytes()

public abstract ByteString getCppMobileLinkBytes()

URL for the mobile-optimized version of the Product Detail Page of the CSS.

optional string cpp_mobile_link = 2;

Returns
Type Description
ByteString

The bytes for cppMobileLink.

getCustomLabel0()

public abstract String getCustomLabel0()

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

optional string custom_label_0 = 46;

Returns
Type Description
String

The customLabel0.

getCustomLabel0Bytes()

public abstract ByteString getCustomLabel0Bytes()

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

optional string custom_label_0 = 46;

Returns
Type Description
ByteString

The bytes for customLabel0.

getCustomLabel1()

public abstract String getCustomLabel1()

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

optional string custom_label_1 = 47;

Returns
Type Description
String

The customLabel1.

getCustomLabel1Bytes()

public abstract ByteString getCustomLabel1Bytes()

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

optional string custom_label_1 = 47;

Returns
Type Description
ByteString

The bytes for customLabel1.

getCustomLabel2()

public abstract String getCustomLabel2()

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

optional string custom_label_2 = 48;

Returns
Type Description
String

The customLabel2.

getCustomLabel2Bytes()

public abstract ByteString getCustomLabel2Bytes()

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

optional string custom_label_2 = 48;

Returns
Type Description
ByteString

The bytes for customLabel2.

getCustomLabel3()

public abstract String getCustomLabel3()

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

optional string custom_label_3 = 49;

Returns
Type Description
String

The customLabel3.

getCustomLabel3Bytes()

public abstract ByteString getCustomLabel3Bytes()

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

optional string custom_label_3 = 49;

Returns
Type Description
ByteString

The bytes for customLabel3.

getCustomLabel4()

public abstract String getCustomLabel4()

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

optional string custom_label_4 = 50;

Returns
Type Description
String

The customLabel4.

getCustomLabel4Bytes()

public abstract ByteString getCustomLabel4Bytes()

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

optional string custom_label_4 = 50;

Returns
Type Description
ByteString

The bytes for customLabel4.

getDescription()

public abstract String getDescription()

Description of the item.

optional string description = 13;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of the item.

optional string description = 13;

Returns
Type Description
ByteString

The bytes for description.

getExcludedDestinations(int index)

public abstract 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 = 44;

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 abstract 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 = 44;

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 abstract int getExcludedDestinationsCount()

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

repeated string excluded_destinations = 44;

Returns
Type Description
int

The count of excludedDestinations.

getExcludedDestinationsList()

public abstract List<String> getExcludedDestinationsList()

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

repeated string excluded_destinations = 44;

Returns
Type Description
List<String>

A list containing the excludedDestinations.

getExpirationDate()

public abstract 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. Note: It may take 2+ days from the expiration date for the item to actually get deleted.

.google.protobuf.Timestamp expiration_date = 40;

Returns
Type Description
Timestamp

The expirationDate.

getExpirationDateOrBuilder()

public abstract 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. Note: It may take 2+ days from the expiration date for the item to actually get deleted.

.google.protobuf.Timestamp expiration_date = 40;

Returns
Type Description
TimestampOrBuilder

getGender()

public abstract String getGender()

Target gender of the item.

optional string gender = 23;

Returns
Type Description
String

The gender.

getGenderBytes()

public abstract ByteString getGenderBytes()

Target gender of the item.

optional string gender = 23;

Returns
Type Description
ByteString

The bytes for gender.

getGoogleProductCategory()

public abstract 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 = 17;

Returns
Type Description
String

The googleProductCategory.

getGoogleProductCategoryBytes()

public abstract 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 = 17;

Returns
Type Description
ByteString

The bytes for googleProductCategory.

getGtin()

public abstract String getGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
Type Description
String

The gtin.

getGtinBytes()

public abstract ByteString getGtinBytes()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
Type Description
ByteString

The bytes for gtin.

getHeadlineOfferCondition()

public abstract String getHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
String

The headlineOfferCondition.

getHeadlineOfferConditionBytes()

public abstract ByteString getHeadlineOfferConditionBytes()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
ByteString

The bytes for headlineOfferCondition.

public abstract String getHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
String

The headlineOfferLink.

getHeadlineOfferLinkBytes()

public abstract ByteString getHeadlineOfferLinkBytes()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
ByteString

The bytes for headlineOfferLink.

public abstract String getHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
Type Description
String

The headlineOfferMobileLink.

getHeadlineOfferMobileLinkBytes()

public abstract ByteString getHeadlineOfferMobileLinkBytes()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
Type Description
ByteString

The bytes for headlineOfferMobileLink.

getHeadlineOfferPrice()

public abstract Price getHeadlineOfferPrice()

Headline Price of the aggregate offer.

.google.shopping.type.Price headline_offer_price = 7;

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

The headlineOfferPrice.

getHeadlineOfferPriceOrBuilder()

public abstract PriceOrBuilder getHeadlineOfferPriceOrBuilder()

Headline Price of the aggregate offer.

.google.shopping.type.Price headline_offer_price = 7;

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

getHeadlineOfferShippingPrice()

public abstract Price getHeadlineOfferShippingPrice()

Headline Price of the aggregate offer.

.google.shopping.type.Price headline_offer_shipping_price = 41;

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

The headlineOfferShippingPrice.

getHeadlineOfferShippingPriceOrBuilder()

public abstract PriceOrBuilder getHeadlineOfferShippingPriceOrBuilder()

Headline Price of the aggregate offer.

.google.shopping.type.Price headline_offer_shipping_price = 41;

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

getHighPrice()

public abstract Price getHighPrice()

High Price of the aggregate offer.

.google.shopping.type.Price high_price = 4;

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

The highPrice.

getHighPriceOrBuilder()

public abstract PriceOrBuilder getHighPriceOrBuilder()

High Price of the aggregate offer.

.google.shopping.type.Price high_price = 4;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder
public abstract String getImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
String

The imageLink.

getImageLinkBytes()

public abstract 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 abstract 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 = 43;

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 abstract 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 = 43;

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 abstract 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 = 43;

Returns
Type Description
int

The count of includedDestinations.

getIncludedDestinationsList()

public abstract List<String> 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 = 43;

Returns
Type Description
List<String>

A list containing the includedDestinations.

getIsBundle()

public abstract 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 = 20;

Returns
Type Description
boolean

The isBundle.

getItemGroupId()

public abstract String getItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
Type Description
String

The itemGroupId.

getItemGroupIdBytes()

public abstract ByteString getItemGroupIdBytes()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
Type Description
ByteString

The bytes for itemGroupId.

getLowPrice()

public abstract Price getLowPrice()

Low Price of the aggregate offer.

.google.shopping.type.Price low_price = 3;

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

The lowPrice.

getLowPriceOrBuilder()

public abstract PriceOrBuilder getLowPriceOrBuilder()

Low Price of the aggregate offer.

.google.shopping.type.Price low_price = 3;

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

getMaterial()

public abstract String getMaterial()

The material of which the item is made.

optional string material = 24;

Returns
Type Description
String

The material.

getMaterialBytes()

public abstract ByteString getMaterialBytes()

The material of which the item is made.

optional string material = 24;

Returns
Type Description
ByteString

The bytes for material.

getMpn()

public abstract String getMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
Type Description
String

The mpn.

getMpnBytes()

public abstract ByteString getMpnBytes()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
Type Description
ByteString

The bytes for mpn.

getMultipack()

public abstract long getMultipack()

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

optional int64 multipack = 19;

Returns
Type Description
long

The multipack.

getNumberOfOffers()

public abstract long getNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
Type Description
long

The numberOfOffers.

getPattern()

public abstract String getPattern()

The item's pattern (e.g. polka dots).

optional string pattern = 25;

Returns
Type Description
String

The pattern.

getPatternBytes()

public abstract ByteString getPatternBytes()

The item's pattern (e.g. polka dots).

optional string pattern = 25;

Returns
Type Description
ByteString

The bytes for pattern.

getPause()

public abstract String getPause()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
Type Description
String

The pause.

getPauseBytes()

public abstract ByteString getPauseBytes()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
Type Description
ByteString

The bytes for pause.

getProductDetails(int index)

public abstract ProductDetail getProductDetails(int index)

Technical specification or additional product details.

repeated .google.shopping.css.v1.ProductDetail product_details = 30;

Parameter
Name Description
index int
Returns
Type Description
ProductDetail

getProductDetailsCount()

public abstract int getProductDetailsCount()

Technical specification or additional product details.

repeated .google.shopping.css.v1.ProductDetail product_details = 30;

Returns
Type Description
int

getProductDetailsList()

public abstract List<ProductDetail> getProductDetailsList()

Technical specification or additional product details.

repeated .google.shopping.css.v1.ProductDetail product_details = 30;

Returns
Type Description
List<ProductDetail>

getProductDetailsOrBuilder(int index)

public abstract ProductDetailOrBuilder getProductDetailsOrBuilder(int index)

Technical specification or additional product details.

repeated .google.shopping.css.v1.ProductDetail product_details = 30;

Parameter
Name Description
index int
Returns
Type Description
ProductDetailOrBuilder

getProductDetailsOrBuilderList()

public abstract List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()

Technical specification or additional product details.

repeated .google.shopping.css.v1.ProductDetail product_details = 30;

Returns
Type Description
List<? extends com.google.shopping.css.v1.ProductDetailOrBuilder>

getProductHeight()

public abstract ProductDimension getProductHeight()

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

.google.shopping.css.v1.ProductDimension product_height = 34;

Returns
Type Description
ProductDimension

The productHeight.

getProductHeightOrBuilder()

public abstract ProductDimensionOrBuilder getProductHeightOrBuilder()

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

.google.shopping.css.v1.ProductDimension product_height = 34;

Returns
Type Description
ProductDimensionOrBuilder

getProductHighlights(int index)

public abstract String getProductHighlights(int index)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

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 abstract ByteString getProductHighlightsBytes(int index)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

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 abstract int getProductHighlightsCount()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

Returns
Type Description
int

The count of productHighlights.

getProductHighlightsList()

public abstract List<String> getProductHighlightsList()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

Returns
Type Description
List<String>

A list containing the productHighlights.

getProductLength()

public abstract ProductDimension getProductLength()

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

.google.shopping.css.v1.ProductDimension product_length = 32;

Returns
Type Description
ProductDimension

The productLength.

getProductLengthOrBuilder()

public abstract ProductDimensionOrBuilder getProductLengthOrBuilder()

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

.google.shopping.css.v1.ProductDimension product_length = 32;

Returns
Type Description
ProductDimensionOrBuilder

getProductTypes(int index)

public abstract String getProductTypes(int index)

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

repeated string product_types = 36;

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 abstract ByteString getProductTypesBytes(int index)

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

repeated string product_types = 36;

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 abstract int getProductTypesCount()

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

repeated string product_types = 36;

Returns
Type Description
int

The count of productTypes.

getProductTypesList()

public abstract List<String> getProductTypesList()

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

repeated string product_types = 36;

Returns
Type Description
List<String>

A list containing the productTypes.

getProductWeight()

public abstract ProductWeight getProductWeight()

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

.google.shopping.css.v1.ProductWeight product_weight = 31;

Returns
Type Description
ProductWeight

The productWeight.

getProductWeightOrBuilder()

public abstract ProductWeightOrBuilder getProductWeightOrBuilder()

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

.google.shopping.css.v1.ProductWeight product_weight = 31;

Returns
Type Description
ProductWeightOrBuilder

getProductWidth()

public abstract ProductDimension getProductWidth()

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

.google.shopping.css.v1.ProductDimension product_width = 33;

Returns
Type Description
ProductDimension

The productWidth.

getProductWidthOrBuilder()

public abstract ProductDimensionOrBuilder getProductWidthOrBuilder()

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

.google.shopping.css.v1.ProductDimension product_width = 33;

Returns
Type Description
ProductDimensionOrBuilder

getSize()

public abstract String getSize()

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

optional string size = 26;

Returns
Type Description
String

The size.

getSizeBytes()

public abstract ByteString getSizeBytes()

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

optional string size = 26;

Returns
Type Description
ByteString

The bytes for size.

getSizeSystem()

public abstract String getSizeSystem()

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

optional string size_system = 27;

Returns
Type Description
String

The sizeSystem.

getSizeSystemBytes()

public abstract ByteString getSizeSystemBytes()

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

optional string size_system = 27;

Returns
Type Description
ByteString

The bytes for sizeSystem.

getSizeTypes(int index)

public abstract String getSizeTypes(int index)

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

repeated string size_types = 28;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sizeTypes at the given index.

getSizeTypesBytes(int index)

public abstract ByteString getSizeTypesBytes(int index)

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

repeated string size_types = 28;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sizeTypes at the given index.

getSizeTypesCount()

public abstract int getSizeTypesCount()

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

repeated string size_types = 28;

Returns
Type Description
int

The count of sizeTypes.

getSizeTypesList()

public abstract List<String> getSizeTypesList()

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

repeated string size_types = 28;

Returns
Type Description
List<String>

A list containing the sizeTypes.

getTitle()

public abstract String getTitle()

Title of the item.

optional string title = 10;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the item.

optional string title = 10;

Returns
Type Description
ByteString

The bytes for title.

hasAdult()

public abstract boolean hasAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 18;

Returns
Type Description
boolean

Whether the adult field is set.

hasAgeGroup()

public abstract boolean hasAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
Type Description
boolean

Whether the ageGroup field is set.

hasBrand()

public abstract boolean hasBrand()

Product Related Attributes.[14-36] Brand of the item.

optional string brand = 14;

Returns
Type Description
boolean

Whether the brand field is set.

hasColor()

public abstract boolean hasColor()

Color of the item.

optional string color = 22;

Returns
Type Description
boolean

Whether the color field is set.

hasCppAdsRedirect()

public abstract boolean hasCppAdsRedirect()

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

optional string cpp_ads_redirect = 42;

Returns
Type Description
boolean

Whether the cppAdsRedirect field is set.

public abstract boolean hasCppLink()

URL directly linking to your the Product Detail Page of the CSS.

optional string cpp_link = 1;

Returns
Type Description
boolean

Whether the cppLink field is set.

public abstract boolean hasCppMobileLink()

URL for the mobile-optimized version of the Product Detail Page of the CSS.

optional string cpp_mobile_link = 2;

Returns
Type Description
boolean

Whether the cppMobileLink field is set.

hasCustomLabel0()

public abstract boolean hasCustomLabel0()

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

optional string custom_label_0 = 46;

Returns
Type Description
boolean

Whether the customLabel0 field is set.

hasCustomLabel1()

public abstract boolean hasCustomLabel1()

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

optional string custom_label_1 = 47;

Returns
Type Description
boolean

Whether the customLabel1 field is set.

hasCustomLabel2()

public abstract boolean hasCustomLabel2()

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

optional string custom_label_2 = 48;

Returns
Type Description
boolean

Whether the customLabel2 field is set.

hasCustomLabel3()

public abstract boolean hasCustomLabel3()

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

optional string custom_label_3 = 49;

Returns
Type Description
boolean

Whether the customLabel3 field is set.

hasCustomLabel4()

public abstract boolean hasCustomLabel4()

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

optional string custom_label_4 = 50;

Returns
Type Description
boolean

Whether the customLabel4 field is set.

hasDescription()

public abstract boolean hasDescription()

Description of the item.

optional string description = 13;

Returns
Type Description
boolean

Whether the description field is set.

hasExpirationDate()

public abstract boolean hasExpirationDate()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted.

.google.protobuf.Timestamp expiration_date = 40;

Returns
Type Description
boolean

Whether the expirationDate field is set.

hasGender()

public abstract boolean hasGender()

Target gender of the item.

optional string gender = 23;

Returns
Type Description
boolean

Whether the gender field is set.

hasGoogleProductCategory()

public abstract boolean hasGoogleProductCategory()

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

optional string google_product_category = 17;

Returns
Type Description
boolean

Whether the googleProductCategory field is set.

hasGtin()

public abstract boolean hasGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
Type Description
boolean

Whether the gtin field is set.

hasHeadlineOfferCondition()

public abstract boolean hasHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
boolean

Whether the headlineOfferCondition field is set.

public abstract boolean hasHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
boolean

Whether the headlineOfferLink field is set.

public abstract boolean hasHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
Type Description
boolean

Whether the headlineOfferMobileLink field is set.

hasHeadlineOfferPrice()

public abstract boolean hasHeadlineOfferPrice()

Headline Price of the aggregate offer.

.google.shopping.type.Price headline_offer_price = 7;

Returns
Type Description
boolean

Whether the headlineOfferPrice field is set.

hasHeadlineOfferShippingPrice()

public abstract boolean hasHeadlineOfferShippingPrice()

Headline Price of the aggregate offer.

.google.shopping.type.Price headline_offer_shipping_price = 41;

Returns
Type Description
boolean

Whether the headlineOfferShippingPrice field is set.

hasHighPrice()

public abstract boolean hasHighPrice()

High Price of the aggregate offer.

.google.shopping.type.Price high_price = 4;

Returns
Type Description
boolean

Whether the highPrice field is set.

public abstract boolean hasImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
boolean

Whether the imageLink field is set.

hasIsBundle()

public abstract boolean hasIsBundle()

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

optional bool is_bundle = 20;

Returns
Type Description
boolean

Whether the isBundle field is set.

hasItemGroupId()

public abstract boolean hasItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
Type Description
boolean

Whether the itemGroupId field is set.

hasLowPrice()

public abstract boolean hasLowPrice()

Low Price of the aggregate offer.

.google.shopping.type.Price low_price = 3;

Returns
Type Description
boolean

Whether the lowPrice field is set.

hasMaterial()

public abstract boolean hasMaterial()

The material of which the item is made.

optional string material = 24;

Returns
Type Description
boolean

Whether the material field is set.

hasMpn()

public abstract boolean hasMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
Type Description
boolean

Whether the mpn field is set.

hasMultipack()

public abstract boolean hasMultipack()

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

optional int64 multipack = 19;

Returns
Type Description
boolean

Whether the multipack field is set.

hasNumberOfOffers()

public abstract boolean hasNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
Type Description
boolean

Whether the numberOfOffers field is set.

hasPattern()

public abstract boolean hasPattern()

The item's pattern (e.g. polka dots).

optional string pattern = 25;

Returns
Type Description
boolean

Whether the pattern field is set.

hasPause()

public abstract boolean hasPause()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
Type Description
boolean

Whether the pause field is set.

hasProductHeight()

public abstract boolean hasProductHeight()

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

.google.shopping.css.v1.ProductDimension product_height = 34;

Returns
Type Description
boolean

Whether the productHeight field is set.

hasProductLength()

public abstract boolean hasProductLength()

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

.google.shopping.css.v1.ProductDimension product_length = 32;

Returns
Type Description
boolean

Whether the productLength field is set.

hasProductWeight()

public abstract boolean hasProductWeight()

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

.google.shopping.css.v1.ProductWeight product_weight = 31;

Returns
Type Description
boolean

Whether the productWeight field is set.

hasProductWidth()

public abstract boolean hasProductWidth()

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

.google.shopping.css.v1.ProductDimension product_width = 33;

Returns
Type Description
boolean

Whether the productWidth field is set.

hasSize()

public abstract boolean hasSize()

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

optional string size = 26;

Returns
Type Description
boolean

Whether the size field is set.

hasSizeSystem()

public abstract boolean hasSizeSystem()

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

optional string size_system = 27;

Returns
Type Description
boolean

Whether the sizeSystem field is set.

hasTitle()

public abstract boolean hasTitle()

Title of the item.

optional string title = 10;

Returns
Type Description
boolean

Whether the title field is set.