Class ProductAttributes (1.23.0)

public final class ProductAttributes extends GeneratedMessage implements ProductAttributesOrBuilder

Product attributes.

Protobuf type google.shopping.merchant.products.v1.ProductAttributes

Static Fields

public static final int ADDITIONAL_IMAGE_LINKS_FIELD_NUMBER
Field Value
Type Description
int

ADS_GROUPING_FIELD_NUMBER

public static final int ADS_GROUPING_FIELD_NUMBER
Field Value
Type Description
int

ADS_LABELS_FIELD_NUMBER

public static final int ADS_LABELS_FIELD_NUMBER
Field Value
Type Description
int

ADS_REDIRECT_FIELD_NUMBER

public static final int ADS_REDIRECT_FIELD_NUMBER
Field Value
Type Description
int

ADULT_FIELD_NUMBER

public static final int ADULT_FIELD_NUMBER
Field Value
Type Description
int

AGE_GROUP_FIELD_NUMBER

public static final int AGE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

AMENITY_FEATURE_FIELD_NUMBER

public static final int AMENITY_FEATURE_FIELD_NUMBER
Field Value
Type Description
int

AUTO_PRICING_MIN_PRICE_FIELD_NUMBER

public static final int AUTO_PRICING_MIN_PRICE_FIELD_NUMBER
Field Value
Type Description
int

AVAILABILITY_DATE_FIELD_NUMBER

public static final int AVAILABILITY_DATE_FIELD_NUMBER
Field Value
Type Description
int

AVAILABILITY_FIELD_NUMBER

public static final int AVAILABILITY_FIELD_NUMBER
Field Value
Type Description
int

BODY_STYLE_FIELD_NUMBER

public static final int BODY_STYLE_FIELD_NUMBER
Field Value
Type Description
int

BRAND_FIELD_NUMBER

public static final int BRAND_FIELD_NUMBER
Field Value
Type Description
int
public static final int CANONICAL_LINK_FIELD_NUMBER
Field Value
Type Description
int

CARRIER_SHIPPING_FIELD_NUMBER

public static final int CARRIER_SHIPPING_FIELD_NUMBER
Field Value
Type Description
int

CERTIFICATIONS_FIELD_NUMBER

public static final int CERTIFICATIONS_FIELD_NUMBER
Field Value
Type Description
int

CERTIFIED_PRE_OWNED_FIELD_NUMBER

public static final int CERTIFIED_PRE_OWNED_FIELD_NUMBER
Field Value
Type Description
int

CLOUD_EXPORT_ADDITIONAL_PROPERTIES_FIELD_NUMBER

public static final int CLOUD_EXPORT_ADDITIONAL_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

CO2_EMISSIONS_FIELD_NUMBER

public static final int CO2_EMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

COLOR_FIELD_NUMBER

public static final int COLOR_FIELD_NUMBER
Field Value
Type Description
int

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
Type Description
int

COST_OF_GOODS_SOLD_FIELD_NUMBER

public static final int COST_OF_GOODS_SOLD_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_LABEL_0_FIELD_NUMBER

public static final int CUSTOM_LABEL_0_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_LABEL_1_FIELD_NUMBER

public static final int CUSTOM_LABEL_1_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_LABEL_2_FIELD_NUMBER

public static final int CUSTOM_LABEL_2_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_LABEL_3_FIELD_NUMBER

public static final int CUSTOM_LABEL_3_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_LABEL_4_FIELD_NUMBER

public static final int CUSTOM_LABEL_4_FIELD_NUMBER
Field Value
Type Description
int

DATE_FIRST_REGISTERED_FIELD_NUMBER

public static final int DATE_FIRST_REGISTERED_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISCLOSURE_DATE_FIELD_NUMBER

public static final int DISCLOSURE_DATE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_ADDRESS_FIELD_NUMBER

public static final int DISPLAY_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_ADS_ID_FIELD_NUMBER

public static final int DISPLAY_ADS_ID_FIELD_NUMBER
Field Value
Type Description
int
public static final int DISPLAY_ADS_LINK_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_ADS_SIMILAR_IDS_FIELD_NUMBER

public static final int DISPLAY_ADS_SIMILAR_IDS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_ADS_TITLE_FIELD_NUMBER

public static final int DISPLAY_ADS_TITLE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_ADS_VALUE_FIELD_NUMBER

public static final int DISPLAY_ADS_VALUE_FIELD_NUMBER
Field Value
Type Description
int
public static final int DOCUMENT_LINKS_FIELD_NUMBER
Field Value
Type Description
int

ELECTRIC_RANGE_FIELD_NUMBER

public static final int ELECTRIC_RANGE_FIELD_NUMBER
Field Value
Type Description
int

EMISSIONS_STANDARD_FIELD_NUMBER

public static final int EMISSIONS_STANDARD_FIELD_NUMBER
Field Value
Type Description
int

ENERGY_CONSUMPTION_FIELD_NUMBER

public static final int ENERGY_CONSUMPTION_FIELD_NUMBER
Field Value
Type Description
int

ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER

public static final int ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER
Field Value
Type Description
int

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
Type Description
int

EXCLUDED_DESTINATIONS_FIELD_NUMBER

public static final int EXCLUDED_DESTINATIONS_FIELD_NUMBER
Field Value
Type Description
int

EXPIRATION_DATE_FIELD_NUMBER

public static final int EXPIRATION_DATE_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_SELLER_ID_FIELD_NUMBER

public static final int EXTERNAL_SELLER_ID_FIELD_NUMBER
Field Value
Type Description
int

FREE_SHIPPING_THRESHOLD_FIELD_NUMBER

public static final int FREE_SHIPPING_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

FUEL_CONSUMPTION_DISCHARGED_BATTERY_FIELD_NUMBER

public static final int FUEL_CONSUMPTION_DISCHARGED_BATTERY_FIELD_NUMBER
Field Value
Type Description
int

FUEL_CONSUMPTION_FIELD_NUMBER

public static final int FUEL_CONSUMPTION_FIELD_NUMBER
Field Value
Type Description
int

GENDER_FIELD_NUMBER

public static final int GENDER_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_PRODUCT_CATEGORY_FIELD_NUMBER

public static final int GOOGLE_PRODUCT_CATEGORY_FIELD_NUMBER
Field Value
Type Description
int

GTINS_FIELD_NUMBER

public static final int GTINS_FIELD_NUMBER
Field Value
Type Description
int

HANDLING_CUTOFF_TIMES_FIELD_NUMBER

public static final int HANDLING_CUTOFF_TIMES_FIELD_NUMBER
Field Value
Type Description
int

IDENTIFIER_EXISTS_FIELD_NUMBER

public static final int IDENTIFIER_EXISTS_FIELD_NUMBER
Field Value
Type Description
int
public static final int IMAGE_LINK_FIELD_NUMBER
Field Value
Type Description
int

INCLUDED_DESTINATIONS_FIELD_NUMBER

public static final int INCLUDED_DESTINATIONS_FIELD_NUMBER
Field Value
Type Description
int

INSTALLMENT_FIELD_NUMBER

public static final int INSTALLMENT_FIELD_NUMBER
Field Value
Type Description
int

IS_BUNDLE_FIELD_NUMBER

public static final int IS_BUNDLE_FIELD_NUMBER
Field Value
Type Description
int

ITEM_GROUP_ID_FIELD_NUMBER

public static final int ITEM_GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

ITEM_GROUP_TITLE_FIELD_NUMBER

public static final int ITEM_GROUP_TITLE_FIELD_NUMBER
Field Value
Type Description
int

LATITUDE_FIELD_NUMBER

public static final int LATITUDE_FIELD_NUMBER
Field Value
Type Description
int
public static final int LIFESTYLE_IMAGE_LINKS_FIELD_NUMBER
Field Value
Type Description
int
public static final int LINK_FIELD_NUMBER
Field Value
Type Description
int
public static final int LINK_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

LONGITUDE_FIELD_NUMBER

public static final int LONGITUDE_FIELD_NUMBER
Field Value
Type Description
int

LOYALTY_POINTS_FIELD_NUMBER

public static final int LOYALTY_POINTS_FIELD_NUMBER
Field Value
Type Description
int

LOYALTY_PROGRAMS_FIELD_NUMBER

public static final int LOYALTY_PROGRAMS_FIELD_NUMBER
Field Value
Type Description
int

MATERIAL_FIELD_NUMBER

public static final int MATERIAL_FIELD_NUMBER
Field Value
Type Description
int

MAXIMUM_RETAIL_PRICE_FIELD_NUMBER

public static final int MAXIMUM_RETAIL_PRICE_FIELD_NUMBER
Field Value
Type Description
int

MAX_ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER

public static final int MAX_ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER
Field Value
Type Description
int

MAX_HANDLING_TIME_FIELD_NUMBER

public static final int MAX_HANDLING_TIME_FIELD_NUMBER
Field Value
Type Description
int

MILEAGE_FIELD_NUMBER

public static final int MILEAGE_FIELD_NUMBER
Field Value
Type Description
int

MINIMUM_ORDER_VALUES_FIELD_NUMBER

public static final int MINIMUM_ORDER_VALUES_FIELD_NUMBER
Field Value
Type Description
int

MIN_ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER

public static final int MIN_ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER
Field Value
Type Description
int

MIN_HANDLING_TIME_FIELD_NUMBER

public static final int MIN_HANDLING_TIME_FIELD_NUMBER
Field Value
Type Description
int
public static final int MOBILE_LINK_FIELD_NUMBER
Field Value
Type Description
int
public static final int MOBILE_LINK_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
Type Description
int

MPN_FIELD_NUMBER

public static final int MPN_FIELD_NUMBER
Field Value
Type Description
int

MULTIPACK_FIELD_NUMBER

public static final int MULTIPACK_FIELD_NUMBER
Field Value
Type Description
int

NEIGHBORHOOD_FIELD_NUMBER

public static final int NEIGHBORHOOD_FIELD_NUMBER
Field Value
Type Description
int

NUMBER_OF_BATHROOMS_FIELD_NUMBER

public static final int NUMBER_OF_BATHROOMS_FIELD_NUMBER
Field Value
Type Description
int

NUMBER_OF_BEDROOMS_FIELD_NUMBER

public static final int NUMBER_OF_BEDROOMS_FIELD_NUMBER
Field Value
Type Description
int

NUMBER_OF_UNITS_FIELD_NUMBER

public static final int NUMBER_OF_UNITS_FIELD_NUMBER
Field Value
Type Description
int

PATTERN_FIELD_NUMBER

public static final int PATTERN_FIELD_NUMBER
Field Value
Type Description
int

PAUSE_FIELD_NUMBER

public static final int PAUSE_FIELD_NUMBER
Field Value
Type Description
int

PET_POLICY_FIELD_NUMBER

public static final int PET_POLICY_FIELD_NUMBER
Field Value
Type Description
int

PICKUP_COST_FIELD_NUMBER

public static final int PICKUP_COST_FIELD_NUMBER
Field Value
Type Description
int

PICKUP_METHOD_FIELD_NUMBER

public static final int PICKUP_METHOD_FIELD_NUMBER
Field Value
Type Description
int

PICKUP_SLA_FIELD_NUMBER

public static final int PICKUP_SLA_FIELD_NUMBER
Field Value
Type Description
int

POPULARITY_RANK_FIELD_NUMBER

public static final int POPULARITY_RANK_FIELD_NUMBER
Field Value
Type Description
int

PRICE_FIELD_NUMBER

public static final int PRICE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_DETAILS_FIELD_NUMBER

public static final int PRODUCT_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_FEE_FIELD_NUMBER

public static final int PRODUCT_FEE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_HEIGHT_FIELD_NUMBER

public static final int PRODUCT_HEIGHT_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_HIGHLIGHTS_FIELD_NUMBER

public static final int PRODUCT_HIGHLIGHTS_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_LENGTH_FIELD_NUMBER

public static final int PRODUCT_LENGTH_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPES_FIELD_NUMBER

public static final int PRODUCT_TYPES_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_WEIGHT_FIELD_NUMBER

public static final int PRODUCT_WEIGHT_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_WIDTH_FIELD_NUMBER

public static final int PRODUCT_WIDTH_FIELD_NUMBER
Field Value
Type Description
int

PROMOTION_IDS_FIELD_NUMBER

public static final int PROMOTION_IDS_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_NAME_FIELD_NUMBER

public static final int PROPERTY_NAME_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_TYPE_FIELD_NUMBER

public static final int PROPERTY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

QUESTIONS_AND_ANSWERS_FIELD_NUMBER

public static final int QUESTIONS_AND_ANSWERS_FIELD_NUMBER
Field Value
Type Description
int
public static final int RELATED_PRODUCTS_FIELD_NUMBER
Field Value
Type Description
int

RETURN_POLICY_LABEL_FIELD_NUMBER

public static final int RETURN_POLICY_LABEL_FIELD_NUMBER
Field Value
Type Description
int

SALE_PRICE_EFFECTIVE_DATE_FIELD_NUMBER

public static final int SALE_PRICE_EFFECTIVE_DATE_FIELD_NUMBER
Field Value
Type Description
int

SALE_PRICE_FIELD_NUMBER

public static final int SALE_PRICE_FIELD_NUMBER
Field Value
Type Description
int

SELL_ON_GOOGLE_QUANTITY_FIELD_NUMBER

public static final int SELL_ON_GOOGLE_QUANTITY_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_FIELD_NUMBER

public static final int SHIPPING_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_HANDLING_BUSINESS_DAYS_FIELD_NUMBER

public static final int SHIPPING_HANDLING_BUSINESS_DAYS_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_HEIGHT_FIELD_NUMBER

public static final int SHIPPING_HEIGHT_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_LABEL_FIELD_NUMBER

public static final int SHIPPING_LABEL_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_LENGTH_FIELD_NUMBER

public static final int SHIPPING_LENGTH_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_TRANSIT_BUSINESS_DAYS_FIELD_NUMBER

public static final int SHIPPING_TRANSIT_BUSINESS_DAYS_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_WEIGHT_FIELD_NUMBER

public static final int SHIPPING_WEIGHT_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_WIDTH_FIELD_NUMBER

public static final int SHIPPING_WIDTH_FIELD_NUMBER
Field Value
Type Description
int

SHOPPING_ADS_EXCLUDED_COUNTRIES_FIELD_NUMBER

public static final int SHOPPING_ADS_EXCLUDED_COUNTRIES_FIELD_NUMBER
Field Value
Type Description
int

SHORT_TITLE_FIELD_NUMBER

public static final int SHORT_TITLE_FIELD_NUMBER
Field Value
Type Description
int

SIZE_FIELD_NUMBER

public static final int SIZE_FIELD_NUMBER
Field Value
Type Description
int

SIZE_SYSTEM_FIELD_NUMBER

public static final int SIZE_SYSTEM_FIELD_NUMBER
Field Value
Type Description
int

SIZE_TYPES_FIELD_NUMBER

public static final int SIZE_TYPES_FIELD_NUMBER
Field Value
Type Description
int

SPECIALTY_HOUSING_TYPE_FIELD_NUMBER

public static final int SPECIALTY_HOUSING_TYPE_FIELD_NUMBER
Field Value
Type Description
int

STRUCTURED_DESCRIPTION_FIELD_NUMBER

public static final int STRUCTURED_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

STRUCTURED_TITLE_FIELD_NUMBER

public static final int STRUCTURED_TITLE_FIELD_NUMBER
Field Value
Type Description
int

SUBSCRIPTION_COST_FIELD_NUMBER

public static final int SUBSCRIPTION_COST_FIELD_NUMBER
Field Value
Type Description
int

SUSTAINABILITY_INCENTIVES_FIELD_NUMBER

public static final int SUSTAINABILITY_INCENTIVES_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

TRANSIT_TIME_LABEL_FIELD_NUMBER

public static final int TRANSIT_TIME_LABEL_FIELD_NUMBER
Field Value
Type Description
int

TRIM_FIELD_NUMBER

public static final int TRIM_FIELD_NUMBER
Field Value
Type Description
int

UNIT_AREA_FIELD_NUMBER

public static final int UNIT_AREA_FIELD_NUMBER
Field Value
Type Description
int

UNIT_PRICING_BASE_MEASURE_FIELD_NUMBER

public static final int UNIT_PRICING_BASE_MEASURE_FIELD_NUMBER
Field Value
Type Description
int

UNIT_PRICING_MEASURE_FIELD_NUMBER

public static final int UNIT_PRICING_MEASURE_FIELD_NUMBER
Field Value
Type Description
int

UTILITIES_INCLUDED_FIELD_NUMBER

public static final int UTILITIES_INCLUDED_FIELD_NUMBER
Field Value
Type Description
int

VARIANT_OPTIONS_FIELD_NUMBER

public static final int VARIANT_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

VEHICLE_ALL_IN_PRICE_FIELD_NUMBER

public static final int VEHICLE_ALL_IN_PRICE_FIELD_NUMBER
Field Value
Type Description
int

VEHICLE_EXPENSES_FIELD_NUMBER

public static final int VEHICLE_EXPENSES_FIELD_NUMBER
Field Value
Type Description
int

VEHICLE_MANDATORY_INSPECTION_INCLUDED_FIELD_NUMBER

public static final int VEHICLE_MANDATORY_INSPECTION_INCLUDED_FIELD_NUMBER
Field Value
Type Description
int

VEHICLE_MSRP_FIELD_NUMBER

public static final int VEHICLE_MSRP_FIELD_NUMBER
Field Value
Type Description
int

VEHICLE_PRICE_TYPE_FIELD_NUMBER

public static final int VEHICLE_PRICE_TYPE_FIELD_NUMBER
Field Value
Type Description
int
public static final int VIDEO_LINKS_FIELD_NUMBER
Field Value
Type Description
int

VIN_FIELD_NUMBER

public static final int VIN_FIELD_NUMBER
Field Value
Type Description
int
public static final int VIRTUAL_MODEL_LINK_FIELD_NUMBER
Field Value
Type Description
int

WARRANTY_FIELD_NUMBER

public static final int WARRANTY_FIELD_NUMBER
Field Value
Type Description
int

YEAR_FIELD_NUMBER

public static final int YEAR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductAttributes getDefaultInstance()
Returns
Type Description
ProductAttributes

getDescriptor()

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

newBuilder()

public static ProductAttributes.Builder newBuilder()
Returns
Type Description
ProductAttributes.Builder

newBuilder(ProductAttributes prototype)

public static ProductAttributes.Builder newBuilder(ProductAttributes prototype)
Parameter
Name Description
prototype ProductAttributes
Returns
Type Description
ProductAttributes.Builder

parseDelimitedFrom(InputStream input)

public static ProductAttributes parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductAttributes
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductAttributes parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductAttributes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductAttributes parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductAttributes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductAttributes parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductAttributes
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductAttributes parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductAttributes
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductAttributes parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductAttributes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductAttributes> parser()
Returns
Type Description
Parser<ProductAttributes>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public String getAdditionalImageLinks(int index)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The additionalImageLinks at the given index.

getAdditionalImageLinksBytes(int index)

public ByteString getAdditionalImageLinksBytes(int index)

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the additionalImageLinks at the given index.

getAdditionalImageLinksCount()

public int getAdditionalImageLinksCount()

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
int

The count of additionalImageLinks.

public ProtocolStringList getAdditionalImageLinksList()

Additional URLs of images of the item.

repeated string additional_image_links = 12;

Returns
Type Description
ProtocolStringList

A list containing the additionalImageLinks.

getAdsGrouping()

public String getAdsGrouping()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. For more information, see Display ads attribute.

optional string ads_grouping = 59;

Returns
Type Description
String

The adsGrouping.

getAdsGroupingBytes()

public ByteString getAdsGroupingBytes()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. For more information, see Display ads attribute.

optional string ads_grouping = 59;

Returns
Type Description
ByteString

The bytes for adsGrouping.

getAdsLabels(int index)

public String getAdsLabels(int index)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The adsLabels at the given index.

getAdsLabelsBytes(int index)

public ByteString getAdsLabelsBytes(int index)

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the adsLabels at the given index.

getAdsLabelsCount()

public int getAdsLabelsCount()

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Returns
Type Description
int

The count of adsLabels.

getAdsLabelsList()

public ProtocolStringList getAdsLabelsList()

Similar to ads_grouping, but only works on CPC.

repeated string ads_labels = 60;

Returns
Type Description
ProtocolStringList

A list containing the adsLabels.

getAdsRedirect()

public String getAdsRedirect()

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

optional string ads_redirect = 61;

Returns
Type Description
String

The adsRedirect.

getAdsRedirectBytes()

public ByteString getAdsRedirectBytes()

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

optional string ads_redirect = 61;

Returns
Type Description
ByteString

The bytes for adsRedirect.

getAdult()

public boolean getAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 17;

Returns
Type Description
boolean

The adult.

getAgeGroup()

public AgeGroup getAgeGroup()

Target age group of the item.

optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18;

Returns
Type Description
AgeGroup

The ageGroup.

getAgeGroupValue()

public int getAgeGroupValue()

Target age group of the item.

optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18;

Returns
Type Description
int

The enum numeric value on the wire for ageGroup.

getAmenityFeature(int index)

public ProductAttributes.AmenityFeature getAmenityFeature(int index)

The amenity features for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.AmenityFeature amenity_feature = 189;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ProductAttributes.AmenityFeature

The amenityFeature at the given index.

getAmenityFeatureCount()

public int getAmenityFeatureCount()

The amenity features for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.AmenityFeature amenity_feature = 189;

Returns
Type Description
int

The count of amenityFeature.

getAmenityFeatureList()

public List<ProductAttributes.AmenityFeature> getAmenityFeatureList()

The amenity features for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.AmenityFeature amenity_feature = 189;

Returns
Type Description
List<AmenityFeature>

A list containing the amenityFeature.

getAmenityFeatureValue(int index)

public int getAmenityFeatureValue(int index)

The amenity features for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.AmenityFeature amenity_feature = 189;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of amenityFeature at the given index.

getAmenityFeatureValueList()

public List<Integer> getAmenityFeatureValueList()

The amenity features for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.AmenityFeature amenity_feature = 189;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for amenityFeature.

getAutoPricingMinPrice()

public Price getAutoPricingMinPrice()

A safeguard in the automated discounts and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on business offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

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

The autoPricingMinPrice.

getAutoPricingMinPriceOrBuilder()

public PriceOrBuilder getAutoPricingMinPriceOrBuilder()

A safeguard in the automated discounts and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on business offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

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

getAvailability()

public Availability getAvailability()

Availability status of the item.

optional .google.shopping.merchant.products.v1.Availability availability = 19;

Returns
Type Description
Availability

The availability.

getAvailabilityDate()

public Timestamp getAvailabilityDate()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
Timestamp

The availabilityDate.

getAvailabilityDateOrBuilder()

public TimestampOrBuilder getAvailabilityDateOrBuilder()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
TimestampOrBuilder

getAvailabilityValue()

public int getAvailabilityValue()

Availability status of the item.

optional .google.shopping.merchant.products.v1.Availability availability = 19;

Returns
Type Description
int

The enum numeric value on the wire for availability.

getBodyStyle()

public ProductAttributes.VehicleBodyStyle getBodyStyle()

The body style of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.VehicleBodyStyle body_style = 150;

Returns
Type Description
ProductAttributes.VehicleBodyStyle

The bodyStyle.

getBodyStyleValue()

public int getBodyStyleValue()

The body style of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.VehicleBodyStyle body_style = 150;

Returns
Type Description
int

The enum numeric value on the wire for bodyStyle.

getBrand()

public String getBrand()

Brand of the item. For example, "Google".

optional string brand = 21;

Returns
Type Description
String

The brand.

getBrandBytes()

public ByteString getBrandBytes()

Brand of the item. For example, "Google".

optional string brand = 21;

Returns
Type Description
ByteString

The bytes for brand.

public String getCanonicalLink()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
String

The canonicalLink.

getCanonicalLinkBytes()

public ByteString getCanonicalLinkBytes()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
ByteString

The bytes for canonicalLink.

getCarrierShipping(int index)

public ProductAttributes.CarrierShipping getCarrierShipping(int index)

Rules for carrier-based shipping.

repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.CarrierShipping

getCarrierShippingCount()

public int getCarrierShippingCount()

Rules for carrier-based shipping.

repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142;

Returns
Type Description
int

getCarrierShippingList()

public List<ProductAttributes.CarrierShipping> getCarrierShippingList()

Rules for carrier-based shipping.

repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142;

Returns
Type Description
List<CarrierShipping>

getCarrierShippingOrBuilder(int index)

public ProductAttributes.CarrierShippingOrBuilder getCarrierShippingOrBuilder(int index)

Rules for carrier-based shipping.

repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.CarrierShippingOrBuilder

getCarrierShippingOrBuilderList()

public List<? extends ProductAttributes.CarrierShippingOrBuilder> getCarrierShippingOrBuilderList()

Rules for carrier-based shipping.

repeated .google.shopping.merchant.products.v1.ProductAttributes.CarrierShipping carrier_shipping = 142;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.CarrierShippingOrBuilder>

getCertifications(int index)

public ProductCertification getCertifications(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1.ProductCertification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
ProductCertification

getCertificationsCount()

public int getCertificationsCount()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1.ProductCertification certifications = 123;

Returns
Type Description
int

getCertificationsList()

public List<ProductCertification> getCertificationsList()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1.ProductCertification certifications = 123;

Returns
Type Description
List<ProductCertification>

getCertificationsOrBuilder(int index)

public ProductCertificationOrBuilder getCertificationsOrBuilder(int index)

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1.ProductCertification certifications = 123;

Parameter
Name Description
index int
Returns
Type Description
ProductCertificationOrBuilder

getCertificationsOrBuilderList()

public List<? extends ProductCertificationOrBuilder> getCertificationsOrBuilderList()

Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database. See the Help Center article for more information.

repeated .google.shopping.merchant.products.v1.ProductCertification certifications = 123;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductCertificationOrBuilder>

getCertifiedPreOwned()

public boolean getCertifiedPreOwned()

Whether the vehicle is OEM certified pre-owned.

bool certified_pre_owned = 161;

Returns
Type Description
boolean

The certifiedPreOwned.

getCloudExportAdditionalProperties(int index)

public CloudExportAdditionalProperties getCloudExportAdditionalProperties(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
CloudExportAdditionalProperties

getCloudExportAdditionalPropertiesCount()

public int getCloudExportAdditionalPropertiesCount()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
int

getCloudExportAdditionalPropertiesList()

public List<CloudExportAdditionalProperties> getCloudExportAdditionalPropertiesList()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
List<CloudExportAdditionalProperties>

getCloudExportAdditionalPropertiesOrBuilder(int index)

public CloudExportAdditionalPropertiesOrBuilder getCloudExportAdditionalPropertiesOrBuilder(int index)

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Parameter
Name Description
index int
Returns
Type Description
CloudExportAdditionalPropertiesOrBuilder

getCloudExportAdditionalPropertiesOrBuilderList()

public List<? extends CloudExportAdditionalPropertiesOrBuilder> getCloudExportAdditionalPropertiesOrBuilderList()

Extra fields to export to the Cloud Retail program.

repeated .google.shopping.merchant.products.v1.CloudExportAdditionalProperties cloud_export_additional_properties = 84;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.CloudExportAdditionalPropertiesOrBuilder>

getCo2Emissions()

public ProductAttributes.Co2Emissions getCo2Emissions()

The co2 emission of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.Co2Emissions co2_emissions = 157;

Returns
Type Description
ProductAttributes.Co2Emissions

The co2Emissions.

getCo2EmissionsOrBuilder()

public ProductAttributes.Co2EmissionsOrBuilder getCo2EmissionsOrBuilder()

The co2 emission of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.Co2Emissions co2_emissions = 157;

Returns
Type Description
ProductAttributes.Co2EmissionsOrBuilder

getColor()

public String getColor()

Color of the item. For example, "red".

optional string color = 22;

Returns
Type Description
String

The color.

getColorBytes()

public ByteString getColorBytes()

Color of the item. For example, "red".

optional string color = 22;

Returns
Type Description
ByteString

The bytes for color.

getCondition()

public Condition getCondition()

Condition or state of the item.

optional .google.shopping.merchant.products.v1.Condition condition = 23;

Returns
Type Description
Condition

The condition.

getConditionValue()

public int getConditionValue()

Condition or state of the item.

optional .google.shopping.merchant.products.v1.Condition condition = 23;

Returns
Type Description
int

The enum numeric value on the wire for condition.

getCostOfGoodsSold()

public Price getCostOfGoodsSold()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

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

The costOfGoodsSold.

getCostOfGoodsSoldOrBuilder()

public PriceOrBuilder getCostOfGoodsSoldOrBuilder()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

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

getCustomLabel0()

public String getCustomLabel0()

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

optional string custom_label_0 = 71;

Returns
Type Description
String

The customLabel0.

getCustomLabel0Bytes()

public ByteString getCustomLabel0Bytes()

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

optional string custom_label_0 = 71;

Returns
Type Description
ByteString

The bytes for customLabel0.

getCustomLabel1()

public String getCustomLabel1()

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

optional string custom_label_1 = 72;

Returns
Type Description
String

The customLabel1.

getCustomLabel1Bytes()

public ByteString getCustomLabel1Bytes()

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

optional string custom_label_1 = 72;

Returns
Type Description
ByteString

The bytes for customLabel1.

getCustomLabel2()

public String getCustomLabel2()

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

optional string custom_label_2 = 73;

Returns
Type Description
String

The customLabel2.

getCustomLabel2Bytes()

public ByteString getCustomLabel2Bytes()

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

optional string custom_label_2 = 73;

Returns
Type Description
ByteString

The bytes for customLabel2.

getCustomLabel3()

public String getCustomLabel3()

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

optional string custom_label_3 = 74;

Returns
Type Description
String

The customLabel3.

getCustomLabel3Bytes()

public ByteString getCustomLabel3Bytes()

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

optional string custom_label_3 = 74;

Returns
Type Description
ByteString

The bytes for customLabel3.

getCustomLabel4()

public String getCustomLabel4()

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

optional string custom_label_4 = 75;

Returns
Type Description
String

The customLabel4.

getCustomLabel4Bytes()

public ByteString getCustomLabel4Bytes()

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

optional string custom_label_4 = 75;

Returns
Type Description
ByteString

The bytes for customLabel4.

getDateFirstRegistered()

public String getDateFirstRegistered()

The date the vehicle was first registered. Format: YYYY-MM. See the Date first registered for more information.

string date_first_registered = 158;

Returns
Type Description
String

The dateFirstRegistered.

getDateFirstRegisteredBytes()

public ByteString getDateFirstRegisteredBytes()

The date the vehicle was first registered. Format: YYYY-MM. See the Date first registered for more information.

string date_first_registered = 158;

Returns
Type Description
ByteString

The bytes for dateFirstRegistered.

getDefaultInstanceForType()

public ProductAttributes getDefaultInstanceForType()
Returns
Type Description
ProductAttributes

getDescription()

public String getDescription()

Description of the item.

optional string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the item.

optional string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getDisclosureDate()

public Timestamp getDisclosureDate()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
Timestamp

The disclosureDate.

getDisclosureDateOrBuilder()

public TimestampOrBuilder getDisclosureDateOrBuilder()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
TimestampOrBuilder

getDisplayAddress()

public ProductAttributes.DisplayAddress getDisplayAddress()

The display address of the property.

.google.shopping.merchant.products.v1.ProductAttributes.DisplayAddress display_address = 179;

Returns
Type Description
ProductAttributes.DisplayAddress

The displayAddress.

getDisplayAddressOrBuilder()

public ProductAttributes.DisplayAddressOrBuilder getDisplayAddressOrBuilder()

The display address of the property.

.google.shopping.merchant.products.v1.ProductAttributes.DisplayAddress display_address = 179;

Returns
Type Description
ProductAttributes.DisplayAddressOrBuilder

getDisplayAdsId()

public String getDisplayAdsId()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
String

The displayAdsId.

getDisplayAdsIdBytes()

public ByteString getDisplayAdsIdBytes()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
ByteString

The bytes for displayAdsId.

public String getDisplayAdsLink()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
String

The displayAdsLink.

getDisplayAdsLinkBytes()

public ByteString getDisplayAdsLinkBytes()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
ByteString

The bytes for displayAdsLink.

getDisplayAdsSimilarIds(int index)

public String getDisplayAdsSimilarIds(int index)

Advertiser-specified recommendations. For more information, see Display ads attribute specification.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The displayAdsSimilarIds at the given index.

getDisplayAdsSimilarIdsBytes(int index)

public ByteString getDisplayAdsSimilarIdsBytes(int index)

Advertiser-specified recommendations. For more information, see Display ads attribute specification.

repeated string display_ads_similar_ids = 66;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the displayAdsSimilarIds at the given index.

getDisplayAdsSimilarIdsCount()

public int getDisplayAdsSimilarIdsCount()

Advertiser-specified recommendations. For more information, see Display ads attribute specification.

repeated string display_ads_similar_ids = 66;

Returns
Type Description
int

The count of displayAdsSimilarIds.

getDisplayAdsSimilarIdsList()

public ProtocolStringList getDisplayAdsSimilarIdsList()

Advertiser-specified recommendations. For more information, see Display ads attribute specification.

repeated string display_ads_similar_ids = 66;

Returns
Type Description
ProtocolStringList

A list containing the displayAdsSimilarIds.

getDisplayAdsTitle()

public String getDisplayAdsTitle()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
String

The displayAdsTitle.

getDisplayAdsTitleBytes()

public ByteString getDisplayAdsTitleBytes()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
ByteString

The bytes for displayAdsTitle.

getDisplayAdsValue()

public double getDisplayAdsValue()

Offer margin for dynamic remarketing campaigns. For more information, see Display ads attribute.

optional double display_ads_value = 69;

Returns
Type Description
double

The displayAdsValue.

public String getDocumentLinks(int index)

Optional. Contains a list of PDF document URLs for the product. Examples are training manuals, user guides, assembly instructions, package inserts, etc. Must start with "http://" or "https://"), ASCII characters only, and RFC 3986 compliant.

repeated string document_links = 176 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The documentLinks at the given index.

getDocumentLinksBytes(int index)

public ByteString getDocumentLinksBytes(int index)

Optional. Contains a list of PDF document URLs for the product. Examples are training manuals, user guides, assembly instructions, package inserts, etc. Must start with "http://" or "https://"), ASCII characters only, and RFC 3986 compliant.

repeated string document_links = 176 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the documentLinks at the given index.

getDocumentLinksCount()

public int getDocumentLinksCount()

Optional. Contains a list of PDF document URLs for the product. Examples are training manuals, user guides, assembly instructions, package inserts, etc. Must start with "http://" or "https://"), ASCII characters only, and RFC 3986 compliant.

repeated string document_links = 176 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of documentLinks.

public ProtocolStringList getDocumentLinksList()

Optional. Contains a list of PDF document URLs for the product. Examples are training manuals, user guides, assembly instructions, package inserts, etc. Must start with "http://" or "https://"), ASCII characters only, and RFC 3986 compliant.

repeated string document_links = 176 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the documentLinks.

getElectricRange()

public ProductAttributes.Mileage getElectricRange()

The electric range of the vehicle in miles/kms.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage electric_range = 153;

Returns
Type Description
ProductAttributes.Mileage

The electricRange.

getElectricRangeOrBuilder()

public ProductAttributes.MileageOrBuilder getElectricRangeOrBuilder()

The electric range of the vehicle in miles/kms.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage electric_range = 153;

Returns
Type Description
ProductAttributes.MileageOrBuilder

getEmissionsStandard()

public ProductAttributes.EmissionsStandard getEmissionsStandard()

The emission standard of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EmissionsStandard emissions_standard = 160;

Returns
Type Description
ProductAttributes.EmissionsStandard

The emissionsStandard.

getEmissionsStandardValue()

public int getEmissionsStandardValue()

The emission standard of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EmissionsStandard emissions_standard = 160;

Returns
Type Description
int

The enum numeric value on the wire for emissionsStandard.

getEnergyConsumption()

public ProductAttributes.EnergyConsumption getEnergyConsumption()

The energy consumption of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EnergyConsumption energy_consumption = 156;

Returns
Type Description
ProductAttributes.EnergyConsumption

The energyConsumption.

getEnergyConsumptionOrBuilder()

public ProductAttributes.EnergyConsumptionOrBuilder getEnergyConsumptionOrBuilder()

The energy consumption of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EnergyConsumption energy_consumption = 156;

Returns
Type Description
ProductAttributes.EnergyConsumptionOrBuilder

getEnergyEfficiencyClass()

public EnergyEfficiencyClass getEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass energy_efficiency_class = 53;

Returns
Type Description
EnergyEfficiencyClass

The energyEfficiencyClass.

getEnergyEfficiencyClassValue()

public int getEnergyEfficiencyClassValue()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass energy_efficiency_class = 53;

Returns
Type Description
int

The enum numeric value on the wire for energyEfficiencyClass.

getEngine()

public ProductAttributes.EngineType getEngine()

The engine type of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EngineType engine = 159;

Returns
Type Description
ProductAttributes.EngineType

The engine.

getEngineValue()

public int getEngineValue()

The engine type of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EngineType engine = 159;

Returns
Type Description
int

The enum numeric value on the wire for engine.

getExcludedDestinations(int index)

public Destination.DestinationEnum getExcludedDestinations(int index)

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

For more information, see Excluded destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum excluded_destinations = 77;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
com.google.shopping.type.Destination.DestinationEnum

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

For more information, see Excluded destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum excluded_destinations = 77;

Returns
Type Description
int

The count of excludedDestinations.

getExcludedDestinationsList()

public List<Destination.DestinationEnum> getExcludedDestinationsList()

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

For more information, see Excluded destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum excluded_destinations = 77;

Returns
Type Description
List<com.google.shopping.type.Destination.DestinationEnum>

A list containing the excludedDestinations.

getExcludedDestinationsValue(int index)

public int getExcludedDestinationsValue(int index)

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

For more information, see Excluded destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum excluded_destinations = 77;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of excludedDestinations at the given index.

getExcludedDestinationsValueList()

public List<Integer> getExcludedDestinationsValueList()

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

For more information, see Excluded destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum excluded_destinations = 77;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for excludedDestinations.

getExpirationDate()

public Timestamp getExpirationDate()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
Timestamp

The expirationDate.

getExpirationDateOrBuilder()

public TimestampOrBuilder getExpirationDateOrBuilder()

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
TimestampOrBuilder

getExternalSellerId()

public String getExternalSellerId()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
String

The externalSellerId.

getExternalSellerIdBytes()

public ByteString getExternalSellerIdBytes()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
ByteString

The bytes for externalSellerId.

getFreeShippingThreshold(int index)

public FreeShippingThreshold getFreeShippingThreshold(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
FreeShippingThreshold

getFreeShippingThresholdCount()

public int getFreeShippingThresholdCount()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
int

getFreeShippingThresholdList()

public List<FreeShippingThreshold> getFreeShippingThresholdList()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
List<FreeShippingThreshold>

getFreeShippingThresholdOrBuilder(int index)

public FreeShippingThresholdOrBuilder getFreeShippingThresholdOrBuilder(int index)

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1.FreeShippingThreshold free_shipping_threshold = 135;

Parameter
Name Description
index int
Returns
Type Description
FreeShippingThresholdOrBuilder

getFreeShippingThresholdOrBuilderList()

public List<? extends FreeShippingThresholdOrBuilder> getFreeShippingThresholdOrBuilderList()

Conditions to be met for a product to have free shipping.

repeated .google.shopping.merchant.products.v1.FreeShippingThreshold free_shipping_threshold = 135;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.FreeShippingThresholdOrBuilder>

getFuelConsumption()

public ProductAttributes.FuelConsumption getFuelConsumption()

The fuel consumption of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.FuelConsumption fuel_consumption = 154;

Returns
Type Description
ProductAttributes.FuelConsumption

The fuelConsumption.

getFuelConsumptionDischargedBattery()

public ProductAttributes.FuelConsumption getFuelConsumptionDischargedBattery()

The fuel consumption of the vehicle when the hybrid battery is discharged. See the Help Center article for more information.

.google.shopping.merchant.products.v1.ProductAttributes.FuelConsumption fuel_consumption_discharged_battery = 155;

Returns
Type Description
ProductAttributes.FuelConsumption

The fuelConsumptionDischargedBattery.

getFuelConsumptionDischargedBatteryOrBuilder()

public ProductAttributes.FuelConsumptionOrBuilder getFuelConsumptionDischargedBatteryOrBuilder()

The fuel consumption of the vehicle when the hybrid battery is discharged. See the Help Center article for more information.

.google.shopping.merchant.products.v1.ProductAttributes.FuelConsumption fuel_consumption_discharged_battery = 155;

Returns
Type Description
ProductAttributes.FuelConsumptionOrBuilder

getFuelConsumptionOrBuilder()

public ProductAttributes.FuelConsumptionOrBuilder getFuelConsumptionOrBuilder()

The fuel consumption of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.FuelConsumption fuel_consumption = 154;

Returns
Type Description
ProductAttributes.FuelConsumptionOrBuilder

getGender()

public Gender getGender()

Target gender of the item.

optional .google.shopping.merchant.products.v1.Gender gender = 24;

Returns
Type Description
Gender

The gender.

getGenderValue()

public int getGenderValue()

Target gender of the item.

optional .google.shopping.merchant.products.v1.Gender gender = 24;

Returns
Type Description
int

The enum numeric value on the wire for gender.

getGoogleProductCategory()

public String getGoogleProductCategory()

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

optional string google_product_category = 25;

Returns
Type Description
String

The googleProductCategory.

getGoogleProductCategoryBytes()

public ByteString getGoogleProductCategoryBytes()

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

optional string google_product_category = 25;

Returns
Type Description
ByteString

The bytes for googleProductCategory.

getGtins(int index)

public String getGtins(int index)

Global Trade Item Numbers (GTIN) of the item. You can provide up to 10 GTINs.

repeated string gtins = 140;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gtins at the given index.

getGtinsBytes(int index)

public ByteString getGtinsBytes(int index)

Global Trade Item Numbers (GTIN) of the item. You can provide up to 10 GTINs.

repeated string gtins = 140;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gtins at the given index.

getGtinsCount()

public int getGtinsCount()

Global Trade Item Numbers (GTIN) of the item. You can provide up to 10 GTINs.

repeated string gtins = 140;

Returns
Type Description
int

The count of gtins.

getGtinsList()

public ProtocolStringList getGtinsList()

Global Trade Item Numbers (GTIN) of the item. You can provide up to 10 GTINs.

repeated string gtins = 140;

Returns
Type Description
ProtocolStringList

A list containing the gtins.

getHandlingCutoffTimes(int index)

public HandlingCutoffTime getHandlingCutoffTimes(int index)

The handling cutoff times for shipping.

repeated .google.shopping.merchant.products.v1.HandlingCutoffTime handling_cutoff_times = 141;

Parameter
Name Description
index int
Returns
Type Description
HandlingCutoffTime

getHandlingCutoffTimesCount()

public int getHandlingCutoffTimesCount()

The handling cutoff times for shipping.

repeated .google.shopping.merchant.products.v1.HandlingCutoffTime handling_cutoff_times = 141;

Returns
Type Description
int

getHandlingCutoffTimesList()

public List<HandlingCutoffTime> getHandlingCutoffTimesList()

The handling cutoff times for shipping.

repeated .google.shopping.merchant.products.v1.HandlingCutoffTime handling_cutoff_times = 141;

Returns
Type Description
List<HandlingCutoffTime>

getHandlingCutoffTimesOrBuilder(int index)

public HandlingCutoffTimeOrBuilder getHandlingCutoffTimesOrBuilder(int index)

The handling cutoff times for shipping.

repeated .google.shopping.merchant.products.v1.HandlingCutoffTime handling_cutoff_times = 141;

Parameter
Name Description
index int
Returns
Type Description
HandlingCutoffTimeOrBuilder

getHandlingCutoffTimesOrBuilderList()

public List<? extends HandlingCutoffTimeOrBuilder> getHandlingCutoffTimesOrBuilderList()

The handling cutoff times for shipping.

repeated .google.shopping.merchant.products.v1.HandlingCutoffTime handling_cutoff_times = 141;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.HandlingCutoffTimeOrBuilder>

getIdentifierExists()

public boolean getIdentifierExists()

Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.

optional bool identifier_exists = 4;

Returns
Type Description
boolean

The identifierExists.

public String getImageLink()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
String

The imageLink.

getImageLinkBytes()

public ByteString getImageLinkBytes()

URL of an image of the item.

optional string image_link = 11;

Returns
Type Description
ByteString

The bytes for imageLink.

getIncludedDestinations(int index)

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

For more information, see Included destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum included_destinations = 76;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
com.google.shopping.type.Destination.DestinationEnum

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.

For more information, see Included destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum included_destinations = 76;

Returns
Type Description
int

The count of includedDestinations.

getIncludedDestinationsList()

public List<Destination.DestinationEnum> 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.

For more information, see Included destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum included_destinations = 76;

Returns
Type Description
List<com.google.shopping.type.Destination.DestinationEnum>

A list containing the includedDestinations.

getIncludedDestinationsValue(int index)

public int getIncludedDestinationsValue(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.

For more information, see Included destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum included_destinations = 76;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of includedDestinations at the given index.

getIncludedDestinationsValueList()

public List<Integer> getIncludedDestinationsValueList()

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.

For more information, see Included destination.

Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.

repeated .google.shopping.type.Destination.DestinationEnum included_destinations = 76;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for includedDestinations.

getInstallment()

public ProductInstallment getInstallment()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1.ProductInstallment installment = 32;

Returns
Type Description
ProductInstallment

The installment.

getInstallmentOrBuilder()

public ProductInstallmentOrBuilder getInstallmentOrBuilder()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1.ProductInstallment installment = 32;

Returns
Type Description
ProductInstallmentOrBuilder

getIsBundle()

public boolean getIsBundle()

Whether the item is a business-defined sub-API. A sub-API is a custom grouping of different products sold by a business for a single price.

optional bool is_bundle = 5;

Returns
Type Description
boolean

The isBundle.

getItemGroupId()

public String getItemGroupId()

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Returns
Type Description
String

The itemGroupId.

getItemGroupIdBytes()

public ByteString getItemGroupIdBytes()

Shared identifier for all variants of the same product.

optional string item_group_id = 27;

Returns
Type Description
ByteString

The bytes for itemGroupId.

getItemGroupTitle()

public String getItemGroupTitle()

Optional. Represents the title of the product group to which this variant product belongs. This can be used along with the item group id attribute. It lets you perform better grouping of variant products, and helps identifying common product characteristics more efficiently.

string item_group_title = 175 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The itemGroupTitle.

getItemGroupTitleBytes()

public ByteString getItemGroupTitleBytes()

Optional. Represents the title of the product group to which this variant product belongs. This can be used along with the item group id attribute. It lets you perform better grouping of variant products, and helps identifying common product characteristics more efficiently.

string item_group_title = 175 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for itemGroupTitle.

getLatitude()

public double getLatitude()

The latitude of the property. The value must be between -90 (inclusive) and 90 (inclusive), up to 6 decimal places.

optional double latitude = 180;

Returns
Type Description
double

The latitude.

public String getLifestyleImageLinks(int index)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The lifestyleImageLinks at the given index.

getLifestyleImageLinksBytes(int index)

public ByteString getLifestyleImageLinksBytes(int index)

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the lifestyleImageLinks at the given index.

getLifestyleImageLinksCount()

public int getLifestyleImageLinksCount()

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Returns
Type Description
int

The count of lifestyleImageLinks.

public ProtocolStringList getLifestyleImageLinksList()

Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.

repeated string lifestyle_image_links = 14;

Returns
Type Description
ProtocolStringList

A list containing the lifestyleImageLinks.

public String getLink()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
String

The link.

getLinkBytes()

public ByteString getLinkBytes()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
ByteString

The bytes for link.

getLinkTemplate()

public String getLinkTemplate()

Link template for business hosted local storefront.

optional string link_template = 82;

Returns
Type Description
String

The linkTemplate.

getLinkTemplateBytes()

public ByteString getLinkTemplateBytes()

Link template for business hosted local storefront.

optional string link_template = 82;

Returns
Type Description
ByteString

The bytes for linkTemplate.

getLongitude()

public double getLongitude()

The longitude of the property. The value must be between -180 (inclusive) and 180 (inclusive), up to 6 decimal places.

optional double longitude = 181;

Returns
Type Description
double

The longitude.

getLoyaltyPoints()

public LoyaltyPoints getLoyaltyPoints()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
LoyaltyPoints

The loyaltyPoints.

getLoyaltyPointsOrBuilder()

public LoyaltyPointsOrBuilder getLoyaltyPointsOrBuilder()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
LoyaltyPointsOrBuilder

getLoyaltyPrograms(int index)

public LoyaltyProgram getLoyaltyPrograms(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
LoyaltyProgram

getLoyaltyProgramsCount()

public int getLoyaltyProgramsCount()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
int

getLoyaltyProgramsList()

public List<LoyaltyProgram> getLoyaltyProgramsList()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
List<LoyaltyProgram>

getLoyaltyProgramsOrBuilder(int index)

public LoyaltyProgramOrBuilder getLoyaltyProgramsOrBuilder(int index)

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136;

Parameter
Name Description
index int
Returns
Type Description
LoyaltyProgramOrBuilder

getLoyaltyProgramsOrBuilderList()

public List<? extends LoyaltyProgramOrBuilder> getLoyaltyProgramsOrBuilderList()

A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.

repeated .google.shopping.merchant.products.v1.LoyaltyProgram loyalty_programs = 136;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.LoyaltyProgramOrBuilder>

getMaterial()

public String getMaterial()

The material of which the item is made. For example, "Leather" or "Cotton".

optional string material = 28;

Returns
Type Description
String

The material.

getMaterialBytes()

public ByteString getMaterialBytes()

The material of which the item is made. For example, "Leather" or "Cotton".

optional string material = 28;

Returns
Type Description
ByteString

The bytes for material.

getMaxEnergyEfficiencyClass()

public EnergyEfficiencyClass getMaxEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass max_energy_efficiency_class = 55;

Returns
Type Description
EnergyEfficiencyClass

The maxEnergyEfficiencyClass.

getMaxEnergyEfficiencyClassValue()

public int getMaxEnergyEfficiencyClassValue()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass max_energy_efficiency_class = 55;

Returns
Type Description
int

The enum numeric value on the wire for maxEnergyEfficiencyClass.

getMaxHandlingTime()

public long getMaxHandlingTime()

Maximal product handling time (in business days).

optional int64 max_handling_time = 44;

Returns
Type Description
long

The maxHandlingTime.

getMaximumRetailPrice()

public Price getMaximumRetailPrice()

Maximum retail price (MRP) of the item. Applicable to India only.

.google.shopping.type.Price maximum_retail_price = 139;

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

The maximumRetailPrice.

getMaximumRetailPriceOrBuilder()

public PriceOrBuilder getMaximumRetailPriceOrBuilder()

Maximum retail price (MRP) of the item. Applicable to India only.

.google.shopping.type.Price maximum_retail_price = 139;

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

getMileage()

public ProductAttributes.Mileage getMileage()

The number of miles/kms on the vehicle. See the Mileage for more information.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage = 152;

Returns
Type Description
ProductAttributes.Mileage

The mileage.

getMileageOrBuilder()

public ProductAttributes.MileageOrBuilder getMileageOrBuilder()

The number of miles/kms on the vehicle. See the Mileage for more information.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage = 152;

Returns
Type Description
ProductAttributes.MileageOrBuilder

getMinEnergyEfficiencyClass()

public EnergyEfficiencyClass getMinEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass min_energy_efficiency_class = 54;

Returns
Type Description
EnergyEfficiencyClass

The minEnergyEfficiencyClass.

getMinEnergyEfficiencyClassValue()

public int getMinEnergyEfficiencyClassValue()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass min_energy_efficiency_class = 54;

Returns
Type Description
int

The enum numeric value on the wire for minEnergyEfficiencyClass.

getMinHandlingTime()

public long getMinHandlingTime()

Minimal product handling time (in business days).

optional int64 min_handling_time = 45;

Returns
Type Description
long

The minHandlingTime.

getMinimumOrderValues(int index)

public ProductMinimumOrderValue getMinimumOrderValues(int index)

The minimum value in the cart before a customer can initiate checkout. Supports multiple minimum order values. Different minimum order values can be specified per country, service and surface. Maximum entries: 100.

repeated .google.shopping.merchant.products.v1.ProductMinimumOrderValue minimum_order_values = 146;

Parameter
Name Description
index int
Returns
Type Description
ProductMinimumOrderValue

getMinimumOrderValuesCount()

public int getMinimumOrderValuesCount()

The minimum value in the cart before a customer can initiate checkout. Supports multiple minimum order values. Different minimum order values can be specified per country, service and surface. Maximum entries: 100.

repeated .google.shopping.merchant.products.v1.ProductMinimumOrderValue minimum_order_values = 146;

Returns
Type Description
int

getMinimumOrderValuesList()

public List<ProductMinimumOrderValue> getMinimumOrderValuesList()

The minimum value in the cart before a customer can initiate checkout. Supports multiple minimum order values. Different minimum order values can be specified per country, service and surface. Maximum entries: 100.

repeated .google.shopping.merchant.products.v1.ProductMinimumOrderValue minimum_order_values = 146;

Returns
Type Description
List<ProductMinimumOrderValue>

getMinimumOrderValuesOrBuilder(int index)

public ProductMinimumOrderValueOrBuilder getMinimumOrderValuesOrBuilder(int index)

The minimum value in the cart before a customer can initiate checkout. Supports multiple minimum order values. Different minimum order values can be specified per country, service and surface. Maximum entries: 100.

repeated .google.shopping.merchant.products.v1.ProductMinimumOrderValue minimum_order_values = 146;

Parameter
Name Description
index int
Returns
Type Description
ProductMinimumOrderValueOrBuilder

getMinimumOrderValuesOrBuilderList()

public List<? extends ProductMinimumOrderValueOrBuilder> getMinimumOrderValuesOrBuilderList()

The minimum value in the cart before a customer can initiate checkout. Supports multiple minimum order values. Different minimum order values can be specified per country, service and surface. Maximum entries: 100.

repeated .google.shopping.merchant.products.v1.ProductMinimumOrderValue minimum_order_values = 146;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductMinimumOrderValueOrBuilder>
public String getMobileLink()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
String

The mobileLink.

getMobileLinkBytes()

public ByteString getMobileLinkBytes()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
ByteString

The bytes for mobileLink.

getMobileLinkTemplate()

public String getMobileLinkTemplate()

Link template for business hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
String

The mobileLinkTemplate.

getMobileLinkTemplateBytes()

public ByteString getMobileLinkTemplateBytes()

Link template for business hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
ByteString

The bytes for mobileLinkTemplate.

getModel()

public String getModel()

The Model of the vehicle, such as LX, EX, and others.

string model = 148;

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

The Model of the vehicle, such as LX, EX, and others.

string model = 148;

Returns
Type Description
ByteString

The bytes for model.

getMpn()

public String getMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
String

The mpn.

getMpnBytes()

public ByteString getMpnBytes()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
ByteString

The bytes for mpn.

getMultipack()

public long getMultipack()

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

optional int64 multipack = 58;

Returns
Type Description
long

The multipack.

getNeighborhood()

public String getNeighborhood()

The neighborhood (locality) of the property, such as Wallingford, Greenwood, etc.

string neighborhood = 182;

Returns
Type Description
String

The neighborhood.

getNeighborhoodBytes()

public ByteString getNeighborhoodBytes()

The neighborhood (locality) of the property, such as Wallingford, Greenwood, etc.

string neighborhood = 182;

Returns
Type Description
ByteString

The bytes for neighborhood.

getNumberOfBathrooms()

public double getNumberOfBathrooms()

The number of bathrooms in the property. The value must be greater than 0 and a multiple of 0.5.

optional double number_of_bathrooms = 187;

Returns
Type Description
double

The numberOfBathrooms.

getNumberOfBedrooms()

public double getNumberOfBedrooms()

The number of bedrooms in the property. The value must be greater than or equal to 0 and a multiple of 1.0.

optional double number_of_bedrooms = 186;

Returns
Type Description
double

The numberOfBedrooms.

getNumberOfUnits()

public long getNumberOfUnits()

The number of units available for a specific floor plan of the property. The value must be greater than 0.

optional int64 number_of_units = 184;

Returns
Type Description
long

The numberOfUnits.

getParserForType()

public Parser<ProductAttributes> getParserForType()
Returns
Type Description
Parser<ProductAttributes>
Overrides

getPattern()

public String getPattern()

The item's pattern. For example, polka dots.

optional string pattern = 30;

Returns
Type Description
String

The pattern.

getPatternBytes()

public ByteString getPatternBytes()

The item's pattern. For example, polka dots.

optional string pattern = 30;

Returns
Type Description
ByteString

The bytes for pattern.

getPause()

public Pause getPause()

Publication of this item will be temporarily paused.

optional .google.shopping.merchant.products.v1.Pause pause = 13;

Returns
Type Description
Pause

The pause.

getPauseValue()

public int getPauseValue()

Publication of this item will be temporarily paused.

optional .google.shopping.merchant.products.v1.Pause pause = 13;

Returns
Type Description
int

The enum numeric value on the wire for pause.

getPetPolicy()

public ProductAttributes.PetPolicy getPetPolicy()

The pet policy for the property.

.google.shopping.merchant.products.v1.ProductAttributes.PetPolicy pet_policy = 191;

Returns
Type Description
ProductAttributes.PetPolicy

The petPolicy.

getPetPolicyOrBuilder()

public ProductAttributes.PetPolicyOrBuilder getPetPolicyOrBuilder()

The pet policy for the property.

.google.shopping.merchant.products.v1.ProductAttributes.PetPolicy pet_policy = 191;

Returns
Type Description
ProductAttributes.PetPolicyOrBuilder

getPickupCost()

public PickupCost getPickupCost()

Optional. The pickup cost for an item when a customer buys it online and picks it up at a store.

optional .google.shopping.merchant.products.v1.PickupCost pickup_cost = 172 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PickupCost

The pickupCost.

getPickupCostOrBuilder()

public PickupCostOrBuilder getPickupCostOrBuilder()

Optional. The pickup cost for an item when a customer buys it online and picks it up at a store.

optional .google.shopping.merchant.products.v1.PickupCost pickup_cost = 172 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PickupCostOrBuilder

getPickupMethod()

public PickupMethod getPickupMethod()

The pickup option for the item.

optional .google.shopping.merchant.products.v1.PickupMethod pickup_method = 80;

Returns
Type Description
PickupMethod

The pickupMethod.

getPickupMethodValue()

public int getPickupMethodValue()

The pickup option for the item.

optional .google.shopping.merchant.products.v1.PickupMethod pickup_method = 80;

Returns
Type Description
int

The enum numeric value on the wire for pickupMethod.

getPickupSla()

public PickupSla getPickupSla()

Item store pickup timeline. For more information, see Pickup SLA.

optional .google.shopping.merchant.products.v1.PickupSla pickup_sla = 81;

Returns
Type Description
PickupSla

The pickupSla.

getPickupSlaValue()

public int getPickupSlaValue()

Item store pickup timeline. For more information, see Pickup SLA.

optional .google.shopping.merchant.products.v1.PickupSla pickup_sla = 81;

Returns
Type Description
int

The enum numeric value on the wire for pickupSla.

getPopularityRank()

public float getPopularityRank()

Optional. Indicates the popularity of the product in a merchant's inventory. Using a scale of 0.0 (lowest) to 100.0 (highest).

float popularity_rank = 174 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The popularityRank.

getPrice()

public Price getPrice()

Price of the item.

.google.shopping.type.Price price = 31;

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

The price.

getPriceOrBuilder()

public PriceOrBuilder getPriceOrBuilder()

Price of the item.

.google.shopping.type.Price price = 31;

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

getProductDetails(int index)

public ProductDetail getProductDetails(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
ProductDetail

getProductDetailsCount()

public int getProductDetailsCount()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1.ProductDetail product_details = 63;

Returns
Type Description
int

getProductDetailsList()

public List<ProductDetail> getProductDetailsList()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1.ProductDetail product_details = 63;

Returns
Type Description
List<ProductDetail>

getProductDetailsOrBuilder(int index)

public ProductDetailOrBuilder getProductDetailsOrBuilder(int index)

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1.ProductDetail product_details = 63;

Parameter
Name Description
index int
Returns
Type Description
ProductDetailOrBuilder

getProductDetailsOrBuilderList()

public List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()

Technical specification or additional product details.

repeated .google.shopping.merchant.products.v1.ProductDetail product_details = 63;

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

getProductFee(int index)

public ProductAttributes.ProductFee getProductFee(int index)

The product fee for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ProductFee product_fee = 193;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.ProductFee

getProductFeeCount()

public int getProductFeeCount()

The product fee for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ProductFee product_fee = 193;

Returns
Type Description
int

getProductFeeList()

public List<ProductAttributes.ProductFee> getProductFeeList()

The product fee for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ProductFee product_fee = 193;

Returns
Type Description
List<ProductFee>

getProductFeeOrBuilder(int index)

public ProductAttributes.ProductFeeOrBuilder getProductFeeOrBuilder(int index)

The product fee for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ProductFee product_fee = 193;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.ProductFeeOrBuilder

getProductFeeOrBuilderList()

public List<? extends ProductAttributes.ProductFeeOrBuilder> getProductFeeOrBuilderList()

The product fee for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ProductFee product_fee = 193;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.ProductFeeOrBuilder>

getProductHeight()

public ProductDimension getProductHeight()

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

.google.shopping.merchant.products.v1.ProductDimension product_height = 119;

Returns
Type Description
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.merchant.products.v1.ProductDimension product_height = 119;

Returns
Type Description
ProductDimensionOrBuilder

getProductHighlights(int index)

public String getProductHighlights(int index)

Bullet points describing the most relevant product highlights.

repeated string product_highlights = 64;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The productHighlights at the given index.

getProductHighlightsBytes(int index)

public ByteString getProductHighlightsBytes(int index)

Bullet points describing the most relevant product highlights.

repeated string product_highlights = 64;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the productHighlights at the given index.

getProductHighlightsCount()

public int getProductHighlightsCount()

Bullet points describing the most relevant product highlights.

repeated string product_highlights = 64;

Returns
Type Description
int

The count of productHighlights.

getProductHighlightsList()

public ProtocolStringList getProductHighlightsList()

Bullet points describing the most relevant product highlights.

repeated string product_highlights = 64;

Returns
Type Description
ProtocolStringList

A list containing the productHighlights.

getProductLength()

public ProductDimension getProductLength()

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

.google.shopping.merchant.products.v1.ProductDimension product_length = 120;

Returns
Type Description
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.merchant.products.v1.ProductDimension product_length = 120;

Returns
Type Description
ProductDimensionOrBuilder

getProductTypes(int index)

public String getProductTypes(int index)

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

repeated string product_types = 35;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The productTypes at the given index.

getProductTypesBytes(int index)

public ByteString getProductTypesBytes(int index)

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

repeated string product_types = 35;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the productTypes at the given index.

getProductTypesCount()

public int getProductTypesCount()

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

repeated string product_types = 35;

Returns
Type Description
int

The count of productTypes.

getProductTypesList()

public ProtocolStringList getProductTypesList()

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

repeated string product_types = 35;

Returns
Type Description
ProtocolStringList

A list containing the productTypes.

getProductWeight()

public ProductWeight getProductWeight()

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

.google.shopping.merchant.products.v1.ProductWeight product_weight = 122;

Returns
Type Description
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.merchant.products.v1.ProductWeight product_weight = 122;

Returns
Type Description
ProductWeightOrBuilder

getProductWidth()

public ProductDimension getProductWidth()

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

.google.shopping.merchant.products.v1.ProductDimension product_width = 121;

Returns
Type Description
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.merchant.products.v1.ProductDimension product_width = 121;

Returns
Type Description
ProductDimensionOrBuilder

getPromotionIds(int index)

public String getPromotionIds(int index)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The promotionIds at the given index.

getPromotionIdsBytes(int index)

public ByteString getPromotionIdsBytes(int index)

The unique ID of a promotion.

repeated string promotion_ids = 70;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the promotionIds at the given index.

getPromotionIdsCount()

public int getPromotionIdsCount()

The unique ID of a promotion.

repeated string promotion_ids = 70;

Returns
Type Description
int

The count of promotionIds.

getPromotionIdsList()

public ProtocolStringList getPromotionIdsList()

The unique ID of a promotion.

repeated string promotion_ids = 70;

Returns
Type Description
ProtocolStringList

A list containing the promotionIds.

getPropertyName()

public String getPropertyName()

The name of the property.

string property_name = 185;

Returns
Type Description
String

The propertyName.

getPropertyNameBytes()

public ByteString getPropertyNameBytes()

The name of the property.

string property_name = 185;

Returns
Type Description
ByteString

The bytes for propertyName.

getPropertyType()

public ProductAttributes.PropertyType getPropertyType()

The type of property.

.google.shopping.merchant.products.v1.ProductAttributes.PropertyType property_type = 188;

Returns
Type Description
ProductAttributes.PropertyType

The propertyType.

getPropertyTypeValue()

public int getPropertyTypeValue()

The type of property.

.google.shopping.merchant.products.v1.ProductAttributes.PropertyType property_type = 188;

Returns
Type Description
int

The enum numeric value on the wire for propertyType.

getQuestionsAndAnswers(int index)

public ProductAttributes.QuestionAndAnswer getQuestionsAndAnswers(int index)

Optional. Contains user-, merchant-, and manufacturer-authored questions and answers about the product. Max 30 question and answer pairs. Max 10000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.

repeated .google.shopping.merchant.products.v1.ProductAttributes.QuestionAndAnswer questions_and_answers = 173 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.QuestionAndAnswer

getQuestionsAndAnswersCount()

public int getQuestionsAndAnswersCount()

Optional. Contains user-, merchant-, and manufacturer-authored questions and answers about the product. Max 30 question and answer pairs. Max 10000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.

repeated .google.shopping.merchant.products.v1.ProductAttributes.QuestionAndAnswer questions_and_answers = 173 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getQuestionsAndAnswersList()

public List<ProductAttributes.QuestionAndAnswer> getQuestionsAndAnswersList()

Optional. Contains user-, merchant-, and manufacturer-authored questions and answers about the product. Max 30 question and answer pairs. Max 10000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.

repeated .google.shopping.merchant.products.v1.ProductAttributes.QuestionAndAnswer questions_and_answers = 173 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<QuestionAndAnswer>

getQuestionsAndAnswersOrBuilder(int index)

public ProductAttributes.QuestionAndAnswerOrBuilder getQuestionsAndAnswersOrBuilder(int index)

Optional. Contains user-, merchant-, and manufacturer-authored questions and answers about the product. Max 30 question and answer pairs. Max 10000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.

repeated .google.shopping.merchant.products.v1.ProductAttributes.QuestionAndAnswer questions_and_answers = 173 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.QuestionAndAnswerOrBuilder

getQuestionsAndAnswersOrBuilderList()

public List<? extends ProductAttributes.QuestionAndAnswerOrBuilder> getQuestionsAndAnswersOrBuilderList()

Optional. Contains user-, merchant-, and manufacturer-authored questions and answers about the product. Max 30 question and answer pairs. Max 10000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.

repeated .google.shopping.merchant.products.v1.ProductAttributes.QuestionAndAnswer questions_and_answers = 173 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.QuestionAndAnswerOrBuilder>

getRelatedProducts(int index)

public ProductAttributes.RelatedProduct getRelatedProducts(int index)

Optional. Specifies how other products are related to this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct related_products = 178 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.RelatedProduct

getRelatedProductsCount()

public int getRelatedProductsCount()

Optional. Specifies how other products are related to this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct related_products = 178 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getRelatedProductsList()

public List<ProductAttributes.RelatedProduct> getRelatedProductsList()

Optional. Specifies how other products are related to this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct related_products = 178 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<RelatedProduct>

getRelatedProductsOrBuilder(int index)

public ProductAttributes.RelatedProductOrBuilder getRelatedProductsOrBuilder(int index)

Optional. Specifies how other products are related to this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct related_products = 178 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.RelatedProductOrBuilder

getRelatedProductsOrBuilderList()

public List<? extends ProductAttributes.RelatedProductOrBuilder> getRelatedProductsOrBuilderList()

Optional. Specifies how other products are related to this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct related_products = 178 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.RelatedProductOrBuilder>

getReturnPolicyLabel()

public String getReturnPolicyLabel()

The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see Return policy label.

optional string return_policy_label = 170;

Returns
Type Description
String

The returnPolicyLabel.

getReturnPolicyLabelBytes()

public ByteString getReturnPolicyLabelBytes()

The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see Return policy label.

optional string return_policy_label = 170;

Returns
Type Description
ByteString

The bytes for returnPolicyLabel.

getSalePrice()

public Price getSalePrice()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

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

The salePrice.

getSalePriceEffectiveDate()

public Interval getSalePriceEffectiveDate()

Date range during which the item is on sale, see product data specification.

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
com.google.type.Interval

The salePriceEffectiveDate.

getSalePriceEffectiveDateOrBuilder()

public IntervalOrBuilder getSalePriceEffectiveDateOrBuilder()

Date range during which the item is on sale, see product data specification.

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
com.google.type.IntervalOrBuilder

getSalePriceOrBuilder()

public PriceOrBuilder getSalePriceOrBuilder()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

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

getSellOnGoogleQuantity()

public long getSellOnGoogleQuantity()

The quantity of the product that is available for selling on Google. Supported only for online products.

optional int64 sell_on_google_quantity = 38;

Returns
Type Description
long

The sellOnGoogleQuantity.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShipping(int index)

public Shipping getShipping(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
Shipping

getShippingCount()

public int getShippingCount()

Shipping rules.

repeated .google.shopping.merchant.products.v1.Shipping shipping = 39;

Returns
Type Description
int

getShippingHandlingBusinessDays(int index)

public ProductAttributes.ShippingBusinessDaysConfig getShippingHandlingBusinessDays(int index)

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_handling_business_days = 143;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig

getShippingHandlingBusinessDaysCount()

public int getShippingHandlingBusinessDaysCount()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_handling_business_days = 143;

Returns
Type Description
int

getShippingHandlingBusinessDaysList()

public List<ProductAttributes.ShippingBusinessDaysConfig> getShippingHandlingBusinessDaysList()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_handling_business_days = 143;

Returns
Type Description
List<ShippingBusinessDaysConfig>

getShippingHandlingBusinessDaysOrBuilder(int index)

public ProductAttributes.ShippingBusinessDaysConfigOrBuilder getShippingHandlingBusinessDaysOrBuilder(int index)

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_handling_business_days = 143;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfigOrBuilder

getShippingHandlingBusinessDaysOrBuilderList()

public List<? extends ProductAttributes.ShippingBusinessDaysConfigOrBuilder> getShippingHandlingBusinessDaysOrBuilderList()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_handling_business_days = 143;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfigOrBuilder>

getShippingHeight()

public ShippingDimension getShippingHeight()

Height of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_height = 43;

Returns
Type Description
ShippingDimension

The shippingHeight.

getShippingHeightOrBuilder()

public ShippingDimensionOrBuilder getShippingHeightOrBuilder()

Height of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_height = 43;

Returns
Type Description
ShippingDimensionOrBuilder

getShippingLabel()

public String getShippingLabel()

The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see Shipping label.

optional string shipping_label = 46;

Returns
Type Description
String

The shippingLabel.

getShippingLabelBytes()

public ByteString getShippingLabelBytes()

The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see Shipping label.

optional string shipping_label = 46;

Returns
Type Description
ByteString

The bytes for shippingLabel.

getShippingLength()

public ShippingDimension getShippingLength()

Length of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_length = 41;

Returns
Type Description
ShippingDimension

The shippingLength.

getShippingLengthOrBuilder()

public ShippingDimensionOrBuilder getShippingLengthOrBuilder()

Length of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_length = 41;

Returns
Type Description
ShippingDimensionOrBuilder

getShippingList()

public List<Shipping> getShippingList()

Shipping rules.

repeated .google.shopping.merchant.products.v1.Shipping shipping = 39;

Returns
Type Description
List<Shipping>

getShippingOrBuilder(int index)

public ShippingOrBuilder getShippingOrBuilder(int index)

Shipping rules.

repeated .google.shopping.merchant.products.v1.Shipping shipping = 39;

Parameter
Name Description
index int
Returns
Type Description
ShippingOrBuilder

getShippingOrBuilderList()

public List<? extends ShippingOrBuilder> getShippingOrBuilderList()

Shipping rules.

repeated .google.shopping.merchant.products.v1.Shipping shipping = 39;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ShippingOrBuilder>

getShippingTransitBusinessDays(int index)

public ProductAttributes.ShippingBusinessDaysConfig getShippingTransitBusinessDays(int index)

The business days during which orders are in transit. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_transit_business_days = 144;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig

getShippingTransitBusinessDaysCount()

public int getShippingTransitBusinessDaysCount()

The business days during which orders are in transit. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_transit_business_days = 144;

Returns
Type Description
int

getShippingTransitBusinessDaysList()

public List<ProductAttributes.ShippingBusinessDaysConfig> getShippingTransitBusinessDaysList()

The business days during which orders are in transit. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_transit_business_days = 144;

Returns
Type Description
List<ShippingBusinessDaysConfig>

getShippingTransitBusinessDaysOrBuilder(int index)

public ProductAttributes.ShippingBusinessDaysConfigOrBuilder getShippingTransitBusinessDaysOrBuilder(int index)

The business days during which orders are in transit. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_transit_business_days = 144;

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfigOrBuilder

getShippingTransitBusinessDaysOrBuilderList()

public List<? extends ProductAttributes.ShippingBusinessDaysConfigOrBuilder> getShippingTransitBusinessDaysOrBuilderList()

The business days during which orders are in transit. If not provided, Monday to Friday business days will be assumed.

repeated .google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig shipping_transit_business_days = 144;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfigOrBuilder>

getShippingWeight()

public ShippingWeight getShippingWeight()

Weight of the item for shipping.

.google.shopping.merchant.products.v1.ShippingWeight shipping_weight = 40;

Returns
Type Description
ShippingWeight

The shippingWeight.

getShippingWeightOrBuilder()

public ShippingWeightOrBuilder getShippingWeightOrBuilder()

Weight of the item for shipping.

.google.shopping.merchant.products.v1.ShippingWeight shipping_weight = 40;

Returns
Type Description
ShippingWeightOrBuilder

getShippingWidth()

public ShippingDimension getShippingWidth()

Width of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_width = 42;

Returns
Type Description
ShippingDimension

The shippingWidth.

getShippingWidthOrBuilder()

public ShippingDimensionOrBuilder getShippingWidthOrBuilder()

Width of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_width = 42;

Returns
Type Description
ShippingDimensionOrBuilder

getShoppingAdsExcludedCountries(int index)

public String getShoppingAdsExcludedCountries(int index)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The shoppingAdsExcludedCountries at the given index.

getShoppingAdsExcludedCountriesBytes(int index)

public ByteString getShoppingAdsExcludedCountriesBytes(int index)

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the shoppingAdsExcludedCountries at the given index.

getShoppingAdsExcludedCountriesCount()

public int getShoppingAdsExcludedCountriesCount()

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Returns
Type Description
int

The count of shoppingAdsExcludedCountries.

getShoppingAdsExcludedCountriesList()

public ProtocolStringList getShoppingAdsExcludedCountriesList()

List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.

repeated string shopping_ads_excluded_countries = 78;

Returns
Type Description
ProtocolStringList

A list containing the shoppingAdsExcludedCountries.

getShortTitle()

public String getShortTitle()

The short title of the item.

optional string short_title = 194;

Returns
Type Description
String

The shortTitle.

getShortTitleBytes()

public ByteString getShortTitleBytes()

The short title of the item.

optional string short_title = 194;

Returns
Type Description
ByteString

The bytes for shortTitle.

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

optional string size = 48;

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

optional string size = 48;

Returns
Type Description
ByteString

The bytes for size.

getSizeSystem()

public SizeSystem getSizeSystem()

System in which the size is specified. Recommended for apparel items. For more information, see Size system.

optional .google.shopping.merchant.products.v1.SizeSystem size_system = 49;

Returns
Type Description
SizeSystem

The sizeSystem.

getSizeSystemValue()

public int getSizeSystemValue()

System in which the size is specified. Recommended for apparel items. For more information, see Size system.

optional .google.shopping.merchant.products.v1.SizeSystem size_system = 49;

Returns
Type Description
int

The enum numeric value on the wire for sizeSystem.

getSizeTypes(int index)

public SizeType 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 Size type.

repeated .google.shopping.merchant.products.v1.SizeType size_types = 50;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
SizeType

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 Size type.

repeated .google.shopping.merchant.products.v1.SizeType size_types = 50;

Returns
Type Description
int

The count of sizeTypes.

getSizeTypesList()

public List<SizeType> 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 Size type.

repeated .google.shopping.merchant.products.v1.SizeType size_types = 50;

Returns
Type Description
List<SizeType>

A list containing the sizeTypes.

getSizeTypesValue(int index)

public int getSizeTypesValue(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 Size type.

repeated .google.shopping.merchant.products.v1.SizeType size_types = 50;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of sizeTypes at the given index.

getSizeTypesValueList()

public List<Integer> getSizeTypesValueList()

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 Size type.

repeated .google.shopping.merchant.products.v1.SizeType size_types = 50;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for sizeTypes.

getSpecialtyHousingType()

public ProductAttributes.SpecialtyHousingType getSpecialtyHousingType()

The specialty housing type for the property.

.google.shopping.merchant.products.v1.ProductAttributes.SpecialtyHousingType specialty_housing_type = 192;

Returns
Type Description
ProductAttributes.SpecialtyHousingType

The specialtyHousingType.

getSpecialtyHousingTypeValue()

public int getSpecialtyHousingTypeValue()

The specialty housing type for the property.

.google.shopping.merchant.products.v1.ProductAttributes.SpecialtyHousingType specialty_housing_type = 192;

Returns
Type Description
int

The enum numeric value on the wire for specialtyHousingType.

getStructuredDescription()

public StructuredDescription getStructuredDescription()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1.StructuredDescription structured_description = 133;

Returns
Type Description
StructuredDescription

The structuredDescription.

getStructuredDescriptionOrBuilder()

public StructuredDescriptionOrBuilder getStructuredDescriptionOrBuilder()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1.StructuredDescription structured_description = 133;

Returns
Type Description
StructuredDescriptionOrBuilder

getStructuredTitle()

public StructuredTitle getStructuredTitle()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1.StructuredTitle structured_title = 132;

Returns
Type Description
StructuredTitle

The structuredTitle.

getStructuredTitleOrBuilder()

public StructuredTitleOrBuilder getStructuredTitleOrBuilder()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1.StructuredTitle structured_title = 132;

Returns
Type Description
StructuredTitleOrBuilder

getSubscriptionCost()

public SubscriptionCost getSubscriptionCost()

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

.google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33;

Returns
Type Description
SubscriptionCost

The subscriptionCost.

getSubscriptionCostOrBuilder()

public SubscriptionCostOrBuilder getSubscriptionCostOrBuilder()

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

.google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33;

Returns
Type Description
SubscriptionCostOrBuilder

getSustainabilityIncentives(int index)

public ProductSustainabilityIncentive getSustainabilityIncentives(int index)

The list of sustainability incentive programs.

repeated .google.shopping.merchant.products.v1.ProductSustainabilityIncentive sustainability_incentives = 138;

Parameter
Name Description
index int
Returns
Type Description
ProductSustainabilityIncentive

getSustainabilityIncentivesCount()

public int getSustainabilityIncentivesCount()

The list of sustainability incentive programs.

repeated .google.shopping.merchant.products.v1.ProductSustainabilityIncentive sustainability_incentives = 138;

Returns
Type Description
int

getSustainabilityIncentivesList()

public List<ProductSustainabilityIncentive> getSustainabilityIncentivesList()

The list of sustainability incentive programs.

repeated .google.shopping.merchant.products.v1.ProductSustainabilityIncentive sustainability_incentives = 138;

Returns
Type Description
List<ProductSustainabilityIncentive>

getSustainabilityIncentivesOrBuilder(int index)

public ProductSustainabilityIncentiveOrBuilder getSustainabilityIncentivesOrBuilder(int index)

The list of sustainability incentive programs.

repeated .google.shopping.merchant.products.v1.ProductSustainabilityIncentive sustainability_incentives = 138;

Parameter
Name Description
index int
Returns
Type Description
ProductSustainabilityIncentiveOrBuilder

getSustainabilityIncentivesOrBuilderList()

public List<? extends ProductSustainabilityIncentiveOrBuilder> getSustainabilityIncentivesOrBuilderList()

The list of sustainability incentive programs.

repeated .google.shopping.merchant.products.v1.ProductSustainabilityIncentive sustainability_incentives = 138;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductSustainabilityIncentiveOrBuilder>

getTitle()

public String getTitle()

Title of the item.

optional string title = 6;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Title of the item.

optional string title = 6;

Returns
Type Description
ByteString

The bytes for title.

getTransitTimeLabel()

public String getTransitTimeLabel()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
String

The transitTimeLabel.

getTransitTimeLabelBytes()

public ByteString getTransitTimeLabelBytes()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
ByteString

The bytes for transitTimeLabel.

getTrim()

public String getTrim()

The Trim of the vehicle model, such as S, SV, SL and others.

string trim = 149;

Returns
Type Description
String

The trim.

getTrimBytes()

public ByteString getTrimBytes()

The Trim of the vehicle model, such as S, SV, SL and others.

string trim = 149;

Returns
Type Description
ByteString

The bytes for trim.

getUnitArea()

public ProductAttributes.UnitArea getUnitArea()

The unit area of the property, such as 1000 sqft.

.google.shopping.merchant.products.v1.ProductAttributes.UnitArea unit_area = 183;

Returns
Type Description
ProductAttributes.UnitArea

The unitArea.

getUnitAreaOrBuilder()

public ProductAttributes.UnitAreaOrBuilder getUnitAreaOrBuilder()

The unit area of the property, such as 1000 sqft.

.google.shopping.merchant.products.v1.ProductAttributes.UnitArea unit_area = 183;

Returns
Type Description
ProductAttributes.UnitAreaOrBuilder

getUnitPricingBaseMeasure()

public UnitPricingBaseMeasure getUnitPricingBaseMeasure()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
UnitPricingBaseMeasure

The unitPricingBaseMeasure.

getUnitPricingBaseMeasureOrBuilder()

public UnitPricingBaseMeasureOrBuilder getUnitPricingBaseMeasureOrBuilder()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
UnitPricingBaseMeasureOrBuilder

getUnitPricingMeasure()

public UnitPricingMeasure getUnitPricingMeasure()

The measure and dimension of an item.

.google.shopping.merchant.products.v1.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
UnitPricingMeasure

The unitPricingMeasure.

getUnitPricingMeasureOrBuilder()

public UnitPricingMeasureOrBuilder getUnitPricingMeasureOrBuilder()

The measure and dimension of an item.

.google.shopping.merchant.products.v1.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
UnitPricingMeasureOrBuilder

getUtilitiesIncluded(int index)

public ProductAttributes.UtilitiesIncluded getUtilitiesIncluded(int index)

The utilities included for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.UtilitiesIncluded utilities_included = 190;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ProductAttributes.UtilitiesIncluded

The utilitiesIncluded at the given index.

getUtilitiesIncludedCount()

public int getUtilitiesIncludedCount()

The utilities included for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.UtilitiesIncluded utilities_included = 190;

Returns
Type Description
int

The count of utilitiesIncluded.

getUtilitiesIncludedList()

public List<ProductAttributes.UtilitiesIncluded> getUtilitiesIncludedList()

The utilities included for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.UtilitiesIncluded utilities_included = 190;

Returns
Type Description
List<UtilitiesIncluded>

A list containing the utilitiesIncluded.

getUtilitiesIncludedValue(int index)

public int getUtilitiesIncludedValue(int index)

The utilities included for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.UtilitiesIncluded utilities_included = 190;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of utilitiesIncluded at the given index.

getUtilitiesIncludedValueList()

public List<Integer> getUtilitiesIncludedValueList()

The utilities included for the property.

repeated .google.shopping.merchant.products.v1.ProductAttributes.UtilitiesIncluded utilities_included = 190;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for utilitiesIncluded.

getVariantOptions(int index)

public ProductAttributes.VariantOption getVariantOptions(int index)

Optional. Contains the list of all variant-identifying options of this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.VariantOption variant_options = 177 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.VariantOption

getVariantOptionsCount()

public int getVariantOptionsCount()

Optional. Contains the list of all variant-identifying options of this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.VariantOption variant_options = 177 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getVariantOptionsList()

public List<ProductAttributes.VariantOption> getVariantOptionsList()

Optional. Contains the list of all variant-identifying options of this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.VariantOption variant_options = 177 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<VariantOption>

getVariantOptionsOrBuilder(int index)

public ProductAttributes.VariantOptionOrBuilder getVariantOptionsOrBuilder(int index)

Optional. Contains the list of all variant-identifying options of this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.VariantOption variant_options = 177 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributes.VariantOptionOrBuilder

getVariantOptionsOrBuilderList()

public List<? extends ProductAttributes.VariantOptionOrBuilder> getVariantOptionsOrBuilderList()

Optional. Contains the list of all variant-identifying options of this product.

repeated .google.shopping.merchant.products.v1.ProductAttributes.VariantOption variant_options = 177 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1.ProductAttributes.VariantOptionOrBuilder>

getVehicleAllInPrice()

public Price getVehicleAllInPrice()

The all-in advertised price for a vehicle, which includes costs for the following – any accessories attached to the vehicle, environmental levies, extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees for handling licensing, provincial regulatory fees, miscellaneous dealer charges for security etching and nitrogen tire fill, and factory-to-customer or dealer-to-customer discounts or incentives. See the Vehicle all-in price for more information.

.google.shopping.type.Price vehicle_all_in_price = 163;

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

The vehicleAllInPrice.

getVehicleAllInPriceOrBuilder()

public PriceOrBuilder getVehicleAllInPriceOrBuilder()

The all-in advertised price for a vehicle, which includes costs for the following – any accessories attached to the vehicle, environmental levies, extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees for handling licensing, provincial regulatory fees, miscellaneous dealer charges for security etching and nitrogen tire fill, and factory-to-customer or dealer-to-customer discounts or incentives. See the Vehicle all-in price for more information.

.google.shopping.type.Price vehicle_all_in_price = 163;

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

getVehicleExpenses()

public Price getVehicleExpenses()

The miscellaneous expenses like insurance and registration fees of the vehicle. See the Vehicle expenses for more information.

.google.shopping.type.Price vehicle_expenses = 167;

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

The vehicleExpenses.

getVehicleExpensesOrBuilder()

public PriceOrBuilder getVehicleExpensesOrBuilder()

The miscellaneous expenses like insurance and registration fees of the vehicle. See the Vehicle expenses for more information.

.google.shopping.type.Price vehicle_expenses = 167;

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

getVehicleMandatoryInspectionIncluded()

public boolean getVehicleMandatoryInspectionIncluded()

Whether the vehicle is sold with mandatory inspection and maintenance performed before delivery. See the Vehicle mandatory inspection included for more information.`

bool vehicle_mandatory_inspection_included = 166;

Returns
Type Description
boolean

The vehicleMandatoryInspectionIncluded.

getVehicleMsrp()

public Price getVehicleMsrp()

The MSRP (Manufacturer Suggested Retail Price) for the vehicle in its current configuration. See the Vehicle MSRP for more information.

.google.shopping.type.Price vehicle_msrp = 162;

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

The vehicleMsrp.

getVehicleMsrpOrBuilder()

public PriceOrBuilder getVehicleMsrpOrBuilder()

The MSRP (Manufacturer Suggested Retail Price) for the vehicle in its current configuration. See the Vehicle MSRP for more information.

.google.shopping.type.Price vehicle_msrp = 162;

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

getVehiclePriceType()

public ProductAttributes.VehiclePriceType getVehiclePriceType()

The price type of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.VehiclePriceType vehicle_price_type = 164;

Returns
Type Description
ProductAttributes.VehiclePriceType

The vehiclePriceType.

getVehiclePriceTypeValue()

public int getVehiclePriceTypeValue()

The price type of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.VehiclePriceType vehicle_price_type = 164;

Returns
Type Description
int

The enum numeric value on the wire for vehiclePriceType.

public String getVideoLinks(int index)

Optional. A list of video URLs for the item. Use this attribute to provide more visuals for your product beyond your image attributes. See the Help Center article for more information.

repeated string video_links = 169 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The videoLinks at the given index.

getVideoLinksBytes(int index)

public ByteString getVideoLinksBytes(int index)

Optional. A list of video URLs for the item. Use this attribute to provide more visuals for your product beyond your image attributes. See the Help Center article for more information.

repeated string video_links = 169 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the videoLinks at the given index.

getVideoLinksCount()

public int getVideoLinksCount()

Optional. A list of video URLs for the item. Use this attribute to provide more visuals for your product beyond your image attributes. See the Help Center article for more information.

repeated string video_links = 169 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of videoLinks.

public ProtocolStringList getVideoLinksList()

Optional. A list of video URLs for the item. Use this attribute to provide more visuals for your product beyond your image attributes. See the Help Center article for more information.

repeated string video_links = 169 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the videoLinks.

getVin()

public String getVin()

The Vehicle Identification Number (VIN) of the vehicle.

string vin = 147;

Returns
Type Description
String

The vin.

getVinBytes()

public ByteString getVinBytes()

The Vehicle Identification Number (VIN) of the vehicle.

string vin = 147;

Returns
Type Description
ByteString

The bytes for vin.

public String getVirtualModelLink()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
String

The virtualModelLink.

getVirtualModelLinkBytes()

public ByteString getVirtualModelLinkBytes()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
ByteString

The bytes for virtualModelLink.

getWarranty()

public ProductAttributes.Warranty getWarranty()

The warranty of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.Warranty warranty = 168;

Returns
Type Description
ProductAttributes.Warranty

The warranty.

getWarrantyOrBuilder()

public ProductAttributes.WarrantyOrBuilder getWarrantyOrBuilder()

The warranty of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.Warranty warranty = 168;

Returns
Type Description
ProductAttributes.WarrantyOrBuilder

getYear()

public long getYear()

The Year of the vehicle model.

int64 year = 151;

Returns
Type Description
long

The year.

hasAdsGrouping()

public boolean hasAdsGrouping()

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. For more information, see Display ads attribute.

optional string ads_grouping = 59;

Returns
Type Description
boolean

Whether the adsGrouping field is set.

hasAdsRedirect()

public boolean hasAdsRedirect()

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

optional string ads_redirect = 61;

Returns
Type Description
boolean

Whether the adsRedirect field is set.

hasAdult()

public boolean hasAdult()

Set to true if the item is targeted towards adults.

optional bool adult = 17;

Returns
Type Description
boolean

Whether the adult field is set.

hasAgeGroup()

public boolean hasAgeGroup()

Target age group of the item.

optional .google.shopping.merchant.products.v1.AgeGroup age_group = 18;

Returns
Type Description
boolean

Whether the ageGroup field is set.

hasAutoPricingMinPrice()

public boolean hasAutoPricingMinPrice()

A safeguard in the automated discounts and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on business offers do not fall below this value, thereby preserving the offer's value and profitability.

.google.shopping.type.Price auto_pricing_min_price = 124;

Returns
Type Description
boolean

Whether the autoPricingMinPrice field is set.

hasAvailability()

public boolean hasAvailability()

Availability status of the item.

optional .google.shopping.merchant.products.v1.Availability availability = 19;

Returns
Type Description
boolean

Whether the availability field is set.

hasAvailabilityDate()

public boolean hasAvailabilityDate()

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

.google.protobuf.Timestamp availability_date = 20;

Returns
Type Description
boolean

Whether the availabilityDate field is set.

hasBrand()

public boolean hasBrand()

Brand of the item. For example, "Google".

optional string brand = 21;

Returns
Type Description
boolean

Whether the brand field is set.

public boolean hasCanonicalLink()

URL for the canonical version of your item's landing page.

optional string canonical_link = 10;

Returns
Type Description
boolean

Whether the canonicalLink field is set.

hasCo2Emissions()

public boolean hasCo2Emissions()

The co2 emission of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.Co2Emissions co2_emissions = 157;

Returns
Type Description
boolean

Whether the co2Emissions field is set.

hasColor()

public boolean hasColor()

Color of the item. For example, "red".

optional string color = 22;

Returns
Type Description
boolean

Whether the color field is set.

hasCondition()

public boolean hasCondition()

Condition or state of the item.

optional .google.shopping.merchant.products.v1.Condition condition = 23;

Returns
Type Description
boolean

Whether the condition field is set.

hasCostOfGoodsSold()

public boolean hasCostOfGoodsSold()

Cost of goods sold. Used for gross profit reporting.

.google.shopping.type.Price cost_of_goods_sold = 62;

Returns
Type Description
boolean

Whether the costOfGoodsSold field is set.

hasCustomLabel0()

public boolean hasCustomLabel0()

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

optional string custom_label_0 = 71;

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

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

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

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

Returns
Type Description
boolean

Whether the customLabel4 field is set.

hasDescription()

public boolean hasDescription()

Description of the item.

optional string description = 7;

Returns
Type Description
boolean

Whether the description field is set.

hasDisclosureDate()

public boolean hasDisclosureDate()

The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format. See Disclosure date for more information.

.google.protobuf.Timestamp disclosure_date = 79;

Returns
Type Description
boolean

Whether the disclosureDate field is set.

hasDisplayAddress()

public boolean hasDisplayAddress()

The display address of the property.

.google.shopping.merchant.products.v1.ProductAttributes.DisplayAddress display_address = 179;

Returns
Type Description
boolean

Whether the displayAddress field is set.

hasDisplayAdsId()

public boolean hasDisplayAdsId()

An identifier for an item for dynamic remarketing campaigns.

optional string display_ads_id = 65;

Returns
Type Description
boolean

Whether the displayAdsId field is set.

public boolean hasDisplayAdsLink()

URL directly to your item's landing page for dynamic remarketing campaigns.

optional string display_ads_link = 68;

Returns
Type Description
boolean

Whether the displayAdsLink field is set.

hasDisplayAdsTitle()

public boolean hasDisplayAdsTitle()

Title of an item for dynamic remarketing campaigns.

optional string display_ads_title = 67;

Returns
Type Description
boolean

Whether the displayAdsTitle field is set.

hasDisplayAdsValue()

public boolean hasDisplayAdsValue()

Offer margin for dynamic remarketing campaigns. For more information, see Display ads attribute.

optional double display_ads_value = 69;

Returns
Type Description
boolean

Whether the displayAdsValue field is set.

hasElectricRange()

public boolean hasElectricRange()

The electric range of the vehicle in miles/kms.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage electric_range = 153;

Returns
Type Description
boolean

Whether the electricRange field is set.

hasEnergyConsumption()

public boolean hasEnergyConsumption()

The energy consumption of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.EnergyConsumption energy_consumption = 156;

Returns
Type Description
boolean

Whether the energyConsumption field is set.

hasEnergyEfficiencyClass()

public boolean hasEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass energy_efficiency_class = 53;

Returns
Type Description
boolean

Whether the energyEfficiencyClass 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.

.google.protobuf.Timestamp expiration_date = 16;

Returns
Type Description
boolean

Whether the expirationDate field is set.

hasExternalSellerId()

public boolean hasExternalSellerId()

Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.

optional string external_seller_id = 1;

Returns
Type Description
boolean

Whether the externalSellerId field is set.

hasFuelConsumption()

public boolean hasFuelConsumption()

The fuel consumption of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.FuelConsumption fuel_consumption = 154;

Returns
Type Description
boolean

Whether the fuelConsumption field is set.

hasFuelConsumptionDischargedBattery()

public boolean hasFuelConsumptionDischargedBattery()

The fuel consumption of the vehicle when the hybrid battery is discharged. See the Help Center article for more information.

.google.shopping.merchant.products.v1.ProductAttributes.FuelConsumption fuel_consumption_discharged_battery = 155;

Returns
Type Description
boolean

Whether the fuelConsumptionDischargedBattery field is set.

hasGender()

public boolean hasGender()

Target gender of the item.

optional .google.shopping.merchant.products.v1.Gender gender = 24;

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

Returns
Type Description
boolean

Whether the googleProductCategory field is set.

hasIdentifierExists()

public boolean hasIdentifierExists()

Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.

optional bool identifier_exists = 4;

Returns
Type Description
boolean

Whether the identifierExists 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.

hasInstallment()

public boolean hasInstallment()

Number and amount of installments to pay for an item.

.google.shopping.merchant.products.v1.ProductInstallment installment = 32;

Returns
Type Description
boolean

Whether the installment field is set.

hasIsBundle()

public boolean hasIsBundle()

Whether the item is a business-defined sub-API. A sub-API is a custom grouping of different products sold by a business for a single price.

optional bool is_bundle = 5;

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

Returns
Type Description
boolean

Whether the itemGroupId field is set.

hasLatitude()

public boolean hasLatitude()

The latitude of the property. The value must be between -90 (inclusive) and 90 (inclusive), up to 6 decimal places.

optional double latitude = 180;

Returns
Type Description
boolean

Whether the latitude field is set.

public boolean hasLink()

URL directly linking to your item's page on your online store.

optional string link = 8;

Returns
Type Description
boolean

Whether the link field is set.

hasLinkTemplate()

public boolean hasLinkTemplate()

Link template for business hosted local storefront.

optional string link_template = 82;

Returns
Type Description
boolean

Whether the linkTemplate field is set.

hasLongitude()

public boolean hasLongitude()

The longitude of the property. The value must be between -180 (inclusive) and 180 (inclusive), up to 6 decimal places.

optional double longitude = 181;

Returns
Type Description
boolean

Whether the longitude field is set.

hasLoyaltyPoints()

public boolean hasLoyaltyPoints()

Loyalty points that users receive after purchasing the item. Japan only.

.google.shopping.merchant.products.v1.LoyaltyPoints loyalty_points = 34;

Returns
Type Description
boolean

Whether the loyaltyPoints field is set.

hasMaterial()

public boolean hasMaterial()

The material of which the item is made. For example, "Leather" or "Cotton".

optional string material = 28;

Returns
Type Description
boolean

Whether the material field is set.

hasMaxEnergyEfficiencyClass()

public boolean hasMaxEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass max_energy_efficiency_class = 55;

Returns
Type Description
boolean

Whether the maxEnergyEfficiencyClass field is set.

hasMaxHandlingTime()

public boolean hasMaxHandlingTime()

Maximal product handling time (in business days).

optional int64 max_handling_time = 44;

Returns
Type Description
boolean

Whether the maxHandlingTime field is set.

hasMaximumRetailPrice()

public boolean hasMaximumRetailPrice()

Maximum retail price (MRP) of the item. Applicable to India only.

.google.shopping.type.Price maximum_retail_price = 139;

Returns
Type Description
boolean

Whether the maximumRetailPrice field is set.

hasMileage()

public boolean hasMileage()

The number of miles/kms on the vehicle. See the Mileage for more information.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage = 152;

Returns
Type Description
boolean

Whether the mileage field is set.

hasMinEnergyEfficiencyClass()

public boolean hasMinEnergyEfficiencyClass()

The energy efficiency class as defined in EU directive 2010/30/EU.

optional .google.shopping.merchant.products.v1.EnergyEfficiencyClass min_energy_efficiency_class = 54;

Returns
Type Description
boolean

Whether the minEnergyEfficiencyClass field is set.

hasMinHandlingTime()

public boolean hasMinHandlingTime()

Minimal product handling time (in business days).

optional int64 min_handling_time = 45;

Returns
Type Description
boolean

Whether the minHandlingTime field is set.

public boolean hasMobileLink()

URL for the mobile-optimized version of your item's landing page.

optional string mobile_link = 9;

Returns
Type Description
boolean

Whether the mobileLink field is set.

hasMobileLinkTemplate()

public boolean hasMobileLinkTemplate()

Link template for business hosted local storefront optimized for mobile devices.

optional string mobile_link_template = 83;

Returns
Type Description
boolean

Whether the mobileLinkTemplate field is set.

hasMpn()

public boolean hasMpn()

Manufacturer Part Number (MPN) of the item.

optional string mpn = 29;

Returns
Type Description
boolean

Whether the mpn field is set.

hasMultipack()

public boolean hasMultipack()

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

optional int64 multipack = 58;

Returns
Type Description
boolean

Whether the multipack field is set.

hasNumberOfBathrooms()

public boolean hasNumberOfBathrooms()

The number of bathrooms in the property. The value must be greater than 0 and a multiple of 0.5.

optional double number_of_bathrooms = 187;

Returns
Type Description
boolean

Whether the numberOfBathrooms field is set.

hasNumberOfBedrooms()

public boolean hasNumberOfBedrooms()

The number of bedrooms in the property. The value must be greater than or equal to 0 and a multiple of 1.0.

optional double number_of_bedrooms = 186;

Returns
Type Description
boolean

Whether the numberOfBedrooms field is set.

hasNumberOfUnits()

public boolean hasNumberOfUnits()

The number of units available for a specific floor plan of the property. The value must be greater than 0.

optional int64 number_of_units = 184;

Returns
Type Description
boolean

Whether the numberOfUnits field is set.

hasPattern()

public boolean hasPattern()

The item's pattern. For example, polka dots.

optional string pattern = 30;

Returns
Type Description
boolean

Whether the pattern field is set.

hasPause()

public boolean hasPause()

Publication of this item will be temporarily paused.

optional .google.shopping.merchant.products.v1.Pause pause = 13;

Returns
Type Description
boolean

Whether the pause field is set.

hasPetPolicy()

public boolean hasPetPolicy()

The pet policy for the property.

.google.shopping.merchant.products.v1.ProductAttributes.PetPolicy pet_policy = 191;

Returns
Type Description
boolean

Whether the petPolicy field is set.

hasPickupCost()

public boolean hasPickupCost()

Optional. The pickup cost for an item when a customer buys it online and picks it up at a store.

optional .google.shopping.merchant.products.v1.PickupCost pickup_cost = 172 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pickupCost field is set.

hasPickupMethod()

public boolean hasPickupMethod()

The pickup option for the item.

optional .google.shopping.merchant.products.v1.PickupMethod pickup_method = 80;

Returns
Type Description
boolean

Whether the pickupMethod field is set.

hasPickupSla()

public boolean hasPickupSla()

Item store pickup timeline. For more information, see Pickup SLA.

optional .google.shopping.merchant.products.v1.PickupSla pickup_sla = 81;

Returns
Type Description
boolean

Whether the pickupSla field is set.

hasPrice()

public boolean hasPrice()

Price of the item.

.google.shopping.type.Price price = 31;

Returns
Type Description
boolean

Whether the price 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.merchant.products.v1.ProductDimension product_height = 119;

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.merchant.products.v1.ProductDimension product_length = 120;

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.merchant.products.v1.ProductWeight product_weight = 122;

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.merchant.products.v1.ProductDimension product_width = 121;

Returns
Type Description
boolean

Whether the productWidth field is set.

hasReturnPolicyLabel()

public boolean hasReturnPolicyLabel()

The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see Return policy label.

optional string return_policy_label = 170;

Returns
Type Description
boolean

Whether the returnPolicyLabel field is set.

hasSalePrice()

public boolean hasSalePrice()

Advertised sale price of the item.

.google.shopping.type.Price sale_price = 36;

Returns
Type Description
boolean

Whether the salePrice field is set.

hasSalePriceEffectiveDate()

public boolean hasSalePriceEffectiveDate()

Date range during which the item is on sale, see product data specification.

.google.type.Interval sale_price_effective_date = 37;

Returns
Type Description
boolean

Whether the salePriceEffectiveDate field is set.

hasSellOnGoogleQuantity()

public boolean hasSellOnGoogleQuantity()

The quantity of the product that is available for selling on Google. Supported only for online products.

optional int64 sell_on_google_quantity = 38;

Returns
Type Description
boolean

Whether the sellOnGoogleQuantity field is set.

hasShippingHeight()

public boolean hasShippingHeight()

Height of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_height = 43;

Returns
Type Description
boolean

Whether the shippingHeight field is set.

hasShippingLabel()

public boolean hasShippingLabel()

The shipping label of the product, used to group products in account-level shipping rules. Max. 100 characters. For more information, see Shipping label.

optional string shipping_label = 46;

Returns
Type Description
boolean

Whether the shippingLabel field is set.

hasShippingLength()

public boolean hasShippingLength()

Length of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_length = 41;

Returns
Type Description
boolean

Whether the shippingLength field is set.

hasShippingWeight()

public boolean hasShippingWeight()

Weight of the item for shipping.

.google.shopping.merchant.products.v1.ShippingWeight shipping_weight = 40;

Returns
Type Description
boolean

Whether the shippingWeight field is set.

hasShippingWidth()

public boolean hasShippingWidth()

Width of the item for shipping.

.google.shopping.merchant.products.v1.ShippingDimension shipping_width = 42;

Returns
Type Description
boolean

Whether the shippingWidth field is set.

hasShortTitle()

public boolean hasShortTitle()

The short title of the item.

optional string short_title = 194;

Returns
Type Description
boolean

Whether the shortTitle 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 Size.

optional string size = 48;

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. For more information, see Size system.

optional .google.shopping.merchant.products.v1.SizeSystem size_system = 49;

Returns
Type Description
boolean

Whether the sizeSystem field is set.

hasStructuredDescription()

public boolean hasStructuredDescription()

Structured description, for algorithmically (AI)-generated descriptions.

optional .google.shopping.merchant.products.v1.StructuredDescription structured_description = 133;

Returns
Type Description
boolean

Whether the structuredDescription field is set.

hasStructuredTitle()

public boolean hasStructuredTitle()

Structured title, for algorithmically (AI)-generated titles.

optional .google.shopping.merchant.products.v1.StructuredTitle structured_title = 132;

Returns
Type Description
boolean

Whether the structuredTitle field is set.

hasSubscriptionCost()

public boolean hasSubscriptionCost()

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

.google.shopping.merchant.products.v1.SubscriptionCost subscription_cost = 33;

Returns
Type Description
boolean

Whether the subscriptionCost field is set.

hasTitle()

public boolean hasTitle()

Title of the item.

optional string title = 6;

Returns
Type Description
boolean

Whether the title field is set.

hasTransitTimeLabel()

public boolean hasTransitTimeLabel()

The transit time label of the product, used to group product in account-level transit time tables.

optional string transit_time_label = 47;

Returns
Type Description
boolean

Whether the transitTimeLabel field is set.

hasUnitArea()

public boolean hasUnitArea()

The unit area of the property, such as 1000 sqft.

.google.shopping.merchant.products.v1.ProductAttributes.UnitArea unit_area = 183;

Returns
Type Description
boolean

Whether the unitArea field is set.

hasUnitPricingBaseMeasure()

public boolean hasUnitPricingBaseMeasure()

The preference of the denominator of the unit price.

.google.shopping.merchant.products.v1.UnitPricingBaseMeasure unit_pricing_base_measure = 57;

Returns
Type Description
boolean

Whether the unitPricingBaseMeasure field is set.

hasUnitPricingMeasure()

public boolean hasUnitPricingMeasure()

The measure and dimension of an item.

.google.shopping.merchant.products.v1.UnitPricingMeasure unit_pricing_measure = 56;

Returns
Type Description
boolean

Whether the unitPricingMeasure field is set.

hasVehicleAllInPrice()

public boolean hasVehicleAllInPrice()

The all-in advertised price for a vehicle, which includes costs for the following – any accessories attached to the vehicle, environmental levies, extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees for handling licensing, provincial regulatory fees, miscellaneous dealer charges for security etching and nitrogen tire fill, and factory-to-customer or dealer-to-customer discounts or incentives. See the Vehicle all-in price for more information.

.google.shopping.type.Price vehicle_all_in_price = 163;

Returns
Type Description
boolean

Whether the vehicleAllInPrice field is set.

hasVehicleExpenses()

public boolean hasVehicleExpenses()

The miscellaneous expenses like insurance and registration fees of the vehicle. See the Vehicle expenses for more information.

.google.shopping.type.Price vehicle_expenses = 167;

Returns
Type Description
boolean

Whether the vehicleExpenses field is set.

hasVehicleMsrp()

public boolean hasVehicleMsrp()

The MSRP (Manufacturer Suggested Retail Price) for the vehicle in its current configuration. See the Vehicle MSRP for more information.

.google.shopping.type.Price vehicle_msrp = 162;

Returns
Type Description
boolean

Whether the vehicleMsrp field is set.

public boolean hasVirtualModelLink()

URL of the 3D image of the item. See the Help Center article for more information.

optional string virtual_model_link = 130;

Returns
Type Description
boolean

Whether the virtualModelLink field is set.

hasWarranty()

public boolean hasWarranty()

The warranty of the vehicle.

.google.shopping.merchant.products.v1.ProductAttributes.Warranty warranty = 168;

Returns
Type Description
boolean

Whether the warranty field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductAttributes.Builder newBuilderForType()
Returns
Type Description
ProductAttributes.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ProductAttributes.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductAttributes.Builder
Overrides

toBuilder()

public ProductAttributes.Builder toBuilder()
Returns
Type Description
ProductAttributes.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException