Class AdGroupAd.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
- com.google.ads.googleads.v10.resources.AdGroupAd.Builder
-
- All Implemented Interfaces:
AdGroupAdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AdGroupAd
public static final class AdGroupAd.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder> implements AdGroupAdOrBuilder
An ad group ad.
Protobuf typegoogle.ads.googleads.v10.resources.AdGroupAd
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdGroupAd.BuilderaddActionItems(java.lang.String value)Output only.AdGroupAd.BuilderaddActionItemsBytes(com.google.protobuf.ByteString value)Output only.AdGroupAd.BuilderaddAllActionItems(java.lang.Iterable<java.lang.String> values)Output only.AdGroupAd.BuilderaddAllLabels(java.lang.Iterable<java.lang.String> values)Output only.AdGroupAd.BuilderaddLabels(java.lang.String value)Output only.AdGroupAd.BuilderaddLabelsBytes(com.google.protobuf.ByteString value)Output only.AdGroupAd.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AdGroupAdbuild()AdGroupAdbuildPartial()AdGroupAd.Builderclear()AdGroupAd.BuilderclearActionItems()Output only.AdGroupAd.BuilderclearAd()Immutable.AdGroupAd.BuilderclearAdGroup()Immutable.AdGroupAd.BuilderclearAdStrength()Output only.AdGroupAd.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AdGroupAd.BuilderclearLabels()Output only.AdGroupAd.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AdGroupAd.BuilderclearPolicySummary()Output only.AdGroupAd.BuilderclearResourceName()Immutable.AdGroupAd.BuilderclearStatus()The status of the ad.AdGroupAd.Builderclone()java.lang.StringgetActionItems(int index)Output only.com.google.protobuf.ByteStringgetActionItemsBytes(int index)Output only.intgetActionItemsCount()Output only.com.google.protobuf.ProtocolStringListgetActionItemsList()Output only.AdgetAd()Immutable.Ad.BuildergetAdBuilder()Immutable.java.lang.StringgetAdGroup()Immutable.com.google.protobuf.ByteStringgetAdGroupBytes()Immutable.AdOrBuildergetAdOrBuilder()Immutable.AdStrengthEnum.AdStrengthgetAdStrength()Output only.intgetAdStrengthValue()Output only.AdGroupAdgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetLabels(int index)Output only.com.google.protobuf.ByteStringgetLabelsBytes(int index)Output only.intgetLabelsCount()Output only.com.google.protobuf.ProtocolStringListgetLabelsList()Output only.AdGroupAdPolicySummarygetPolicySummary()Output only.AdGroupAdPolicySummary.BuildergetPolicySummaryBuilder()Output only.AdGroupAdPolicySummaryOrBuildergetPolicySummaryOrBuilder()Output only.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.AdGroupAdStatusEnum.AdGroupAdStatusgetStatus()The status of the ad.intgetStatusValue()The status of the ad.booleanhasAd()Immutable.booleanhasAdGroup()Immutable.booleanhasPolicySummary()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AdGroupAd.BuildermergeAd(Ad value)Immutable.AdGroupAd.BuildermergeFrom(AdGroupAd other)AdGroupAd.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AdGroupAd.BuildermergeFrom(com.google.protobuf.Message other)AdGroupAd.BuildermergePolicySummary(AdGroupAdPolicySummary value)Output only.AdGroupAd.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AdGroupAd.BuildersetActionItems(int index, java.lang.String value)Output only.AdGroupAd.BuildersetAd(Ad value)Immutable.AdGroupAd.BuildersetAd(Ad.Builder builderForValue)Immutable.AdGroupAd.BuildersetAdGroup(java.lang.String value)Immutable.AdGroupAd.BuildersetAdGroupBytes(com.google.protobuf.ByteString value)Immutable.AdGroupAd.BuildersetAdStrength(AdStrengthEnum.AdStrength value)Output only.AdGroupAd.BuildersetAdStrengthValue(int value)Output only.AdGroupAd.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AdGroupAd.BuildersetLabels(int index, java.lang.String value)Output only.AdGroupAd.BuildersetPolicySummary(AdGroupAdPolicySummary value)Output only.AdGroupAd.BuildersetPolicySummary(AdGroupAdPolicySummary.Builder builderForValue)Output only.AdGroupAd.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AdGroupAd.BuildersetResourceName(java.lang.String value)Immutable.AdGroupAd.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.AdGroupAd.BuildersetStatus(AdGroupAdStatusEnum.AdGroupAdStatus value)The status of the ad.AdGroupAd.BuildersetStatusValue(int value)The status of the ad.AdGroupAd.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<AdGroupAd.Builder>
-
clear
public AdGroupAd.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<AdGroupAd.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<AdGroupAd.Builder>
-
getDefaultInstanceForType
public AdGroupAd getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdGroupAd build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdGroupAd buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroupAd.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<AdGroupAd.Builder>
-
setField
public AdGroupAd.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<AdGroupAd.Builder>
-
clearField
public AdGroupAd.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
clearOneof
public AdGroupAd.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
setRepeatedField
public AdGroupAd.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<AdGroupAd.Builder>
-
addRepeatedField
public AdGroupAd.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<AdGroupAd.Builder>
-
mergeFrom
public AdGroupAd.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroupAd.Builder>
-
mergeFrom
public AdGroupAd.Builder mergeFrom(AdGroupAd other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
mergeFrom
public AdGroupAd.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<AdGroupAd.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAdGroupAdOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAdGroupAdOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public AdGroupAd.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public AdGroupAd.Builder clearResourceName()
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AdGroupAd.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the ad. Ad group ad resource names have the form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Specified by:
getStatusValuein interfaceAdGroupAdOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public AdGroupAd.Builder setStatusValue(int value)
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public AdGroupAdStatusEnum.AdGroupAdStatus getStatus()
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Specified by:
getStatusin interfaceAdGroupAdOrBuilder- Returns:
- The status.
-
setStatus
public AdGroupAd.Builder setStatus(AdGroupAdStatusEnum.AdGroupAdStatus value)
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public AdGroupAd.Builder clearStatus()
The status of the ad.
.google.ads.googleads.v10.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3;- Returns:
- This builder for chaining.
-
hasAdGroup
public boolean hasAdGroup()
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasAdGroupin interfaceAdGroupAdOrBuilder- Returns:
- Whether the adGroup field is set.
-
getAdGroup
public java.lang.String getAdGroup()
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupin interfaceAdGroupAdOrBuilder- Returns:
- The adGroup.
-
getAdGroupBytes
public com.google.protobuf.ByteString getAdGroupBytes()
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupBytesin interfaceAdGroupAdOrBuilder- Returns:
- The bytes for adGroup.
-
setAdGroup
public AdGroupAd.Builder setAdGroup(java.lang.String value)
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The adGroup to set.- Returns:
- This builder for chaining.
-
clearAdGroup
public AdGroupAd.Builder clearAdGroup()
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAdGroupBytes
public AdGroupAd.Builder setAdGroupBytes(com.google.protobuf.ByteString value)
Immutable. The ad group to which the ad belongs.
optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for adGroup to set.- Returns:
- This builder for chaining.
-
hasAd
public boolean hasAd()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAdin interfaceAdGroupAdOrBuilder- Returns:
- Whether the ad field is set.
-
getAd
public Ad getAd()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdin interfaceAdGroupAdOrBuilder- Returns:
- The ad.
-
setAd
public AdGroupAd.Builder setAd(Ad value)
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];
-
setAd
public AdGroupAd.Builder setAd(Ad.Builder builderForValue)
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];
-
mergeAd
public AdGroupAd.Builder mergeAd(Ad value)
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];
-
clearAd
public AdGroupAd.Builder clearAd()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];
-
getAdBuilder
public Ad.Builder getAdBuilder()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];
-
getAdOrBuilder
public AdOrBuilder getAdOrBuilder()
Immutable. The ad.
.google.ads.googleads.v10.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAdOrBuilderin interfaceAdGroupAdOrBuilder
-
hasPolicySummary
public boolean hasPolicySummary()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPolicySummaryin interfaceAdGroupAdOrBuilder- Returns:
- Whether the policySummary field is set.
-
getPolicySummary
public AdGroupAdPolicySummary getPolicySummary()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryin interfaceAdGroupAdOrBuilder- Returns:
- The policySummary.
-
setPolicySummary
public AdGroupAd.Builder setPolicySummary(AdGroupAdPolicySummary value)
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setPolicySummary
public AdGroupAd.Builder setPolicySummary(AdGroupAdPolicySummary.Builder builderForValue)
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergePolicySummary
public AdGroupAd.Builder mergePolicySummary(AdGroupAdPolicySummary value)
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearPolicySummary
public AdGroupAd.Builder clearPolicySummary()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPolicySummaryBuilder
public AdGroupAdPolicySummary.Builder getPolicySummaryBuilder()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPolicySummaryOrBuilder
public AdGroupAdPolicySummaryOrBuilder getPolicySummaryOrBuilder()
Output only. Policy information for the ad.
.google.ads.googleads.v10.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryOrBuilderin interfaceAdGroupAdOrBuilder
-
getAdStrengthValue
public int getAdStrengthValue()
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdStrengthValuein interfaceAdGroupAdOrBuilder- Returns:
- The enum numeric value on the wire for adStrength.
-
setAdStrengthValue
public AdGroupAd.Builder setAdStrengthValue(int value)
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for adStrength to set.- Returns:
- This builder for chaining.
-
getAdStrength
public AdStrengthEnum.AdStrength getAdStrength()
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdStrengthin interfaceAdGroupAdOrBuilder- Returns:
- The adStrength.
-
setAdStrength
public AdGroupAd.Builder setAdStrength(AdStrengthEnum.AdStrength value)
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adStrength to set.- Returns:
- This builder for chaining.
-
clearAdStrength
public AdGroupAd.Builder clearAdStrength()
Output only. Overall ad strength for this ad group ad.
.google.ads.googleads.v10.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getActionItemsList
public com.google.protobuf.ProtocolStringList getActionItemsList()
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsListin interfaceAdGroupAdOrBuilder- Returns:
- A list containing the actionItems.
-
getActionItemsCount
public int getActionItemsCount()
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsCountin interfaceAdGroupAdOrBuilder- Returns:
- The count of actionItems.
-
getActionItems
public java.lang.String getActionItems(int index)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actionItems at the given index.
-
getActionItemsBytes
public com.google.protobuf.ByteString getActionItemsBytes(int index)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionItemsBytesin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actionItems at the given index.
-
setActionItems
public AdGroupAd.Builder setActionItems(int index, java.lang.String value)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The actionItems to set.- Returns:
- This builder for chaining.
-
addActionItems
public AdGroupAd.Builder addActionItems(java.lang.String value)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The actionItems to add.- Returns:
- This builder for chaining.
-
addAllActionItems
public AdGroupAd.Builder addAllActionItems(java.lang.Iterable<java.lang.String> values)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The actionItems to add.- Returns:
- This builder for chaining.
-
clearActionItems
public AdGroupAd.Builder clearActionItems()
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addActionItemsBytes
public AdGroupAd.Builder addActionItemsBytes(com.google.protobuf.ByteString value)
Output only. A list of recommendations to improve the ad strength. For example, a recommendation could be "Your headlines are a little too similar. Try adding more distinct headlines.".
repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the actionItems to add.- Returns:
- This builder for chaining.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsListin interfaceAdGroupAdOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsCountin interfaceAdGroupAdOrBuilder- Returns:
- The count of labels.
-
getLabels
public java.lang.String getLabels(int index)
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getLabelsBytesin interfaceAdGroupAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
public AdGroupAd.Builder setLabels(int index, java.lang.String value)
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
public AdGroupAd.Builder addLabels(java.lang.String value)
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
public AdGroupAd.Builder addAllLabels(java.lang.Iterable<java.lang.String> values)
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
public AdGroupAd.Builder clearLabels()
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addLabelsBytes
public AdGroupAd.Builder addLabelsBytes(com.google.protobuf.ByteString value)
Output only. The resource names of labels attached to this ad group ad.
repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdGroupAd.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
mergeUnknownFields
public final AdGroupAd.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
-
-