public final class Attributes extends GeneratedMessageV3 implements AttributesOrBuilder
Attributes.
Protobuf type google.shopping.merchant.products.v1beta.Attributes
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AttributesImplements
AttributesOrBuilderStatic Fields
ADDITIONAL_IMAGE_LINKS_FIELD_NUMBER
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 |
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 |
BRAND_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CANONICAL_LINK_FIELD_NUMBER
public static final int CANONICAL_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CERTIFICATIONS_FIELD_NUMBER
public static final int CERTIFICATIONS_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 |
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 |
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_ADS_ID_FIELD_NUMBER
public static final int DISPLAY_ADS_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISPLAY_ADS_LINK_FIELD_NUMBER
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 |
ENERGY_EFFICIENCY_CLASS_FIELD_NUMBER
public static final int ENERGY_EFFICIENCY_CLASS_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 |
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 |
GTIN_FIELD_NUMBER
public static final int GTIN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IDENTIFIER_EXISTS_FIELD_NUMBER
public static final int IDENTIFIER_EXISTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IMAGE_LINK_FIELD_NUMBER
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 |
LIFESTYLE_IMAGE_LINKS_FIELD_NUMBER
public static final int LIFESTYLE_IMAGE_LINKS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LINK_TEMPLATE_FIELD_NUMBER
public static final int LINK_TEMPLATE_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 |
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 |
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 |
MOBILE_LINK_FIELD_NUMBER
public static final int MOBILE_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MOBILE_LINK_TEMPLATE_FIELD_NUMBER
public static final int MOBILE_LINK_TEMPLATE_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 |
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 |
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 |
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_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 |
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_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_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 |
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 |
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 |
TAXES_FIELD_NUMBER
public static final int TAXES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TAX_CATEGORY_FIELD_NUMBER
public static final int TAX_CATEGORY_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 |
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 |
VIRTUAL_MODEL_LINK_FIELD_NUMBER
public static final int VIRTUAL_MODEL_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Attributes getDefaultInstance()
Returns | |
---|---|
Type | Description |
Attributes |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Attributes.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Attributes.Builder |
newBuilder(Attributes prototype)
public static Attributes.Builder newBuilder(Attributes prototype)
Parameter | |
---|---|
Name | Description |
prototype |
Attributes |
Returns | |
---|---|
Type | Description |
Attributes.Builder |
parseDelimitedFrom(InputStream input)
public static Attributes parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Attributes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Attributes parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Attributes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Attributes parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Attributes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Attributes parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Attributes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Attributes parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Attributes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Attributes parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Attributes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Attributes |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Attributes> parser()
Returns | |
---|---|
Type | Description |
Parser<Attributes> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getAdditionalImageLinks(int index)
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. |
getAdditionalImageLinksList()
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.
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.
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 String getAgeGroup()
Target age group of the item.
optional string age_group = 18;
Returns | |
---|---|
Type | Description |
String |
The ageGroup. |
getAgeGroupBytes()
public ByteString getAgeGroupBytes()
Target age group of the item.
optional string age_group = 18;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ageGroup. |
getAutoPricingMinPrice()
public 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 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 String getAvailability()
Availability status of the item.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
String |
The availability. |
getAvailabilityBytes()
public ByteString getAvailabilityBytes()
Availability status of the item.
optional string availability = 19;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for 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 |
getBrand()
public String getBrand()
Brand of the item.
optional string brand = 21;
Returns | |
---|---|
Type | Description |
String |
The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Brand of the item.
optional string brand = 21;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for brand. |
getCanonicalLink()
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. |
getCertifications(int index)
public 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 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 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 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 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 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 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 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 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 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 String getColor()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
String |
The color. |
getColorBytes()
public ByteString getColorBytes()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for color. |
getCondition()
public String getCondition()
Condition or state of the item.
optional string condition = 23;
Returns | |
---|---|
Type | Description |
String |
The condition. |
getConditionBytes()
public ByteString getConditionBytes()
Condition or state of the item.
optional string condition = 23;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes 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. |
getDefaultInstanceForType()
public Attributes getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Attributes |
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 |
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. |
getDisplayAdsLink()
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.
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.
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.
repeated string display_ads_similar_ids = 66;
Returns | |
---|---|
Type | Description |
int |
The count of displayAdsSimilarIds. |
getDisplayAdsSimilarIdsList()
public ProtocolStringList getDisplayAdsSimilarIdsList()
Advertiser-specified recommendations.
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.
optional double display_ads_value = 69;
Returns | |
---|---|
Type | Description |
double |
The displayAdsValue. |
getEnergyEfficiencyClass()
public 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 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 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 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 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the excludedDestinations. |
getExpirationDate()
public Timestamp getExpirationDate()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.FreeShippingThreshold free_shipping_threshold = 135;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.products.v1beta.FreeShippingThresholdOrBuilder> |
getGender()
public String getGender()
Target gender of the item.
optional string gender = 24;
Returns | |
---|---|
Type | Description |
String |
The gender. |
getGenderBytes()
public ByteString getGenderBytes()
Target gender of the item.
optional string gender = 24;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gender. |
getGoogleProductCategory()
public String getGoogleProductCategory()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 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. |
getGtin()
public String getGtin()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 26;
Returns | |
---|---|
Type | Description |
String |
The gtin. |
getGtinBytes()
public ByteString getGtinBytes()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 26;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gtin. |
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. |
getImageLink()
public String getImageLink()
URL of an image of the item.
optional string image_link = 11;
Returns | |
---|---|
Type | Description |
String |
The imageLink. |
getImageLinkBytes()
public ByteString getImageLinkBytes()
URL of an image of the item.
optional string image_link = 11;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for imageLink. |
getIncludedDestinations(int index)
public String getIncludedDestinations(int index)
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 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 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 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 ProtocolStringList getIncludedDestinationsList()
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 76;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the includedDestinations. |
getInstallment()
public 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 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 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 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. |
getLifestyleImageLinks(int index)
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. |
getLifestyleImageLinksList()
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. |
getLink()
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 merchant hosted local storefront.
optional string link_template = 82;
Returns | |
---|---|
Type | Description |
String |
The linkTemplate. |
getLinkTemplateBytes()
public ByteString getLinkTemplateBytes()
Link template for merchant hosted local storefront.
optional string link_template = 82;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for linkTemplate. |
getLoyaltyPoints()
public 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 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 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 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 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 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 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 String getMaterial()
The material of which the item is made.
optional string material = 28;
Returns | |
---|---|
Type | Description |
String |
The material. |
getMaterialBytes()
public ByteString getMaterialBytes()
The material of which the item is made.
optional string material = 28;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for material. |
getMaxEnergyEfficiencyClass()
public 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 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 long getMaxHandlingTime()
Maximal product handling time (in business days).
optional int64 max_handling_time = 44;
Returns | |
---|---|
Type | Description |
long |
The maxHandlingTime. |
getMinEnergyEfficiencyClass()
public 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 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 long getMinHandlingTime()
Minimal product handling time (in business days).
optional int64 min_handling_time = 45;
Returns | |
---|---|
Type | Description |
long |
The minHandlingTime. |
getMobileLink()
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 merchant 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 merchant hosted local storefront optimized for mobile devices.
optional string mobile_link_template = 83;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mobileLinkTemplate. |
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 merchant-defined multipack.
optional int64 multipack = 58;
Returns | |
---|---|
Type | Description |
long |
The multipack. |
getParserForType()
public Parser<Attributes> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Attributes> |
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 String getPause()
Publication of this item will be temporarily paused.
optional string pause = 13;
Returns | |
---|---|
Type | Description |
String |
The pause. |
getPauseBytes()
public ByteString getPauseBytes()
Publication of this item will be temporarily paused.
optional string pause = 13;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pause. |
getPickupMethod()
public String getPickupMethod()
The pick up option for the item.
optional string pickup_method = 80;
Returns | |
---|---|
Type | Description |
String |
The pickupMethod. |
getPickupMethodBytes()
public ByteString getPickupMethodBytes()
The pick up option for the item.
optional string pickup_method = 80;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pickupMethod. |
getPickupSla()
public String getPickupSla()
Item store pickup timeline.
optional string pickup_sla = 81;
Returns | |
---|---|
Type | Description |
String |
The pickupSla. |
getPickupSlaBytes()
public ByteString getPickupSlaBytes()
Item store pickup timeline.
optional string pickup_sla = 81;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pickupSla. |
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.v1beta.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.v1beta.ProductDetail product_details = 63;
Returns | |
---|---|
Type | Description |
int |
getProductDetailsList()
public 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 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 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 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 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 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 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 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 ProtocolStringList getProductHighlightsList()
Bullet points describing the most relevant highlights of a product.
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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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. |
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 |
getShipping(int index)
public 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 int getShippingCount()
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Returns | |
---|---|
Type | Description |
int |
getShippingHeight()
public 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 ShippingDimensionOrBuilder getShippingHeightOrBuilder()
Height of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_height = 43;
Returns | |
---|---|
Type | Description |
ShippingDimensionOrBuilder |
getShippingLabel()
public 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 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 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 ShippingDimensionOrBuilder getShippingLengthOrBuilder()
Length of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingDimension shipping_length = 41;
Returns | |
---|---|
Type | Description |
ShippingDimensionOrBuilder |
getShippingList()
public List<Shipping> getShippingList()
Shipping rules.
repeated .google.shopping.merchant.products.v1beta.Shipping shipping = 39;
Returns | |
---|---|
Type | Description |
List<Shipping> |
getShippingOrBuilder(int index)
public 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 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 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 ShippingWeightOrBuilder getShippingWeightOrBuilder()
Weight of the item for shipping.
.google.shopping.merchant.products.v1beta.ShippingWeight shipping_weight = 40;
Returns | |
---|---|
Type | Description |
ShippingWeightOrBuilder |
getShippingWidth()
public 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 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 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. |
getSize()
public String getSize()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 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
https://support.google.com/merchants/answer/6324492).
optional string size = 48;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for size. |
getSizeSystem()
public String getSizeSystem()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 49;
Returns | |
---|---|
Type | Description |
String |
The sizeSystem. |
getSizeSystemBytes()
public ByteString getSizeSystemBytes()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 49;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sizeSystem. |
getSizeTypes(int index)
public String getSizeTypes(int index)
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 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 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 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 ProtocolStringList getSizeTypesList()
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 50;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sizeTypes. |
getStructuredDescription()
public 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 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 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 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 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 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 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 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 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 int getTaxesCount()
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Returns | |
---|---|
Type | Description |
int |
getTaxesList()
public List<Tax> getTaxesList()
Tax information.
repeated .google.shopping.merchant.products.v1beta.Tax taxes = 51;
Returns | |
---|---|
Type | Description |
List<Tax> |
getTaxesOrBuilder(int index)
public 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 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 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. |
getUnitPricingBaseMeasure()
public 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 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 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 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 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. |
hasAdsGrouping()
public 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 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 string age_group = 18;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ageGroup field is set. |
hasAutoPricingMinPrice()
public 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 boolean hasAvailability()
Availability status of the item.
optional string 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.
optional string brand = 21;
Returns | |
---|---|
Type | Description |
boolean |
Whether the brand field is set. |
hasCanonicalLink()
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. |
hasColor()
public boolean hasColor()
Color of the item.
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 string 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. |
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. |
hasDisplayAdsLink()
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.
optional double display_ads_value = 69;
Returns | |
---|---|
Type | Description |
boolean |
Whether the displayAdsValue field is set. |
hasEnergyEfficiencyClass()
public 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 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. |
hasGender()
public boolean hasGender()
Target gender of the item.
optional string 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. |
hasGtin()
public 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 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 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.v1beta.Installment installment = 32;
Returns | |
---|---|
Type | Description |
boolean |
Whether the installment field is set. |
hasIsBundle()
public boolean hasIsBundle()
Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
optional bool is_bundle = 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. |
hasLink()
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 merchant hosted local storefront.
optional string link_template = 82;
Returns | |
---|---|
Type | Description |
boolean |
Whether the linkTemplate field is set. |
hasLoyaltyPoints()
public 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 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 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 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 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 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 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 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 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 merchant-defined multipack.
optional int64 multipack = 58;
Returns | |
---|---|
Type | Description |
boolean |
Whether the multipack 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 string pause = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pause field is set. |
hasPickupMethod()
public 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 boolean hasPickupSla()
Item store pickup timeline.
optional string 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.v1beta.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.v1beta.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.v1beta.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.v1beta.ProductDimension product_width = 121;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productWidth 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.v1beta.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 product in account-level shipping rules.
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.v1beta.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.v1beta.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.v1beta.ShippingDimension shipping_width = 42;
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingWidth field is set. |
hasSize()
public boolean hasSize()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 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.
optional string 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.v1beta.ProductStructuredDescription 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.v1beta.ProductStructuredTitle structured_title = 132;
Returns | |
---|---|
Type | Description |
boolean |
Whether the structuredTitle field is set. |
hasSubscriptionCost()
public 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 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 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. |
hasUnitPricingBaseMeasure()
public 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 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 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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Attributes.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Attributes.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Attributes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
Attributes.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Attributes.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Attributes.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |