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 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

      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

      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.