Class 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.GeneratedMessageV3.Builder<MerchantCenterAccountLink.Builder>
    implements MerchantCenterAccountLinkOrBuilder
     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.MerchantCenterAccountLink
    • 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<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.GeneratedMessageV3.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
      • setRepeatedField

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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

        public MerchantCenterAccountLink.Builder 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

        public MerchantCenterAccountLink.Builder setId​(String 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 id to set.
        Returns:
        This builder for chaining.
      • clearId

        public MerchantCenterAccountLink.Builder 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.
      • 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
      • setFeedFilters

        public MerchantCenterAccountLink.Builder setFeedFilters​(int index,
                                                                MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
      • addFeedFilters

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

        public MerchantCenterAccountLink.Builder addFeedFilters​(int index,
                                                                MerchantCenterAccountLink.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.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;
      • addFeedFiltersBuilder

        public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder 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

        public List<MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder> 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.
      • setState

        public MerchantCenterAccountLink.Builder setState​(MerchantCenterAccountLink.State 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 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.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         Output only. GCP 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. GCP 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. GCP 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. GCP 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.
      • setUnknownFields

        public final MerchantCenterAccountLink.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<MerchantCenterAccountLink.Builder>
      • mergeUnknownFields

        public final MerchantCenterAccountLink.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<MerchantCenterAccountLink.Builder>