Class SmartCampaignSuggestionInfo.Builder

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

public static final class SmartCampaignSuggestionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder> implements SmartCampaignSuggestionInfoOrBuilder
 Information needed to get suggestion for Smart Campaign. More information
 provided will help the system to derive better suggestions.
 
Protobuf type google.ads.googleads.v18.services.SmartCampaignSuggestionInfo
  • 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<SmartCampaignSuggestionInfo.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<SmartCampaignSuggestionInfo.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<SmartCampaignSuggestionInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SmartCampaignSuggestionInfo 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<SmartCampaignSuggestionInfo.Builder>
    • setField

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

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

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

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

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

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

      public SmartCampaignSuggestionInfo.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<SmartCampaignSuggestionInfo.Builder>
      Throws:
      IOException
    • getBusinessSettingCase

      public SmartCampaignSuggestionInfo.BusinessSettingCase getBusinessSettingCase()
      Specified by:
      getBusinessSettingCase in interface SmartCampaignSuggestionInfoOrBuilder
    • clearBusinessSetting

      public SmartCampaignSuggestionInfo.Builder clearBusinessSetting()
    • getGeoTargetCase

      public SmartCampaignSuggestionInfo.GeoTargetCase getGeoTargetCase()
      Specified by:
      getGeoTargetCase in interface SmartCampaignSuggestionInfoOrBuilder
    • clearGeoTarget

      public SmartCampaignSuggestionInfo.Builder clearGeoTarget()
    • getFinalUrl

      public String getFinalUrl()
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUrl in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The finalUrl.
    • getFinalUrlBytes

      public com.google.protobuf.ByteString getFinalUrlBytes()
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUrlBytes in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The bytes for finalUrl.
    • setFinalUrl

      public SmartCampaignSuggestionInfo.Builder setFinalUrl(String value)
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The finalUrl to set.
      Returns:
      This builder for chaining.
    • clearFinalUrl

      public SmartCampaignSuggestionInfo.Builder clearFinalUrl()
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFinalUrlBytes

      public SmartCampaignSuggestionInfo.Builder setFinalUrlBytes(com.google.protobuf.ByteString value)
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for finalUrl to set.
      Returns:
      This builder for chaining.
    • getLanguageCode

      public String getLanguageCode()
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCode in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodeBytes in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public SmartCampaignSuggestionInfo.Builder setLanguageCode(String value)
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public SmartCampaignSuggestionInfo.Builder clearLanguageCode()
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public SmartCampaignSuggestionInfo.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • getAdSchedulesList

      public List<AdScheduleInfo> getAdSchedulesList()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesList in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedulesCount

      public int getAdSchedulesCount()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesCount in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedules

      public AdScheduleInfo getAdSchedules(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedules in interface SmartCampaignSuggestionInfoOrBuilder
    • setAdSchedules

      public SmartCampaignSuggestionInfo.Builder setAdSchedules(int index, AdScheduleInfo value)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setAdSchedules

      public SmartCampaignSuggestionInfo.Builder setAdSchedules(int index, AdScheduleInfo.Builder builderForValue)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAdSchedules

      public SmartCampaignSuggestionInfo.Builder addAdSchedules(AdScheduleInfo value)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAdSchedules

      public SmartCampaignSuggestionInfo.Builder addAdSchedules(int index, AdScheduleInfo value)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAdSchedules

      public SmartCampaignSuggestionInfo.Builder addAdSchedules(AdScheduleInfo.Builder builderForValue)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAdSchedules

      public SmartCampaignSuggestionInfo.Builder addAdSchedules(int index, AdScheduleInfo.Builder builderForValue)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAdSchedules

      public SmartCampaignSuggestionInfo.Builder addAllAdSchedules(Iterable<? extends AdScheduleInfo> values)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearAdSchedules

      public SmartCampaignSuggestionInfo.Builder clearAdSchedules()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • removeAdSchedules

      public SmartCampaignSuggestionInfo.Builder removeAdSchedules(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getAdSchedulesBuilder

      public AdScheduleInfo.Builder getAdSchedulesBuilder(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getAdSchedulesOrBuilder

      public AdScheduleInfoOrBuilder getAdSchedulesOrBuilder(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedulesOrBuilderList

      public List<? extends AdScheduleInfoOrBuilder> getAdSchedulesOrBuilderList()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesOrBuilderList in interface SmartCampaignSuggestionInfoOrBuilder
    • addAdSchedulesBuilder

      public AdScheduleInfo.Builder addAdSchedulesBuilder()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • addAdSchedulesBuilder

      public AdScheduleInfo.Builder addAdSchedulesBuilder(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getAdSchedulesBuilderList

      public List<AdScheduleInfo.Builder> getAdSchedulesBuilderList()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordThemesList

      public List<KeywordThemeInfo> getKeywordThemesList()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesList in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemesCount

      public int getKeywordThemesCount()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesCount in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemes

      public KeywordThemeInfo getKeywordThemes(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemes in interface SmartCampaignSuggestionInfoOrBuilder
    • setKeywordThemes

      public SmartCampaignSuggestionInfo.Builder setKeywordThemes(int index, KeywordThemeInfo value)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setKeywordThemes

      public SmartCampaignSuggestionInfo.Builder setKeywordThemes(int index, KeywordThemeInfo.Builder builderForValue)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addKeywordThemes

      public SmartCampaignSuggestionInfo.Builder addKeywordThemes(KeywordThemeInfo value)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addKeywordThemes

      public SmartCampaignSuggestionInfo.Builder addKeywordThemes(int index, KeywordThemeInfo value)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addKeywordThemes

      public SmartCampaignSuggestionInfo.Builder addKeywordThemes(KeywordThemeInfo.Builder builderForValue)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addKeywordThemes

      public SmartCampaignSuggestionInfo.Builder addKeywordThemes(int index, KeywordThemeInfo.Builder builderForValue)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addAllKeywordThemes

      public SmartCampaignSuggestionInfo.Builder addAllKeywordThemes(Iterable<? extends KeywordThemeInfo> values)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearKeywordThemes

      public SmartCampaignSuggestionInfo.Builder clearKeywordThemes()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • removeKeywordThemes

      public SmartCampaignSuggestionInfo.Builder removeKeywordThemes(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordThemesBuilder

      public KeywordThemeInfo.Builder getKeywordThemesBuilder(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordThemesOrBuilder

      public KeywordThemeInfoOrBuilder getKeywordThemesOrBuilder(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemesOrBuilderList

      public List<? extends KeywordThemeInfoOrBuilder> getKeywordThemesOrBuilderList()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesOrBuilderList in interface SmartCampaignSuggestionInfoOrBuilder
    • addKeywordThemesBuilder

      public KeywordThemeInfo.Builder addKeywordThemesBuilder()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • addKeywordThemesBuilder

      public KeywordThemeInfo.Builder addKeywordThemesBuilder(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getKeywordThemesBuilderList

      public List<KeywordThemeInfo.Builder> getKeywordThemesBuilderList()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
    • hasBusinessContext

      public boolean hasBusinessContext()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBusinessContext in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the businessContext field is set.
    • getBusinessContext

      public SmartCampaignSuggestionInfo.BusinessContext getBusinessContext()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessContext in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The businessContext.
    • setBusinessContext

       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setBusinessContext

       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBusinessContext

       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearBusinessContext

      public SmartCampaignSuggestionInfo.Builder clearBusinessContext()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getBusinessContextBuilder

      public SmartCampaignSuggestionInfo.BusinessContext.Builder getBusinessContextBuilder()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getBusinessContextOrBuilder

      public SmartCampaignSuggestionInfo.BusinessContextOrBuilder getBusinessContextOrBuilder()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessContextOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • hasBusinessProfileLocation

      public boolean hasBusinessProfileLocation()
       Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBusinessProfileLocation in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the businessProfileLocation field is set.
    • getBusinessProfileLocation

      public String getBusinessProfileLocation()
       Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessProfileLocation in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The businessProfileLocation.
    • getBusinessProfileLocationBytes

      public com.google.protobuf.ByteString getBusinessProfileLocationBytes()
       Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessProfileLocationBytes in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The bytes for businessProfileLocation.
    • setBusinessProfileLocation

      public SmartCampaignSuggestionInfo.Builder setBusinessProfileLocation(String value)
       Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The businessProfileLocation to set.
      Returns:
      This builder for chaining.
    • clearBusinessProfileLocation

      public SmartCampaignSuggestionInfo.Builder clearBusinessProfileLocation()
       Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setBusinessProfileLocationBytes

      public SmartCampaignSuggestionInfo.Builder setBusinessProfileLocationBytes(com.google.protobuf.ByteString value)
       Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for businessProfileLocation to set.
      Returns:
      This builder for chaining.
    • hasLocationList

      public boolean hasLocationList()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLocationList in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the locationList field is set.
    • getLocationList

      public SmartCampaignSuggestionInfo.LocationList getLocationList()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationList in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The locationList.
    • setLocationList

       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setLocationList

       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeLocationList

       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearLocationList

      public SmartCampaignSuggestionInfo.Builder clearLocationList()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLocationListBuilder

      public SmartCampaignSuggestionInfo.LocationList.Builder getLocationListBuilder()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLocationListOrBuilder

      public SmartCampaignSuggestionInfo.LocationListOrBuilder getLocationListOrBuilder()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationListOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • hasProximity

      public boolean hasProximity()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProximity in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the proximity field is set.
    • getProximity

      public ProximityInfo getProximity()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProximity in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The proximity.
    • setProximity

       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setProximity

      public SmartCampaignSuggestionInfo.Builder setProximity(ProximityInfo.Builder builderForValue)
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProximity

      public SmartCampaignSuggestionInfo.Builder mergeProximity(ProximityInfo value)
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearProximity

      public SmartCampaignSuggestionInfo.Builder clearProximity()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getProximityBuilder

      public ProximityInfo.Builder getProximityBuilder()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getProximityOrBuilder

      public ProximityInfoOrBuilder getProximityOrBuilder()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProximityOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • setUnknownFields

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

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