Interface MerchantCenterLinkOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MerchantCenterLink, MerchantCenterLink.Builder

@Generated public interface MerchantCenterLinkOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to.
    com.google.protobuf.ByteString
    The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to.
    getDestinations(int index)
    String representing the destination to import for, all if left empty.
    com.google.protobuf.ByteString
    String representing the destination to import for, all if left empty.
    int
    String representing the destination to import for, all if left empty.
    String representing the destination to import for, all if left empty.
    getFeeds(int index)
    Criteria for the Merchant Center feeds to be ingested via the link.
    int
    Criteria for the Merchant Center feeds to be ingested via the link.
    Criteria for the Merchant Center feeds to be ingested via the link.
    getFeedsOrBuilder(int index)
    Criteria for the Merchant Center feeds to be ingested via the link.
    Criteria for the Merchant Center feeds to be ingested via the link.
    Language of the title/description and other string attributes.
    com.google.protobuf.ByteString
    Language of the title/description and other string attributes.
    long
    Required.
    Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code.
    com.google.protobuf.ByteString
    Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code.

    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

    • getMerchantCenterAccountId

      long getMerchantCenterAccountId()
       Required. The linked [Merchant Center account
       ID](https://developers.google.com/shopping-content/guides/accountstatuses).
       The account must be a standalone account or a sub-account of a MCA.
       
      int64 merchant_center_account_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The merchantCenterAccountId.
    • getBranchId

      String getBranchId()
       The branch ID (e.g. 0/1/2) within this catalog that products from
       merchant_center_account_id are streamed to. When updating this field, an
       empty value will use the currently configured default branch. However,
       changing the default branch later on won't change the linked branch here.
      
       A single branch ID can only have one linked Merchant Center account ID.
       
      string branch_id = 2;
      Returns:
      The branchId.
    • getBranchIdBytes

      com.google.protobuf.ByteString getBranchIdBytes()
       The branch ID (e.g. 0/1/2) within this catalog that products from
       merchant_center_account_id are streamed to. When updating this field, an
       empty value will use the currently configured default branch. However,
       changing the default branch later on won't change the linked branch here.
      
       A single branch ID can only have one linked Merchant Center account ID.
       
      string branch_id = 2;
      Returns:
      The bytes for branchId.
    • getDestinationsList

      List<String> getDestinationsList()
       String representing the destination to import for, all if left empty.
       List of possible values is given in [Included
       destination](https://support.google.com/merchants/answer/7501026).
       List of allowed string values:
       "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory
       _ads", "Free_listings", "Free_local_listings"
       NOTE: The string values are case sensitive.
       
      repeated string destinations = 3;
      Returns:
      A list containing the destinations.
    • getDestinationsCount

      int getDestinationsCount()
       String representing the destination to import for, all if left empty.
       List of possible values is given in [Included
       destination](https://support.google.com/merchants/answer/7501026).
       List of allowed string values:
       "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory
       _ads", "Free_listings", "Free_local_listings"
       NOTE: The string values are case sensitive.
       
      repeated string destinations = 3;
      Returns:
      The count of destinations.
    • getDestinations

      String getDestinations(int index)
       String representing the destination to import for, all if left empty.
       List of possible values is given in [Included
       destination](https://support.google.com/merchants/answer/7501026).
       List of allowed string values:
       "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory
       _ads", "Free_listings", "Free_local_listings"
       NOTE: The string values are case sensitive.
       
      repeated string destinations = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The destinations at the given index.
    • getDestinationsBytes

      com.google.protobuf.ByteString getDestinationsBytes(int index)
       String representing the destination to import for, all if left empty.
       List of possible values is given in [Included
       destination](https://support.google.com/merchants/answer/7501026).
       List of allowed string values:
       "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory
       _ads", "Free_listings", "Free_local_listings"
       NOTE: The string values are case sensitive.
       
      repeated string destinations = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destinations at the given index.
    • getRegionCode

      String getRegionCode()
       Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2
       code. List of values can be found
       [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry)
       under the `region` tag. If left blank no region filtering will be
       performed.
      
       Example value: `US`.
       
      string region_code = 4;
      Returns:
      The regionCode.
    • getRegionCodeBytes

      com.google.protobuf.ByteString getRegionCodeBytes()
       Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2
       code. List of values can be found
       [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry)
       under the `region` tag. If left blank no region filtering will be
       performed.
      
       Example value: `US`.
       
      string region_code = 4;
      Returns:
      The bytes for regionCode.
    • getLanguageCode

      String getLanguageCode()
       Language of the title/description and other string attributes. Use language
       tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
       ISO 639-1.
      
       This specifies the language of offers in Merchant Center that will be
       accepted. If  empty no language filtering will be performed.
      
       Example value: `en`.
       
      string language_code = 5;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Language of the title/description and other string attributes. Use language
       tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
       ISO 639-1.
      
       This specifies the language of offers in Merchant Center that will be
       accepted. If  empty no language filtering will be performed.
      
       Example value: `en`.
       
      string language_code = 5;
      Returns:
      The bytes for languageCode.
    • getFeedsList

       Criteria for the Merchant Center feeds to be ingested via the link.
       All offers will be ingested if the list is empty.
       Otherwise the offers will be ingested from selected feeds.
       
      repeated .google.cloud.retail.v2alpha.MerchantCenterFeedFilter feeds = 6;
    • getFeeds

      MerchantCenterFeedFilter getFeeds(int index)
       Criteria for the Merchant Center feeds to be ingested via the link.
       All offers will be ingested if the list is empty.
       Otherwise the offers will be ingested from selected feeds.
       
      repeated .google.cloud.retail.v2alpha.MerchantCenterFeedFilter feeds = 6;
    • getFeedsCount

      int getFeedsCount()
       Criteria for the Merchant Center feeds to be ingested via the link.
       All offers will be ingested if the list is empty.
       Otherwise the offers will be ingested from selected feeds.
       
      repeated .google.cloud.retail.v2alpha.MerchantCenterFeedFilter feeds = 6;
    • getFeedsOrBuilderList

      List<? extends MerchantCenterFeedFilterOrBuilder> getFeedsOrBuilderList()
       Criteria for the Merchant Center feeds to be ingested via the link.
       All offers will be ingested if the list is empty.
       Otherwise the offers will be ingested from selected feeds.
       
      repeated .google.cloud.retail.v2alpha.MerchantCenterFeedFilter feeds = 6;
    • getFeedsOrBuilder

      MerchantCenterFeedFilterOrBuilder getFeedsOrBuilder(int index)
       Criteria for the Merchant Center feeds to be ingested via the link.
       All offers will be ingested if the list is empty.
       Otherwise the offers will be ingested from selected feeds.
       
      repeated .google.cloud.retail.v2alpha.MerchantCenterFeedFilter feeds = 6;