Class 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 type google.ads.googleads.v10.resources.AdGroupAd
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • clear

        public AdGroupAd.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • getDefaultInstanceForType

        public AdGroupAd getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AdGroupAd build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AdGroupAd buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AdGroupAd.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • setField

        public AdGroupAd.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • clearField

        public AdGroupAd.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • clearOneof

        public AdGroupAd.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • addRepeatedField

        public AdGroupAd.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • mergeFrom

        public AdGroupAd.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdGroupAd.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getResourceName in interface AdGroupAdOrBuilder
        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:
        getResourceNameBytes in interface AdGroupAdOrBuilder
        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:
        getStatusValue in interface AdGroupAdOrBuilder
        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.
      • 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:
        hasAdGroup in interface AdGroupAdOrBuilder
        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:
        getAdGroup in interface AdGroupAdOrBuilder
        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:
        getAdGroupBytes in interface AdGroupAdOrBuilder
        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:
        hasAd in interface AdGroupAdOrBuilder
        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:
        getAd in interface AdGroupAdOrBuilder
        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:
        getAdOrBuilder in interface AdGroupAdOrBuilder
      • 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:
        hasPolicySummary in interface AdGroupAdOrBuilder
        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:
        getPolicySummary in interface AdGroupAdOrBuilder
        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];
      • 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:
        getAdStrengthValue in interface AdGroupAdOrBuilder
        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:
        getAdStrength in interface AdGroupAdOrBuilder
        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:
        getActionItemsList in interface AdGroupAdOrBuilder
        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:
        getActionItemsCount in interface AdGroupAdOrBuilder
        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:
        getActionItems in interface AdGroupAdOrBuilder
        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:
        getActionItemsBytes in interface AdGroupAdOrBuilder
        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:
        getLabelsList in interface AdGroupAdOrBuilder
        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:
        getLabelsCount in interface AdGroupAdOrBuilder
        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:
        getLabels in interface AdGroupAdOrBuilder
        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:
        getLabelsBytes in interface AdGroupAdOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>
      • mergeUnknownFields

        public final AdGroupAd.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupAd.Builder>