Class Campaign.TextGuidelines.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Campaign.TextGuidelines.Builder>
com.google.ads.googleads.v23.resources.Campaign.TextGuidelines.Builder
- All Implemented Interfaces:
Campaign.TextGuidelinesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Campaign.TextGuidelines
public static final class Campaign.TextGuidelines.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Campaign.TextGuidelines.Builder>
implements Campaign.TextGuidelinesOrBuilder
Settings to control automatically generated text assets.Protobuf type
google.ads.googleads.v23.resources.Campaign.TextGuidelines-
Method Summary
Modifier and TypeMethodDescriptionaddAllMessagingRestrictions(Iterable<? extends Campaign.MessagingRestriction> values) Freeform instructions that will be used to guide text asset generation using LLM inference.addAllTermExclusions(Iterable<String> values) Exact words or phrases that will be excluded from generated text assets.addMessagingRestrictions(int index, Campaign.MessagingRestriction value) Freeform instructions that will be used to guide text asset generation using LLM inference.addMessagingRestrictions(int index, Campaign.MessagingRestriction.Builder builderForValue) Freeform instructions that will be used to guide text asset generation using LLM inference.Freeform instructions that will be used to guide text asset generation using LLM inference.addMessagingRestrictions(Campaign.MessagingRestriction.Builder builderForValue) Freeform instructions that will be used to guide text asset generation using LLM inference.Freeform instructions that will be used to guide text asset generation using LLM inference.addMessagingRestrictionsBuilder(int index) Freeform instructions that will be used to guide text asset generation using LLM inference.addTermExclusions(String value) Exact words or phrases that will be excluded from generated text assets.addTermExclusionsBytes(com.google.protobuf.ByteString value) Exact words or phrases that will be excluded from generated text assets.build()clear()Freeform instructions that will be used to guide text asset generation using LLM inference.Exact words or phrases that will be excluded from generated text assets.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMessagingRestrictions(int index) Freeform instructions that will be used to guide text asset generation using LLM inference.getMessagingRestrictionsBuilder(int index) Freeform instructions that will be used to guide text asset generation using LLM inference.Freeform instructions that will be used to guide text asset generation using LLM inference.intFreeform instructions that will be used to guide text asset generation using LLM inference.Freeform instructions that will be used to guide text asset generation using LLM inference.getMessagingRestrictionsOrBuilder(int index) Freeform instructions that will be used to guide text asset generation using LLM inference.List<? extends Campaign.MessagingRestrictionOrBuilder>Freeform instructions that will be used to guide text asset generation using LLM inference.getTermExclusions(int index) Exact words or phrases that will be excluded from generated text assets.com.google.protobuf.ByteStringgetTermExclusionsBytes(int index) Exact words or phrases that will be excluded from generated text assets.intExact words or phrases that will be excluded from generated text assets.com.google.protobuf.ProtocolStringListExact words or phrases that will be excluded from generated text assets.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Campaign.TextGuidelines other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeMessagingRestrictions(int index) Freeform instructions that will be used to guide text asset generation using LLM inference.setMessagingRestrictions(int index, Campaign.MessagingRestriction value) Freeform instructions that will be used to guide text asset generation using LLM inference.setMessagingRestrictions(int index, Campaign.MessagingRestriction.Builder builderForValue) Freeform instructions that will be used to guide text asset generation using LLM inference.setTermExclusions(int index, String value) Exact words or phrases that will be excluded from generated text assets.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Campaign.TextGuidelines.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Campaign.TextGuidelines.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.GeneratedMessage.Builder<Campaign.TextGuidelines.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Campaign.TextGuidelines.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Campaign.TextGuidelines.Builder>
-
mergeFrom
public Campaign.TextGuidelines.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<Campaign.TextGuidelines.Builder>- Throws:
IOException
-
getTermExclusionsList
public com.google.protobuf.ProtocolStringList getTermExclusionsList()Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Specified by:
getTermExclusionsListin interfaceCampaign.TextGuidelinesOrBuilder- Returns:
- A list containing the termExclusions.
-
getTermExclusionsCount
public int getTermExclusionsCount()Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Specified by:
getTermExclusionsCountin interfaceCampaign.TextGuidelinesOrBuilder- Returns:
- The count of termExclusions.
-
getTermExclusions
Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Specified by:
getTermExclusionsin interfaceCampaign.TextGuidelinesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The termExclusions at the given index.
-
getTermExclusionsBytes
public com.google.protobuf.ByteString getTermExclusionsBytes(int index) Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Specified by:
getTermExclusionsBytesin interfaceCampaign.TextGuidelinesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the termExclusions at the given index.
-
setTermExclusions
Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Parameters:
index- The index to set the value at.value- The termExclusions to set.- Returns:
- This builder for chaining.
-
addTermExclusions
Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Parameters:
value- The termExclusions to add.- Returns:
- This builder for chaining.
-
addAllTermExclusions
Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Parameters:
values- The termExclusions to add.- Returns:
- This builder for chaining.
-
clearTermExclusions
Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Returns:
- This builder for chaining.
-
addTermExclusionsBytes
Exact words or phrases that will be excluded from generated text assets. At most 25 exclusions may be provided. Valid exclusions may contain a maximum of 30 characters.
repeated string term_exclusions = 1;- Parameters:
value- The bytes of the termExclusions to add.- Returns:
- This builder for chaining.
-
getMessagingRestrictionsList
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2;- Specified by:
getMessagingRestrictionsListin interfaceCampaign.TextGuidelinesOrBuilder
-
getMessagingRestrictionsCount
public int getMessagingRestrictionsCount()Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2;- Specified by:
getMessagingRestrictionsCountin interfaceCampaign.TextGuidelinesOrBuilder
-
getMessagingRestrictions
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2;- Specified by:
getMessagingRestrictionsin interfaceCampaign.TextGuidelinesOrBuilder
-
setMessagingRestrictions
public Campaign.TextGuidelines.Builder setMessagingRestrictions(int index, Campaign.MessagingRestriction value) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
setMessagingRestrictions
public Campaign.TextGuidelines.Builder setMessagingRestrictions(int index, Campaign.MessagingRestriction.Builder builderForValue) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
addMessagingRestrictions
public Campaign.TextGuidelines.Builder addMessagingRestrictions(Campaign.MessagingRestriction value) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
addMessagingRestrictions
public Campaign.TextGuidelines.Builder addMessagingRestrictions(int index, Campaign.MessagingRestriction value) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
addMessagingRestrictions
public Campaign.TextGuidelines.Builder addMessagingRestrictions(Campaign.MessagingRestriction.Builder builderForValue) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
addMessagingRestrictions
public Campaign.TextGuidelines.Builder addMessagingRestrictions(int index, Campaign.MessagingRestriction.Builder builderForValue) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
addAllMessagingRestrictions
public Campaign.TextGuidelines.Builder addAllMessagingRestrictions(Iterable<? extends Campaign.MessagingRestriction> values) Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
clearMessagingRestrictions
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
removeMessagingRestrictions
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
getMessagingRestrictionsBuilder
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
getMessagingRestrictionsOrBuilder
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2;- Specified by:
getMessagingRestrictionsOrBuilderin interfaceCampaign.TextGuidelinesOrBuilder
-
getMessagingRestrictionsOrBuilderList
public List<? extends Campaign.MessagingRestrictionOrBuilder> getMessagingRestrictionsOrBuilderList()Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2;- Specified by:
getMessagingRestrictionsOrBuilderListin interfaceCampaign.TextGuidelinesOrBuilder
-
addMessagingRestrictionsBuilder
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
addMessagingRestrictionsBuilder
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2; -
getMessagingRestrictionsBuilderList
Freeform instructions that will be used to guide text asset generation using LLM inference. At most 40 restrictions may be provided.
repeated .google.ads.googleads.v23.resources.Campaign.MessagingRestriction messaging_restrictions = 2;
-