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

    Modifier and Type
    Method
    Description
    Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded.
    com.google.protobuf.ByteString
    Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded.
    A unique identifier of a product.
    com.google.protobuf.ByteString
    A unique identifier of a product.
    ISO 639-1 code of the language associated with the feed where your items are uploaded.
    com.google.protobuf.ByteString
    ISO 639-1 code of the language associated with the feed where your items are uploaded.
    long
    ID of the Merchant Center Account.
    long
    The number of items sold.
    boolean
    ID of the Merchant Center Account.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getItemId

      String getItemId()
       A unique identifier of a product. It must be the exact same Merchant Center
       Item ID you use in your Google Merchant Center for this product.
       Required.
       
      string item_id = 1;
      Returns:
      The itemId.
    • getItemIdBytes

      com.google.protobuf.ByteString getItemIdBytes()
       A unique identifier of a product. It must be the exact same Merchant Center
       Item ID you use in your Google Merchant Center for this product.
       Required.
       
      string item_id = 1;
      Returns:
      The bytes for itemId.
    • hasMerchantId

      boolean hasMerchantId()
       ID of the Merchant Center Account.
       Required.
       
      optional int64 merchant_id = 2;
      Returns:
      Whether the merchantId field is set.
    • getMerchantId

      long getMerchantId()
       ID of the Merchant Center Account.
       Required.
       
      optional int64 merchant_id = 2;
      Returns:
      The merchantId.
    • getCountryCode

      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. This information is useful to differentiate product
       information in cases where a product (identified by item_id) is associated
       with multiple countries.
       
      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. This information is useful to differentiate product
       information in cases where a product (identified by item_id) is associated
       with multiple countries.
       
      string country_code = 3;
      Returns:
      The bytes for countryCode.
    • getLanguageCode

      String getLanguageCode()
       ISO 639-1 code of the language associated with the feed where your items
       are uploaded. This information is useful to differentiate product
       information in cases where a product (identified by item_id) is associated
       with multiple languages.
       
      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. This information is useful to differentiate product
       information in cases where a product (identified by item_id) is associated
       with multiple languages.
       
      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.