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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Settings for configuring a business profile optimized for ads as this campaign's landing page.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).The name of the business.The resource name of a Business Profile location.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The user-provided landing page URL for this Campaign.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Phone number and country code.Immutable.clone()Settings for configuring a business profile optimized for ads as this campaign's landing page.Settings for configuring a business profile optimized for ads as this campaign's landing page.Settings for configuring a business profile optimized for ads as this campaign's landing page.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).com.google.protobuf.ByteStringThe language code to advertise in from the set of [supported language codes] (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).The name of the business.com.google.protobuf.ByteStringThe name of the business.The resource name of a Business Profile location.com.google.protobuf.ByteStringThe resource name of a Business Profile location.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe user-provided landing page URL for this Campaign.com.google.protobuf.ByteStringThe user-provided landing page URL for this Campaign.Phone number and country code.Phone number and country code.Phone number and country code.Immutable.com.google.protobuf.ByteStringImmutable.booleanSettings for configuring a business profile optimized for ads as this campaign's landing page.booleanThe name of the business.booleanThe resource name of a Business Profile location.booleanThe user-provided landing page URL for this Campaign.booleanPhone number and country code.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAdOptimizedBusinessProfileSetting(SmartCampaignSetting.AdOptimizedBusinessProfileSetting value) Settings for configuring a business profile optimized for ads as this campaign's landing page.mergeFrom(SmartCampaignSetting other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Phone number and country code.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Settings for configuring a business profile optimized for ads as this campaign's landing page.setAdOptimizedBusinessProfileSetting(SmartCampaignSetting.AdOptimizedBusinessProfileSetting.Builder builderForValue) Settings for configuring a business profile optimized for ads as this campaign's landing page.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).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).setBusinessName(String value) The name of the business.setBusinessNameBytes(com.google.protobuf.ByteString value) The name of the business.setBusinessProfileLocation(String value) The resource name of a Business Profile location.setBusinessProfileLocationBytes(com.google.protobuf.ByteString value) The resource name of a Business Profile location.setCampaign(String value) Output only.setCampaignBytes(com.google.protobuf.ByteString value) Output only.setFinalUrl(String value) The user-provided landing page URL for this Campaign.setFinalUrlBytes(com.google.protobuf.ByteString value) The user-provided landing page URL for this Campaign.Phone number and country code.setPhoneNumber(SmartCampaignSetting.PhoneNumber.Builder builderForValue) Phone number and country code.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
setField
public SmartCampaignSetting.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
clearField
public SmartCampaignSetting.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
clearOneof
public SmartCampaignSetting.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
setRepeatedField
public SmartCampaignSetting.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
addRepeatedField
public SmartCampaignSetting.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSetting.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSetting.Builder>- Throws:
IOException
-
getLandingPageCase
- Specified by:
getLandingPageCasein interfaceSmartCampaignSettingOrBuilder
-
clearLandingPage
-
getBusinessSettingCase
- Specified by:
getBusinessSettingCasein interfaceSmartCampaignSettingOrBuilder
-
clearBusinessSetting
-
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:
getResourceNamein interfaceSmartCampaignSettingOrBuilder- 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:
getResourceNameBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
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
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
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
Output only. The campaign to which these settings apply.
string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceSmartCampaignSettingOrBuilder- 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:
getCampaignBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
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
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
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:
hasPhoneNumberin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Specified by:
getPhoneNumberin interfaceSmartCampaignSettingOrBuilder- Returns:
- The phoneNumber.
-
setPhoneNumber
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; -
setPhoneNumber
public SmartCampaignSetting.Builder setPhoneNumber(SmartCampaignSetting.PhoneNumber.Builder builderForValue) 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
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; -
getPhoneNumberBuilder
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; -
getPhoneNumberOrBuilder
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Specified by:
getPhoneNumberOrBuilderin interfaceSmartCampaignSettingOrBuilder
-
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:
getAdvertisingLanguageCodein interfaceSmartCampaignSettingOrBuilder- 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:
getAdvertisingLanguageCodeBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for advertisingLanguageCode.
-
setAdvertisingLanguageCode
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
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:
hasFinalUrlin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the finalUrl field is set.
-
getFinalUrl
The user-provided landing page URL for this Campaign.
string final_url = 8;- Specified by:
getFinalUrlin interfaceSmartCampaignSettingOrBuilder- 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:
getFinalUrlBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for finalUrl.
-
setFinalUrl
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
The user-provided landing page URL for this Campaign.
string final_url = 8;- Returns:
- This builder for chaining.
-
setFinalUrlBytes
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:
hasAdOptimizedBusinessProfileSettingin interfaceSmartCampaignSettingOrBuilder- 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:
getAdOptimizedBusinessProfileSettingin interfaceSmartCampaignSettingOrBuilder- 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
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:
getAdOptimizedBusinessProfileSettingOrBuilderin interfaceSmartCampaignSettingOrBuilder
-
hasBusinessName
public boolean hasBusinessName()The name of the business.
string business_name = 5;- Specified by:
hasBusinessNamein interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
The name of the business.
string business_name = 5;- Specified by:
getBusinessNamein interfaceSmartCampaignSettingOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()The name of the business.
string business_name = 5;- Specified by:
getBusinessNameBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for businessName.
-
setBusinessName
The name of the business.
string business_name = 5;- Parameters:
value- The businessName to set.- Returns:
- This builder for chaining.
-
clearBusinessName
The name of the business.
string business_name = 5;- Returns:
- This builder for chaining.
-
setBusinessNameBytes
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:
hasBusinessProfileLocationin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the businessProfileLocation field is set.
-
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:
getBusinessProfileLocationin interfaceSmartCampaignSettingOrBuilder- 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:
getBusinessProfileLocationBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for businessProfileLocation.
-
setBusinessProfileLocation
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-
mergeUnknownFields
public final SmartCampaignSetting.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSetting.Builder>
-