public interface AttributesOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAdditionalImageLinks(int index)
public abstract 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 abstract 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 abstract int getAdditionalImageLinksCount()
Additional URLs of images of the item.
repeated string additional_image_links = 12;
Returns | |
---|---|
Type | Description |
int |
The count of additionalImageLinks. |
getAdditionalImageLinksList()
public abstract List<String> getAdditionalImageLinksList()
Additional URLs of images of the item.
repeated string additional_image_links = 12;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the additionalImageLinks. |
getAdsGrouping()
public abstract String getAdsGrouping()
Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
optional string ads_grouping = 59;
Returns | |
---|---|
Type | Description |
String |
The adsGrouping. |
getAdsGroupingBytes()
public abstract ByteString getAdsGroupingBytes()
Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
optional string ads_grouping = 59;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for adsGrouping. |
getAdsLabels(int index)
public abstract 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 abstract 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 abstract 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 abstract List<String> getAdsLabelsList()
Similar to ads_grouping, but only works on CPC.
repeated string ads_labels = 60;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the adsLabels. |
getAdsRedirect()
public abstract 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 abstract 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 abstract boolean getAdult()
Set to true if the item is targeted towards adults.
optional bool adult = 17;
Returns | |
---|---|
Type | Description |
boolean |
The adult. |
getAgeGroup()
public abstract String getAgeGroup()
Target age group of the item.
optional string age_group = 18;
Returns | |
---|---|
Type | Description |
String |
The ageGroup. |
getAgeGroupBytes()
public abstract ByteString getAgeGroupBytes()
Target age group of the item.
optional string age_group = 18;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ageGroup. |
getAutoPricingMinPrice()
public abstract Price getAutoPricingMinPrice()
A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' 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 abstract PriceOrBuilder getAutoPricingMinPriceOrBuilder()
A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' 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 abstract String getAvailability()
Availability status of the item.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
String |
The availability. |
getAvailabilityBytes()
public abstract ByteString getAvailabilityBytes()
Availability status of the item.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for availability. |
getAvailabilityDate()
public abstract 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 abstract 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 |
getBrand()
public abstract String getBrand()
Brand of the item.
optional string brand = 21;
Returns | |
---|---|
Type | Description |
String |
The brand. |
getBrandBytes()
public abstract ByteString getBrandBytes()
Brand of the item.
optional string brand = 21;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for brand. |
getCanonicalLink()
public abstract 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 abstract 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. |
getCertifications(int index)
public abstract Certification 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.v1beta.Certification certifications = 123;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Certification |
getCertificationsCount()
public abstract 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.v1beta.Certification certifications = 123;
Returns | |
---|---|
Type | Description |
int |
getCertificationsList()
public abstract List<Certification> 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.v1beta.Certification certifications = 123;
Returns | |
---|---|
Type | Description |
List<Certification> |
getCertificationsOrBuilder(int index)
public abstract CertificationOrBuilder 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.v1beta.Certification certifications = 123;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CertificationOrBuilder |
getCertificationsOrBuilderList()
public abstract List<? extends CertificationOrBuilder> 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.v1beta.Certification certifications = 123;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.CertificationOrBuilder> |
getCloudExportAdditionalProperties(int index)
public abstract CloudExportAdditionalProperties getCloudExportAdditionalProperties(int index)
Extra fields to export to the Cloud Retail program.
repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CloudExportAdditionalProperties |
getCloudExportAdditionalPropertiesCount()
public abstract int getCloudExportAdditionalPropertiesCount()
Extra fields to export to the Cloud Retail program.
repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;
Returns | |
---|---|
Type | Description |
int |
getCloudExportAdditionalPropertiesList()
public abstract List<CloudExportAdditionalProperties> getCloudExportAdditionalPropertiesList()
Extra fields to export to the Cloud Retail program.
repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;
Returns | |
---|---|
Type | Description |
List<CloudExportAdditionalProperties> |
getCloudExportAdditionalPropertiesOrBuilder(int index)
public abstract CloudExportAdditionalPropertiesOrBuilder getCloudExportAdditionalPropertiesOrBuilder(int index)
Extra fields to export to the Cloud Retail program.
repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CloudExportAdditionalPropertiesOrBuilder |
getCloudExportAdditionalPropertiesOrBuilderList()
public abstract List<? extends CloudExportAdditionalPropertiesOrBuilder> getCloudExportAdditionalPropertiesOrBuilderList()
Extra fields to export to the Cloud Retail program.
repeated .google.shopping.merchant.products.v1beta.CloudExportAdditionalProperties cloud_export_additional_properties = 84;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.CloudExportAdditionalPropertiesOrBuilder> |
getColor()
public abstract String getColor()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
String |
The color. |
getColorBytes()
public abstract ByteString getColorBytes()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for color. |
getCondition()
public abstract String getCondition()
Condition or state of the item.
optional string condition = 23;
Returns | |
---|---|
Type | Description |
String |
The condition. |
getConditionBytes()
public abstract ByteString getConditionBytes()
Condition or state of the item.
optional string condition = 23;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for condition. |
getCostOfGoodsSold()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |
getDescription()
public abstract String getDescription()
Description of the item.
optional string description = 7;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Description of the item.
optional string description = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDisclosureDate()
public abstract 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 abstract 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 |
getDisplayAdsId()
public abstract 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 abstract 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. |
getDisplayAdsLink()
public abstract 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 abstract 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 abstract String getDisplayAdsSimilarIds(int index)
Advertiser-specified recommendations.
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 abstract ByteString getDisplayAdsSimilarIdsBytes(int index)
Advertiser-specified recommendations.
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 abstract int getDisplayAdsSimilarIdsCount()
Advertiser-specified recommendations.
repeated string display_ads_similar_ids = 66;
Returns | |
---|---|
Type | Description |
int |
The count of displayAdsSimilarIds. |
getDisplayAdsSimilarIdsList()
public abstract List<String> getDisplayAdsSimilarIdsList()
Advertiser-specified recommendations.
repeated string display_ads_similar_ids = 66;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the displayAdsSimilarIds. |
getDisplayAdsTitle()
public abstract String getDisplayAdsTitle()
Title of an item for dynamic remarketing campaigns.
optional string display_ads_title = 67;
Returns | |
---|---|
Type | Description |
String |
The displayAdsTitle. |
getDisplayAdsTitleBytes()
public abstract 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 abstract double getDisplayAdsValue()
Offer margin for dynamic remarketing campaigns.
optional double display_ads_value = 69;
Returns | |
---|---|
Type | Description |
double |
The displayAdsValue. |
getEnergyEfficiencyClass()
public abstract String getEnergyEfficiencyClass()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string energy_efficiency_class = 53;
Returns | |
---|---|
Type | Description |
String |
The energyEfficiencyClass. |
getEnergyEfficiencyClassBytes()
public abstract ByteString getEnergyEfficiencyClassBytes()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string energy_efficiency_class = 53;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for energyEfficiencyClass. |
getExcludedDestinations(int index)
public abstract String getExcludedDestinations(int index)
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 77;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The excludedDestinations at the given index. |
getExcludedDestinationsBytes(int index)
public abstract ByteString getExcludedDestinationsBytes(int index)
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 77;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the excludedDestinations at the given index. |
getExcludedDestinationsCount()
public abstract int getExcludedDestinationsCount()
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 77;
Returns | |
---|---|
Type | Description |
int |
The count of excludedDestinations. |
getExcludedDestinationsList()
public abstract List<String> getExcludedDestinationsList()
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 77;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the excludedDestinations. |
getExpirationDate()
public abstract Timestamp getExpirationDate()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
.google.protobuf.Timestamp expiration_date = 16;
Returns | |
---|---|
Type | Description |
Timestamp |
The expirationDate. |
getExpirationDateOrBuilder()
public abstract TimestampOrBuilder getExpirationDateOrBuilder()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
.google.protobuf.Timestamp expiration_date = 16;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getExternalSellerId()
public abstract 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 abstract 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 abstract FreeShippingThreshold getFreeShippingThreshold(int index)
Conditions to be met for a product to have free shipping.
repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FreeShippingThreshold |
getFreeShippingThresholdCount()
public abstract int getFreeShippingThresholdCount()
Conditions to be met for a product to have free shipping.
repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;
Returns | |
---|---|
Type | Description |
int |
getFreeShippingThresholdList()
public abstract List<FreeShippingThreshold> getFreeShippingThresholdList()
Conditions to be met for a product to have free shipping.
repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;
Returns | |
---|---|
Type | Description |
List<FreeShippingThreshold> |
getFreeShippingThresholdOrBuilder(int index)
public abstract FreeShippingThresholdOrBuilder getFreeShippingThresholdOrBuilder(int index)
Conditions to be met for a product to have free shipping.
repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FreeShippingThresholdOrBuilder |
getFreeShippingThresholdOrBuilderList()
public abstract List<? extends FreeShippingThresholdOrBuilder> getFreeShippingThresholdOrBuilderList()
Conditions to be met for a product to have free shipping.
repeated .google.shopping.merchant.products.v1beta.FreeShippingThreshold free_shipping_threshold = 135;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.FreeShippingThresholdOrBuilder> |
getGender()
public abstract String getGender()
Target gender of the item.
optional string gender = 24;
Returns | |
---|---|
Type | Description |
String |
The gender. |
getGenderBytes()
public abstract ByteString getGenderBytes()
Target gender of the item.
optional string gender = 24;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gender. |
getGoogleProductCategory()
public abstract String getGoogleProductCategory()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 25;
Returns | |
---|---|
Type | Description |
String |
The googleProductCategory. |
getGoogleProductCategoryBytes()
public abstract ByteString getGoogleProductCategoryBytes()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 25;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for googleProductCategory. |
getGtin()
public abstract String getGtin()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 26;
Returns | |
---|---|
Type | Description |
String |
The gtin. |
getGtinBytes()
public abstract ByteString getGtinBytes()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 26;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gtin. |
getIdentifierExists()
public abstract 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. |
getImageLink()
public abstract String getImageLink()
URL of an image of the item.
optional string image_link = 11;
Returns | |
---|---|
Type | Description |
String |
The imageLink. |
getImageLinkBytes()
public abstract ByteString getImageLinkBytes()
URL of an image of the item.
optional string image_link = 11;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for imageLink. |
getIncludedDestinations(int index)
public abstract String getIncludedDestinations(int index)
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 76;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The includedDestinations at the given index. |
getIncludedDestinationsBytes(int index)
public abstract ByteString getIncludedDestinationsBytes(int index)
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 76;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the includedDestinations at the given index. |
getIncludedDestinationsCount()
public abstract int getIncludedDestinationsCount()
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 76;
Returns | |
---|---|
Type | Description |
int |
The count of includedDestinations. |
getIncludedDestinationsList()
public abstract List<String> getIncludedDestinationsList()
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 76;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the includedDestinations. |
getInstallment()
public abstract Installment getInstallment()
Number and amount of installments to pay for an item.
.google.shopping.merchant.products.v1beta.Installment installment = 32;
Returns | |
---|---|
Type | Description |
Installment |
The installment. |
getInstallmentOrBuilder()
public abstract InstallmentOrBuilder getInstallmentOrBuilder()
Number and amount of installments to pay for an item.
.google.shopping.merchant.products.v1beta.Installment installment = 32;
Returns | |
---|---|
Type | Description |
InstallmentOrBuilder |
getIsBundle()
public abstract boolean getIsBundle()
Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
optional bool is_bundle = 5;
Returns | |
---|---|
Type | Description |
boolean |
The isBundle. |
getItemGroupId()
public abstract String getItemGroupId()
Shared identifier for all variants of the same product.
optional string item_group_id = 27;
Returns | |
---|---|
Type | Description |
String |
The itemGroupId. |
getItemGroupIdBytes()
public abstract ByteString getItemGroupIdBytes()
Shared identifier for all variants of the same product.
optional string item_group_id = 27;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for itemGroupId. |
getLifestyleImageLinks(int index)
public abstract 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 abstract 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 abstract 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. |
getLifestyleImageLinksList()
public abstract List<String> 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 |
List<String> |
A list containing the lifestyleImageLinks. |
getLink()
public abstract 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 abstract 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 abstract String getLinkTemplate()
Link template for merchant hosted local storefront.
optional string link_template = 82;
Returns | |
---|---|
Type | Description |
String |
The linkTemplate. |
getLinkTemplateBytes()
public abstract ByteString getLinkTemplateBytes()
Link template for merchant hosted local storefront.
optional string link_template = 82;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for linkTemplate. |
getLoyaltyPoints()
public abstract LoyaltyPoints getLoyaltyPoints()
Loyalty points that users receive after purchasing the item. Japan only.
.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;
Returns | |
---|---|
Type | Description |
LoyaltyPoints |
The loyaltyPoints. |
getLoyaltyPointsOrBuilder()
public abstract LoyaltyPointsOrBuilder getLoyaltyPointsOrBuilder()
Loyalty points that users receive after purchasing the item. Japan only.
.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;
Returns | |
---|---|
Type | Description |
LoyaltyPointsOrBuilder |
getLoyaltyPrograms(int index)
public abstract 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.v1beta.LoyaltyProgram loyalty_programs = 136;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LoyaltyProgram |
getLoyaltyProgramsCount()
public abstract 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.v1beta.LoyaltyProgram loyalty_programs = 136;
Returns | |
---|---|
Type | Description |
int |
getLoyaltyProgramsList()
public abstract 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.v1beta.LoyaltyProgram loyalty_programs = 136;
Returns | |
---|---|
Type | Description |
List<LoyaltyProgram> |
getLoyaltyProgramsOrBuilder(int index)
public abstract 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.v1beta.LoyaltyProgram loyalty_programs = 136;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LoyaltyProgramOrBuilder |
getLoyaltyProgramsOrBuilderList()
public abstract 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.v1beta.LoyaltyProgram loyalty_programs = 136;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.LoyaltyProgramOrBuilder> |
getMaterial()
public abstract String getMaterial()
The material of which the item is made.
optional string material = 28;
Returns | |
---|---|
Type | Description |
String |
The material. |
getMaterialBytes()
public abstract ByteString getMaterialBytes()
The material of which the item is made.
optional string material = 28;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for material. |
getMaxEnergyEfficiencyClass()
public abstract String getMaxEnergyEfficiencyClass()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string max_energy_efficiency_class = 55;
Returns | |
---|---|
Type | Description |
String |
The maxEnergyEfficiencyClass. |
getMaxEnergyEfficiencyClassBytes()
public abstract ByteString getMaxEnergyEfficiencyClassBytes()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string max_energy_efficiency_class = 55;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for maxEnergyEfficiencyClass. |
getMaxHandlingTime()
public abstract long getMaxHandlingTime()
Maximal product handling time (in business days).
optional int64 max_handling_time = 44;
Returns | |
---|---|
Type | Description |
long |
The maxHandlingTime. |
getMinEnergyEfficiencyClass()
public abstract String getMinEnergyEfficiencyClass()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string min_energy_efficiency_class = 54;
Returns | |
---|---|
Type | Description |
String |
The minEnergyEfficiencyClass. |
getMinEnergyEfficiencyClassBytes()
public abstract ByteString getMinEnergyEfficiencyClassBytes()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string min_energy_efficiency_class = 54;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for minEnergyEfficiencyClass. |
getMinHandlingTime()
public abstract long getMinHandlingTime()
Minimal product handling time (in business days).
optional int64 min_handling_time = 45;
Returns | |
---|---|
Type | Description |
long |
The minHandlingTime. |
getMobileLink()
public abstract 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 abstract 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 abstract String getMobileLinkTemplate()
Link template for merchant hosted local storefront optimized for mobile devices.
optional string mobile_link_template = 83;
Returns | |
---|---|
Type | Description |
String |
The mobileLinkTemplate. |
getMobileLinkTemplateBytes()
public abstract ByteString getMobileLinkTemplateBytes()
Link template for merchant hosted local storefront optimized for mobile devices.
optional string mobile_link_template = 83;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mobileLinkTemplate. |
getMpn()
public abstract String getMpn()
Manufacturer Part Number (MPN) of the item.
optional string mpn = 29;
Returns | |
---|---|
Type | Description |
String |
The mpn. |
getMpnBytes()
public abstract ByteString getMpnBytes()
Manufacturer Part Number (MPN) of the item.
optional string mpn = 29;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mpn. |
getMultipack()
public abstract long getMultipack()
The number of identical products in a merchant-defined multipack.
optional int64 multipack = 58;
Returns | |
---|---|
Type | Description |
long |
The multipack. |
getPattern()
public abstract String getPattern()
The item's pattern (for example, polka dots).
optional string pattern = 30;
Returns | |
---|---|
Type | Description |
String |
The pattern. |
getPatternBytes()
public abstract ByteString getPatternBytes()
The item's pattern (for example, polka dots).
optional string pattern = 30;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pattern. |
getPause()
public abstract String getPause()
Publication of this item will be temporarily paused.
optional string pause = 13;
Returns | |
---|---|
Type | Description |
String |
The pause. |
getPauseBytes()
public abstract ByteString getPauseBytes()
Publication of this item will be temporarily paused.
optional string pause = 13;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pause. |
getPickupMethod()
public abstract String getPickupMethod()
The pick up option for the item.
optional string pickup_method = 80;
Returns | |
---|---|
Type | Description |
String |
The pickupMethod. |
getPickupMethodBytes()
public abstract ByteString getPickupMethodBytes()
The pick up option for the item.
optional string pickup_method = 80;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pickupMethod. |
getPickupSla()
public abstract String getPickupSla()
Item store pickup timeline.
optional string pickup_sla = 81;
Returns | |
---|---|
Type | Description |
String |
The pickupSla. |
getPickupSlaBytes()
public abstract ByteString getPickupSlaBytes()
Item store pickup timeline.
optional string pickup_sla = 81;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pickupSla. |
getPrice()
public abstract Price getPrice()
Price of the item.
.google.shopping.type.Price price = 31;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The price. |
getPriceOrBuilder()
public abstract PriceOrBuilder getPriceOrBuilder()
Price of the item.
.google.shopping.type.Price price = 31;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getProductDetails(int index)
public abstract ProductDetail getProductDetails(int index)
Technical specification or additional product details.
repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ProductDetail |
getProductDetailsCount()
public abstract int getProductDetailsCount()
Technical specification or additional product details.
repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;
Returns | |
---|---|
Type | Description |
int |
getProductDetailsList()
public abstract List<ProductDetail> getProductDetailsList()
Technical specification or additional product details.
repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;
Returns | |
---|---|
Type | Description |
List<ProductDetail> |
getProductDetailsOrBuilder(int index)
public abstract ProductDetailOrBuilder getProductDetailsOrBuilder(int index)
Technical specification or additional product details.
repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ProductDetailOrBuilder |
getProductDetailsOrBuilderList()
public abstract List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()
Technical specification or additional product details.
repeated .google.shopping.merchant.products.v1beta.ProductDetail product_details = 63;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.ProductDetailOrBuilder> |
getProductHeight()
public abstract ProductDimension getProductHeight()
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;
Returns | |
---|---|
Type | Description |
ProductDimension |
The productHeight. |
getProductHeightOrBuilder()
public abstract ProductDimensionOrBuilder getProductHeightOrBuilder()
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;
Returns | |
---|---|
Type | Description |
ProductDimensionOrBuilder |
getProductHighlights(int index)
public abstract String getProductHighlights(int index)
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 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 abstract ByteString getProductHighlightsBytes(int index)
Bullet points describing the most relevant highlights of a product.
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 abstract int getProductHighlightsCount()
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 64;
Returns | |
---|---|
Type | Description |
int |
The count of productHighlights. |
getProductHighlightsList()
public abstract List<String> getProductHighlightsList()
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 64;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the productHighlights. |
getProductLength()
public abstract ProductDimension getProductLength()
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;
Returns | |
---|---|
Type | Description |
ProductDimension |
The productLength. |
getProductLengthOrBuilder()
public abstract ProductDimensionOrBuilder getProductLengthOrBuilder()
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;
Returns | |
---|---|
Type | Description |
ProductDimensionOrBuilder |
getProductTypes(int index)
public abstract 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 abstract 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 abstract 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 abstract List<String> getProductTypesList()
Categories of the item (formatted as in product data specification).
repeated string product_types = 35;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the productTypes. |
getProductWeight()
public abstract ProductWeight getProductWeight()
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;
Returns | |
---|---|
Type | Description |
ProductWeight |
The productWeight. |
getProductWeightOrBuilder()
public abstract ProductWeightOrBuilder getProductWeightOrBuilder()
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;
Returns | |
---|---|
Type | Description |
ProductWeightOrBuilder |
getProductWidth()
public abstract ProductDimension getProductWidth()
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;
Returns | |
---|---|
Type | Description |
ProductDimension |
The productWidth. |
getProductWidthOrBuilder()
public abstract ProductDimensionOrBuilder getProductWidthOrBuilder()
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;
Returns | |
---|---|
Type | Description |
ProductDimensionOrBuilder |
getPromotionIds(int index)
public abstract 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 abstract 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 abstract int getPromotionIdsCount()
The unique ID of a promotion.
repeated string promotion_ids = 70;
Returns | |
---|---|
Type | Description |
int |
The count of promotionIds. |
getPromotionIdsList()
public abstract List<String> getPromotionIdsList()
The unique ID of a promotion.
repeated string promotion_ids = 70;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the promotionIds. |
getSalePrice()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |
getShipping(int index)
public abstract Shipping getShipping(int index)
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Shipping |
getShippingCount()
public abstract int getShippingCount()
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Returns | |
---|---|
Type | Description |
int |
getShippingHeight()
public abstract ShippingDimension getShippingHeight()
Height of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;
Returns | |
---|---|
Type | Description |
ShippingDimension |
The shippingHeight. |
getShippingHeightOrBuilder()
public abstract ShippingDimensionOrBuilder getShippingHeightOrBuilder()
Height of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;
Returns | |
---|---|
Type | Description |
ShippingDimensionOrBuilder |
getShippingLabel()
public abstract String getShippingLabel()
The shipping label of the product, used to group product in account-level shipping rules.
optional string shipping_label = 46;
Returns | |
---|---|
Type | Description |
String |
The shippingLabel. |
getShippingLabelBytes()
public abstract ByteString getShippingLabelBytes()
The shipping label of the product, used to group product in account-level shipping rules.
optional string shipping_label = 46;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for shippingLabel. |
getShippingLength()
public abstract ShippingDimension getShippingLength()
Length of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;
Returns | |
---|---|
Type | Description |
ShippingDimension |
The shippingLength. |
getShippingLengthOrBuilder()
public abstract ShippingDimensionOrBuilder getShippingLengthOrBuilder()
Length of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;
Returns | |
---|---|
Type | Description |
ShippingDimensionOrBuilder |
getShippingList()
public abstract List<Shipping> getShippingList()
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Returns | |
---|---|
Type | Description |
List<Shipping> |
getShippingOrBuilder(int index)
public abstract ShippingOrBuilder getShippingOrBuilder(int index)
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ShippingOrBuilder |
getShippingOrBuilderList()
public abstract List<? extends ShippingOrBuilder> getShippingOrBuilderList()
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.ShippingOrBuilder> |
getShippingWeight()
public abstract ShippingWeight getShippingWeight()
Weight of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;
Returns | |
---|---|
Type | Description |
ShippingWeight |
The shippingWeight. |
getShippingWeightOrBuilder()
public abstract ShippingWeightOrBuilder getShippingWeightOrBuilder()
Weight of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;
Returns | |
---|---|
Type | Description |
ShippingWeightOrBuilder |
getShippingWidth()
public abstract ShippingDimension getShippingWidth()
Width of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;
Returns | |
---|---|
Type | Description |
ShippingDimension |
The shippingWidth. |
getShippingWidthOrBuilder()
public abstract ShippingDimensionOrBuilder getShippingWidthOrBuilder()
Width of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;
Returns | |
---|---|
Type | Description |
ShippingDimensionOrBuilder |
getShoppingAdsExcludedCountries(int index)
public abstract 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 abstract 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 abstract 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 abstract List<String> 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 |
List<String> |
A list containing the shoppingAdsExcludedCountries. |
getSize()
public abstract String getSize()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 48;
Returns | |
---|---|
Type | Description |
String |
The size. |
getSizeBytes()
public abstract ByteString getSizeBytes()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 48;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for size. |
getSizeSystem()
public abstract String getSizeSystem()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 49;
Returns | |
---|---|
Type | Description |
String |
The sizeSystem. |
getSizeSystemBytes()
public abstract ByteString getSizeSystemBytes()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 49;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sizeSystem. |
getSizeTypes(int index)
public abstract String getSizeTypes(int index)
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 50;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sizeTypes at the given index. |
getSizeTypesBytes(int index)
public abstract ByteString getSizeTypesBytes(int index)
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 50;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sizeTypes at the given index. |
getSizeTypesCount()
public abstract int getSizeTypesCount()
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 50;
Returns | |
---|---|
Type | Description |
int |
The count of sizeTypes. |
getSizeTypesList()
public abstract List<String> getSizeTypesList()
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 50;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the sizeTypes. |
getStructuredDescription()
public abstract ProductStructuredDescription getStructuredDescription()
Structured description, for algorithmically (AI)-generated descriptions.
optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;
Returns | |
---|---|
Type | Description |
ProductStructuredDescription |
The structuredDescription. |
getStructuredDescriptionOrBuilder()
public abstract ProductStructuredDescriptionOrBuilder getStructuredDescriptionOrBuilder()
Structured description, for algorithmically (AI)-generated descriptions.
optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;
Returns | |
---|---|
Type | Description |
ProductStructuredDescriptionOrBuilder |
getStructuredTitle()
public abstract ProductStructuredTitle getStructuredTitle()
Structured title, for algorithmically (AI)-generated titles.
optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;
Returns | |
---|---|
Type | Description |
ProductStructuredTitle |
The structuredTitle. |
getStructuredTitleOrBuilder()
public abstract ProductStructuredTitleOrBuilder getStructuredTitleOrBuilder()
Structured title, for algorithmically (AI)-generated titles.
optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;
Returns | |
---|---|
Type | Description |
ProductStructuredTitleOrBuilder |
getSubscriptionCost()
public abstract SubscriptionCost getSubscriptionCost()
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;
Returns | |
---|---|
Type | Description |
SubscriptionCost |
The subscriptionCost. |
getSubscriptionCostOrBuilder()
public abstract SubscriptionCostOrBuilder getSubscriptionCostOrBuilder()
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;
Returns | |
---|---|
Type | Description |
SubscriptionCostOrBuilder |
getTaxCategory()
public abstract String getTaxCategory()
The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
optional string tax_category = 52;
Returns | |
---|---|
Type | Description |
String |
The taxCategory. |
getTaxCategoryBytes()
public abstract ByteString getTaxCategoryBytes()
The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
optional string tax_category = 52;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for taxCategory. |
getTaxes(int index)
public abstract Tax getTaxes(int index)
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tax |
getTaxesCount()
public abstract int getTaxesCount()
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Returns | |
---|---|
Type | Description |
int |
getTaxesList()
public abstract List<Tax> getTaxesList()
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Returns | |
---|---|
Type | Description |
List<Tax> |
getTaxesOrBuilder(int index)
public abstract TaxOrBuilder getTaxesOrBuilder(int index)
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TaxOrBuilder |
getTaxesOrBuilderList()
public abstract List<? extends TaxOrBuilder> getTaxesOrBuilderList()
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.TaxOrBuilder> |
getTitle()
public abstract String getTitle()
Title of the item.
optional string title = 6;
Returns | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()
Title of the item.
optional string title = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for title. |
getTransitTimeLabel()
public abstract 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 abstract 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. |
getUnitPricingBaseMeasure()
public abstract UnitPricingBaseMeasure getUnitPricingBaseMeasure()
The preference of the denominator of the unit price.
.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;
Returns | |
---|---|
Type | Description |
UnitPricingBaseMeasure |
The unitPricingBaseMeasure. |
getUnitPricingBaseMeasureOrBuilder()
public abstract UnitPricingBaseMeasureOrBuilder getUnitPricingBaseMeasureOrBuilder()
The preference of the denominator of the unit price.
.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;
Returns | |
---|---|
Type | Description |
UnitPricingBaseMeasureOrBuilder |
getUnitPricingMeasure()
public abstract UnitPricingMeasure getUnitPricingMeasure()
The measure and dimension of an item.
.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;
Returns | |
---|---|
Type | Description |
UnitPricingMeasure |
The unitPricingMeasure. |
getUnitPricingMeasureOrBuilder()
public abstract UnitPricingMeasureOrBuilder getUnitPricingMeasureOrBuilder()
The measure and dimension of an item.
.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;
Returns | |
---|---|
Type | Description |
UnitPricingMeasureOrBuilder |
getVirtualModelLink()
public abstract 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 abstract 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. |
hasAdsGrouping()
public abstract boolean hasAdsGrouping()
Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
optional string ads_grouping = 59;
Returns | |
---|---|
Type | Description |
boolean |
Whether the adsGrouping field is set. |
hasAdsRedirect()
public abstract 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 abstract 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 abstract boolean hasAgeGroup()
Target age group of the item.
optional string age_group = 18;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ageGroup field is set. |
hasAutoPricingMinPrice()
public abstract boolean hasAutoPricingMinPrice()
A safeguard in the "Automated Discounts" (https://support.google.com/merchants/answer/10295759) and "Dynamic Promotions" (https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' 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 abstract boolean hasAvailability()
Availability status of the item.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
boolean |
Whether the availability field is set. |
hasAvailabilityDate()
public abstract 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 abstract boolean hasBrand()
Brand of the item.
optional string brand = 21;
Returns | |
---|---|
Type | Description |
boolean |
Whether the brand field is set. |
hasCanonicalLink()
public abstract 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. |
hasColor()
public abstract boolean hasColor()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
boolean |
Whether the color field is set. |
hasCondition()
public abstract boolean hasCondition()
Condition or state of the item.
optional string condition = 23;
Returns | |
---|---|
Type | Description |
boolean |
Whether the condition field is set. |
hasCostOfGoodsSold()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract boolean hasDescription()
Description of the item.
optional string description = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the description field is set. |
hasDisclosureDate()
public abstract 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. |
hasDisplayAdsId()
public abstract 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. |
hasDisplayAdsLink()
public abstract 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 abstract 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 abstract boolean hasDisplayAdsValue()
Offer margin for dynamic remarketing campaigns.
optional double display_ads_value = 69;
Returns | |
---|---|
Type | Description |
boolean |
Whether the displayAdsValue field is set. |
hasEnergyEfficiencyClass()
public abstract boolean hasEnergyEfficiencyClass()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string energy_efficiency_class = 53;
Returns | |
---|---|
Type | Description |
boolean |
Whether the energyEfficiencyClass field is set. |
hasExpirationDate()
public abstract boolean hasExpirationDate()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
.google.protobuf.Timestamp expiration_date = 16;
Returns | |
---|---|
Type | Description |
boolean |
Whether the expirationDate field is set. |
hasExternalSellerId()
public abstract 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. |
hasGender()
public abstract boolean hasGender()
Target gender of the item.
optional string gender = 24;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gender field is set. |
hasGoogleProductCategory()
public abstract boolean hasGoogleProductCategory()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 25;
Returns | |
---|---|
Type | Description |
boolean |
Whether the googleProductCategory field is set. |
hasGtin()
public abstract boolean hasGtin()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 26;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gtin field is set. |
hasIdentifierExists()
public abstract 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. |
hasImageLink()
public abstract boolean hasImageLink()
URL of an image of the item.
optional string image_link = 11;
Returns | |
---|---|
Type | Description |
boolean |
Whether the imageLink field is set. |
hasInstallment()
public abstract boolean hasInstallment()
Number and amount of installments to pay for an item.
.google.shopping.merchant.products.v1beta.Installment installment = 32;
Returns | |
---|---|
Type | Description |
boolean |
Whether the installment field is set. |
hasIsBundle()
public abstract boolean hasIsBundle()
Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
optional bool is_bundle = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the isBundle field is set. |
hasItemGroupId()
public abstract boolean hasItemGroupId()
Shared identifier for all variants of the same product.
optional string item_group_id = 27;
Returns | |
---|---|
Type | Description |
boolean |
Whether the itemGroupId field is set. |
hasLink()
public abstract 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 abstract boolean hasLinkTemplate()
Link template for merchant hosted local storefront.
optional string link_template = 82;
Returns | |
---|---|
Type | Description |
boolean |
Whether the linkTemplate field is set. |
hasLoyaltyPoints()
public abstract boolean hasLoyaltyPoints()
Loyalty points that users receive after purchasing the item. Japan only.
.google.shopping.merchant.products.v1beta.LoyaltyPoints loyalty_points = 34;
Returns | |
---|---|
Type | Description |
boolean |
Whether the loyaltyPoints field is set. |
hasMaterial()
public abstract boolean hasMaterial()
The material of which the item is made.
optional string material = 28;
Returns | |
---|---|
Type | Description |
boolean |
Whether the material field is set. |
hasMaxEnergyEfficiencyClass()
public abstract boolean hasMaxEnergyEfficiencyClass()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string max_energy_efficiency_class = 55;
Returns | |
---|---|
Type | Description |
boolean |
Whether the maxEnergyEfficiencyClass field is set. |
hasMaxHandlingTime()
public abstract 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. |
hasMinEnergyEfficiencyClass()
public abstract boolean hasMinEnergyEfficiencyClass()
The energy efficiency class as defined in EU directive 2010/30/EU.
optional string min_energy_efficiency_class = 54;
Returns | |
---|---|
Type | Description |
boolean |
Whether the minEnergyEfficiencyClass field is set. |
hasMinHandlingTime()
public abstract 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. |
hasMobileLink()
public abstract 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 abstract boolean hasMobileLinkTemplate()
Link template for merchant 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 abstract 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 abstract boolean hasMultipack()
The number of identical products in a merchant-defined multipack.
optional int64 multipack = 58;
Returns | |
---|---|
Type | Description |
boolean |
Whether the multipack field is set. |
hasPattern()
public abstract 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 abstract boolean hasPause()
Publication of this item will be temporarily paused.
optional string pause = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pause field is set. |
hasPickupMethod()
public abstract boolean hasPickupMethod()
The pick up option for the item.
optional string pickup_method = 80;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pickupMethod field is set. |
hasPickupSla()
public abstract boolean hasPickupSla()
Item store pickup timeline.
optional string pickup_sla = 81;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pickupSla field is set. |
hasPrice()
public abstract boolean hasPrice()
Price of the item.
.google.shopping.type.Price price = 31;
Returns | |
---|---|
Type | Description |
boolean |
Whether the price field is set. |
hasProductHeight()
public abstract boolean hasProductHeight()
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_height = 119;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productHeight field is set. |
hasProductLength()
public abstract boolean hasProductLength()
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_length = 120;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productLength field is set. |
hasProductWeight()
public abstract boolean hasProductWeight()
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductWeight product_weight = 122;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productWeight field is set. |
hasProductWidth()
public abstract boolean hasProductWidth()
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.merchant.products.v1beta.ProductDimension product_width = 121;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productWidth field is set. |
hasSalePrice()
public abstract 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 abstract 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 abstract 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 abstract boolean hasShippingHeight()
Height of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingHeight field is set. |
hasShippingLabel()
public abstract boolean hasShippingLabel()
The shipping label of the product, used to group product in account-level shipping rules.
optional string shipping_label = 46;
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingLabel field is set. |
hasShippingLength()
public abstract boolean hasShippingLength()
Length of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingLength field is set. |
hasShippingWeight()
public abstract boolean hasShippingWeight()
Weight of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingWeight field is set. |
hasShippingWidth()
public abstract boolean hasShippingWidth()
Width of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_width = 42;
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingWidth field is set. |
hasSize()
public abstract boolean hasSize()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 48;
Returns | |
---|---|
Type | Description |
boolean |
Whether the size field is set. |
hasSizeSystem()
public abstract boolean hasSizeSystem()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 49;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sizeSystem field is set. |
hasStructuredDescription()
public abstract boolean hasStructuredDescription()
Structured description, for algorithmically (AI)-generated descriptions.
optional .google.shopping.merchant.products.v1beta.ProductStructuredDescription structured_description = 133;
Returns | |
---|---|
Type | Description |
boolean |
Whether the structuredDescription field is set. |
hasStructuredTitle()
public abstract boolean hasStructuredTitle()
Structured title, for algorithmically (AI)-generated titles.
optional .google.shopping.merchant.products.v1beta.ProductStructuredTitle structured_title = 132;
Returns | |
---|---|
Type | Description |
boolean |
Whether the structuredTitle field is set. |
hasSubscriptionCost()
public abstract boolean hasSubscriptionCost()
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
.google.shopping.merchant.products.v1beta.SubscriptionCost subscription_cost = 33;
Returns | |
---|---|
Type | Description |
boolean |
Whether the subscriptionCost field is set. |
hasTaxCategory()
public abstract boolean hasTaxCategory()
The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
optional string tax_category = 52;
Returns | |
---|---|
Type | Description |
boolean |
Whether the taxCategory field is set. |
hasTitle()
public abstract boolean hasTitle()
Title of the item.
optional string title = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the title field is set. |
hasTransitTimeLabel()
public abstract 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. |
hasUnitPricingBaseMeasure()
public abstract boolean hasUnitPricingBaseMeasure()
The preference of the denominator of the unit price.
.google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure unit_pricing_base_measure = 57;
Returns | |
---|---|
Type | Description |
boolean |
Whether the unitPricingBaseMeasure field is set. |
hasUnitPricingMeasure()
public abstract boolean hasUnitPricingMeasure()
The measure and dimension of an item.
.google.shopping.merchant.products.v1beta.UnitPricingMeasure unit_pricing_measure = 56;
Returns | |
---|---|
Type | Description |
boolean |
Whether the unitPricingMeasure field is set. |
hasVirtualModelLink()
public abstract 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. |