Class TargetingSuggestionMetrics.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
com.google.ads.googleads.v18.services.TargetingSuggestionMetrics.Builder
All Implemented Interfaces:
TargetingSuggestionMetricsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TargetingSuggestionMetrics

public static final class TargetingSuggestionMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder> implements TargetingSuggestionMetricsOrBuilder
 A suggested targetable audience relevant to the requested audience.
 
Protobuf type google.ads.googleads.v18.services.TargetingSuggestionMetrics
  • Method Details

    • 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<TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TargetingSuggestionMetrics buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<TargetingSuggestionMetrics.Builder>
    • setField

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

      public TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.Builder>
    • clearOneof

      public TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.Builder>
    • setRepeatedField

      public TargetingSuggestionMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
    • addRepeatedField

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

      public TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
    • mergeFrom

      public TargetingSuggestionMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<TargetingSuggestionMetrics.Builder>
      Throws:
      IOException
    • getLocationsList

      public List<AudienceInsightsAttributeMetadata> getLocationsList()
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
      Specified by:
      getLocationsList in interface TargetingSuggestionMetricsOrBuilder
    • getLocationsCount

      public int getLocationsCount()
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
      Specified by:
      getLocationsCount in interface TargetingSuggestionMetricsOrBuilder
    • getLocations

      public AudienceInsightsAttributeMetadata getLocations(int index)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
      Specified by:
      getLocations in interface TargetingSuggestionMetricsOrBuilder
    • setLocations

       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • setLocations

      public TargetingSuggestionMetrics.Builder setLocations(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • addLocations

       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • addLocations

       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • addLocations

       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • addLocations

      public TargetingSuggestionMetrics.Builder addLocations(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • addAllLocations

       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • clearLocations

      public TargetingSuggestionMetrics.Builder clearLocations()
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • removeLocations

      public TargetingSuggestionMetrics.Builder removeLocations(int index)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • getLocationsBuilder

      public AudienceInsightsAttributeMetadata.Builder getLocationsBuilder(int index)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • getLocationsOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getLocationsOrBuilder(int index)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
      Specified by:
      getLocationsOrBuilder in interface TargetingSuggestionMetricsOrBuilder
    • getLocationsOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getLocationsOrBuilderList()
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
      Specified by:
      getLocationsOrBuilderList in interface TargetingSuggestionMetricsOrBuilder
    • addLocationsBuilder

      public AudienceInsightsAttributeMetadata.Builder addLocationsBuilder()
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • addLocationsBuilder

      public AudienceInsightsAttributeMetadata.Builder addLocationsBuilder(int index)
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • getLocationsBuilderList

      public List<AudienceInsightsAttributeMetadata.Builder> getLocationsBuilderList()
       Suggested location targeting.  These attributes all have dimension
       GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;
    • getAgeRangesList

      public List<AgeRangeInfo> getAgeRangesList()
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
      Specified by:
      getAgeRangesList in interface TargetingSuggestionMetricsOrBuilder
    • getAgeRangesCount

      public int getAgeRangesCount()
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
      Specified by:
      getAgeRangesCount in interface TargetingSuggestionMetricsOrBuilder
    • getAgeRanges

      public AgeRangeInfo getAgeRanges(int index)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
      Specified by:
      getAgeRanges in interface TargetingSuggestionMetricsOrBuilder
    • setAgeRanges

      public TargetingSuggestionMetrics.Builder setAgeRanges(int index, AgeRangeInfo value)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • setAgeRanges

      public TargetingSuggestionMetrics.Builder setAgeRanges(int index, AgeRangeInfo.Builder builderForValue)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • addAgeRanges

      public TargetingSuggestionMetrics.Builder addAgeRanges(AgeRangeInfo value)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • addAgeRanges

      public TargetingSuggestionMetrics.Builder addAgeRanges(int index, AgeRangeInfo value)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • addAgeRanges

      public TargetingSuggestionMetrics.Builder addAgeRanges(AgeRangeInfo.Builder builderForValue)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • addAgeRanges

      public TargetingSuggestionMetrics.Builder addAgeRanges(int index, AgeRangeInfo.Builder builderForValue)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • addAllAgeRanges

      public TargetingSuggestionMetrics.Builder addAllAgeRanges(Iterable<? extends AgeRangeInfo> values)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • clearAgeRanges

      public TargetingSuggestionMetrics.Builder clearAgeRanges()
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • removeAgeRanges

      public TargetingSuggestionMetrics.Builder removeAgeRanges(int index)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • getAgeRangesBuilder

      public AgeRangeInfo.Builder getAgeRangesBuilder(int index)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • getAgeRangesOrBuilder

      public AgeRangeInfoOrBuilder getAgeRangesOrBuilder(int index)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
      Specified by:
      getAgeRangesOrBuilder in interface TargetingSuggestionMetricsOrBuilder
    • getAgeRangesOrBuilderList

      public List<? extends AgeRangeInfoOrBuilder> getAgeRangesOrBuilderList()
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
      Specified by:
      getAgeRangesOrBuilderList in interface TargetingSuggestionMetricsOrBuilder
    • addAgeRangesBuilder

      public AgeRangeInfo.Builder addAgeRangesBuilder()
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • addAgeRangesBuilder

      public AgeRangeInfo.Builder addAgeRangesBuilder(int index)
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • getAgeRangesBuilderList

      public List<AgeRangeInfo.Builder> getAgeRangesBuilderList()
       Suggested age targeting; may be empty indicating no age targeting.
       
      repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;
    • hasGender

      public boolean hasGender()
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
      Specified by:
      hasGender in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      Whether the gender field is set.
    • getGender

      public GenderInfo getGender()
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
      Specified by:
      getGender in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      The gender.
    • setGender

       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
    • setGender

      public TargetingSuggestionMetrics.Builder setGender(GenderInfo.Builder builderForValue)
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
    • mergeGender

      public TargetingSuggestionMetrics.Builder mergeGender(GenderInfo value)
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
    • clearGender

      public TargetingSuggestionMetrics.Builder clearGender()
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
    • getGenderBuilder

      public GenderInfo.Builder getGenderBuilder()
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
    • getGenderOrBuilder

      public GenderInfoOrBuilder getGenderOrBuilder()
       Suggested gender targeting.  If present, this attribute has dimension
       GENDER.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
      Specified by:
      getGenderOrBuilder in interface TargetingSuggestionMetricsOrBuilder
    • hasParentalStatus

      public boolean hasParentalStatus()
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
      Specified by:
      hasParentalStatus in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      Whether the parentalStatus field is set.
    • getParentalStatus

      public ParentalStatusInfo getParentalStatus()
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
      Specified by:
      getParentalStatus in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      The parentalStatus.
    • setParentalStatus

      public TargetingSuggestionMetrics.Builder setParentalStatus(ParentalStatusInfo value)
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
    • setParentalStatus

      public TargetingSuggestionMetrics.Builder setParentalStatus(ParentalStatusInfo.Builder builderForValue)
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
    • mergeParentalStatus

      public TargetingSuggestionMetrics.Builder mergeParentalStatus(ParentalStatusInfo value)
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
    • clearParentalStatus

      public TargetingSuggestionMetrics.Builder clearParentalStatus()
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
    • getParentalStatusBuilder

      public ParentalStatusInfo.Builder getParentalStatusBuilder()
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
    • getParentalStatusOrBuilder

      public ParentalStatusInfoOrBuilder getParentalStatusOrBuilder()
       A Parental Status value (parent, or not a parent).
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;
      Specified by:
      getParentalStatusOrBuilder in interface TargetingSuggestionMetricsOrBuilder
    • getUserInterestsList

      public List<AudienceInsightsAttributeMetadata> getUserInterestsList()
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
      Specified by:
      getUserInterestsList in interface TargetingSuggestionMetricsOrBuilder
    • getUserInterestsCount

      public int getUserInterestsCount()
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
      Specified by:
      getUserInterestsCount in interface TargetingSuggestionMetricsOrBuilder
    • getUserInterests

      public AudienceInsightsAttributeMetadata getUserInterests(int index)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
      Specified by:
      getUserInterests in interface TargetingSuggestionMetricsOrBuilder
    • setUserInterests

      public TargetingSuggestionMetrics.Builder setUserInterests(int index, AudienceInsightsAttributeMetadata value)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • setUserInterests

      public TargetingSuggestionMetrics.Builder setUserInterests(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • addUserInterests

       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • addUserInterests

      public TargetingSuggestionMetrics.Builder addUserInterests(int index, AudienceInsightsAttributeMetadata value)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • addUserInterests

       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • addUserInterests

      public TargetingSuggestionMetrics.Builder addUserInterests(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • addAllUserInterests

      public TargetingSuggestionMetrics.Builder addAllUserInterests(Iterable<? extends AudienceInsightsAttributeMetadata> values)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • clearUserInterests

      public TargetingSuggestionMetrics.Builder clearUserInterests()
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • removeUserInterests

      public TargetingSuggestionMetrics.Builder removeUserInterests(int index)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • getUserInterestsBuilder

      public AudienceInsightsAttributeMetadata.Builder getUserInterestsBuilder(int index)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • getUserInterestsOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getUserInterestsOrBuilder(int index)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
      Specified by:
      getUserInterestsOrBuilder in interface TargetingSuggestionMetricsOrBuilder
    • getUserInterestsOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getUserInterestsOrBuilderList()
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
      Specified by:
      getUserInterestsOrBuilderList in interface TargetingSuggestionMetricsOrBuilder
    • addUserInterestsBuilder

      public AudienceInsightsAttributeMetadata.Builder addUserInterestsBuilder()
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • addUserInterestsBuilder

      public AudienceInsightsAttributeMetadata.Builder addUserInterestsBuilder(int index)
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • getUserInterestsBuilderList

      public List<AudienceInsightsAttributeMetadata.Builder> getUserInterestsBuilderList()
       Suggested audience segments to target.  These attributes all have dimension
       AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;
    • getCoverage

      public double getCoverage()
       The fraction (from 0 to 1 inclusive) of the requested audience that can be
       reached using the suggested targeting.
       
      double coverage = 5;
      Specified by:
      getCoverage in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      The coverage.
    • setCoverage

      public TargetingSuggestionMetrics.Builder setCoverage(double value)
       The fraction (from 0 to 1 inclusive) of the requested audience that can be
       reached using the suggested targeting.
       
      double coverage = 5;
      Parameters:
      value - The coverage to set.
      Returns:
      This builder for chaining.
    • clearCoverage

      public TargetingSuggestionMetrics.Builder clearCoverage()
       The fraction (from 0 to 1 inclusive) of the requested audience that can be
       reached using the suggested targeting.
       
      double coverage = 5;
      Returns:
      This builder for chaining.
    • getIndex

      public double getIndex()
       The ratio of coverage to the coverage of the baseline audience or zero if
       this ratio is undefined or is not meaningful.
       
      double index = 6;
      Specified by:
      getIndex in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      The index.
    • setIndex

      public TargetingSuggestionMetrics.Builder setIndex(double value)
       The ratio of coverage to the coverage of the baseline audience or zero if
       this ratio is undefined or is not meaningful.
       
      double index = 6;
      Parameters:
      value - The index to set.
      Returns:
      This builder for chaining.
    • clearIndex

       The ratio of coverage to the coverage of the baseline audience or zero if
       this ratio is undefined or is not meaningful.
       
      double index = 6;
      Returns:
      This builder for chaining.
    • getPotentialYoutubeReach

      public long getPotentialYoutubeReach()
       The approximate estimated number of people that can be reached on YouTube
       using this targeting.
       
      int64 potential_youtube_reach = 7;
      Specified by:
      getPotentialYoutubeReach in interface TargetingSuggestionMetricsOrBuilder
      Returns:
      The potentialYoutubeReach.
    • setPotentialYoutubeReach

      public TargetingSuggestionMetrics.Builder setPotentialYoutubeReach(long value)
       The approximate estimated number of people that can be reached on YouTube
       using this targeting.
       
      int64 potential_youtube_reach = 7;
      Parameters:
      value - The potentialYoutubeReach to set.
      Returns:
      This builder for chaining.
    • clearPotentialYoutubeReach

      public TargetingSuggestionMetrics.Builder clearPotentialYoutubeReach()
       The approximate estimated number of people that can be reached on YouTube
       using this targeting.
       
      int64 potential_youtube_reach = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.Builder>
    • mergeUnknownFields

      public final TargetingSuggestionMetrics.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<TargetingSuggestionMetrics.Builder>