public final class Attributes extends GeneratedMessageV3 implements AttributesOrBuilder
Attributes for CSS Product.
Protobuf type google.shopping.css.v1.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 |
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 |
BRAND_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CERTIFICATIONS_FIELD_NUMBER
public static final int CERTIFICATIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
COLOR_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CPP_ADS_REDIRECT_FIELD_NUMBER
public static final int CPP_ADS_REDIRECT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CPP_LINK_FIELD_NUMBER
public static final int CPP_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CPP_MOBILE_LINK_FIELD_NUMBER
public static final int CPP_MOBILE_LINK_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 |
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 |
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 |
HEADLINE_OFFER_CONDITION_FIELD_NUMBER
public static final int HEADLINE_OFFER_CONDITION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HEADLINE_OFFER_LINK_FIELD_NUMBER
public static final int HEADLINE_OFFER_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HEADLINE_OFFER_MOBILE_LINK_FIELD_NUMBER
public static final int HEADLINE_OFFER_MOBILE_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HEADLINE_OFFER_PRICE_FIELD_NUMBER
public static final int HEADLINE_OFFER_PRICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HEADLINE_OFFER_SHIPPING_PRICE_FIELD_NUMBER
public static final int HEADLINE_OFFER_SHIPPING_PRICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HIGH_PRICE_FIELD_NUMBER
public static final int HIGH_PRICE_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 |
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 |
LOW_PRICE_FIELD_NUMBER
public static final int LOW_PRICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MATERIAL_FIELD_NUMBER
public static final int MATERIAL_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 |
NUMBER_OF_OFFERS_FIELD_NUMBER
public static final int NUMBER_OF_OFFERS_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 |
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 |
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 |
TITLE_FIELD_NUMBER
public static final int TITLE_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 URL of images of the item.
repeated string additional_image_links = 12;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The additionalImageLinks at the given index. |
getAdditionalImageLinksBytes(int index)
public ByteString getAdditionalImageLinksBytes(int index)
Additional URL of images of the item.
repeated string additional_image_links = 12;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the additionalImageLinks at the given index. |
getAdditionalImageLinksCount()
public int getAdditionalImageLinksCount()
Additional URL of images of the item.
repeated string additional_image_links = 12;
Returns | |
---|---|
Type | Description |
int |
The count of additionalImageLinks. |
getAdditionalImageLinksList()
public ProtocolStringList getAdditionalImageLinksList()
Additional URL of images of the item.
repeated string additional_image_links = 12;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the additionalImageLinks. |
getAdult()
public boolean getAdult()
Set to true if the item is targeted towards adults.
optional bool adult = 18;
Returns | |
---|---|
Type | Description |
boolean |
The adult. |
getAgeGroup()
public String getAgeGroup()
Target age group of the item.
optional string age_group = 21;
Returns | |
---|---|
Type | Description |
String |
The ageGroup. |
getAgeGroupBytes()
public ByteString getAgeGroupBytes()
Target age group of the item.
optional string age_group = 21;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ageGroup. |
getBrand()
public String getBrand()
Product Related Attributes.[14-36] Brand of the item.
optional string brand = 14;
Returns | |
---|---|
Type | Description |
String |
The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Product Related Attributes.[14-36] Brand of the item.
optional string brand = 14;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for brand. |
getCertifications(int index)
public Certification getCertifications(int index)
A list of certificates claimed by the CSS for the given product.
repeated .google.shopping.css.v1.Certification certifications = 39;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Certification |
getCertificationsCount()
public int getCertificationsCount()
A list of certificates claimed by the CSS for the given product.
repeated .google.shopping.css.v1.Certification certifications = 39;
Returns | |
---|---|
Type | Description |
int |
getCertificationsList()
public List<Certification> getCertificationsList()
A list of certificates claimed by the CSS for the given product.
repeated .google.shopping.css.v1.Certification certifications = 39;
Returns | |
---|---|
Type | Description |
List<Certification> |
getCertificationsOrBuilder(int index)
public CertificationOrBuilder getCertificationsOrBuilder(int index)
A list of certificates claimed by the CSS for the given product.
repeated .google.shopping.css.v1.Certification certifications = 39;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CertificationOrBuilder |
getCertificationsOrBuilderList()
public List<? extends CertificationOrBuilder> getCertificationsOrBuilderList()
A list of certificates claimed by the CSS for the given product.
repeated .google.shopping.css.v1.Certification certifications = 39;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.css.v1.CertificationOrBuilder> |
getColor()
public String getColor()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
String |
The color. |
getColorBytes()
public ByteString getColorBytes()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for color. |
getCppAdsRedirect()
public String getCppAdsRedirect()
Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
optional string cpp_ads_redirect = 42;
Returns | |
---|---|
Type | Description |
String |
The cppAdsRedirect. |
getCppAdsRedirectBytes()
public ByteString getCppAdsRedirectBytes()
Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
optional string cpp_ads_redirect = 42;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cppAdsRedirect. |
getCppLink()
public String getCppLink()
URL directly linking to your the Product Detail Page of the CSS.
optional string cpp_link = 1;
Returns | |
---|---|
Type | Description |
String |
The cppLink. |
getCppLinkBytes()
public ByteString getCppLinkBytes()
URL directly linking to your the Product Detail Page of the CSS.
optional string cpp_link = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cppLink. |
getCppMobileLink()
public String getCppMobileLink()
URL for the mobile-optimized version of the Product Detail Page of the CSS.
optional string cpp_mobile_link = 2;
Returns | |
---|---|
Type | Description |
String |
The cppMobileLink. |
getCppMobileLinkBytes()
public ByteString getCppMobileLinkBytes()
URL for the mobile-optimized version of the Product Detail Page of the CSS.
optional string cpp_mobile_link = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cppMobileLink. |
getCustomLabel0()
public String getCustomLabel0()
Custom label 0 for custom grouping of items in a Shopping campaign.
optional string custom_label_0 = 46;
Returns | |
---|---|
Type | Description |
String |
The customLabel0. |
getCustomLabel0Bytes()
public ByteString getCustomLabel0Bytes()
Custom label 0 for custom grouping of items in a Shopping campaign.
optional string custom_label_0 = 46;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customLabel0. |
getCustomLabel1()
public String getCustomLabel1()
Custom label 1 for custom grouping of items in a Shopping campaign.
optional string custom_label_1 = 47;
Returns | |
---|---|
Type | Description |
String |
The customLabel1. |
getCustomLabel1Bytes()
public ByteString getCustomLabel1Bytes()
Custom label 1 for custom grouping of items in a Shopping campaign.
optional string custom_label_1 = 47;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customLabel1. |
getCustomLabel2()
public String getCustomLabel2()
Custom label 2 for custom grouping of items in a Shopping campaign.
optional string custom_label_2 = 48;
Returns | |
---|---|
Type | Description |
String |
The customLabel2. |
getCustomLabel2Bytes()
public ByteString getCustomLabel2Bytes()
Custom label 2 for custom grouping of items in a Shopping campaign.
optional string custom_label_2 = 48;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customLabel2. |
getCustomLabel3()
public String getCustomLabel3()
Custom label 3 for custom grouping of items in a Shopping campaign.
optional string custom_label_3 = 49;
Returns | |
---|---|
Type | Description |
String |
The customLabel3. |
getCustomLabel3Bytes()
public ByteString getCustomLabel3Bytes()
Custom label 3 for custom grouping of items in a Shopping campaign.
optional string custom_label_3 = 49;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customLabel3. |
getCustomLabel4()
public String getCustomLabel4()
Custom label 4 for custom grouping of items in a Shopping campaign.
optional string custom_label_4 = 50;
Returns | |
---|---|
Type | Description |
String |
The customLabel4. |
getCustomLabel4Bytes()
public ByteString getCustomLabel4Bytes()
Custom label 4 for custom grouping of items in a Shopping campaign.
optional string custom_label_4 = 50;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for customLabel4. |
getDefaultInstanceForType()
public Attributes getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Attributes |
getDescription()
public String getDescription()
Description of the item.
optional string description = 13;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the item.
optional string description = 13;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getExcludedDestinations(int index)
public String getExcludedDestinations(int index)
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 44;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The excludedDestinations at the given index. |
getExcludedDestinationsBytes(int index)
public ByteString getExcludedDestinationsBytes(int index)
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 44;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the excludedDestinations at the given index. |
getExcludedDestinationsCount()
public int getExcludedDestinationsCount()
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 44;
Returns | |
---|---|
Type | Description |
int |
The count of excludedDestinations. |
getExcludedDestinationsList()
public ProtocolStringList getExcludedDestinationsList()
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
repeated string excluded_destinations = 44;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the excludedDestinations. |
getExpirationDate()
public Timestamp getExpirationDate()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
Note: It may take 2+ days from the expiration date for the item to
actually get deleted.
.google.protobuf.Timestamp expiration_date = 40;
Returns | |
---|---|
Type | Description |
Timestamp |
The expirationDate. |
getExpirationDateOrBuilder()
public TimestampOrBuilder getExpirationDateOrBuilder()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
Note: It may take 2+ days from the expiration date for the item to
actually get deleted.
.google.protobuf.Timestamp expiration_date = 40;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getGender()
public String getGender()
Target gender of the item.
optional string gender = 23;
Returns | |
---|---|
Type | Description |
String |
The gender. |
getGenderBytes()
public ByteString getGenderBytes()
Target gender of the item.
optional string gender = 23;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gender. |
getGoogleProductCategory()
public String getGoogleProductCategory()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 17;
Returns | |
---|---|
Type | Description |
String |
The googleProductCategory. |
getGoogleProductCategoryBytes()
public ByteString getGoogleProductCategoryBytes()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 17;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for googleProductCategory. |
getGtin()
public String getGtin()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 16;
Returns | |
---|---|
Type | Description |
String |
The gtin. |
getGtinBytes()
public ByteString getGtinBytes()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 16;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gtin. |
getHeadlineOfferCondition()
public String getHeadlineOfferCondition()
Condition of the headline offer.
optional string headline_offer_condition = 6;
Returns | |
---|---|
Type | Description |
String |
The headlineOfferCondition. |
getHeadlineOfferConditionBytes()
public ByteString getHeadlineOfferConditionBytes()
Condition of the headline offer.
optional string headline_offer_condition = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for headlineOfferCondition. |
getHeadlineOfferLink()
public String getHeadlineOfferLink()
Link to the headline offer.
optional string headline_offer_link = 8;
Returns | |
---|---|
Type | Description |
String |
The headlineOfferLink. |
getHeadlineOfferLinkBytes()
public ByteString getHeadlineOfferLinkBytes()
Link to the headline offer.
optional string headline_offer_link = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for headlineOfferLink. |
getHeadlineOfferMobileLink()
public String getHeadlineOfferMobileLink()
Mobile Link to the headline offer.
optional string headline_offer_mobile_link = 9;
Returns | |
---|---|
Type | Description |
String |
The headlineOfferMobileLink. |
getHeadlineOfferMobileLinkBytes()
public ByteString getHeadlineOfferMobileLinkBytes()
Mobile Link to the headline offer.
optional string headline_offer_mobile_link = 9;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for headlineOfferMobileLink. |
getHeadlineOfferPrice()
public Price getHeadlineOfferPrice()
Headline Price of the aggregate offer.
.google.shopping.type.Price headline_offer_price = 7;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The headlineOfferPrice. |
getHeadlineOfferPriceOrBuilder()
public PriceOrBuilder getHeadlineOfferPriceOrBuilder()
Headline Price of the aggregate offer.
.google.shopping.type.Price headline_offer_price = 7;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getHeadlineOfferShippingPrice()
public Price getHeadlineOfferShippingPrice()
Headline Price of the aggregate offer.
.google.shopping.type.Price headline_offer_shipping_price = 41;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The headlineOfferShippingPrice. |
getHeadlineOfferShippingPriceOrBuilder()
public PriceOrBuilder getHeadlineOfferShippingPriceOrBuilder()
Headline Price of the aggregate offer.
.google.shopping.type.Price headline_offer_shipping_price = 41;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getHighPrice()
public Price getHighPrice()
High Price of the aggregate offer.
.google.shopping.type.Price high_price = 4;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The highPrice. |
getHighPriceOrBuilder()
public PriceOrBuilder getHighPriceOrBuilder()
High Price of the aggregate offer.
.google.shopping.type.Price high_price = 4;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
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 = 43;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The includedDestinations at the given index. |
getIncludedDestinationsBytes(int index)
public ByteString getIncludedDestinationsBytes(int index)
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 43;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the includedDestinations at the given index. |
getIncludedDestinationsCount()
public int getIncludedDestinationsCount()
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 43;
Returns | |
---|---|
Type | Description |
int |
The count of includedDestinations. |
getIncludedDestinationsList()
public ProtocolStringList getIncludedDestinationsList()
The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
repeated string included_destinations = 43;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the includedDestinations. |
getIsBundle()
public boolean getIsBundle()
Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
optional bool is_bundle = 20;
Returns | |
---|---|
Type | Description |
boolean |
The isBundle. |
getItemGroupId()
public String getItemGroupId()
Shared identifier for all variants of the same product.
optional string item_group_id = 29;
Returns | |
---|---|
Type | Description |
String |
The itemGroupId. |
getItemGroupIdBytes()
public ByteString getItemGroupIdBytes()
Shared identifier for all variants of the same product.
optional string item_group_id = 29;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for itemGroupId. |
getLowPrice()
public Price getLowPrice()
Low Price of the aggregate offer.
.google.shopping.type.Price low_price = 3;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The lowPrice. |
getLowPriceOrBuilder()
public PriceOrBuilder getLowPriceOrBuilder()
Low Price of the aggregate offer.
.google.shopping.type.Price low_price = 3;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getMaterial()
public String getMaterial()
The material of which the item is made.
optional string material = 24;
Returns | |
---|---|
Type | Description |
String |
The material. |
getMaterialBytes()
public ByteString getMaterialBytes()
The material of which the item is made.
optional string material = 24;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for material. |
getMpn()
public String getMpn()
Manufacturer Part Number (MPN) of the item.
optional string mpn = 15;
Returns | |
---|---|
Type | Description |
String |
The mpn. |
getMpnBytes()
public ByteString getMpnBytes()
Manufacturer Part Number (MPN) of the item.
optional string mpn = 15;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mpn. |
getMultipack()
public long getMultipack()
The number of identical products in a merchant-defined multipack.
optional int64 multipack = 19;
Returns | |
---|---|
Type | Description |
long |
The multipack. |
getNumberOfOffers()
public long getNumberOfOffers()
The number of aggregate offers.
optional int64 number_of_offers = 5;
Returns | |
---|---|
Type | Description |
long |
The numberOfOffers. |
getParserForType()
public Parser<Attributes> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Attributes> |
getPattern()
public String getPattern()
The item's pattern (e.g. polka dots).
optional string pattern = 25;
Returns | |
---|---|
Type | Description |
String |
The pattern. |
getPatternBytes()
public ByteString getPatternBytes()
The item's pattern (e.g. polka dots).
optional string pattern = 25;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pattern. |
getPause()
public String getPause()
Publication of this item will be temporarily paused.
optional string pause = 45;
Returns | |
---|---|
Type | Description |
String |
The pause. |
getPauseBytes()
public ByteString getPauseBytes()
Publication of this item will be temporarily paused.
optional string pause = 45;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pause. |
getProductDetails(int index)
public ProductDetail getProductDetails(int index)
Technical specification or additional product details.
repeated .google.shopping.css.v1.ProductDetail product_details = 30;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ProductDetail |
getProductDetailsCount()
public int getProductDetailsCount()
Technical specification or additional product details.
repeated .google.shopping.css.v1.ProductDetail product_details = 30;
Returns | |
---|---|
Type | Description |
int |
getProductDetailsList()
public List<ProductDetail> getProductDetailsList()
Technical specification or additional product details.
repeated .google.shopping.css.v1.ProductDetail product_details = 30;
Returns | |
---|---|
Type | Description |
List<ProductDetail> |
getProductDetailsOrBuilder(int index)
public ProductDetailOrBuilder getProductDetailsOrBuilder(int index)
Technical specification or additional product details.
repeated .google.shopping.css.v1.ProductDetail product_details = 30;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ProductDetailOrBuilder |
getProductDetailsOrBuilderList()
public List<? extends ProductDetailOrBuilder> getProductDetailsOrBuilderList()
Technical specification or additional product details.
repeated .google.shopping.css.v1.ProductDetail product_details = 30;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.css.v1.ProductDetailOrBuilder> |
getProductHeight()
public ProductDimension getProductHeight()
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_height = 34;
Returns | |
---|---|
Type | Description |
ProductDimension |
The productHeight. |
getProductHeightOrBuilder()
public ProductDimensionOrBuilder getProductHeightOrBuilder()
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_height = 34;
Returns | |
---|---|
Type | Description |
ProductDimensionOrBuilder |
getProductHighlights(int index)
public String getProductHighlights(int index)
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 35;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The productHighlights at the given index. |
getProductHighlightsBytes(int index)
public ByteString getProductHighlightsBytes(int index)
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 35;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the productHighlights at the given index. |
getProductHighlightsCount()
public int getProductHighlightsCount()
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 35;
Returns | |
---|---|
Type | Description |
int |
The count of productHighlights. |
getProductHighlightsList()
public ProtocolStringList getProductHighlightsList()
Bullet points describing the most relevant highlights of a product.
repeated string product_highlights = 35;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the productHighlights. |
getProductLength()
public ProductDimension getProductLength()
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_length = 32;
Returns | |
---|---|
Type | Description |
ProductDimension |
The productLength. |
getProductLengthOrBuilder()
public ProductDimensionOrBuilder getProductLengthOrBuilder()
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_length = 32;
Returns | |
---|---|
Type | Description |
ProductDimensionOrBuilder |
getProductTypes(int index)
public String getProductTypes(int index)
Categories of the item (formatted as in products data specification).
repeated string product_types = 36;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The productTypes at the given index. |
getProductTypesBytes(int index)
public ByteString getProductTypesBytes(int index)
Categories of the item (formatted as in products data specification).
repeated string product_types = 36;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the productTypes at the given index. |
getProductTypesCount()
public int getProductTypesCount()
Categories of the item (formatted as in products data specification).
repeated string product_types = 36;
Returns | |
---|---|
Type | Description |
int |
The count of productTypes. |
getProductTypesList()
public ProtocolStringList getProductTypesList()
Categories of the item (formatted as in products data specification).
repeated string product_types = 36;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the productTypes. |
getProductWeight()
public ProductWeight getProductWeight()
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
.google.shopping.css.v1.ProductWeight product_weight = 31;
Returns | |
---|---|
Type | Description |
ProductWeight |
The productWeight. |
getProductWeightOrBuilder()
public ProductWeightOrBuilder getProductWeightOrBuilder()
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
.google.shopping.css.v1.ProductWeight product_weight = 31;
Returns | |
---|---|
Type | Description |
ProductWeightOrBuilder |
getProductWidth()
public ProductDimension getProductWidth()
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_width = 33;
Returns | |
---|---|
Type | Description |
ProductDimension |
The productWidth. |
getProductWidthOrBuilder()
public ProductDimensionOrBuilder getProductWidthOrBuilder()
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_width = 33;
Returns | |
---|---|
Type | Description |
ProductDimensionOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSize()
public String getSize()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 26;
Returns | |
---|---|
Type | Description |
String |
The size. |
getSizeBytes()
public ByteString getSizeBytes()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 26;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for size. |
getSizeSystem()
public String getSizeSystem()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 27;
Returns | |
---|---|
Type | Description |
String |
The sizeSystem. |
getSizeSystemBytes()
public ByteString getSizeSystemBytes()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 27;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sizeSystem. |
getSizeTypes(int index)
public String getSizeTypes(int index)
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 28;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sizeTypes at the given index. |
getSizeTypesBytes(int index)
public ByteString getSizeTypesBytes(int index)
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 28;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sizeTypes at the given index. |
getSizeTypesCount()
public int getSizeTypesCount()
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 28;
Returns | |
---|---|
Type | Description |
int |
The count of sizeTypes. |
getSizeTypesList()
public ProtocolStringList getSizeTypesList()
The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
repeated string size_types = 28;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sizeTypes. |
getTitle()
public String getTitle()
Title of the item.
optional string title = 10;
Returns | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()
Title of the item.
optional string title = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for title. |
hasAdult()
public boolean hasAdult()
Set to true if the item is targeted towards adults.
optional bool adult = 18;
Returns | |
---|---|
Type | Description |
boolean |
Whether the adult field is set. |
hasAgeGroup()
public boolean hasAgeGroup()
Target age group of the item.
optional string age_group = 21;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ageGroup field is set. |
hasBrand()
public boolean hasBrand()
Product Related Attributes.[14-36] Brand of the item.
optional string brand = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the brand field is set. |
hasColor()
public boolean hasColor()
Color of the item.
optional string color = 22;
Returns | |
---|---|
Type | Description |
boolean |
Whether the color field is set. |
hasCppAdsRedirect()
public boolean hasCppAdsRedirect()
Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
optional string cpp_ads_redirect = 42;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cppAdsRedirect field is set. |
hasCppLink()
public boolean hasCppLink()
URL directly linking to your the Product Detail Page of the CSS.
optional string cpp_link = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cppLink field is set. |
hasCppMobileLink()
public boolean hasCppMobileLink()
URL for the mobile-optimized version of the Product Detail Page of the CSS.
optional string cpp_mobile_link = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cppMobileLink field is set. |
hasCustomLabel0()
public boolean hasCustomLabel0()
Custom label 0 for custom grouping of items in a Shopping campaign.
optional string custom_label_0 = 46;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customLabel0 field is set. |
hasCustomLabel1()
public boolean hasCustomLabel1()
Custom label 1 for custom grouping of items in a Shopping campaign.
optional string custom_label_1 = 47;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customLabel1 field is set. |
hasCustomLabel2()
public boolean hasCustomLabel2()
Custom label 2 for custom grouping of items in a Shopping campaign.
optional string custom_label_2 = 48;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customLabel2 field is set. |
hasCustomLabel3()
public boolean hasCustomLabel3()
Custom label 3 for custom grouping of items in a Shopping campaign.
optional string custom_label_3 = 49;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customLabel3 field is set. |
hasCustomLabel4()
public boolean hasCustomLabel4()
Custom label 4 for custom grouping of items in a Shopping campaign.
optional string custom_label_4 = 50;
Returns | |
---|---|
Type | Description |
boolean |
Whether the customLabel4 field is set. |
hasDescription()
public boolean hasDescription()
Description of the item.
optional string description = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the description field is set. |
hasExpirationDate()
public boolean hasExpirationDate()
Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
Note: It may take 2+ days from the expiration date for the item to
actually get deleted.
.google.protobuf.Timestamp expiration_date = 40;
Returns | |
---|---|
Type | Description |
boolean |
Whether the expirationDate field is set. |
hasGender()
public boolean hasGender()
Target gender of the item.
optional string gender = 23;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gender field is set. |
hasGoogleProductCategory()
public boolean hasGoogleProductCategory()
Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
optional string google_product_category = 17;
Returns | |
---|---|
Type | Description |
boolean |
Whether the googleProductCategory field is set. |
hasGtin()
public boolean hasGtin()
Global Trade Item Number (GTIN) of the item.
optional string gtin = 16;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gtin field is set. |
hasHeadlineOfferCondition()
public boolean hasHeadlineOfferCondition()
Condition of the headline offer.
optional string headline_offer_condition = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the headlineOfferCondition field is set. |
hasHeadlineOfferLink()
public boolean hasHeadlineOfferLink()
Link to the headline offer.
optional string headline_offer_link = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the headlineOfferLink field is set. |
hasHeadlineOfferMobileLink()
public boolean hasHeadlineOfferMobileLink()
Mobile Link to the headline offer.
optional string headline_offer_mobile_link = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the headlineOfferMobileLink field is set. |
hasHeadlineOfferPrice()
public boolean hasHeadlineOfferPrice()
Headline Price of the aggregate offer.
.google.shopping.type.Price headline_offer_price = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the headlineOfferPrice field is set. |
hasHeadlineOfferShippingPrice()
public boolean hasHeadlineOfferShippingPrice()
Headline Price of the aggregate offer.
.google.shopping.type.Price headline_offer_shipping_price = 41;
Returns | |
---|---|
Type | Description |
boolean |
Whether the headlineOfferShippingPrice field is set. |
hasHighPrice()
public boolean hasHighPrice()
High Price of the aggregate offer.
.google.shopping.type.Price high_price = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the highPrice field is set. |
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. |
hasIsBundle()
public boolean hasIsBundle()
Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.
optional bool is_bundle = 20;
Returns | |
---|---|
Type | Description |
boolean |
Whether the isBundle field is set. |
hasItemGroupId()
public boolean hasItemGroupId()
Shared identifier for all variants of the same product.
optional string item_group_id = 29;
Returns | |
---|---|
Type | Description |
boolean |
Whether the itemGroupId field is set. |
hasLowPrice()
public boolean hasLowPrice()
Low Price of the aggregate offer.
.google.shopping.type.Price low_price = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the lowPrice field is set. |
hasMaterial()
public boolean hasMaterial()
The material of which the item is made.
optional string material = 24;
Returns | |
---|---|
Type | Description |
boolean |
Whether the material field is set. |
hasMpn()
public boolean hasMpn()
Manufacturer Part Number (MPN) of the item.
optional string mpn = 15;
Returns | |
---|---|
Type | Description |
boolean |
Whether the mpn field is set. |
hasMultipack()
public boolean hasMultipack()
The number of identical products in a merchant-defined multipack.
optional int64 multipack = 19;
Returns | |
---|---|
Type | Description |
boolean |
Whether the multipack field is set. |
hasNumberOfOffers()
public boolean hasNumberOfOffers()
The number of aggregate offers.
optional int64 number_of_offers = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the numberOfOffers field is set. |
hasPattern()
public boolean hasPattern()
The item's pattern (e.g. polka dots).
optional string pattern = 25;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pattern field is set. |
hasPause()
public boolean hasPause()
Publication of this item will be temporarily paused.
optional string pause = 45;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pause field is set. |
hasProductHeight()
public boolean hasProductHeight()
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_height = 34;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productHeight field is set. |
hasProductLength()
public boolean hasProductLength()
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_length = 32;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productLength field is set. |
hasProductWeight()
public boolean hasProductWeight()
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
.google.shopping.css.v1.ProductWeight product_weight = 31;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productWeight field is set. |
hasProductWidth()
public boolean hasProductWidth()
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
.google.shopping.css.v1.ProductDimension product_width = 33;
Returns | |
---|---|
Type | Description |
boolean |
Whether the productWidth field is set. |
hasSize()
public boolean hasSize()
Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
optional string size = 26;
Returns | |
---|---|
Type | Description |
boolean |
Whether the size field is set. |
hasSizeSystem()
public boolean hasSizeSystem()
System in which the size is specified. Recommended for apparel items.
optional string size_system = 27;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sizeSystem field is set. |
hasTitle()
public boolean hasTitle()
Title of the item.
optional string title = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the title field is set. |
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 |