Class LocalAdInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
com.google.ads.googleads.v18.common.LocalAdInfo.Builder
- All Implemented Interfaces:
LocalAdInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LocalAdInfo
public static final class LocalAdInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
implements LocalAdInfoOrBuilder
A local ad.Protobuf type
google.ads.googleads.v18.common.LocalAdInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllCallToActions(Iterable<? extends AdTextAsset> values) List of text assets for call-to-actions.addAllDescriptions(Iterable<? extends AdTextAsset> values) List of text assets for descriptions.addAllHeadlines(Iterable<? extends AdTextAsset> values) List of text assets for headlines.addAllLogoImages(Iterable<? extends AdImageAsset> values) List of logo image assets that may be displayed with the ad.addAllMarketingImages(Iterable<? extends AdImageAsset> values) List of marketing image assets that may be displayed with the ad.addAllVideos(Iterable<? extends AdVideoAsset> values) List of YouTube video assets that may be displayed with the ad.addCallToActions(int index, AdTextAsset value) List of text assets for call-to-actions.addCallToActions(int index, AdTextAsset.Builder builderForValue) List of text assets for call-to-actions.addCallToActions(AdTextAsset value) List of text assets for call-to-actions.addCallToActions(AdTextAsset.Builder builderForValue) List of text assets for call-to-actions.List of text assets for call-to-actions.addCallToActionsBuilder(int index) List of text assets for call-to-actions.addDescriptions(int index, AdTextAsset value) List of text assets for descriptions.addDescriptions(int index, AdTextAsset.Builder builderForValue) List of text assets for descriptions.addDescriptions(AdTextAsset value) List of text assets for descriptions.addDescriptions(AdTextAsset.Builder builderForValue) List of text assets for descriptions.List of text assets for descriptions.addDescriptionsBuilder(int index) List of text assets for descriptions.addHeadlines(int index, AdTextAsset value) List of text assets for headlines.addHeadlines(int index, AdTextAsset.Builder builderForValue) List of text assets for headlines.addHeadlines(AdTextAsset value) List of text assets for headlines.addHeadlines(AdTextAsset.Builder builderForValue) List of text assets for headlines.List of text assets for headlines.addHeadlinesBuilder(int index) List of text assets for headlines.addLogoImages(int index, AdImageAsset value) List of logo image assets that may be displayed with the ad.addLogoImages(int index, AdImageAsset.Builder builderForValue) List of logo image assets that may be displayed with the ad.addLogoImages(AdImageAsset value) List of logo image assets that may be displayed with the ad.addLogoImages(AdImageAsset.Builder builderForValue) List of logo image assets that may be displayed with the ad.List of logo image assets that may be displayed with the ad.addLogoImagesBuilder(int index) List of logo image assets that may be displayed with the ad.addMarketingImages(int index, AdImageAsset value) List of marketing image assets that may be displayed with the ad.addMarketingImages(int index, AdImageAsset.Builder builderForValue) List of marketing image assets that may be displayed with the ad.addMarketingImages(AdImageAsset value) List of marketing image assets that may be displayed with the ad.addMarketingImages(AdImageAsset.Builder builderForValue) List of marketing image assets that may be displayed with the ad.List of marketing image assets that may be displayed with the ad.addMarketingImagesBuilder(int index) List of marketing image assets that may be displayed with the ad.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVideos(int index, AdVideoAsset value) List of YouTube video assets that may be displayed with the ad.addVideos(int index, AdVideoAsset.Builder builderForValue) List of YouTube video assets that may be displayed with the ad.addVideos(AdVideoAsset value) List of YouTube video assets that may be displayed with the ad.addVideos(AdVideoAsset.Builder builderForValue) List of YouTube video assets that may be displayed with the ad.List of YouTube video assets that may be displayed with the ad.addVideosBuilder(int index) List of YouTube video assets that may be displayed with the ad.build()clear()List of text assets for call-to-actions.List of text assets for descriptions.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) List of text assets for headlines.List of logo image assets that may be displayed with the ad.List of marketing image assets that may be displayed with the ad.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) First part of optional text that can be appended to the URL in the ad.Second part of optional text that can be appended to the URL in the ad.List of YouTube video assets that may be displayed with the ad.clone()getCallToActions(int index) List of text assets for call-to-actions.getCallToActionsBuilder(int index) List of text assets for call-to-actions.List of text assets for call-to-actions.intList of text assets for call-to-actions.List of text assets for call-to-actions.getCallToActionsOrBuilder(int index) List of text assets for call-to-actions.List<? extends AdTextAssetOrBuilder>List of text assets for call-to-actions.getDescriptions(int index) List of text assets for descriptions.getDescriptionsBuilder(int index) List of text assets for descriptions.List of text assets for descriptions.intList of text assets for descriptions.List of text assets for descriptions.getDescriptionsOrBuilder(int index) List of text assets for descriptions.List<? extends AdTextAssetOrBuilder>List of text assets for descriptions.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHeadlines(int index) List of text assets for headlines.getHeadlinesBuilder(int index) List of text assets for headlines.List of text assets for headlines.intList of text assets for headlines.List of text assets for headlines.getHeadlinesOrBuilder(int index) List of text assets for headlines.List<? extends AdTextAssetOrBuilder>List of text assets for headlines.getLogoImages(int index) List of logo image assets that may be displayed with the ad.getLogoImagesBuilder(int index) List of logo image assets that may be displayed with the ad.List of logo image assets that may be displayed with the ad.intList of logo image assets that may be displayed with the ad.List of logo image assets that may be displayed with the ad.getLogoImagesOrBuilder(int index) List of logo image assets that may be displayed with the ad.List<? extends AdImageAssetOrBuilder>List of logo image assets that may be displayed with the ad.getMarketingImages(int index) List of marketing image assets that may be displayed with the ad.getMarketingImagesBuilder(int index) List of marketing image assets that may be displayed with the ad.List of marketing image assets that may be displayed with the ad.intList of marketing image assets that may be displayed with the ad.List of marketing image assets that may be displayed with the ad.getMarketingImagesOrBuilder(int index) List of marketing image assets that may be displayed with the ad.List<? extends AdImageAssetOrBuilder>List of marketing image assets that may be displayed with the ad.getPath1()First part of optional text that can be appended to the URL in the ad.com.google.protobuf.ByteStringFirst part of optional text that can be appended to the URL in the ad.getPath2()Second part of optional text that can be appended to the URL in the ad.com.google.protobuf.ByteStringSecond part of optional text that can be appended to the URL in the ad.getVideos(int index) List of YouTube video assets that may be displayed with the ad.getVideosBuilder(int index) List of YouTube video assets that may be displayed with the ad.List of YouTube video assets that may be displayed with the ad.intList of YouTube video assets that may be displayed with the ad.List of YouTube video assets that may be displayed with the ad.getVideosOrBuilder(int index) List of YouTube video assets that may be displayed with the ad.List<? extends AdVideoAssetOrBuilder>List of YouTube video assets that may be displayed with the ad.booleanhasPath1()First part of optional text that can be appended to the URL in the ad.booleanhasPath2()Second part of optional text that can be appended to the URL in the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(LocalAdInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final LocalAdInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCallToActions(int index) List of text assets for call-to-actions.removeDescriptions(int index) List of text assets for descriptions.removeHeadlines(int index) List of text assets for headlines.removeLogoImages(int index) List of logo image assets that may be displayed with the ad.removeMarketingImages(int index) List of marketing image assets that may be displayed with the ad.removeVideos(int index) List of YouTube video assets that may be displayed with the ad.setCallToActions(int index, AdTextAsset value) List of text assets for call-to-actions.setCallToActions(int index, AdTextAsset.Builder builderForValue) List of text assets for call-to-actions.setDescriptions(int index, AdTextAsset value) List of text assets for descriptions.setDescriptions(int index, AdTextAsset.Builder builderForValue) List of text assets for descriptions.setHeadlines(int index, AdTextAsset value) List of text assets for headlines.setHeadlines(int index, AdTextAsset.Builder builderForValue) List of text assets for headlines.setLogoImages(int index, AdImageAsset value) List of logo image assets that may be displayed with the ad.setLogoImages(int index, AdImageAsset.Builder builderForValue) List of logo image assets that may be displayed with the ad.setMarketingImages(int index, AdImageAsset value) List of marketing image assets that may be displayed with the ad.setMarketingImages(int index, AdImageAsset.Builder builderForValue) List of marketing image assets that may be displayed with the ad.First part of optional text that can be appended to the URL in the ad.setPath1Bytes(com.google.protobuf.ByteString value) First part of optional text that can be appended to the URL in the ad.Second part of optional text that can be appended to the URL in the ad.setPath2Bytes(com.google.protobuf.ByteString value) Second part of optional text that can be appended to the URL in the ad.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final LocalAdInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVideos(int index, AdVideoAsset value) List of YouTube video assets that may be displayed with the ad.setVideos(int index, AdVideoAsset.Builder builderForValue) List of YouTube video assets that may be displayed with the ad.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<LocalAdInfo.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<LocalAdInfo.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<LocalAdInfo.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<LocalAdInfo.Builder>
-
setField
public LocalAdInfo.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<LocalAdInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
-
setRepeatedField
public LocalAdInfo.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<LocalAdInfo.Builder>
-
addRepeatedField
public LocalAdInfo.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<LocalAdInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocalAdInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
-
mergeFrom
public LocalAdInfo.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<LocalAdInfo.Builder>- Throws:
IOException
-
getHeadlinesList
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesListin interfaceLocalAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesCountin interfaceLocalAdInfoOrBuilder
-
getHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesin interfaceLocalAdInfoOrBuilder
-
setHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
setHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addAllHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
clearHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
removeHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getHeadlinesBuilder
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getHeadlinesOrBuilder
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderin interfaceLocalAdInfoOrBuilder
-
getHeadlinesOrBuilderList
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderListin interfaceLocalAdInfoOrBuilder
-
addHeadlinesBuilder
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlinesBuilder
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getHeadlinesBuilderList
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getDescriptionsList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsListin interfaceLocalAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsCountin interfaceLocalAdInfoOrBuilder
-
getDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsin interfaceLocalAdInfoOrBuilder
-
setDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
setDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addAllDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
clearDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
removeDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getDescriptionsBuilder
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getDescriptionsOrBuilder
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderin interfaceLocalAdInfoOrBuilder
-
getDescriptionsOrBuilderList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderListin interfaceLocalAdInfoOrBuilder
-
addDescriptionsBuilder
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptionsBuilder
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getDescriptionsBuilderList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getCallToActionsList
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsListin interfaceLocalAdInfoOrBuilder
-
getCallToActionsCount
public int getCallToActionsCount()List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsCountin interfaceLocalAdInfoOrBuilder
-
getCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsin interfaceLocalAdInfoOrBuilder
-
setCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
setCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
addCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
addCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
addCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
addCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
addAllCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
clearCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
removeCallToActions
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
getCallToActionsBuilder
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
getCallToActionsOrBuilder
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsOrBuilderin interfaceLocalAdInfoOrBuilder
-
getCallToActionsOrBuilderList
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsOrBuilderListin interfaceLocalAdInfoOrBuilder
-
addCallToActionsBuilder
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
addCallToActionsBuilder
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
getCallToActionsBuilderList
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. At least 1 and at most 5 call-to-actions must be specified.
repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 3; -
getMarketingImagesList
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesListin interfaceLocalAdInfoOrBuilder
-
getMarketingImagesCount
public int getMarketingImagesCount()List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesCountin interfaceLocalAdInfoOrBuilder
-
getMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesin interfaceLocalAdInfoOrBuilder
-
setMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
setMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
addMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
addMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
addMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
addMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
addAllMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
clearMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
removeMarketingImages
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
getMarketingImagesBuilder
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
getMarketingImagesOrBuilder
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesOrBuilderin interfaceLocalAdInfoOrBuilder
-
getMarketingImagesOrBuilderList
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesOrBuilderListin interfaceLocalAdInfoOrBuilder
-
addMarketingImagesBuilder
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
addMarketingImagesBuilder
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
getMarketingImagesBuilderList
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 4; -
getLogoImagesList
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesListin interfaceLocalAdInfoOrBuilder
-
getLogoImagesCount
public int getLogoImagesCount()List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesCountin interfaceLocalAdInfoOrBuilder
-
getLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesin interfaceLocalAdInfoOrBuilder
-
setLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
setLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
addLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
addLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
addLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
addLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
addAllLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
clearLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
removeLogoImages
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
getLogoImagesBuilder
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
getLogoImagesOrBuilder
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesOrBuilderin interfaceLocalAdInfoOrBuilder
-
getLogoImagesOrBuilderList
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesOrBuilderListin interfaceLocalAdInfoOrBuilder
-
addLogoImagesBuilder
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
addLogoImagesBuilder
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
getLogoImagesBuilderList
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 5; -
getVideosList
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6;- Specified by:
getVideosListin interfaceLocalAdInfoOrBuilder
-
getVideosCount
public int getVideosCount()List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6;- Specified by:
getVideosCountin interfaceLocalAdInfoOrBuilder
-
getVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6;- Specified by:
getVideosin interfaceLocalAdInfoOrBuilder
-
setVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
setVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
addVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
addVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
addVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
addVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
addAllVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
clearVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
removeVideos
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
getVideosBuilder
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
getVideosOrBuilder
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6;- Specified by:
getVideosOrBuilderin interfaceLocalAdInfoOrBuilder
-
getVideosOrBuilderList
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6;- Specified by:
getVideosOrBuilderListin interfaceLocalAdInfoOrBuilder
-
addVideosBuilder
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
addVideosBuilder
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
getVideosBuilderList
List of YouTube video assets that may be displayed with the ad. At least 1 and at most 20 video assets must be specified.
repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 6; -
hasPath1
public boolean hasPath1()First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Specified by:
hasPath1in interfaceLocalAdInfoOrBuilder- Returns:
- Whether the path1 field is set.
-
getPath1
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Specified by:
getPath1in interfaceLocalAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Specified by:
getPath1Bytesin interfaceLocalAdInfoOrBuilder- Returns:
- The bytes for path1.
-
setPath1
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Parameters:
value- The path1 to set.- Returns:
- This builder for chaining.
-
clearPath1
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Returns:
- This builder for chaining.
-
setPath1Bytes
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Parameters:
value- The bytes for path1 to set.- Returns:
- This builder for chaining.
-
hasPath2
public boolean hasPath2()Second part of optional 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 = 10;- Specified by:
hasPath2in interfaceLocalAdInfoOrBuilder- Returns:
- Whether the path2 field is set.
-
getPath2
Second part of optional 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 = 10;- Specified by:
getPath2in interfaceLocalAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()Second part of optional 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 = 10;- Specified by:
getPath2Bytesin interfaceLocalAdInfoOrBuilder- Returns:
- The bytes for path2.
-
setPath2
Second part of optional 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 = 10;- Parameters:
value- The path2 to set.- Returns:
- This builder for chaining.
-
clearPath2
Second part of optional 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 = 10;- Returns:
- This builder for chaining.
-
setPath2Bytes
Second part of optional 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 = 10;- Parameters:
value- The bytes for path2 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LocalAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
-
mergeUnknownFields
public final LocalAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
-