Class Attributes (0.1.0)

public final class Attributes extends GeneratedMessageV3 implements AttributesOrBuilder

Attributes for CSS Product.

Protobuf type google.shopping.css.v1.Attributes

Implements

AttributesOrBuilder

Static Fields

public static final int ADDITIONAL_IMAGE_LINKS_FIELD_NUMBER
Field Value
TypeDescription
int

ADULT_FIELD_NUMBER

public static final int ADULT_FIELD_NUMBER
Field Value
TypeDescription
int

AGE_GROUP_FIELD_NUMBER

public static final int AGE_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

BRAND_FIELD_NUMBER

public static final int BRAND_FIELD_NUMBER
Field Value
TypeDescription
int

CERTIFICATIONS_FIELD_NUMBER

public static final int CERTIFICATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

COLOR_FIELD_NUMBER

public static final int COLOR_FIELD_NUMBER
Field Value
TypeDescription
int

CPP_ADS_REDIRECT_FIELD_NUMBER

public static final int CPP_ADS_REDIRECT_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int CPP_LINK_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int CPP_MOBILE_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_LABEL_0_FIELD_NUMBER

public static final int CUSTOM_LABEL_0_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_LABEL_1_FIELD_NUMBER

public static final int CUSTOM_LABEL_1_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_LABEL_2_FIELD_NUMBER

public static final int CUSTOM_LABEL_2_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_LABEL_3_FIELD_NUMBER

public static final int CUSTOM_LABEL_3_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_LABEL_4_FIELD_NUMBER

public static final int CUSTOM_LABEL_4_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

EXCLUDED_DESTINATIONS_FIELD_NUMBER

public static final int EXCLUDED_DESTINATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

EXPIRATION_DATE_FIELD_NUMBER

public static final int EXPIRATION_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

GENDER_FIELD_NUMBER

public static final int GENDER_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGLE_PRODUCT_CATEGORY_FIELD_NUMBER

public static final int GOOGLE_PRODUCT_CATEGORY_FIELD_NUMBER
Field Value
TypeDescription
int

GTIN_FIELD_NUMBER

public static final int GTIN_FIELD_NUMBER
Field Value
TypeDescription
int

HEADLINE_OFFER_CONDITION_FIELD_NUMBER

public static final int HEADLINE_OFFER_CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int HEADLINE_OFFER_LINK_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int HEADLINE_OFFER_MOBILE_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

HEADLINE_OFFER_PRICE_FIELD_NUMBER

public static final int HEADLINE_OFFER_PRICE_FIELD_NUMBER
Field Value
TypeDescription
int

HEADLINE_OFFER_SHIPPING_PRICE_FIELD_NUMBER

public static final int HEADLINE_OFFER_SHIPPING_PRICE_FIELD_NUMBER
Field Value
TypeDescription
int

HIGH_PRICE_FIELD_NUMBER

public static final int HIGH_PRICE_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int IMAGE_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

INCLUDED_DESTINATIONS_FIELD_NUMBER

public static final int INCLUDED_DESTINATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

IS_BUNDLE_FIELD_NUMBER

public static final int IS_BUNDLE_FIELD_NUMBER
Field Value
TypeDescription
int

ITEM_GROUP_ID_FIELD_NUMBER

public static final int ITEM_GROUP_ID_FIELD_NUMBER
Field Value
TypeDescription
int

LOW_PRICE_FIELD_NUMBER

public static final int LOW_PRICE_FIELD_NUMBER
Field Value
TypeDescription
int

MATERIAL_FIELD_NUMBER

public static final int MATERIAL_FIELD_NUMBER
Field Value
TypeDescription
int

MPN_FIELD_NUMBER

public static final int MPN_FIELD_NUMBER
Field Value
TypeDescription
int

MULTIPACK_FIELD_NUMBER

public static final int MULTIPACK_FIELD_NUMBER
Field Value
TypeDescription
int

NUMBER_OF_OFFERS_FIELD_NUMBER

public static final int NUMBER_OF_OFFERS_FIELD_NUMBER
Field Value
TypeDescription
int

PATTERN_FIELD_NUMBER

public static final int PATTERN_FIELD_NUMBER
Field Value
TypeDescription
int

PAUSE_FIELD_NUMBER

public static final int PAUSE_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_DETAILS_FIELD_NUMBER

public static final int PRODUCT_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_HEIGHT_FIELD_NUMBER

public static final int PRODUCT_HEIGHT_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_HIGHLIGHTS_FIELD_NUMBER

public static final int PRODUCT_HIGHLIGHTS_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_LENGTH_FIELD_NUMBER

public static final int PRODUCT_LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_TYPES_FIELD_NUMBER

public static final int PRODUCT_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_WEIGHT_FIELD_NUMBER

public static final int PRODUCT_WEIGHT_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_WIDTH_FIELD_NUMBER

public static final int PRODUCT_WIDTH_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_FIELD_NUMBER

public static final int SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_SYSTEM_FIELD_NUMBER

public static final int SIZE_SYSTEM_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_TYPES_FIELD_NUMBER

public static final int SIZE_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Attributes getDefaultInstance()
Returns
TypeDescription
Attributes

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Attributes.Builder newBuilder()
Returns
TypeDescription
Attributes.Builder

newBuilder(Attributes prototype)

public static Attributes.Builder newBuilder(Attributes prototype)
Parameter
NameDescription
prototypeAttributes
Returns
TypeDescription
Attributes.Builder

parseDelimitedFrom(InputStream input)

public static Attributes parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Attributes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Attributes parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Attributes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Attributes parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Attributes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Attributes parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Attributes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Attributes parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Attributes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Attributes parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Attributes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attributes
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Attributes> parser()
Returns
TypeDescription
Parser<Attributes>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public String getAdditionalImageLinks(int index)

Additional URL of images of the item.

repeated string additional_image_links = 12;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The additionalImageLinks at the given index.

getAdditionalImageLinksBytes(int index)

public ByteString getAdditionalImageLinksBytes(int index)

Additional URL of images of the item.

repeated string additional_image_links = 12;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the additionalImageLinks at the given index.

getAdditionalImageLinksCount()

public int getAdditionalImageLinksCount()

Additional URL of images of the item.

repeated string additional_image_links = 12;

Returns
TypeDescription
int

The count of additionalImageLinks.

public ProtocolStringList getAdditionalImageLinksList()

Additional URL of images of the item.

repeated string additional_image_links = 12;

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

The adult.

getAgeGroup()

public String getAgeGroup()

Target age group of the item.

optional string age_group = 21;

Returns
TypeDescription
String

The ageGroup.

getAgeGroupBytes()

public ByteString getAgeGroupBytes()

Target age group of the item.

optional string age_group = 21;

Returns
TypeDescription
ByteString

The bytes for ageGroup.

getBrand()

public String getBrand()

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

optional string brand = 14;

Returns
TypeDescription
String

The brand.

getBrandBytes()

public ByteString getBrandBytes()

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

optional string brand = 14;

Returns
TypeDescription
ByteString

The bytes for brand.

getCertifications(int index)

public Certification getCertifications(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Certification

getCertificationsCount()

public int getCertificationsCount()

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

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

Returns
TypeDescription
int

getCertificationsList()

public List<Certification> getCertificationsList()

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

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

Returns
TypeDescription
List<Certification>

getCertificationsOrBuilder(int index)

public CertificationOrBuilder getCertificationsOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificationOrBuilder

getCertificationsOrBuilderList()

public List<? extends CertificationOrBuilder> getCertificationsOrBuilderList()

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

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

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

getColor()

public String getColor()

Color of the item.

optional string color = 22;

Returns
TypeDescription
String

The color.

getColorBytes()

public ByteString getColorBytes()

Color of the item.

optional string color = 22;

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

The bytes for customLabel4.

getDefaultInstanceForType()

public Attributes getDefaultInstanceForType()
Returns
TypeDescription
Attributes

getDescription()

public String getDescription()

Description of the item.

optional string description = 13;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the item.

optional string description = 13;

Returns
TypeDescription
ByteString

The bytes for description.

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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 in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted.

.google.protobuf.Timestamp expiration_date = 40;

Returns
TypeDescription
Timestamp

The expirationDate.

getExpirationDateOrBuilder()

public TimestampOrBuilder getExpirationDateOrBuilder()

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

.google.protobuf.Timestamp expiration_date = 40;

Returns
TypeDescription
TimestampOrBuilder

getGender()

public String getGender()

Target gender of the item.

optional string gender = 23;

Returns
TypeDescription
String

The gender.

getGenderBytes()

public ByteString getGenderBytes()

Target gender of the item.

optional string gender = 23;

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

The bytes for googleProductCategory.

getGtin()

public String getGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
TypeDescription
String

The gtin.

getGtinBytes()

public ByteString getGtinBytes()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
TypeDescription
ByteString

The bytes for gtin.

getHeadlineOfferCondition()

public String getHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
TypeDescription
String

The headlineOfferCondition.

getHeadlineOfferConditionBytes()

public ByteString getHeadlineOfferConditionBytes()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
TypeDescription
ByteString

The bytes for headlineOfferCondition.

public String getHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
TypeDescription
String

The headlineOfferLink.

getHeadlineOfferLinkBytes()

public ByteString getHeadlineOfferLinkBytes()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
TypeDescription
ByteString

The bytes for headlineOfferLink.

public String getHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
TypeDescription
String

The headlineOfferMobileLink.

getHeadlineOfferMobileLinkBytes()

public ByteString getHeadlineOfferMobileLinkBytes()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
TypeDescription
ByteString

The bytes for headlineOfferMobileLink.

getHeadlineOfferPrice()

public Price getHeadlineOfferPrice()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
Price

The headlineOfferPrice.

getHeadlineOfferPriceOrBuilder()

public PriceOrBuilder getHeadlineOfferPriceOrBuilder()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder

getHeadlineOfferShippingPrice()

public Price getHeadlineOfferShippingPrice()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
Price

The headlineOfferShippingPrice.

getHeadlineOfferShippingPriceOrBuilder()

public PriceOrBuilder getHeadlineOfferShippingPriceOrBuilder()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder

getHighPrice()

public Price getHighPrice()

High Price of the aggregate offer.

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

Returns
TypeDescription
Price

The highPrice.

getHighPriceOrBuilder()

public PriceOrBuilder getHighPriceOrBuilder()

High Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder
public String getImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
TypeDescription
String

The imageLink.

getImageLinkBytes()

public ByteString getImageLinkBytes()

URL of an image of the item.

optional string image_link = 11;

Returns
TypeDescription
ByteString

The bytes for imageLink.

getIncludedDestinations(int index)

public String getIncludedDestinations(int index)

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

repeated string included_destinations = 43;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The includedDestinations at the given index.

getIncludedDestinationsBytes(int index)

public ByteString getIncludedDestinationsBytes(int index)

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

repeated string included_destinations = 43;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the includedDestinations at the given index.

getIncludedDestinationsCount()

public int getIncludedDestinationsCount()

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

repeated string included_destinations = 43;

Returns
TypeDescription
int

The count of includedDestinations.

getIncludedDestinationsList()

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

The isBundle.

getItemGroupId()

public String getItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
TypeDescription
String

The itemGroupId.

getItemGroupIdBytes()

public ByteString getItemGroupIdBytes()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
TypeDescription
ByteString

The bytes for itemGroupId.

getLowPrice()

public Price getLowPrice()

Low Price of the aggregate offer.

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

Returns
TypeDescription
Price

The lowPrice.

getLowPriceOrBuilder()

public PriceOrBuilder getLowPriceOrBuilder()

Low Price of the aggregate offer.

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

Returns
TypeDescription
PriceOrBuilder

getMaterial()

public String getMaterial()

The material of which the item is made.

optional string material = 24;

Returns
TypeDescription
String

The material.

getMaterialBytes()

public ByteString getMaterialBytes()

The material of which the item is made.

optional string material = 24;

Returns
TypeDescription
ByteString

The bytes for material.

getMpn()

public String getMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
TypeDescription
String

The mpn.

getMpnBytes()

public ByteString getMpnBytes()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

Returns
TypeDescription
ByteString

The bytes for mpn.

getMultipack()

public long getMultipack()

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

optional int64 multipack = 19;

Returns
TypeDescription
long

The multipack.

getNumberOfOffers()

public long getNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
TypeDescription
long

The numberOfOffers.

getParserForType()

public Parser<Attributes> getParserForType()
Returns
TypeDescription
Parser<Attributes>
Overrides

getPattern()

public String getPattern()

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

optional string pattern = 25;

Returns
TypeDescription
String

The pattern.

getPatternBytes()

public ByteString getPatternBytes()

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

optional string pattern = 25;

Returns
TypeDescription
ByteString

The bytes for pattern.

getPause()

public String getPause()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
TypeDescription
String

The pause.

getPauseBytes()

public ByteString getPauseBytes()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
TypeDescription
ByteString

The bytes for pause.

getProductDetails(int index)

public ProductDetail getProductDetails(int index)

Technical specification or additional product details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductDetail

getProductDetailsCount()

public int getProductDetailsCount()

Technical specification or additional product details.

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

Returns
TypeDescription
int

getProductDetailsList()

public List<ProductDetail> getProductDetailsList()

Technical specification or additional product details.

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

Returns
TypeDescription
List<ProductDetail>

getProductDetailsOrBuilder(int index)

public ProductDetailOrBuilder getProductDetailsOrBuilder(int index)

Technical specification or additional product details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductDetailOrBuilder

getProductDetailsOrBuilderList()

public List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()

Technical specification or additional product details.

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

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

getProductHeight()

public ProductDimension getProductHeight()

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

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

Returns
TypeDescription
ProductDimension

The productHeight.

getProductHeightOrBuilder()

public ProductDimensionOrBuilder getProductHeightOrBuilder()

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

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

Returns
TypeDescription
ProductDimensionOrBuilder

getProductHighlights(int index)

public String getProductHighlights(int index)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The productHighlights at the given index.

getProductHighlightsBytes(int index)

public ByteString getProductHighlightsBytes(int index)

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the productHighlights at the given index.

getProductHighlightsCount()

public int getProductHighlightsCount()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

Returns
TypeDescription
int

The count of productHighlights.

getProductHighlightsList()

public ProtocolStringList getProductHighlightsList()

Bullet points describing the most relevant highlights of a product.

repeated string product_highlights = 35;

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

The productLength.

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

The index of the element to return.

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

The index of the value to return.

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

The productWeight.

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
TypeDescription
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
TypeDescription
ProductDimension

The productWidth.

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
TypeDescription
ProductDimensionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

The sizeSystem.

getSizeSystemBytes()

public ByteString getSizeSystemBytes()

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

optional string size_system = 27;

Returns
TypeDescription
ByteString

The bytes for sizeSystem.

getSizeTypes(int index)

public String getSizeTypes(int index)

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

repeated string size_types = 28;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sizeTypes at the given index.

getSizeTypesBytes(int index)

public ByteString getSizeTypesBytes(int index)

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

repeated string size_types = 28;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sizeTypes at the given index.

getSizeTypesCount()

public int getSizeTypesCount()

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

repeated string size_types = 28;

Returns
TypeDescription
int

The count of sizeTypes.

getSizeTypesList()

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

A list containing the sizeTypes.

getTitle()

public String getTitle()

Title of the item.

optional string title = 10;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Title of the item.

optional string title = 10;

Returns
TypeDescription
ByteString

The bytes for title.

hasAdult()

public boolean hasAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 18;

Returns
TypeDescription
boolean

Whether the adult field is set.

hasAgeGroup()

public boolean hasAgeGroup()

Target age group of the item.

optional string age_group = 21;

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

Whether the brand field is set.

hasColor()

public boolean hasColor()

Color of the item.

optional string color = 22;

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

Whether the customLabel4 field is set.

hasDescription()

public boolean hasDescription()

Description of the item.

optional string description = 13;

Returns
TypeDescription
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 in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted.

.google.protobuf.Timestamp expiration_date = 40;

Returns
TypeDescription
boolean

Whether the expirationDate field is set.

hasGender()

public boolean hasGender()

Target gender of the item.

optional string gender = 23;

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

Whether the googleProductCategory field is set.

hasGtin()

public boolean hasGtin()

Global Trade Item Number (GTIN) of the item.

optional string gtin = 16;

Returns
TypeDescription
boolean

Whether the gtin field is set.

hasHeadlineOfferCondition()

public boolean hasHeadlineOfferCondition()

Condition of the headline offer.

optional string headline_offer_condition = 6;

Returns
TypeDescription
boolean

Whether the headlineOfferCondition field is set.

public boolean hasHeadlineOfferLink()

Link to the headline offer.

optional string headline_offer_link = 8;

Returns
TypeDescription
boolean

Whether the headlineOfferLink field is set.

public boolean hasHeadlineOfferMobileLink()

Mobile Link to the headline offer.

optional string headline_offer_mobile_link = 9;

Returns
TypeDescription
boolean

Whether the headlineOfferMobileLink field is set.

hasHeadlineOfferPrice()

public boolean hasHeadlineOfferPrice()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
boolean

Whether the headlineOfferPrice field is set.

hasHeadlineOfferShippingPrice()

public boolean hasHeadlineOfferShippingPrice()

Headline Price of the aggregate offer.

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

Returns
TypeDescription
boolean

Whether the headlineOfferShippingPrice field is set.

hasHighPrice()

public boolean hasHighPrice()

High Price of the aggregate offer.

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

Returns
TypeDescription
boolean

Whether the highPrice field is set.

public boolean hasImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
TypeDescription
boolean

Whether the imageLink field is set.

hasIsBundle()

public boolean hasIsBundle()

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

optional bool is_bundle = 20;

Returns
TypeDescription
boolean

Whether the isBundle field is set.

hasItemGroupId()

public boolean hasItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 29;

Returns
TypeDescription
boolean

Whether the itemGroupId field is set.

hasLowPrice()

public boolean hasLowPrice()

Low Price of the aggregate offer.

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

Returns
TypeDescription
boolean

Whether the lowPrice field is set.

hasMaterial()

public boolean hasMaterial()

The material of which the item is made.

optional string material = 24;

Returns
TypeDescription
boolean

Whether the material field is set.

hasMpn()

public boolean hasMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 15;

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

Whether the multipack field is set.

hasNumberOfOffers()

public boolean hasNumberOfOffers()

The number of aggregate offers.

optional int64 number_of_offers = 5;

Returns
TypeDescription
boolean

Whether the numberOfOffers field is set.

hasPattern()

public boolean hasPattern()

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

optional string pattern = 25;

Returns
TypeDescription
boolean

Whether the pattern field is set.

hasPause()

public boolean hasPause()

Publication of this item will be temporarily paused.

optional string pause = 45;

Returns
TypeDescription
boolean

Whether the pause field is set.

hasProductHeight()

public boolean hasProductHeight()

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

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

Returns
TypeDescription
boolean

Whether the productHeight field is set.

hasProductLength()

public boolean hasProductLength()

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

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

Returns
TypeDescription
boolean

Whether the productLength field is set.

hasProductWeight()

public boolean hasProductWeight()

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

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

Returns
TypeDescription
boolean

Whether the productWeight field is set.

hasProductWidth()

public boolean hasProductWidth()

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

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

Returns
TypeDescription
boolean

Whether the productWidth field is set.

hasSize()

public boolean hasSize()

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

optional string size = 26;

Returns
TypeDescription
boolean

Whether the size field is set.

hasSizeSystem()

public boolean hasSizeSystem()

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

optional string size_system = 27;

Returns
TypeDescription
boolean

Whether the sizeSystem field is set.

hasTitle()

public boolean hasTitle()

Title of the item.

optional string title = 10;

Returns
TypeDescription
boolean

Whether the title field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Attributes.Builder newBuilderForType()
Returns
TypeDescription
Attributes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Attributes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Attributes.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Attributes.Builder toBuilder()
Returns
TypeDescription
Attributes.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException