Class MerchantCenterLink.Builder

  • All Implemented Interfaces:
    MerchantCenterLinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    MerchantCenterLink

    public static final class MerchantCenterLink.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
    implements MerchantCenterLinkOrBuilder
     Represents a link between a Merchant Center account and a branch.
     Once a link is established, products from the linked merchant center account
     will be streamed to the linked branch.
     
    Protobuf type google.cloud.retail.v2alpha.MerchantCenterLink
    • Method Detail

      • getDescriptor

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

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

        public MerchantCenterLink.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.GeneratedMessageV3.Builder<MerchantCenterLink.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.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • getDefaultInstanceForType

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

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

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

        public MerchantCenterLink.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • setField

        public MerchantCenterLink.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • clearField

        public MerchantCenterLink.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • clearOneof

        public MerchantCenterLink.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • setRepeatedField

        public MerchantCenterLink.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • addRepeatedField

        public MerchantCenterLink.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • mergeFrom

        public MerchantCenterLink.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<MerchantCenterLink.Builder>
      • isInitialized

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

        public MerchantCenterLink.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<MerchantCenterLink.Builder>
        Throws:
        IOException
      • 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 = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMerchantCenterAccountId in interface MerchantCenterLinkOrBuilder
        Returns:
        The merchantCenterAccountId.
      • setMerchantCenterAccountId

        public MerchantCenterLink.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 = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The merchantCenterAccountId to set.
        Returns:
        This builder for chaining.
      • clearMerchantCenterAccountId

        public MerchantCenterLink.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 = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getBranchId

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

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

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

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

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

        public com.google.protobuf.ProtocolStringList 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;
        Specified by:
        getDestinationsList in interface MerchantCenterLinkOrBuilder
        Returns:
        A list containing the destinations.
      • getDestinationsCount

        public 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;
        Specified by:
        getDestinationsCount in interface MerchantCenterLinkOrBuilder
        Returns:
        The count of destinations.
      • getDestinations

        public 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;
        Specified by:
        getDestinations in interface MerchantCenterLinkOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The destinations at the given index.
      • getDestinationsBytes

        public 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;
        Specified by:
        getDestinationsBytes in interface MerchantCenterLinkOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the destinations at the given index.
      • setDestinations

        public MerchantCenterLink.Builder setDestinations​(int index,
                                                          String value)
         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 to set the value at.
        value - The destinations to set.
        Returns:
        This builder for chaining.
      • addDestinations

        public MerchantCenterLink.Builder addDestinations​(String value)
         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:
        value - The destinations to add.
        Returns:
        This builder for chaining.
      • addAllDestinations

        public MerchantCenterLink.Builder addAllDestinations​(Iterable<String> values)
         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:
        values - The destinations to add.
        Returns:
        This builder for chaining.
      • clearDestinations

        public MerchantCenterLink.Builder clearDestinations()
         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:
        This builder for chaining.
      • addDestinationsBytes

        public MerchantCenterLink.Builder addDestinationsBytes​(com.google.protobuf.ByteString value)
         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:
        value - The bytes of the destinations to add.
        Returns:
        This builder for chaining.
      • getRegionCode

        public 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;
        Specified by:
        getRegionCode in interface MerchantCenterLinkOrBuilder
        Returns:
        The regionCode.
      • getRegionCodeBytes

        public 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;
        Specified by:
        getRegionCodeBytes in interface MerchantCenterLinkOrBuilder
        Returns:
        The bytes for regionCode.
      • setRegionCode

        public MerchantCenterLink.Builder setRegionCode​(String value)
         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;
        Parameters:
        value - The regionCode to set.
        Returns:
        This builder for chaining.
      • clearRegionCode

        public MerchantCenterLink.Builder clearRegionCode()
         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:
        This builder for chaining.
      • setRegionCodeBytes

        public MerchantCenterLink.Builder setRegionCodeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for regionCode 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 MerchantCenterLinkOrBuilder
        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 MerchantCenterLinkOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public MerchantCenterLink.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 MerchantCenterLink.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 MerchantCenterLink.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.
      • getFeedsList

        public List<MerchantCenterFeedFilter> 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;
        Specified by:
        getFeedsList in interface MerchantCenterLinkOrBuilder
      • getFeedsCount

        public 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;
        Specified by:
        getFeedsCount in interface MerchantCenterLinkOrBuilder
      • getFeeds

        public 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;
        Specified by:
        getFeeds in interface MerchantCenterLinkOrBuilder
      • setFeeds

        public MerchantCenterLink.Builder setFeeds​(int index,
                                                   MerchantCenterFeedFilter value)
         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;
      • setFeeds

        public MerchantCenterLink.Builder setFeeds​(int index,
                                                   MerchantCenterFeedFilter.Builder builderForValue)
         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;
      • addFeeds

        public MerchantCenterLink.Builder addFeeds​(MerchantCenterFeedFilter value)
         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;
      • addFeeds

        public MerchantCenterLink.Builder addFeeds​(int index,
                                                   MerchantCenterFeedFilter value)
         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;
      • addFeeds

        public MerchantCenterLink.Builder addFeeds​(MerchantCenterFeedFilter.Builder builderForValue)
         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;
      • addFeeds

        public MerchantCenterLink.Builder addFeeds​(int index,
                                                   MerchantCenterFeedFilter.Builder builderForValue)
         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;
      • addAllFeeds

        public MerchantCenterLink.Builder addAllFeeds​(Iterable<? extends MerchantCenterFeedFilter> values)
         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;
      • clearFeeds

        public MerchantCenterLink.Builder clearFeeds()
         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;
      • removeFeeds

        public MerchantCenterLink.Builder removeFeeds​(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;
      • getFeedsBuilder

        public MerchantCenterFeedFilter.Builder getFeedsBuilder​(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;
      • getFeedsOrBuilder

        public 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;
        Specified by:
        getFeedsOrBuilder in interface MerchantCenterLinkOrBuilder
      • getFeedsOrBuilderList

        public 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;
        Specified by:
        getFeedsOrBuilderList in interface MerchantCenterLinkOrBuilder
      • addFeedsBuilder

        public MerchantCenterFeedFilter.Builder addFeedsBuilder()
         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;
      • addFeedsBuilder

        public MerchantCenterFeedFilter.Builder addFeedsBuilder​(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;
      • getFeedsBuilderList

        public List<MerchantCenterFeedFilter.Builder> getFeedsBuilderList()
         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;
      • setUnknownFields

        public final MerchantCenterLink.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
      • mergeUnknownFields

        public final MerchantCenterLink.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>