Class Attributes.Builder (0.21.0)

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

Attributes for CSS Product.

Protobuf type google.shopping.css.v1.Attributes

Implements

AttributesOrBuilder

Static Methods

getDescriptor()

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

Methods

public Attributes.Builder addAdditionalImageLinks(String value)

Additional URL 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 URL 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.

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

Additional URL 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.

addAllCertifications(Iterable<? extends Certification> values)

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

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

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

Parameter
Name Description
values Iterable<? extends com.google.shopping.css.v1.Certification>
Returns
Type Description
Attributes.Builder

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

Parameter
Name Description
values Iterable<String>

The excludedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

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

Parameter
Name Description
values Iterable<String>

The includedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addAllProductDetails(Iterable<? extends ProductDetail> values)

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

Technical specification or additional product details.

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

Parameter
Name Description
values Iterable<? extends com.google.shopping.css.v1.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 = 35;

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 products data specification).

repeated string product_types = 36;

Parameter
Name Description
values Iterable<String>

The productTypes 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 = 28;

Parameter
Name Description
values Iterable<String>

The sizeTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addCertifications(Certification value)

public Attributes.Builder addCertifications(Certification value)

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

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

Parameter
Name Description
value Certification
Returns
Type Description
Attributes.Builder

addCertifications(Certification.Builder builderForValue)

public Attributes.Builder addCertifications(Certification.Builder builderForValue)

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

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

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

addCertifications(int index, Certification value)

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

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

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

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)

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

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

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

addCertificationsBuilder()

public Certification.Builder addCertificationsBuilder()

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

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

Returns
Type Description
Certification.Builder

addCertificationsBuilder(int index)

public Certification.Builder addCertificationsBuilder(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.Builder

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

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

Parameter
Name Description
value ByteString

The bytes of the excludedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

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

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

Parameter
Name Description
value ByteString

The bytes of the includedDestinations to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

addProductDetails(ProductDetail value)

public Attributes.Builder addProductDetails(ProductDetail value)

Technical specification or additional product details.

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

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.css.v1.ProductDetail product_details = 30;

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.css.v1.ProductDetail product_details = 30;

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.css.v1.ProductDetail product_details = 30;

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.css.v1.ProductDetail product_details = 30;

Returns
Type Description
ProductDetail.Builder

addProductDetailsBuilder(int index)

public ProductDetail.Builder addProductDetailsBuilder(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.Builder

addProductHighlights(String value)

public Attributes.Builder addProductHighlights(String value)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

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 = 35;

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 products data specification).

repeated string product_types = 36;

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 products data specification).

repeated string product_types = 36;

Parameter
Name Description
value ByteString

The bytes of the productTypes 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

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 = 28;

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 = 28;

Parameter
Name Description
value ByteString

The bytes of the sizeTypes to add.

Returns
Type Description
Attributes.Builder

This builder for chaining.

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 URL of images of the item.

repeated string additional_image_links = 12;

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 = 18;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearAgeGroup()

public Attributes.Builder clearAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearBrand()

public Attributes.Builder clearBrand()

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

optional string brand = 14;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCertifications()

public Attributes.Builder clearCertifications()

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

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

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.

clearCppAdsRedirect()

public Attributes.Builder clearCppAdsRedirect()

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
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearCppLink()

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

optional string cpp_link = 1;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearCppMobileLink()

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

optional string cpp_mobile_link = 2;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearCustomLabel0()

public Attributes.Builder clearCustomLabel0()

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

optional string custom_label_0 = 46;

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 = 47;

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 = 48;

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 = 49;

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 = 50;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearDescription()

public Attributes.Builder clearDescription()

Description of the item.

optional string description = 13;

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

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. 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
Attributes.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGender()

public Attributes.Builder clearGender()

Target gender of the item.

optional string gender = 23;

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

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 = 16;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearHeadlineOfferCondition()

public Attributes.Builder clearHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearHeadlineOfferInstallment()

public Attributes.Builder clearHeadlineOfferInstallment()

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

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

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder clearHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearHeadlineOfferPrice()

public Attributes.Builder clearHeadlineOfferPrice()

Headline Price of the aggregate offer.

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

Returns
Type Description
Attributes.Builder

clearHeadlineOfferShippingPrice()

public Attributes.Builder clearHeadlineOfferShippingPrice()

Headline Price of the aggregate offer.

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

Returns
Type Description
Attributes.Builder

clearHeadlineOfferSubscriptionCost()

public Attributes.Builder clearHeadlineOfferSubscriptionCost()

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Returns
Type Description
Attributes.Builder

clearHighPrice()

public Attributes.Builder clearHighPrice()

High Price of the aggregate offer.

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

Returns
Type Description
Attributes.Builder
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 = 43;

Returns
Type Description
Attributes.Builder

This builder for chaining.

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

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 = 29;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearLowPrice()

public Attributes.Builder clearLowPrice()

Low Price of the aggregate offer.

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

Returns
Type Description
Attributes.Builder

clearMaterial()

public Attributes.Builder clearMaterial()

The material of which the item is made.

optional string material = 24;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearMpn()

public Attributes.Builder clearMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

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 = 19;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearNumberOfOffers()

public Attributes.Builder clearNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

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 (e.g. polka dots).

optional string pattern = 25;

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 = 45;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearProductDetails()

public Attributes.Builder clearProductDetails()

Technical specification or additional product details.

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

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.css.v1.ProductDimension product_height = 34;

Returns
Type Description
Attributes.Builder

clearProductHighlights()

public Attributes.Builder clearProductHighlights()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

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.css.v1.ProductDimension product_length = 32;

Returns
Type Description
Attributes.Builder

clearProductTypes()

public Attributes.Builder clearProductTypes()

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

repeated string product_types = 36;

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.css.v1.ProductWeight product_weight = 31;

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.css.v1.ProductDimension product_width = 33;

Returns
Type Description
Attributes.Builder

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 = 26;

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 = 27;

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 = 28;

Returns
Type Description
Attributes.Builder

This builder for chaining.

clearTitle()

public Attributes.Builder clearTitle()

Title of the item.

optional string title = 10;

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

Additional URL of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
int

The count of additionalImageLinks.

public ProtocolStringList getAdditionalImageLinksList()

Additional URL of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
ProtocolStringList

A list containing the additionalImageLinks.

getAdult()

public boolean getAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 18;

Returns
Type Description
boolean

The adult.

getAgeGroup()

public String getAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
Type Description
String

The ageGroup.

getAgeGroupBytes()

public ByteString getAgeGroupBytes()

Target age group of the item.

optional string age_group = 21;

Returns
Type Description
ByteString

The bytes for ageGroup.

getBrand()

public String getBrand()

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

optional string brand = 14;

Returns
Type Description
String

The brand.

getBrandBytes()

public 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 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

getCertificationsBuilder(int index)

public Certification.Builder getCertificationsBuilder(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.Builder

getCertificationsBuilderList()

public List<Certification.Builder> getCertificationsBuilderList()

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

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

Returns
Type Description
List<Builder>

getCertificationsCount()

public 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 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 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 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 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.

getCppAdsRedirect()

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.

getDefaultInstanceForType()

public Attributes getDefaultInstanceForType()
Returns
Type Description
Attributes

getDescription()

public String getDescription()

Description of the item.

optional string description = 13;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the item.

optional string description = 13;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

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 = 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 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 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 ProtocolStringList 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
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. 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.

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. 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
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. 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 String getGender()

Target gender of the item.

optional string gender = 23;

Returns
Type Description
String

The gender.

getGenderBytes()

public ByteString getGenderBytes()

Target gender of the item.

optional string gender = 23;

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

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

Returns
Type Description
ByteString

The bytes for googleProductCategory.

getGtin()

public String getGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
Type Description
String

The gtin.

getGtinBytes()

public ByteString getGtinBytes()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
Type Description
ByteString

The bytes for gtin.

getHeadlineOfferCondition()

public String getHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
String

The headlineOfferCondition.

getHeadlineOfferConditionBytes()

public ByteString getHeadlineOfferConditionBytes()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
ByteString

The bytes for headlineOfferCondition.

getHeadlineOfferInstallment()

public HeadlineOfferInstallment getHeadlineOfferInstallment()

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Returns
Type Description
HeadlineOfferInstallment

The headlineOfferInstallment.

getHeadlineOfferInstallmentBuilder()

public HeadlineOfferInstallment.Builder getHeadlineOfferInstallmentBuilder()

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Returns
Type Description
HeadlineOfferInstallment.Builder

getHeadlineOfferInstallmentOrBuilder()

public HeadlineOfferInstallmentOrBuilder getHeadlineOfferInstallmentOrBuilder()

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Returns
Type Description
HeadlineOfferInstallmentOrBuilder
public String getHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
String

The headlineOfferLink.

getHeadlineOfferLinkBytes()

public ByteString getHeadlineOfferLinkBytes()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
ByteString

The bytes for headlineOfferLink.

public String getHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
Type Description
String

The headlineOfferMobileLink.

getHeadlineOfferMobileLinkBytes()

public 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 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.

getHeadlineOfferPriceBuilder()

public Price.Builder getHeadlineOfferPriceBuilder()

Headline Price of the aggregate offer.

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

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

getHeadlineOfferPriceOrBuilder()

public 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 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.

getHeadlineOfferShippingPriceBuilder()

public Price.Builder getHeadlineOfferShippingPriceBuilder()

Headline Price of the aggregate offer.

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

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

getHeadlineOfferShippingPriceOrBuilder()

public 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

getHeadlineOfferSubscriptionCost()

public HeadlineOfferSubscriptionCost getHeadlineOfferSubscriptionCost()

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Returns
Type Description
HeadlineOfferSubscriptionCost

The headlineOfferSubscriptionCost.

getHeadlineOfferSubscriptionCostBuilder()

public HeadlineOfferSubscriptionCost.Builder getHeadlineOfferSubscriptionCostBuilder()

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Returns
Type Description
HeadlineOfferSubscriptionCost.Builder

getHeadlineOfferSubscriptionCostOrBuilder()

public HeadlineOfferSubscriptionCostOrBuilder getHeadlineOfferSubscriptionCostOrBuilder()

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Returns
Type Description
HeadlineOfferSubscriptionCostOrBuilder

getHighPrice()

public 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.

getHighPriceBuilder()

public Price.Builder getHighPriceBuilder()

High Price of the aggregate offer.

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

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

getHighPriceOrBuilder()

public PriceOrBuilder getHighPriceOrBuilder()

High Price of the aggregate offer.

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

Returns
Type Description
com.google.shopping.type.PriceOrBuilder
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 = 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 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 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 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 = 43;

Returns
Type Description
ProtocolStringList

A list containing the includedDestinations.

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

Returns
Type Description
boolean

The isBundle.

getItemGroupId()

public 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 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 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.

getLowPriceBuilder()

public Price.Builder getLowPriceBuilder()

Low Price of the aggregate offer.

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

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

getLowPriceOrBuilder()

public 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 String getMaterial()

The material of which the item is made.

optional string material = 24;

Returns
Type Description
String

The material.

getMaterialBytes()

public ByteString getMaterialBytes()

The material of which the item is made.

optional string material = 24;

Returns
Type Description
ByteString

The bytes for material.

getMpn()

public String getMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
Type Description
String

The mpn.

getMpnBytes()

public ByteString getMpnBytes()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

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 = 19;

Returns
Type Description
long

The multipack.

getNumberOfOffers()

public long getNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
Type Description
long

The numberOfOffers.

getPattern()

public String getPattern()

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

optional string pattern = 25;

Returns
Type Description
String

The pattern.

getPatternBytes()

public ByteString getPatternBytes()

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

optional string pattern = 25;

Returns
Type Description
ByteString

The bytes for pattern.

getPause()

public String getPause()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
Type Description
String

The pause.

getPauseBytes()

public 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 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

getProductDetailsBuilder(int index)

public ProductDetail.Builder getProductDetailsBuilder(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.Builder

getProductDetailsBuilderList()

public List<ProductDetail.Builder> getProductDetailsBuilderList()

Technical specification or additional product details.

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

Returns
Type Description
List<Builder>

getProductDetailsCount()

public int getProductDetailsCount()

Technical specification or additional product details.

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

Returns
Type Description
int

getProductDetailsList()

public 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 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 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 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.

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.css.v1.ProductDimension product_height = 34;

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.css.v1.ProductDimension product_height = 34;

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 = 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 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 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 ProtocolStringList getProductHighlightsList()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

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.css.v1.ProductDimension product_length = 32;

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.css.v1.ProductDimension product_length = 32;

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.css.v1.ProductDimension product_length = 32;

Returns
Type Description
ProductDimensionOrBuilder

getProductTypes(int index)

public 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 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 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 ProtocolStringList getProductTypesList()

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

repeated string product_types = 36;

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.css.v1.ProductWeight product_weight = 31;

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.css.v1.ProductWeight product_weight = 31;

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.css.v1.ProductWeight product_weight = 31;

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.css.v1.ProductDimension product_width = 33;

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.css.v1.ProductDimension product_width = 33;

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.css.v1.ProductDimension product_width = 33;

Returns
Type Description
ProductDimensionOrBuilder

getSize()

public String getSize()

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

optional string size = 26;

Returns
Type Description
String

The size.

getSizeBytes()

public ByteString getSizeBytes()

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

optional string size = 26;

Returns
Type Description
ByteString

The bytes for size.

getSizeSystem()

public String getSizeSystem()

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

optional string size_system = 27;

Returns
Type Description
String

The sizeSystem.

getSizeSystemBytes()

public ByteString getSizeSystemBytes()

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

optional string size_system = 27;

Returns
Type Description
ByteString

The bytes for sizeSystem.

getSizeTypes(int index)

public String getSizeTypes(int index)

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

repeated string size_types = 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 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 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 ProtocolStringList getSizeTypesList()

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

repeated string size_types = 28;

Returns
Type Description
ProtocolStringList

A list containing the sizeTypes.

getTitle()

public String getTitle()

Title of the item.

optional string title = 10;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Title of the item.

optional string title = 10;

Returns
Type Description
ByteString

The bytes for title.

hasAdult()

public 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 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 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 boolean hasColor()

Color of the item.

optional string color = 22;

Returns
Type Description
boolean

Whether the color field is set.

hasCppAdsRedirect()

public 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 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 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 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 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 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 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 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 boolean hasDescription()

Description of the item.

optional string description = 13;

Returns
Type Description
boolean

Whether the description field is set.

hasExpirationDate()

public boolean hasExpirationDate()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future. 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 boolean hasGender()

Target gender of the item.

optional string gender = 23;

Returns
Type Description
boolean

Whether the gender field is set.

hasGoogleProductCategory()

public boolean hasGoogleProductCategory()

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

optional string google_product_category = 17;

Returns
Type Description
boolean

Whether the googleProductCategory field is set.

hasGtin()

public boolean hasGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
Type Description
boolean

Whether the gtin field is set.

hasHeadlineOfferCondition()

public boolean hasHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
Type Description
boolean

Whether the headlineOfferCondition field is set.

hasHeadlineOfferInstallment()

public boolean hasHeadlineOfferInstallment()

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Returns
Type Description
boolean

Whether the headlineOfferInstallment field is set.

public boolean hasHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
Type Description
boolean

Whether the headlineOfferLink field is set.

public 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 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 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.

hasHeadlineOfferSubscriptionCost()

public boolean hasHeadlineOfferSubscriptionCost()

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Returns
Type Description
boolean

Whether the headlineOfferSubscriptionCost field is set.

hasHighPrice()

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 boolean hasTitle()

Title of the item.

optional string title = 10;

Returns
Type Description
boolean

Whether the title field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpirationDate(Timestamp value)

public Attributes.Builder mergeExpirationDate(Timestamp value)

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

.google.protobuf.Timestamp expiration_date = 40;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Attributes other)

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

mergeHeadlineOfferInstallment(HeadlineOfferInstallment value)

public Attributes.Builder mergeHeadlineOfferInstallment(HeadlineOfferInstallment value)

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Parameter
Name Description
value HeadlineOfferInstallment
Returns
Type Description
Attributes.Builder

mergeHeadlineOfferPrice(Price value)

public Attributes.Builder mergeHeadlineOfferPrice(Price value)

Headline Price of the aggregate offer.

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

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

mergeHeadlineOfferShippingPrice(Price value)

public Attributes.Builder mergeHeadlineOfferShippingPrice(Price value)

Headline Price of the aggregate offer.

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

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

mergeHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost value)

public Attributes.Builder mergeHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost value)

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Parameter
Name Description
value HeadlineOfferSubscriptionCost
Returns
Type Description
Attributes.Builder

mergeHighPrice(Price value)

public Attributes.Builder mergeHighPrice(Price value)

High Price of the aggregate offer.

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

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

mergeLowPrice(Price value)

public Attributes.Builder mergeLowPrice(Price value)

Low Price of the aggregate offer.

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

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

mergeProductHeight(ProductDimension value)

public Attributes.Builder mergeProductHeight(ProductDimension value)

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

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

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

mergeProductLength(ProductDimension value)

public Attributes.Builder mergeProductLength(ProductDimension value)

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

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

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

mergeProductWeight(ProductWeight value)

public Attributes.Builder mergeProductWeight(ProductWeight value)

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

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

Parameter
Name Description
value ProductWeight
Returns
Type Description
Attributes.Builder

mergeProductWidth(ProductDimension value)

public Attributes.Builder mergeProductWidth(ProductDimension value)

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

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

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCertifications(int index)

public Attributes.Builder removeCertifications(int index)

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
Attributes.Builder

removeProductDetails(int index)

public Attributes.Builder removeProductDetails(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
Attributes.Builder
public Attributes.Builder setAdditionalImageLinks(int index, String value)

Additional URL of images of the item.

repeated string additional_image_links = 12;

Parameters
Name Description
index int

The index to set the value at.

value String

The additionalImageLinks to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAdult(boolean value)

public Attributes.Builder setAdult(boolean value)

Set to true if the item is targeted towards adults.

optional bool adult = 18;

Parameter
Name Description
value boolean

The adult to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAgeGroup(String value)

public Attributes.Builder setAgeGroup(String value)

Target age group of the item.

optional string age_group = 21;

Parameter
Name Description
value String

The ageGroup to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setAgeGroupBytes(ByteString value)

public Attributes.Builder setAgeGroupBytes(ByteString value)

Target age group of the item.

optional string age_group = 21;

Parameter
Name Description
value ByteString

The bytes for ageGroup to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setBrand(String value)

public Attributes.Builder setBrand(String value)

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

optional string brand = 14;

Parameter
Name Description
value String

The brand to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setBrandBytes(ByteString value)

public Attributes.Builder setBrandBytes(ByteString value)

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

optional string brand = 14;

Parameter
Name Description
value ByteString

The bytes for brand to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCertifications(int index, Certification value)

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

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

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

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

setCertifications(int index, Certification.Builder builderForValue)

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

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

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

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

setColor(String value)

public Attributes.Builder setColor(String value)

Color of the item.

optional string color = 22;

Parameter
Name Description
value String

The color to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setColorBytes(ByteString value)

public Attributes.Builder setColorBytes(ByteString value)

Color of the item.

optional string color = 22;

Parameter
Name Description
value ByteString

The bytes for color to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCppAdsRedirect(String value)

public Attributes.Builder setCppAdsRedirect(String value)

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

optional string cpp_ads_redirect = 42;

Parameter
Name Description
value String

The cppAdsRedirect to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCppAdsRedirectBytes(ByteString value)

public Attributes.Builder setCppAdsRedirectBytes(ByteString value)

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

optional string cpp_ads_redirect = 42;

Parameter
Name Description
value ByteString

The bytes for cppAdsRedirect to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setCppLink(String value)

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

optional string cpp_link = 1;

Parameter
Name Description
value String

The cppLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCppLinkBytes(ByteString value)

public Attributes.Builder setCppLinkBytes(ByteString value)

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

optional string cpp_link = 1;

Parameter
Name Description
value ByteString

The bytes for cppLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setCppMobileLink(String value)

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

optional string cpp_mobile_link = 2;

Parameter
Name Description
value String

The cppMobileLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCppMobileLinkBytes(ByteString value)

public Attributes.Builder setCppMobileLinkBytes(ByteString value)

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

optional string cpp_mobile_link = 2;

Parameter
Name Description
value ByteString

The bytes for cppMobileLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel0(String value)

public Attributes.Builder setCustomLabel0(String value)

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

optional string custom_label_0 = 46;

Parameter
Name Description
value String

The customLabel0 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel0Bytes(ByteString value)

public Attributes.Builder setCustomLabel0Bytes(ByteString value)

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

optional string custom_label_0 = 46;

Parameter
Name Description
value ByteString

The bytes for customLabel0 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel1(String value)

public Attributes.Builder setCustomLabel1(String value)

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

optional string custom_label_1 = 47;

Parameter
Name Description
value String

The customLabel1 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel1Bytes(ByteString value)

public Attributes.Builder setCustomLabel1Bytes(ByteString value)

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

optional string custom_label_1 = 47;

Parameter
Name Description
value ByteString

The bytes for customLabel1 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel2(String value)

public Attributes.Builder setCustomLabel2(String value)

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

optional string custom_label_2 = 48;

Parameter
Name Description
value String

The customLabel2 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel2Bytes(ByteString value)

public Attributes.Builder setCustomLabel2Bytes(ByteString value)

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

optional string custom_label_2 = 48;

Parameter
Name Description
value ByteString

The bytes for customLabel2 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel3(String value)

public Attributes.Builder setCustomLabel3(String value)

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

optional string custom_label_3 = 49;

Parameter
Name Description
value String

The customLabel3 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel3Bytes(ByteString value)

public Attributes.Builder setCustomLabel3Bytes(ByteString value)

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

optional string custom_label_3 = 49;

Parameter
Name Description
value ByteString

The bytes for customLabel3 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel4(String value)

public Attributes.Builder setCustomLabel4(String value)

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

optional string custom_label_4 = 50;

Parameter
Name Description
value String

The customLabel4 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setCustomLabel4Bytes(ByteString value)

public Attributes.Builder setCustomLabel4Bytes(ByteString value)

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

optional string custom_label_4 = 50;

Parameter
Name Description
value ByteString

The bytes for customLabel4 to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDescription(String value)

public Attributes.Builder setDescription(String value)

Description of the item.

optional string description = 13;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Attributes.Builder setDescriptionBytes(ByteString value)

Description of the item.

optional string description = 13;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setExcludedDestinations(int index, String value)

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

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

repeated string excluded_destinations = 44;

Parameters
Name Description
index int

The index to set the value at.

value String

The excludedDestinations to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setExpirationDate(Timestamp value)

public Attributes.Builder setExpirationDate(Timestamp value)

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

.google.protobuf.Timestamp expiration_date = 40;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attributes.Builder

setExpirationDate(Timestamp.Builder builderForValue)

public Attributes.Builder setExpirationDate(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp expiration_date = 40;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attributes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGender(String value)

public Attributes.Builder setGender(String value)

Target gender of the item.

optional string gender = 23;

Parameter
Name Description
value String

The gender to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGenderBytes(ByteString value)

public Attributes.Builder setGenderBytes(ByteString value)

Target gender of the item.

optional string gender = 23;

Parameter
Name Description
value ByteString

The bytes for gender to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGoogleProductCategory(String value)

public Attributes.Builder setGoogleProductCategory(String value)

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

optional string google_product_category = 17;

Parameter
Name Description
value String

The googleProductCategory to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGoogleProductCategoryBytes(ByteString value)

public Attributes.Builder setGoogleProductCategoryBytes(ByteString value)

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

optional string google_product_category = 17;

Parameter
Name Description
value ByteString

The bytes for googleProductCategory to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGtin(String value)

public Attributes.Builder setGtin(String value)

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Parameter
Name Description
value String

The gtin to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setGtinBytes(ByteString value)

public Attributes.Builder setGtinBytes(ByteString value)

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Parameter
Name Description
value ByteString

The bytes for gtin to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setHeadlineOfferCondition(String value)

public Attributes.Builder setHeadlineOfferCondition(String value)

Condition of the headline offer.

optional string headline_offer_condition = 6;

Parameter
Name Description
value String

The headlineOfferCondition to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setHeadlineOfferConditionBytes(ByteString value)

public Attributes.Builder setHeadlineOfferConditionBytes(ByteString value)

Condition of the headline offer.

optional string headline_offer_condition = 6;

Parameter
Name Description
value ByteString

The bytes for headlineOfferCondition to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setHeadlineOfferInstallment(HeadlineOfferInstallment value)

public Attributes.Builder setHeadlineOfferInstallment(HeadlineOfferInstallment value)

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Parameter
Name Description
value HeadlineOfferInstallment
Returns
Type Description
Attributes.Builder

setHeadlineOfferInstallment(HeadlineOfferInstallment.Builder builderForValue)

public Attributes.Builder setHeadlineOfferInstallment(HeadlineOfferInstallment.Builder builderForValue)

Number and amount of installments to pay for an item.

.google.shopping.css.v1.HeadlineOfferInstallment headline_offer_installment = 51;

Parameter
Name Description
builderForValue HeadlineOfferInstallment.Builder
Returns
Type Description
Attributes.Builder
public Attributes.Builder setHeadlineOfferLink(String value)

Link to the headline offer.

optional string headline_offer_link = 8;

Parameter
Name Description
value String

The headlineOfferLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setHeadlineOfferLinkBytes(ByteString value)

public Attributes.Builder setHeadlineOfferLinkBytes(ByteString value)

Link to the headline offer.

optional string headline_offer_link = 8;

Parameter
Name Description
value ByteString

The bytes for headlineOfferLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

public Attributes.Builder setHeadlineOfferMobileLink(String value)

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Parameter
Name Description
value String

The headlineOfferMobileLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setHeadlineOfferMobileLinkBytes(ByteString value)

public Attributes.Builder setHeadlineOfferMobileLinkBytes(ByteString value)

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Parameter
Name Description
value ByteString

The bytes for headlineOfferMobileLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setHeadlineOfferPrice(Price value)

public Attributes.Builder setHeadlineOfferPrice(Price value)

Headline Price of the aggregate offer.

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

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

setHeadlineOfferPrice(Price.Builder builderForValue)

public Attributes.Builder setHeadlineOfferPrice(Price.Builder builderForValue)

Headline Price of the aggregate offer.

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

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

setHeadlineOfferShippingPrice(Price value)

public Attributes.Builder setHeadlineOfferShippingPrice(Price value)

Headline Price of the aggregate offer.

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

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

setHeadlineOfferShippingPrice(Price.Builder builderForValue)

public Attributes.Builder setHeadlineOfferShippingPrice(Price.Builder builderForValue)

Headline Price of the aggregate offer.

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

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

setHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost value)

public Attributes.Builder setHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost value)

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

Parameter
Name Description
value HeadlineOfferSubscriptionCost
Returns
Type Description
Attributes.Builder

setHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost.Builder builderForValue)

public Attributes.Builder setHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost.Builder builderForValue)

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

.google.shopping.css.v1.HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52;

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

setHighPrice(Price value)

public Attributes.Builder setHighPrice(Price value)

High Price of the aggregate offer.

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

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

setHighPrice(Price.Builder builderForValue)

public Attributes.Builder setHighPrice(Price.Builder builderForValue)

High Price of the aggregate offer.

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

Parameter
Name Description
builderForValue com.google.shopping.type.Price.Builder
Returns
Type Description
Attributes.Builder
public Attributes.Builder setImageLink(String value)

URL of an image of the item.

optional string image_link = 11;

Parameter
Name Description
value String

The imageLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setImageLinkBytes(ByteString value)

public Attributes.Builder setImageLinkBytes(ByteString value)

URL of an image of the item.

optional string image_link = 11;

Parameter
Name Description
value ByteString

The bytes for imageLink to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setIncludedDestinations(int index, String value)

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

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

repeated string included_destinations = 43;

Parameters
Name Description
index int

The index to set the value at.

value String

The includedDestinations to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setIsBundle(boolean value)

public Attributes.Builder setIsBundle(boolean value)

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

optional bool is_bundle = 20;

Parameter
Name Description
value boolean

The isBundle to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setItemGroupId(String value)

public Attributes.Builder setItemGroupId(String value)

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Parameter
Name Description
value String

The itemGroupId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setItemGroupIdBytes(ByteString value)

public Attributes.Builder setItemGroupIdBytes(ByteString value)

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Parameter
Name Description
value ByteString

The bytes for itemGroupId to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setLowPrice(Price value)

public Attributes.Builder setLowPrice(Price value)

Low Price of the aggregate offer.

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

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

setLowPrice(Price.Builder builderForValue)

public Attributes.Builder setLowPrice(Price.Builder builderForValue)

Low Price of the aggregate offer.

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

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

setMaterial(String value)

public Attributes.Builder setMaterial(String value)

The material of which the item is made.

optional string material = 24;

Parameter
Name Description
value String

The material to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMaterialBytes(ByteString value)

public Attributes.Builder setMaterialBytes(ByteString value)

The material of which the item is made.

optional string material = 24;

Parameter
Name Description
value ByteString

The bytes for material to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMpn(String value)

public Attributes.Builder setMpn(String value)

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Parameter
Name Description
value String

The mpn to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMpnBytes(ByteString value)

public Attributes.Builder setMpnBytes(ByteString value)

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Parameter
Name Description
value ByteString

The bytes for mpn to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setMultipack(long value)

public Attributes.Builder setMultipack(long value)

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

optional int64 multipack = 19;

Parameter
Name Description
value long

The multipack to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setNumberOfOffers(long value)

public Attributes.Builder setNumberOfOffers(long value)

The number of aggregate offers.

optional int64 number_of_offers = 5;

Parameter
Name Description
value long

The numberOfOffers to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPattern(String value)

public Attributes.Builder setPattern(String value)

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

optional string pattern = 25;

Parameter
Name Description
value String

The pattern to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPatternBytes(ByteString value)

public Attributes.Builder setPatternBytes(ByteString value)

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

optional string pattern = 25;

Parameter
Name Description
value ByteString

The bytes for pattern to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPause(String value)

public Attributes.Builder setPause(String value)

Publication of this item will be temporarily paused.

optional string pause = 45;

Parameter
Name Description
value String

The pause to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setPauseBytes(ByteString value)

public Attributes.Builder setPauseBytes(ByteString value)

Publication of this item will be temporarily paused.

optional string pause = 45;

Parameter
Name Description
value ByteString

The bytes for pause to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setProductDetails(int index, ProductDetail value)

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

Technical specification or additional product details.

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

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

setProductDetails(int index, ProductDetail.Builder builderForValue)

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

Technical specification or additional product details.

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

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

setProductHeight(ProductDimension value)

public Attributes.Builder setProductHeight(ProductDimension value)

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

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

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

setProductHeight(ProductDimension.Builder builderForValue)

public Attributes.Builder setProductHeight(ProductDimension.Builder builderForValue)

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

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

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

setProductHighlights(int index, String value)

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

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

Parameters
Name Description
index int

The index to set the value at.

value String

The productHighlights to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setProductLength(ProductDimension value)

public Attributes.Builder setProductLength(ProductDimension value)

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

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

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

setProductLength(ProductDimension.Builder builderForValue)

public Attributes.Builder setProductLength(ProductDimension.Builder builderForValue)

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

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

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

setProductTypes(int index, String value)

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

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

repeated string product_types = 36;

Parameters
Name Description
index int

The index to set the value at.

value String

The productTypes to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setProductWeight(ProductWeight value)

public Attributes.Builder setProductWeight(ProductWeight value)

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

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

Parameter
Name Description
value ProductWeight
Returns
Type Description
Attributes.Builder

setProductWeight(ProductWeight.Builder builderForValue)

public Attributes.Builder setProductWeight(ProductWeight.Builder builderForValue)

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

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

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

setProductWidth(ProductDimension value)

public Attributes.Builder setProductWidth(ProductDimension value)

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

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

Parameter
Name Description
value ProductDimension
Returns
Type Description
Attributes.Builder

setProductWidth(ProductDimension.Builder builderForValue)

public Attributes.Builder setProductWidth(ProductDimension.Builder builderForValue)

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

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

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

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

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

setSize(String value)

public Attributes.Builder setSize(String value)

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

optional string size = 26;

Parameter
Name Description
value String

The size to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeBytes(ByteString value)

public Attributes.Builder setSizeBytes(ByteString value)

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

optional string size = 26;

Parameter
Name Description
value ByteString

The bytes for size to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeSystem(String value)

public Attributes.Builder setSizeSystem(String value)

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

optional string size_system = 27;

Parameter
Name Description
value String

The sizeSystem to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeSystemBytes(ByteString value)

public Attributes.Builder setSizeSystemBytes(ByteString value)

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

optional string size_system = 27;

Parameter
Name Description
value ByteString

The bytes for sizeSystem to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setSizeTypes(int index, String value)

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

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

repeated string size_types = 28;

Parameters
Name Description
index int

The index to set the value at.

value String

The sizeTypes to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTitle(String value)

public Attributes.Builder setTitle(String value)

Title of the item.

optional string title = 10;

Parameter
Name Description
value String

The title to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public Attributes.Builder setTitleBytes(ByteString value)

Title of the item.

optional string title = 10;

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
Attributes.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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