Interface ItemAttributeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ItemAttribute,ItemAttribute.Builder
public interface ItemAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCountryCode()Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded.com.google.protobuf.ByteStringgetCountryCodeBytes()Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded.java.lang.StringgetItemId()A unique identifier of a product.com.google.protobuf.ByteStringgetItemIdBytes()A unique identifier of a product.java.lang.StringgetLanguageCode()ISO 639-1 code of the language associated with the feed where your items are uploadedcom.google.protobuf.ByteStringgetLanguageCodeBytes()ISO 639-1 code of the language associated with the feed where your items are uploadedlonggetMerchantId()ID of the Merchant Center Account.longgetQuantity()The number of items sold.booleanhasMerchantId()ID of the Merchant Center Account.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getItemId
java.lang.String getItemId()
A unique identifier of a product. It can be either the Merchant Center Item ID or GTIN (Global Trade Item Number).
string item_id = 1;- Returns:
- The itemId.
-
getItemIdBytes
com.google.protobuf.ByteString getItemIdBytes()
A unique identifier of a product. It can be either the Merchant Center Item ID or GTIN (Global Trade Item Number).
string item_id = 1;- Returns:
- The bytes for itemId.
-
hasMerchantId
boolean hasMerchantId()
ID of the Merchant Center Account.
optional int64 merchant_id = 2;- Returns:
- Whether the merchantId field is set.
-
getMerchantId
long getMerchantId()
ID of the Merchant Center Account.
optional int64 merchant_id = 2;- Returns:
- The merchantId.
-
getCountryCode
java.lang.String getCountryCode()
Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded. See https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes for more information.
string country_code = 3;- Returns:
- The countryCode.
-
getCountryCodeBytes
com.google.protobuf.ByteString getCountryCodeBytes()
Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded. See https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes for more information.
string country_code = 3;- Returns:
- The bytes for countryCode.
-
getLanguageCode
java.lang.String getLanguageCode()
ISO 639-1 code of the language associated with the feed where your items are uploaded
string language_code = 4;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()
ISO 639-1 code of the language associated with the feed where your items are uploaded
string language_code = 4;- Returns:
- The bytes for languageCode.
-
getQuantity
long getQuantity()
The number of items sold. Defaults to 1 if not set.
int64 quantity = 5;- Returns:
- The quantity.
-
-