Class SmartCampaignSetting.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
com.google.ads.googleads.v18.resources.SmartCampaignSetting.Builder
All Implemented Interfaces:
SmartCampaignSettingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SmartCampaignSetting

public static final class SmartCampaignSetting.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder> implements SmartCampaignSettingOrBuilder
 Settings for configuring Smart campaigns.
 
Protobuf type google.ads.googleads.v18.resources.SmartCampaignSetting
  • Method Details

    • 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<SmartCampaignSetting.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<SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • getDefaultInstanceForType

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

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

      public SmartCampaignSetting buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<SmartCampaignSetting.Builder>
    • setField

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • clearField

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • clearOneof

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • setRepeatedField

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • addRepeatedField

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • mergeFrom

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
    • mergeFrom

    • isInitialized

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

      public SmartCampaignSetting.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<SmartCampaignSetting.Builder>
      Throws:
      IOException
    • getLandingPageCase

      public SmartCampaignSetting.LandingPageCase getLandingPageCase()
      Specified by:
      getLandingPageCase in interface SmartCampaignSettingOrBuilder
    • clearLandingPage

      public SmartCampaignSetting.Builder clearLandingPage()
    • getBusinessSettingCase

      public SmartCampaignSetting.BusinessSettingCase getBusinessSettingCase()
      Specified by:
      getBusinessSettingCase in interface SmartCampaignSettingOrBuilder
    • clearBusinessSetting

      public SmartCampaignSetting.Builder clearBusinessSetting()
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the Smart campaign setting.
       Smart campaign setting resource names have the form:
      
       `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface SmartCampaignSettingOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the Smart campaign setting.
       Smart campaign setting resource names have the form:
      
       `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface SmartCampaignSettingOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public SmartCampaignSetting.Builder setResourceName(String value)
       Immutable. The resource name of the Smart campaign setting.
       Smart campaign setting resource names have the form:
      
       `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public SmartCampaignSetting.Builder clearResourceName()
       Immutable. The resource name of the Smart campaign setting.
       Smart campaign setting resource names have the form:
      
       `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public SmartCampaignSetting.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the Smart campaign setting.
       Smart campaign setting resource names have the form:
      
       `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • getCampaign

      public String getCampaign()
       Output only. The campaign to which these settings apply.
       
      string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaign in interface SmartCampaignSettingOrBuilder
      Returns:
      The campaign.
    • getCampaignBytes

      public com.google.protobuf.ByteString getCampaignBytes()
       Output only. The campaign to which these settings apply.
       
      string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBytes in interface SmartCampaignSettingOrBuilder
      Returns:
      The bytes for campaign.
    • setCampaign

      public SmartCampaignSetting.Builder setCampaign(String value)
       Output only. The campaign to which these settings apply.
       
      string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The campaign to set.
      Returns:
      This builder for chaining.
    • clearCampaign

      public SmartCampaignSetting.Builder clearCampaign()
       Output only. The campaign to which these settings apply.
       
      string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCampaignBytes

      public SmartCampaignSetting.Builder setCampaignBytes(com.google.protobuf.ByteString value)
       Output only. The campaign to which these settings apply.
       
      string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for campaign to set.
      Returns:
      This builder for chaining.
    • hasPhoneNumber

      public boolean hasPhoneNumber()
       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
      Specified by:
      hasPhoneNumber in interface SmartCampaignSettingOrBuilder
      Returns:
      Whether the phoneNumber field is set.
    • getPhoneNumber

      public SmartCampaignSetting.PhoneNumber getPhoneNumber()
       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
      Specified by:
      getPhoneNumber in interface SmartCampaignSettingOrBuilder
      Returns:
      The phoneNumber.
    • setPhoneNumber

       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
    • setPhoneNumber

       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
    • mergePhoneNumber

       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
    • clearPhoneNumber

      public SmartCampaignSetting.Builder clearPhoneNumber()
       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
    • getPhoneNumberBuilder

      public SmartCampaignSetting.PhoneNumber.Builder getPhoneNumberBuilder()
       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
    • getPhoneNumberOrBuilder

      public SmartCampaignSetting.PhoneNumberOrBuilder getPhoneNumberOrBuilder()
       Phone number and country code.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
      Specified by:
      getPhoneNumberOrBuilder in interface SmartCampaignSettingOrBuilder
    • getAdvertisingLanguageCode

      public String getAdvertisingLanguageCode()
       The language code to advertise in from the set of
       [supported language codes]
       (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
       
      string advertising_language_code = 7;
      Specified by:
      getAdvertisingLanguageCode in interface SmartCampaignSettingOrBuilder
      Returns:
      The advertisingLanguageCode.
    • getAdvertisingLanguageCodeBytes

      public com.google.protobuf.ByteString getAdvertisingLanguageCodeBytes()
       The language code to advertise in from the set of
       [supported language codes]
       (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
       
      string advertising_language_code = 7;
      Specified by:
      getAdvertisingLanguageCodeBytes in interface SmartCampaignSettingOrBuilder
      Returns:
      The bytes for advertisingLanguageCode.
    • setAdvertisingLanguageCode

      public SmartCampaignSetting.Builder setAdvertisingLanguageCode(String value)
       The language code to advertise in from the set of
       [supported language codes]
       (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
       
      string advertising_language_code = 7;
      Parameters:
      value - The advertisingLanguageCode to set.
      Returns:
      This builder for chaining.
    • clearAdvertisingLanguageCode

      public SmartCampaignSetting.Builder clearAdvertisingLanguageCode()
       The language code to advertise in from the set of
       [supported language codes]
       (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
       
      string advertising_language_code = 7;
      Returns:
      This builder for chaining.
    • setAdvertisingLanguageCodeBytes

      public SmartCampaignSetting.Builder setAdvertisingLanguageCodeBytes(com.google.protobuf.ByteString value)
       The language code to advertise in from the set of
       [supported language codes]
       (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
       
      string advertising_language_code = 7;
      Parameters:
      value - The bytes for advertisingLanguageCode to set.
      Returns:
      This builder for chaining.
    • hasFinalUrl

      public boolean hasFinalUrl()
       The user-provided landing page URL for this Campaign.
       
      string final_url = 8;
      Specified by:
      hasFinalUrl in interface SmartCampaignSettingOrBuilder
      Returns:
      Whether the finalUrl field is set.
    • getFinalUrl

      public String getFinalUrl()
       The user-provided landing page URL for this Campaign.
       
      string final_url = 8;
      Specified by:
      getFinalUrl in interface SmartCampaignSettingOrBuilder
      Returns:
      The finalUrl.
    • getFinalUrlBytes

      public com.google.protobuf.ByteString getFinalUrlBytes()
       The user-provided landing page URL for this Campaign.
       
      string final_url = 8;
      Specified by:
      getFinalUrlBytes in interface SmartCampaignSettingOrBuilder
      Returns:
      The bytes for finalUrl.
    • setFinalUrl

      public SmartCampaignSetting.Builder setFinalUrl(String value)
       The user-provided landing page URL for this Campaign.
       
      string final_url = 8;
      Parameters:
      value - The finalUrl to set.
      Returns:
      This builder for chaining.
    • clearFinalUrl

      public SmartCampaignSetting.Builder clearFinalUrl()
       The user-provided landing page URL for this Campaign.
       
      string final_url = 8;
      Returns:
      This builder for chaining.
    • setFinalUrlBytes

      public SmartCampaignSetting.Builder setFinalUrlBytes(com.google.protobuf.ByteString value)
       The user-provided landing page URL for this Campaign.
       
      string final_url = 8;
      Parameters:
      value - The bytes for finalUrl to set.
      Returns:
      This builder for chaining.
    • hasAdOptimizedBusinessProfileSetting

      public boolean hasAdOptimizedBusinessProfileSetting()
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
      Specified by:
      hasAdOptimizedBusinessProfileSetting in interface SmartCampaignSettingOrBuilder
      Returns:
      Whether the adOptimizedBusinessProfileSetting field is set.
    • getAdOptimizedBusinessProfileSetting

      public SmartCampaignSetting.AdOptimizedBusinessProfileSetting getAdOptimizedBusinessProfileSetting()
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
      Specified by:
      getAdOptimizedBusinessProfileSetting in interface SmartCampaignSettingOrBuilder
      Returns:
      The adOptimizedBusinessProfileSetting.
    • setAdOptimizedBusinessProfileSetting

      public SmartCampaignSetting.Builder setAdOptimizedBusinessProfileSetting(SmartCampaignSetting.AdOptimizedBusinessProfileSetting value)
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
    • setAdOptimizedBusinessProfileSetting

      public SmartCampaignSetting.Builder setAdOptimizedBusinessProfileSetting(SmartCampaignSetting.AdOptimizedBusinessProfileSetting.Builder builderForValue)
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
    • mergeAdOptimizedBusinessProfileSetting

      public SmartCampaignSetting.Builder mergeAdOptimizedBusinessProfileSetting(SmartCampaignSetting.AdOptimizedBusinessProfileSetting value)
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
    • clearAdOptimizedBusinessProfileSetting

      public SmartCampaignSetting.Builder clearAdOptimizedBusinessProfileSetting()
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
    • getAdOptimizedBusinessProfileSettingBuilder

      public SmartCampaignSetting.AdOptimizedBusinessProfileSetting.Builder getAdOptimizedBusinessProfileSettingBuilder()
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
    • getAdOptimizedBusinessProfileSettingOrBuilder

      public SmartCampaignSetting.AdOptimizedBusinessProfileSettingOrBuilder getAdOptimizedBusinessProfileSettingOrBuilder()
       Settings for configuring a business profile optimized for ads as this
       campaign's landing page.  This campaign must be linked to a business
       profile to use this option.  For more information on this feature,
       consult https://support.google.com/google-ads/answer/9827068.
       
      .google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;
      Specified by:
      getAdOptimizedBusinessProfileSettingOrBuilder in interface SmartCampaignSettingOrBuilder
    • hasBusinessName

      public boolean hasBusinessName()
       The name of the business.
       
      string business_name = 5;
      Specified by:
      hasBusinessName in interface SmartCampaignSettingOrBuilder
      Returns:
      Whether the businessName field is set.
    • getBusinessName

      public String getBusinessName()
       The name of the business.
       
      string business_name = 5;
      Specified by:
      getBusinessName in interface SmartCampaignSettingOrBuilder
      Returns:
      The businessName.
    • getBusinessNameBytes

      public com.google.protobuf.ByteString getBusinessNameBytes()
       The name of the business.
       
      string business_name = 5;
      Specified by:
      getBusinessNameBytes in interface SmartCampaignSettingOrBuilder
      Returns:
      The bytes for businessName.
    • setBusinessName

      public SmartCampaignSetting.Builder setBusinessName(String value)
       The name of the business.
       
      string business_name = 5;
      Parameters:
      value - The businessName to set.
      Returns:
      This builder for chaining.
    • clearBusinessName

      public SmartCampaignSetting.Builder clearBusinessName()
       The name of the business.
       
      string business_name = 5;
      Returns:
      This builder for chaining.
    • setBusinessNameBytes

      public SmartCampaignSetting.Builder setBusinessNameBytes(com.google.protobuf.ByteString value)
       The name of the business.
       
      string business_name = 5;
      Parameters:
      value - The bytes for businessName to set.
      Returns:
      This builder for chaining.
    • hasBusinessProfileLocation

      public boolean hasBusinessProfileLocation()
       The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 10;
      Specified by:
      hasBusinessProfileLocation in interface SmartCampaignSettingOrBuilder
      Returns:
      Whether the businessProfileLocation field is set.
    • getBusinessProfileLocation

      public String getBusinessProfileLocation()
       The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 10;
      Specified by:
      getBusinessProfileLocation in interface SmartCampaignSettingOrBuilder
      Returns:
      The businessProfileLocation.
    • getBusinessProfileLocationBytes

      public com.google.protobuf.ByteString getBusinessProfileLocationBytes()
       The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 10;
      Specified by:
      getBusinessProfileLocationBytes in interface SmartCampaignSettingOrBuilder
      Returns:
      The bytes for businessProfileLocation.
    • setBusinessProfileLocation

      public SmartCampaignSetting.Builder setBusinessProfileLocation(String value)
       The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 10;
      Parameters:
      value - The businessProfileLocation to set.
      Returns:
      This builder for chaining.
    • clearBusinessProfileLocation

      public SmartCampaignSetting.Builder clearBusinessProfileLocation()
       The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 10;
      Returns:
      This builder for chaining.
    • setBusinessProfileLocationBytes

      public SmartCampaignSetting.Builder setBusinessProfileLocationBytes(com.google.protobuf.ByteString value)
       The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 10;
      Parameters:
      value - The bytes for businessProfileLocation to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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