Class BasicInsightsAudience.Builder

  • All Implemented Interfaces:
    BasicInsightsAudienceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    BasicInsightsAudience

    public static final class BasicInsightsAudience.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BasicInsightsAudience.Builder>
    implements BasicInsightsAudienceOrBuilder
     A description of an audience used for requesting insights.
     
    Protobuf type google.ads.googleads.v14.services.BasicInsightsAudience
    • 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<BasicInsightsAudience.Builder>
      • clear

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

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

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

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

        public BasicInsightsAudience.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<BasicInsightsAudience.Builder>
      • setField

        public BasicInsightsAudience.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<BasicInsightsAudience.Builder>
      • clearField

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

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

        public BasicInsightsAudience.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<BasicInsightsAudience.Builder>
      • addRepeatedField

        public BasicInsightsAudience.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<BasicInsightsAudience.Builder>
      • isInitialized

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

        public BasicInsightsAudience.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<BasicInsightsAudience.Builder>
        Throws:
        java.io.IOException
      • getCountryLocationList

        public java.util.List<LocationInfo> getCountryLocationList()
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCountryLocationList in interface BasicInsightsAudienceOrBuilder
      • getCountryLocationCount

        public int getCountryLocationCount()
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCountryLocationCount in interface BasicInsightsAudienceOrBuilder
      • getCountryLocation

        public LocationInfo getCountryLocation​(int index)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCountryLocation in interface BasicInsightsAudienceOrBuilder
      • setCountryLocation

        public BasicInsightsAudience.Builder setCountryLocation​(int index,
                                                                LocationInfo value)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • setCountryLocation

        public BasicInsightsAudience.Builder setCountryLocation​(int index,
                                                                LocationInfo.Builder builderForValue)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addCountryLocation

        public BasicInsightsAudience.Builder addCountryLocation​(LocationInfo value)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addCountryLocation

        public BasicInsightsAudience.Builder addCountryLocation​(int index,
                                                                LocationInfo value)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addCountryLocation

        public BasicInsightsAudience.Builder addCountryLocation​(LocationInfo.Builder builderForValue)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addCountryLocation

        public BasicInsightsAudience.Builder addCountryLocation​(int index,
                                                                LocationInfo.Builder builderForValue)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addAllCountryLocation

        public BasicInsightsAudience.Builder addAllCountryLocation​(java.lang.Iterable<? extends LocationInfo> values)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearCountryLocation

        public BasicInsightsAudience.Builder clearCountryLocation()
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • removeCountryLocation

        public BasicInsightsAudience.Builder removeCountryLocation​(int index)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • getCountryLocationBuilder

        public LocationInfo.Builder getCountryLocationBuilder​(int index)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addCountryLocationBuilder

        public LocationInfo.Builder addCountryLocationBuilder()
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • addCountryLocationBuilder

        public LocationInfo.Builder addCountryLocationBuilder​(int index)
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • getCountryLocationBuilderList

        public java.util.List<LocationInfo.Builder> getCountryLocationBuilderList()
         Required. The countries for this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];
      • getSubCountryLocationsList

        public java.util.List<LocationInfo> getSubCountryLocationsList()
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
        Specified by:
        getSubCountryLocationsList in interface BasicInsightsAudienceOrBuilder
      • getSubCountryLocationsCount

        public int getSubCountryLocationsCount()
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
        Specified by:
        getSubCountryLocationsCount in interface BasicInsightsAudienceOrBuilder
      • getSubCountryLocations

        public LocationInfo getSubCountryLocations​(int index)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
        Specified by:
        getSubCountryLocations in interface BasicInsightsAudienceOrBuilder
      • setSubCountryLocations

        public BasicInsightsAudience.Builder setSubCountryLocations​(int index,
                                                                    LocationInfo value)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • setSubCountryLocations

        public BasicInsightsAudience.Builder setSubCountryLocations​(int index,
                                                                    LocationInfo.Builder builderForValue)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • addSubCountryLocations

        public BasicInsightsAudience.Builder addSubCountryLocations​(LocationInfo value)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • addSubCountryLocations

        public BasicInsightsAudience.Builder addSubCountryLocations​(int index,
                                                                    LocationInfo value)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • addSubCountryLocations

        public BasicInsightsAudience.Builder addSubCountryLocations​(LocationInfo.Builder builderForValue)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • addSubCountryLocations

        public BasicInsightsAudience.Builder addSubCountryLocations​(int index,
                                                                    LocationInfo.Builder builderForValue)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • addAllSubCountryLocations

        public BasicInsightsAudience.Builder addAllSubCountryLocations​(java.lang.Iterable<? extends LocationInfo> values)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • clearSubCountryLocations

        public BasicInsightsAudience.Builder clearSubCountryLocations()
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • removeSubCountryLocations

        public BasicInsightsAudience.Builder removeSubCountryLocations​(int index)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • getSubCountryLocationsBuilder

        public LocationInfo.Builder getSubCountryLocationsBuilder​(int index)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • getSubCountryLocationsOrBuilder

        public LocationInfoOrBuilder getSubCountryLocationsOrBuilder​(int index)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
        Specified by:
        getSubCountryLocationsOrBuilder in interface BasicInsightsAudienceOrBuilder
      • getSubCountryLocationsOrBuilderList

        public java.util.List<? extends LocationInfoOrBuilder> getSubCountryLocationsOrBuilderList()
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
        Specified by:
        getSubCountryLocationsOrBuilderList in interface BasicInsightsAudienceOrBuilder
      • addSubCountryLocationsBuilder

        public LocationInfo.Builder addSubCountryLocationsBuilder()
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • addSubCountryLocationsBuilder

        public LocationInfo.Builder addSubCountryLocationsBuilder​(int index)
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • getSubCountryLocationsBuilderList

        public java.util.List<LocationInfo.Builder> getSubCountryLocationsBuilderList()
         Sub-country geographic location attributes.  If present, each of these
         must be contained in one of the countries in this audience.
         
        repeated .google.ads.googleads.v14.common.LocationInfo sub_country_locations = 2;
      • hasGender

        public boolean hasGender()
         Gender for the audience.  If absent, the audience does not restrict by
         gender.
         
        .google.ads.googleads.v14.common.GenderInfo gender = 3;
        Specified by:
        hasGender in interface BasicInsightsAudienceOrBuilder
        Returns:
        Whether the gender field is set.
      • getGender

        public GenderInfo getGender()
         Gender for the audience.  If absent, the audience does not restrict by
         gender.
         
        .google.ads.googleads.v14.common.GenderInfo gender = 3;
        Specified by:
        getGender in interface BasicInsightsAudienceOrBuilder
        Returns:
        The gender.
      • setGender

        public BasicInsightsAudience.Builder setGender​(GenderInfo value)
         Gender for the audience.  If absent, the audience does not restrict by
         gender.
         
        .google.ads.googleads.v14.common.GenderInfo gender = 3;
      • mergeGender

        public BasicInsightsAudience.Builder mergeGender​(GenderInfo value)
         Gender for the audience.  If absent, the audience does not restrict by
         gender.
         
        .google.ads.googleads.v14.common.GenderInfo gender = 3;
      • clearGender

        public BasicInsightsAudience.Builder clearGender()
         Gender for the audience.  If absent, the audience does not restrict by
         gender.
         
        .google.ads.googleads.v14.common.GenderInfo gender = 3;
      • getGenderBuilder

        public GenderInfo.Builder getGenderBuilder()
         Gender for the audience.  If absent, the audience does not restrict by
         gender.
         
        .google.ads.googleads.v14.common.GenderInfo gender = 3;
      • getAgeRangesList

        public java.util.List<AgeRangeInfo> getAgeRangesList()
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
        Specified by:
        getAgeRangesList in interface BasicInsightsAudienceOrBuilder
      • getAgeRangesCount

        public int getAgeRangesCount()
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
        Specified by:
        getAgeRangesCount in interface BasicInsightsAudienceOrBuilder
      • getAgeRanges

        public AgeRangeInfo getAgeRanges​(int index)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
        Specified by:
        getAgeRanges in interface BasicInsightsAudienceOrBuilder
      • setAgeRanges

        public BasicInsightsAudience.Builder setAgeRanges​(int index,
                                                          AgeRangeInfo value)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • setAgeRanges

        public BasicInsightsAudience.Builder setAgeRanges​(int index,
                                                          AgeRangeInfo.Builder builderForValue)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • addAgeRanges

        public BasicInsightsAudience.Builder addAgeRanges​(AgeRangeInfo value)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • addAgeRanges

        public BasicInsightsAudience.Builder addAgeRanges​(int index,
                                                          AgeRangeInfo value)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • addAgeRanges

        public BasicInsightsAudience.Builder addAgeRanges​(AgeRangeInfo.Builder builderForValue)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • addAgeRanges

        public BasicInsightsAudience.Builder addAgeRanges​(int index,
                                                          AgeRangeInfo.Builder builderForValue)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • addAllAgeRanges

        public BasicInsightsAudience.Builder addAllAgeRanges​(java.lang.Iterable<? extends AgeRangeInfo> values)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • clearAgeRanges

        public BasicInsightsAudience.Builder clearAgeRanges()
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • removeAgeRanges

        public BasicInsightsAudience.Builder removeAgeRanges​(int index)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • getAgeRangesBuilder

        public AgeRangeInfo.Builder getAgeRangesBuilder​(int index)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • getAgeRangesOrBuilder

        public AgeRangeInfoOrBuilder getAgeRangesOrBuilder​(int index)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
        Specified by:
        getAgeRangesOrBuilder in interface BasicInsightsAudienceOrBuilder
      • getAgeRangesOrBuilderList

        public java.util.List<? extends AgeRangeInfoOrBuilder> getAgeRangesOrBuilderList()
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
        Specified by:
        getAgeRangesOrBuilderList in interface BasicInsightsAudienceOrBuilder
      • addAgeRangesBuilder

        public AgeRangeInfo.Builder addAgeRangesBuilder()
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • addAgeRangesBuilder

        public AgeRangeInfo.Builder addAgeRangesBuilder​(int index)
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • getAgeRangesBuilderList

        public java.util.List<AgeRangeInfo.Builder> getAgeRangesBuilderList()
         Age ranges for the audience.  If absent, the audience represents all people
         over 18 that match the other attributes.
         
        repeated .google.ads.googleads.v14.common.AgeRangeInfo age_ranges = 4;
      • getUserInterestsList

        public java.util.List<UserInterestInfo> getUserInterestsList()
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
        Specified by:
        getUserInterestsList in interface BasicInsightsAudienceOrBuilder
      • getUserInterestsCount

        public int getUserInterestsCount()
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
        Specified by:
        getUserInterestsCount in interface BasicInsightsAudienceOrBuilder
      • getUserInterests

        public UserInterestInfo getUserInterests​(int index)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
        Specified by:
        getUserInterests in interface BasicInsightsAudienceOrBuilder
      • setUserInterests

        public BasicInsightsAudience.Builder setUserInterests​(int index,
                                                              UserInterestInfo value)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • setUserInterests

        public BasicInsightsAudience.Builder setUserInterests​(int index,
                                                              UserInterestInfo.Builder builderForValue)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addUserInterests

        public BasicInsightsAudience.Builder addUserInterests​(UserInterestInfo value)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addUserInterests

        public BasicInsightsAudience.Builder addUserInterests​(int index,
                                                              UserInterestInfo value)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addUserInterests

        public BasicInsightsAudience.Builder addUserInterests​(UserInterestInfo.Builder builderForValue)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addUserInterests

        public BasicInsightsAudience.Builder addUserInterests​(int index,
                                                              UserInterestInfo.Builder builderForValue)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addAllUserInterests

        public BasicInsightsAudience.Builder addAllUserInterests​(java.lang.Iterable<? extends UserInterestInfo> values)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • clearUserInterests

        public BasicInsightsAudience.Builder clearUserInterests()
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • removeUserInterests

        public BasicInsightsAudience.Builder removeUserInterests​(int index)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • getUserInterestsBuilder

        public UserInterestInfo.Builder getUserInterestsBuilder​(int index)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addUserInterestsBuilder

        public UserInterestInfo.Builder addUserInterestsBuilder()
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • addUserInterestsBuilder

        public UserInterestInfo.Builder addUserInterestsBuilder​(int index)
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • getUserInterestsBuilderList

        public java.util.List<UserInterestInfo.Builder> getUserInterestsBuilderList()
         User interests defining this audience.  Affinity and In-Market audiences
         are supported.
         
        repeated .google.ads.googleads.v14.common.UserInterestInfo user_interests = 5;
      • getTopicsList

        public java.util.List<AudienceInsightsTopic> getTopicsList()
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
        Specified by:
        getTopicsList in interface BasicInsightsAudienceOrBuilder
      • getTopicsCount

        public int getTopicsCount()
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
        Specified by:
        getTopicsCount in interface BasicInsightsAudienceOrBuilder
      • getTopics

        public AudienceInsightsTopic getTopics​(int index)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
        Specified by:
        getTopics in interface BasicInsightsAudienceOrBuilder
      • setTopics

        public BasicInsightsAudience.Builder setTopics​(int index,
                                                       AudienceInsightsTopic value)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • setTopics

        public BasicInsightsAudience.Builder setTopics​(int index,
                                                       AudienceInsightsTopic.Builder builderForValue)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addTopics

        public BasicInsightsAudience.Builder addTopics​(AudienceInsightsTopic value)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addTopics

        public BasicInsightsAudience.Builder addTopics​(int index,
                                                       AudienceInsightsTopic value)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addTopics

        public BasicInsightsAudience.Builder addTopics​(AudienceInsightsTopic.Builder builderForValue)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addTopics

        public BasicInsightsAudience.Builder addTopics​(int index,
                                                       AudienceInsightsTopic.Builder builderForValue)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addAllTopics

        public BasicInsightsAudience.Builder addAllTopics​(java.lang.Iterable<? extends AudienceInsightsTopic> values)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • clearTopics

        public BasicInsightsAudience.Builder clearTopics()
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • removeTopics

        public BasicInsightsAudience.Builder removeTopics​(int index)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • getTopicsBuilder

        public AudienceInsightsTopic.Builder getTopicsBuilder​(int index)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addTopicsBuilder

        public AudienceInsightsTopic.Builder addTopicsBuilder()
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • addTopicsBuilder

        public AudienceInsightsTopic.Builder addTopicsBuilder​(int index)
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • getTopicsBuilderList

        public java.util.List<AudienceInsightsTopic.Builder> getTopicsBuilderList()
         Topics, represented by Knowledge Graph entities and/or Product & Service
         categories, that this audience is interested in.
         
        repeated .google.ads.googleads.v14.services.AudienceInsightsTopic topics = 6;
      • setUnknownFields

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

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