Interface AttributesOrBuilder (0.2.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of additionalImageLinks.

public abstract List<String> getAdditionalImageLinksList()

Additional URL of images of the item.

repeated string additional_image_links = 12;

Returns
TypeDescription
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
TypeDescription
boolean

The adult.

getAgeGroup()

public abstract String getAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
TypeDescription
String

The ageGroup.

getAgeGroupBytes()

public abstract ByteString getAgeGroupBytes()

Target age group of the item.

optional string age_group = 21;

Returns
TypeDescription
ByteString

The bytes for ageGroup.

getBrand()

public abstract String getBrand()

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

optional string brand = 14;

Returns
TypeDescription
String

The brand.

getBrandBytes()

public abstract ByteString getBrandBytes()

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

optional string brand = 14;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.shopping.css.v1.CertificationOrBuilder>

getColor()

public abstract String getColor()

Color of the item.

optional string color = 22;

Returns
TypeDescription
String

The color.

getColorBytes()

public abstract ByteString getColorBytes()

Color of the item.

optional string color = 22;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for customLabel4.

getDescription()

public abstract String getDescription()

Description of the item.

optional string description = 13;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of the item.

optional string description = 13;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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 in Google Shopping 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
TypeDescription
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 in Google Shopping 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
TypeDescription
TimestampOrBuilder

getGender()

public abstract String getGender()

Target gender of the item.

optional string gender = 23;

Returns
TypeDescription
String

The gender.

getGenderBytes()

public abstract ByteString getGenderBytes()

Target gender of the item.

optional string gender = 23;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for googleProductCategory.

getGtin()

public abstract String getGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
TypeDescription
String

The gtin.

getGtinBytes()

public abstract ByteString getGtinBytes()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
TypeDescription
ByteString

The bytes for gtin.

getHeadlineOfferCondition()

public abstract String getHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
TypeDescription
String

The headlineOfferCondition.

getHeadlineOfferConditionBytes()

public abstract ByteString getHeadlineOfferConditionBytes()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
TypeDescription
ByteString

The bytes for headlineOfferCondition.

public abstract String getHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
TypeDescription
String

The headlineOfferLink.

getHeadlineOfferLinkBytes()

public abstract ByteString getHeadlineOfferLinkBytes()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
TypeDescription
ByteString

The bytes for headlineOfferLink.

public abstract String getHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
TypeDescription
String

The headlineOfferMobileLink.

getHeadlineOfferMobileLinkBytes()

public abstract ByteString getHeadlineOfferMobileLinkBytes()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
TypeDescription
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
TypeDescription
Price

The headlineOfferPrice.

getHeadlineOfferPriceOrBuilder()

public abstract PriceOrBuilder getHeadlineOfferPriceOrBuilder()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder

getHeadlineOfferShippingPrice()

public abstract Price getHeadlineOfferShippingPrice()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
Price

The headlineOfferShippingPrice.

getHeadlineOfferShippingPriceOrBuilder()

public abstract PriceOrBuilder getHeadlineOfferShippingPriceOrBuilder()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder

getHighPrice()

public abstract Price getHighPrice()

High Price of the aggregate offer.

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

Returns
TypeDescription
Price

The highPrice.

getHighPriceOrBuilder()

public abstract PriceOrBuilder getHighPriceOrBuilder()

High Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder
public abstract String getImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
TypeDescription
String

The imageLink.

getImageLinkBytes()

public abstract ByteString getImageLinkBytes()

URL of an image of the item.

optional string image_link = 11;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The isBundle.

getItemGroupId()

public abstract String getItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
TypeDescription
String

The itemGroupId.

getItemGroupIdBytes()

public abstract ByteString getItemGroupIdBytes()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
TypeDescription
ByteString

The bytes for itemGroupId.

getLowPrice()

public abstract Price getLowPrice()

Low Price of the aggregate offer.

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

Returns
TypeDescription
Price

The lowPrice.

getLowPriceOrBuilder()

public abstract PriceOrBuilder getLowPriceOrBuilder()

Low Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder

getMaterial()

public abstract String getMaterial()

The material of which the item is made.

optional string material = 24;

Returns
TypeDescription
String

The material.

getMaterialBytes()

public abstract ByteString getMaterialBytes()

The material of which the item is made.

optional string material = 24;

Returns
TypeDescription
ByteString

The bytes for material.

getMpn()

public abstract String getMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
TypeDescription
String

The mpn.

getMpnBytes()

public abstract ByteString getMpnBytes()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
TypeDescription
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
TypeDescription
long

The multipack.

getNumberOfOffers()

public abstract long getNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
TypeDescription
long

The numberOfOffers.

getPattern()

public abstract String getPattern()

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

optional string pattern = 25;

Returns
TypeDescription
String

The pattern.

getPatternBytes()

public abstract ByteString getPatternBytes()

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

optional string pattern = 25;

Returns
TypeDescription
ByteString

The bytes for pattern.

getPause()

public abstract String getPause()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
TypeDescription
String

The pause.

getPauseBytes()

public abstract ByteString getPauseBytes()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProductDetail

getProductDetailsCount()

public abstract int getProductDetailsCount()

Technical specification or additional product details.

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

Returns
TypeDescription
int

getProductDetailsList()

public abstract List<ProductDetail> getProductDetailsList()

Technical specification or additional product details.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProductDetailOrBuilder

getProductDetailsOrBuilderList()

public abstract List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()

Technical specification or additional product details.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the sizeTypes.

getTitle()

public abstract String getTitle()

Title of the item.

optional string title = 10;

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the item.

optional string title = 10;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the adult field is set.

hasAgeGroup()

public abstract boolean hasAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the brand field is set.

hasColor()

public abstract boolean hasColor()

Color of the item.

optional string color = 22;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the customLabel4 field is set.

hasDescription()

public abstract boolean hasDescription()

Description of the item.

optional string description = 13;

Returns
TypeDescription
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 in Google Shopping 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
TypeDescription
boolean

Whether the expirationDate field is set.

hasGender()

public abstract boolean hasGender()

Target gender of the item.

optional string gender = 23;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gtin field is set.

hasHeadlineOfferCondition()

public abstract boolean hasHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
TypeDescription
boolean

Whether the headlineOfferCondition field is set.

public abstract boolean hasHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the highPrice field is set.

public abstract boolean hasImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the material field is set.

hasMpn()

public abstract boolean hasMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the multipack field is set.

hasNumberOfOffers()

public abstract boolean hasNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sizeSystem field is set.

hasTitle()

public abstract boolean hasTitle()

Title of the item.

optional string title = 10;

Returns
TypeDescription
boolean

Whether the title field is set.