Class MerchantCenterAccountLink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
com.google.cloud.retail.v2alpha.MerchantCenterAccountLink.Builder
All Implemented Interfaces:
MerchantCenterAccountLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MerchantCenterAccountLink

public static final class MerchantCenterAccountLink.Builder extends com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder> implements MerchantCenterAccountLinkOrBuilder
 Represents a link between a Merchant Center account and a branch.
 After a link is established, products from the linked Merchant Center account
 are streamed to the linked branch.
 
Protobuf type google.cloud.retail.v2alpha.MerchantCenterAccountLink
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
    • getDefaultInstanceForType

      public MerchantCenterAccountLink getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MerchantCenterAccountLink build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MerchantCenterAccountLink buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MerchantCenterAccountLink.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MerchantCenterAccountLink.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
    • mergeFrom

      public MerchantCenterAccountLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MerchantCenterAccountLink.Builder>
      Throws:
      IOException
    • getName

      public 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];
      Specified by:
      getName in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The name.
    • getNameBytes

      public 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];
      Specified by:
      getNameBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for name.
    • setName

      public MerchantCenterAccountLink.Builder setName(String value)
       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       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:
      This builder for chaining.
    • setNameBytes

      public MerchantCenterAccountLink.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getId

      public 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];
      Specified by:
      getId in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The id.
    • getIdBytes

      public 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];
      Specified by:
      getIdBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for id.
    • setId

       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];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       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:
      This builder for chaining.
    • setIdBytes

      public MerchantCenterAccountLink.Builder setIdBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getMerchantCenterAccountId

      public 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];
      Specified by:
      getMerchantCenterAccountId in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The merchantCenterAccountId.
    • setMerchantCenterAccountId

      public MerchantCenterAccountLink.Builder setMerchantCenterAccountId(long value)
       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];
      Parameters:
      value - The merchantCenterAccountId to set.
      Returns:
      This builder for chaining.
    • clearMerchantCenterAccountId

      public MerchantCenterAccountLink.Builder clearMerchantCenterAccountId()
       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:
      This builder for chaining.
    • getBranchId

      public 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];
      Specified by:
      getBranchId in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The branchId.
    • getBranchIdBytes

      public 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];
      Specified by:
      getBranchIdBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for branchId.
    • setBranchId

      public MerchantCenterAccountLink.Builder setBranchId(String value)
       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];
      Parameters:
      value - The branchId to set.
      Returns:
      This builder for chaining.
    • clearBranchId

      public MerchantCenterAccountLink.Builder clearBranchId()
       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:
      This builder for chaining.
    • setBranchIdBytes

      public MerchantCenterAccountLink.Builder setBranchIdBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for branchId to set.
      Returns:
      This builder for chaining.
    • getFeedLabel

      public 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;
      Specified by:
      getFeedLabel in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The feedLabel.
    • getFeedLabelBytes

      public 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;
      Specified by:
      getFeedLabelBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for feedLabel.
    • setFeedLabel

      public MerchantCenterAccountLink.Builder setFeedLabel(String value)
       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;
      Parameters:
      value - The feedLabel to set.
      Returns:
      This builder for chaining.
    • clearFeedLabel

      public MerchantCenterAccountLink.Builder clearFeedLabel()
       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:
      This builder for chaining.
    • setFeedLabelBytes

      public MerchantCenterAccountLink.Builder setFeedLabelBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for feedLabel to set.
      Returns:
      This builder for chaining.
    • getLanguageCode

      public 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;
      Specified by:
      getLanguageCode in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public 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;
      Specified by:
      getLanguageCodeBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public MerchantCenterAccountLink.Builder setLanguageCode(String value)
       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;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public MerchantCenterAccountLink.Builder clearLanguageCode()
       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:
      This builder for chaining.
    • setLanguageCodeBytes

      public MerchantCenterAccountLink.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getFeedFiltersList in interface MerchantCenterAccountLinkOrBuilder
    • getFeedFiltersCount

      public 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;
      Specified by:
      getFeedFiltersCount in interface MerchantCenterAccountLinkOrBuilder
    • getFeedFilters

      public MerchantCenterAccountLink.MerchantCenterFeedFilter getFeedFilters(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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
      Specified by:
      getFeedFilters in interface MerchantCenterAccountLinkOrBuilder
    • setFeedFilters

       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;
    • setFeedFilters

       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;
    • addFeedFilters

       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;
    • addFeedFilters

       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;
    • addFeedFilters

       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;
    • addFeedFilters

       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;
    • addAllFeedFilters

       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;
    • clearFeedFilters

      public MerchantCenterAccountLink.Builder clearFeedFilters()
       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;
    • removeFeedFilters

      public MerchantCenterAccountLink.Builder removeFeedFilters(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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFiltersBuilder

      public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder getFeedFiltersBuilder(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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFiltersOrBuilder

      public MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder getFeedFiltersOrBuilder(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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
      Specified by:
      getFeedFiltersOrBuilder in interface MerchantCenterAccountLinkOrBuilder
    • getFeedFiltersOrBuilderList

      public 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;
      Specified by:
      getFeedFiltersOrBuilderList in interface MerchantCenterAccountLinkOrBuilder
    • addFeedFiltersBuilder

       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;
    • addFeedFiltersBuilder

      public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder addFeedFiltersBuilder(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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
    • getFeedFiltersBuilderList

       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

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

      public MerchantCenterAccountLink.Builder setStateValue(int value)
       Output only. Represents the state of the link.
       
      .google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

       Output only. Represents the state of the link.
       
      .google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The state.
    • setState

       Output only. Represents the state of the link.
       
      .google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public MerchantCenterAccountLink.Builder clearState()
       Output only. Represents the state of the link.
       
      .google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getProjectId

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

      public com.google.protobuf.ByteString getProjectIdBytes()
       Output only. Google Cloud project ID.
       
      string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProjectIdBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public MerchantCenterAccountLink.Builder setProjectId(String value)
       Output only. Google Cloud project ID.
       
      string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public MerchantCenterAccountLink.Builder clearProjectId()
       Output only. Google Cloud project ID.
       
      string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public MerchantCenterAccountLink.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Output only. Google Cloud project ID.
       
      string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getSource

      public 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];
      Specified by:
      getSource in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public 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];
      Specified by:
      getSourceBytes in interface MerchantCenterAccountLinkOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public MerchantCenterAccountLink.Builder setSource(String value)
       Optional. An optional arbitrary string that could be used as a tag for
       tracking link source.
       
      string source = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public MerchantCenterAccountLink.Builder clearSource()
       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:
      This builder for chaining.
    • setSourceBytes

      public MerchantCenterAccountLink.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Optional. An optional arbitrary string that could be used as a tag for
       tracking link source.
       
      string source = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.