Interface MerchantCenterAccountLinkOrBuilder

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

@Generated public interface MerchantCenterAccountLinkOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. Immutable. Full resource name of the Merchant Center Account
       Link, such as
       `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Immutable. Full resource name of the Merchant Center Account
       Link, such as
       `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • getId

      String getId()
       Output only. Immutable.
       [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
       identifier, which is the final component of
       [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This
       field is auto generated and follows the convention:
       `BranchId_MerchantCenterAccountId`.
       `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
       
      string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Output only. Immutable.
       [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]
       identifier, which is the final component of
       [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This
       field is auto generated and follows the convention:
       `BranchId_MerchantCenterAccountId`.
       `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
       
      string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for id.
    • 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 = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The merchantCenterAccountId.
    • getBranchId

      String getBranchId()
       Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The branchId.
    • getBranchIdBytes

      com.google.protobuf.ByteString getBranchIdBytes()
       Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for branchId.
    • getFeedLabel

      String getFeedLabel()
       The FeedLabel used to perform filtering.
       Note: this replaces
       [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label).
      
       Example value: `US`.
       Example value: `FeedLabel1`.
       
      string feed_label = 4;
      Returns:
      The feedLabel.
    • getFeedLabelBytes

      com.google.protobuf.ByteString getFeedLabelBytes()
       The FeedLabel used to perform filtering.
       Note: this replaces
       [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label).
      
       Example value: `US`.
       Example value: `FeedLabel1`.
       
      string feed_label = 4;
      Returns:
      The bytes for feedLabel.
    • 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.
    • getFeedFiltersList

       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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFilters

       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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFiltersCount

      int getFeedFiltersCount()
       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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFiltersOrBuilderList

      List<? extends MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder> getFeedFiltersOrBuilderList()
       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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFiltersOrBuilder

       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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getStateValue

      int getStateValue()
       Output only. Represents the state of the link.
       
      .google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. Represents the state of the link.
       
      .google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getProjectId

      String getProjectId()
       Output only. Google Cloud project ID.
       
      string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The projectId.
    • getProjectIdBytes

      com.google.protobuf.ByteString getProjectIdBytes()
       Output only. Google Cloud project ID.
       
      string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for projectId.
    • getSource

      String getSource()
       Optional. An optional arbitrary string that could be used as a tag for
       tracking link source.
       
      string source = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
       Optional. An optional arbitrary string that could be used as a tag for
       tracking link source.
       
      string source = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for source.