Class ResponsiveSearchAdInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
- com.google.ads.googleads.v10.common.ResponsiveSearchAdInfo.Builder
-
- All Implemented Interfaces:
ResponsiveSearchAdInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ResponsiveSearchAdInfo
public static final class ResponsiveSearchAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder> implements ResponsiveSearchAdInfoOrBuilder
A responsive search ad. Responsive search ads let you create an ad that adapts to show more text, and more relevant messages, to your customers. Enter multiple headlines and descriptions when creating a responsive search ad, and over time, Google Ads will automatically test different combinations and learn which combinations perform best. By adapting your ad's content to more closely match potential customers' search terms, responsive search ads may improve your campaign's performance. More information at https://support.google.com/google-ads/answer/7684791
Protobuf typegoogle.ads.googleads.v10.common.ResponsiveSearchAdInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsiveSearchAdInfo.BuilderaddAllDescriptions(java.lang.Iterable<? extends AdTextAsset> values)List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderaddAllHeadlines(java.lang.Iterable<? extends AdTextAsset> values)List of text assets for headlines.ResponsiveSearchAdInfo.BuilderaddDescriptions(int index, AdTextAsset value)List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderaddDescriptions(int index, AdTextAsset.Builder builderForValue)List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderaddDescriptions(AdTextAsset value)List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderaddDescriptions(AdTextAsset.Builder builderForValue)List of text assets for descriptions.AdTextAsset.BuilderaddDescriptionsBuilder()List of text assets for descriptions.AdTextAsset.BuilderaddDescriptionsBuilder(int index)List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderaddHeadlines(int index, AdTextAsset value)List of text assets for headlines.ResponsiveSearchAdInfo.BuilderaddHeadlines(int index, AdTextAsset.Builder builderForValue)List of text assets for headlines.ResponsiveSearchAdInfo.BuilderaddHeadlines(AdTextAsset value)List of text assets for headlines.ResponsiveSearchAdInfo.BuilderaddHeadlines(AdTextAsset.Builder builderForValue)List of text assets for headlines.AdTextAsset.BuilderaddHeadlinesBuilder()List of text assets for headlines.AdTextAsset.BuilderaddHeadlinesBuilder(int index)List of text assets for headlines.ResponsiveSearchAdInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ResponsiveSearchAdInfobuild()ResponsiveSearchAdInfobuildPartial()ResponsiveSearchAdInfo.Builderclear()ResponsiveSearchAdInfo.BuilderclearDescriptions()List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ResponsiveSearchAdInfo.BuilderclearHeadlines()List of text assets for headlines.ResponsiveSearchAdInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ResponsiveSearchAdInfo.BuilderclearPath1()First part of text that can be appended to the URL in the ad.ResponsiveSearchAdInfo.BuilderclearPath2()Second part of text that can be appended to the URL in the ad.ResponsiveSearchAdInfo.Builderclone()ResponsiveSearchAdInfogetDefaultInstanceForType()AdTextAssetgetDescriptions(int index)List of text assets for descriptions.AdTextAsset.BuildergetDescriptionsBuilder(int index)List of text assets for descriptions.java.util.List<AdTextAsset.Builder>getDescriptionsBuilderList()List of text assets for descriptions.intgetDescriptionsCount()List of text assets for descriptions.java.util.List<AdTextAsset>getDescriptionsList()List of text assets for descriptions.AdTextAssetOrBuildergetDescriptionsOrBuilder(int index)List of text assets for descriptions.java.util.List<? extends AdTextAssetOrBuilder>getDescriptionsOrBuilderList()List of text assets for descriptions.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AdTextAssetgetHeadlines(int index)List of text assets for headlines.AdTextAsset.BuildergetHeadlinesBuilder(int index)List of text assets for headlines.java.util.List<AdTextAsset.Builder>getHeadlinesBuilderList()List of text assets for headlines.intgetHeadlinesCount()List of text assets for headlines.java.util.List<AdTextAsset>getHeadlinesList()List of text assets for headlines.AdTextAssetOrBuildergetHeadlinesOrBuilder(int index)List of text assets for headlines.java.util.List<? extends AdTextAssetOrBuilder>getHeadlinesOrBuilderList()List of text assets for headlines.java.lang.StringgetPath1()First part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath1Bytes()First part of text that can be appended to the URL in the ad.java.lang.StringgetPath2()Second part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath2Bytes()Second part of text that can be appended to the URL in the ad.booleanhasPath1()First part of text that can be appended to the URL in the ad.booleanhasPath2()Second part of text that can be appended to the URL in the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ResponsiveSearchAdInfo.BuildermergeFrom(ResponsiveSearchAdInfo other)ResponsiveSearchAdInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResponsiveSearchAdInfo.BuildermergeFrom(com.google.protobuf.Message other)ResponsiveSearchAdInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ResponsiveSearchAdInfo.BuilderremoveDescriptions(int index)List of text assets for descriptions.ResponsiveSearchAdInfo.BuilderremoveHeadlines(int index)List of text assets for headlines.ResponsiveSearchAdInfo.BuildersetDescriptions(int index, AdTextAsset value)List of text assets for descriptions.ResponsiveSearchAdInfo.BuildersetDescriptions(int index, AdTextAsset.Builder builderForValue)List of text assets for descriptions.ResponsiveSearchAdInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ResponsiveSearchAdInfo.BuildersetHeadlines(int index, AdTextAsset value)List of text assets for headlines.ResponsiveSearchAdInfo.BuildersetHeadlines(int index, AdTextAsset.Builder builderForValue)List of text assets for headlines.ResponsiveSearchAdInfo.BuildersetPath1(java.lang.String value)First part of text that can be appended to the URL in the ad.ResponsiveSearchAdInfo.BuildersetPath1Bytes(com.google.protobuf.ByteString value)First part of text that can be appended to the URL in the ad.ResponsiveSearchAdInfo.BuildersetPath2(java.lang.String value)Second part of text that can be appended to the URL in the ad.ResponsiveSearchAdInfo.BuildersetPath2Bytes(com.google.protobuf.ByteString value)Second part of text that can be appended to the URL in the ad.ResponsiveSearchAdInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ResponsiveSearchAdInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<ResponsiveSearchAdInfo.Builder>
-
clear
public ResponsiveSearchAdInfo.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<ResponsiveSearchAdInfo.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<ResponsiveSearchAdInfo.Builder>
-
getDefaultInstanceForType
public ResponsiveSearchAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResponsiveSearchAdInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResponsiveSearchAdInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ResponsiveSearchAdInfo.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<ResponsiveSearchAdInfo.Builder>
-
setField
public ResponsiveSearchAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
clearField
public ResponsiveSearchAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
clearOneof
public ResponsiveSearchAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
setRepeatedField
public ResponsiveSearchAdInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
addRepeatedField
public ResponsiveSearchAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
mergeFrom
public ResponsiveSearchAdInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponsiveSearchAdInfo.Builder>
-
mergeFrom
public ResponsiveSearchAdInfo.Builder mergeFrom(ResponsiveSearchAdInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
mergeFrom
public ResponsiveSearchAdInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponsiveSearchAdInfo.Builder>- Throws:
java.io.IOException
-
getHeadlinesList
public java.util.List<AdTextAsset> getHeadlinesList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesListin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesCountin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlines
public AdTextAsset getHeadlines(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesin interfaceResponsiveSearchAdInfoOrBuilder
-
setHeadlines
public ResponsiveSearchAdInfo.Builder setHeadlines(int index, AdTextAsset value)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
setHeadlines
public ResponsiveSearchAdInfo.Builder setHeadlines(int index, AdTextAsset.Builder builderForValue)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
addHeadlines
public ResponsiveSearchAdInfo.Builder addHeadlines(AdTextAsset value)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
addHeadlines
public ResponsiveSearchAdInfo.Builder addHeadlines(int index, AdTextAsset value)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
addHeadlines
public ResponsiveSearchAdInfo.Builder addHeadlines(AdTextAsset.Builder builderForValue)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
addHeadlines
public ResponsiveSearchAdInfo.Builder addHeadlines(int index, AdTextAsset.Builder builderForValue)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
addAllHeadlines
public ResponsiveSearchAdInfo.Builder addAllHeadlines(java.lang.Iterable<? extends AdTextAsset> values)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
clearHeadlines
public ResponsiveSearchAdInfo.Builder clearHeadlines()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
removeHeadlines
public ResponsiveSearchAdInfo.Builder removeHeadlines(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
getHeadlinesBuilder
public AdTextAsset.Builder getHeadlinesBuilder(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
getHeadlinesOrBuilder
public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderListin interfaceResponsiveSearchAdInfoOrBuilder
-
addHeadlinesBuilder
public AdTextAsset.Builder addHeadlinesBuilder()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
addHeadlinesBuilder
public AdTextAsset.Builder addHeadlinesBuilder(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
getHeadlinesBuilderList
public java.util.List<AdTextAsset.Builder> getHeadlinesBuilderList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
-
getDescriptionsList
public java.util.List<AdTextAsset> getDescriptionsList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsListin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsCountin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptions
public AdTextAsset getDescriptions(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsin interfaceResponsiveSearchAdInfoOrBuilder
-
setDescriptions
public ResponsiveSearchAdInfo.Builder setDescriptions(int index, AdTextAsset value)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
setDescriptions
public ResponsiveSearchAdInfo.Builder setDescriptions(int index, AdTextAsset.Builder builderForValue)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
addDescriptions
public ResponsiveSearchAdInfo.Builder addDescriptions(AdTextAsset value)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
addDescriptions
public ResponsiveSearchAdInfo.Builder addDescriptions(int index, AdTextAsset value)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
addDescriptions
public ResponsiveSearchAdInfo.Builder addDescriptions(AdTextAsset.Builder builderForValue)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
addDescriptions
public ResponsiveSearchAdInfo.Builder addDescriptions(int index, AdTextAsset.Builder builderForValue)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
addAllDescriptions
public ResponsiveSearchAdInfo.Builder addAllDescriptions(java.lang.Iterable<? extends AdTextAsset> values)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
clearDescriptions
public ResponsiveSearchAdInfo.Builder clearDescriptions()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
removeDescriptions
public ResponsiveSearchAdInfo.Builder removeDescriptions(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
getDescriptionsBuilder
public AdTextAsset.Builder getDescriptionsBuilder(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
getDescriptionsOrBuilder
public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderListin interfaceResponsiveSearchAdInfoOrBuilder
-
addDescriptionsBuilder
public AdTextAsset.Builder addDescriptionsBuilder()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
addDescriptionsBuilder
public AdTextAsset.Builder addDescriptionsBuilder(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
getDescriptionsBuilderList
public java.util.List<AdTextAsset.Builder> getDescriptionsBuilderList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
-
hasPath1
public boolean hasPath1()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Specified by:
hasPath1in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- Whether the path1 field is set.
-
getPath1
public java.lang.String getPath1()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Specified by:
getPath1in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Specified by:
getPath1Bytesin interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The bytes for path1.
-
setPath1
public ResponsiveSearchAdInfo.Builder setPath1(java.lang.String value)
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Parameters:
value- The path1 to set.- Returns:
- This builder for chaining.
-
clearPath1
public ResponsiveSearchAdInfo.Builder clearPath1()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Returns:
- This builder for chaining.
-
setPath1Bytes
public ResponsiveSearchAdInfo.Builder setPath1Bytes(com.google.protobuf.ByteString value)
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Parameters:
value- The bytes for path1 to set.- Returns:
- This builder for chaining.
-
hasPath2
public boolean hasPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Specified by:
hasPath2in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- Whether the path2 field is set.
-
getPath2
public java.lang.String getPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Specified by:
getPath2in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Specified by:
getPath2Bytesin interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The bytes for path2.
-
setPath2
public ResponsiveSearchAdInfo.Builder setPath2(java.lang.String value)
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Parameters:
value- The path2 to set.- Returns:
- This builder for chaining.
-
clearPath2
public ResponsiveSearchAdInfo.Builder clearPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Returns:
- This builder for chaining.
-
setPath2Bytes
public ResponsiveSearchAdInfo.Builder setPath2Bytes(com.google.protobuf.ByteString value)
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Parameters:
value- The bytes for path2 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ResponsiveSearchAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
mergeUnknownFields
public final ResponsiveSearchAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResponsiveSearchAdInfo.Builder>
-
-