Class SmartCampaignAdInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
com.google.ads.googleads.v18.common.SmartCampaignAdInfo.Builder
- All Implemented Interfaces:
SmartCampaignAdInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SmartCampaignAdInfo
public static final class SmartCampaignAdInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
implements SmartCampaignAdInfoOrBuilder
A Smart campaign ad.Protobuf type
google.ads.googleads.v18.common.SmartCampaignAdInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllDescriptions(Iterable<? extends AdTextAsset> values) List of text assets, each of which corresponds to a description when the ad serves.addAllHeadlines(Iterable<? extends AdTextAsset> values) List of text assets, each of which corresponds to a headline when the ad serves.addDescriptions(int index, AdTextAsset value) List of text assets, each of which corresponds to a description when the ad serves.addDescriptions(int index, AdTextAsset.Builder builderForValue) List of text assets, each of which corresponds to a description when the ad serves.addDescriptions(AdTextAsset value) List of text assets, each of which corresponds to a description when the ad serves.addDescriptions(AdTextAsset.Builder builderForValue) List of text assets, each of which corresponds to a description when the ad serves.List of text assets, each of which corresponds to a description when the ad serves.addDescriptionsBuilder(int index) List of text assets, each of which corresponds to a description when the ad serves.addHeadlines(int index, AdTextAsset value) List of text assets, each of which corresponds to a headline when the ad serves.addHeadlines(int index, AdTextAsset.Builder builderForValue) List of text assets, each of which corresponds to a headline when the ad serves.addHeadlines(AdTextAsset value) List of text assets, each of which corresponds to a headline when the ad serves.addHeadlines(AdTextAsset.Builder builderForValue) List of text assets, each of which corresponds to a headline when the ad serves.List of text assets, each of which corresponds to a headline when the ad serves.addHeadlinesBuilder(int index) List of text assets, each of which corresponds to a headline when the ad serves.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()List of text assets, each of which corresponds to a description when the ad serves.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) List of text assets, each of which corresponds to a headline when the ad serves.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getDescriptions(int index) List of text assets, each of which corresponds to a description when the ad serves.getDescriptionsBuilder(int index) List of text assets, each of which corresponds to a description when the ad serves.List of text assets, each of which corresponds to a description when the ad serves.intList of text assets, each of which corresponds to a description when the ad serves.List of text assets, each of which corresponds to a description when the ad serves.getDescriptionsOrBuilder(int index) List of text assets, each of which corresponds to a description when the ad serves.List<? extends AdTextAssetOrBuilder>List of text assets, each of which corresponds to a description when the ad serves.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHeadlines(int index) List of text assets, each of which corresponds to a headline when the ad serves.getHeadlinesBuilder(int index) List of text assets, each of which corresponds to a headline when the ad serves.List of text assets, each of which corresponds to a headline when the ad serves.intList of text assets, each of which corresponds to a headline when the ad serves.List of text assets, each of which corresponds to a headline when the ad serves.getHeadlinesOrBuilder(int index) List of text assets, each of which corresponds to a headline when the ad serves.List<? extends AdTextAssetOrBuilder>List of text assets, each of which corresponds to a headline when the ad serves.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(SmartCampaignAdInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeDescriptions(int index) List of text assets, each of which corresponds to a description when the ad serves.removeHeadlines(int index) List of text assets, each of which corresponds to a headline when the ad serves.setDescriptions(int index, AdTextAsset value) List of text assets, each of which corresponds to a description when the ad serves.setDescriptions(int index, AdTextAsset.Builder builderForValue) List of text assets, each of which corresponds to a description when the ad serves.setHeadlines(int index, AdTextAsset value) List of text assets, each of which corresponds to a headline when the ad serves.setHeadlines(int index, AdTextAsset.Builder builderForValue) List of text assets, each of which corresponds to a headline when the ad serves.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<SmartCampaignAdInfo.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<SmartCampaignAdInfo.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<SmartCampaignAdInfo.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<SmartCampaignAdInfo.Builder>
-
setField
public SmartCampaignAdInfo.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<SmartCampaignAdInfo.Builder>
-
clearField
public SmartCampaignAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
-
clearOneof
public SmartCampaignAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
-
setRepeatedField
public SmartCampaignAdInfo.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<SmartCampaignAdInfo.Builder>
-
addRepeatedField
public SmartCampaignAdInfo.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<SmartCampaignAdInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignAdInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
-
mergeFrom
public SmartCampaignAdInfo.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<SmartCampaignAdInfo.Builder>- Throws:
IOException
-
getHeadlinesList
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesListin interfaceSmartCampaignAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesCountin interfaceSmartCampaignAdInfoOrBuilder
-
getHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesin interfaceSmartCampaignAdInfoOrBuilder
-
setHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
setHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addAllHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
clearHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
removeHeadlines
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getHeadlinesBuilder
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getHeadlinesOrBuilder
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderin interfaceSmartCampaignAdInfoOrBuilder
-
getHeadlinesOrBuilderList
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderListin interfaceSmartCampaignAdInfoOrBuilder
-
addHeadlinesBuilder
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
addHeadlinesBuilder
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getHeadlinesBuilderList
List of text assets, each of which corresponds to a headline when the ad serves. This list consists of a minimum of 3 and up to 15 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1; -
getDescriptionsList
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsListin interfaceSmartCampaignAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsCountin interfaceSmartCampaignAdInfoOrBuilder
-
getDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsin interfaceSmartCampaignAdInfoOrBuilder
-
setDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
setDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addAllDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
clearDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
removeDescriptions
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getDescriptionsBuilder
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getDescriptionsOrBuilder
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderin interfaceSmartCampaignAdInfoOrBuilder
-
getDescriptionsOrBuilderList
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderListin interfaceSmartCampaignAdInfoOrBuilder
-
addDescriptionsBuilder
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
addDescriptionsBuilder
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
getDescriptionsBuilderList
List of text assets, each of which corresponds to a description when the ad serves. This list consists of a minimum of 2 and up to 4 text assets.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2; -
setUnknownFields
public final SmartCampaignAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
-
mergeUnknownFields
public final SmartCampaignAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignAdInfo.Builder>
-