Class InsightsAudience

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.InsightsAudience
All Implemented Interfaces:
InsightsAudienceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class InsightsAudience extends com.google.protobuf.GeneratedMessageV3 implements InsightsAudienceOrBuilder
 A set of users, defined by various characteristics, for which insights can
 be requested in AudienceInsightsService.
 
Protobuf type google.ads.googleads.v18.services.InsightsAudience
See Also:
  • Field Details

    • COUNTRY_LOCATIONS_FIELD_NUMBER

      public static final int COUNTRY_LOCATIONS_FIELD_NUMBER
      See Also:
    • SUB_COUNTRY_LOCATIONS_FIELD_NUMBER

      public static final int SUB_COUNTRY_LOCATIONS_FIELD_NUMBER
      See Also:
    • GENDER_FIELD_NUMBER

      public static final int GENDER_FIELD_NUMBER
      See Also:
    • AGE_RANGES_FIELD_NUMBER

      public static final int AGE_RANGES_FIELD_NUMBER
      See Also:
    • PARENTAL_STATUS_FIELD_NUMBER

      public static final int PARENTAL_STATUS_FIELD_NUMBER
      See Also:
    • INCOME_RANGES_FIELD_NUMBER

      public static final int INCOME_RANGES_FIELD_NUMBER
      See Also:
    • DYNAMIC_LINEUPS_FIELD_NUMBER

      public static final int DYNAMIC_LINEUPS_FIELD_NUMBER
      See Also:
    • TOPIC_AUDIENCE_COMBINATIONS_FIELD_NUMBER

      public static final int TOPIC_AUDIENCE_COMBINATIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getCountryLocationsList

      public List<LocationInfo> getCountryLocationsList()
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsList in interface InsightsAudienceOrBuilder
    • getCountryLocationsOrBuilderList

      public List<? extends LocationInfoOrBuilder> getCountryLocationsOrBuilderList()
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsOrBuilderList in interface InsightsAudienceOrBuilder
    • getCountryLocationsCount

      public int getCountryLocationsCount()
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsCount in interface InsightsAudienceOrBuilder
    • getCountryLocations

      public LocationInfo getCountryLocations(int index)
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocations in interface InsightsAudienceOrBuilder
    • getCountryLocationsOrBuilder

      public LocationInfoOrBuilder getCountryLocationsOrBuilder(int index)
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsOrBuilder in interface InsightsAudienceOrBuilder
    • getSubCountryLocationsList

      public List<LocationInfo> getSubCountryLocationsList()
       Sub-country geographic location attributes.  If present, each of these
       must be contained in one of the countries in this audience.  If absent, the
       audience is geographically to the country_locations and no further.
       
      repeated .google.ads.googleads.v18.common.LocationInfo sub_country_locations = 2;
      Specified by:
      getSubCountryLocationsList in interface InsightsAudienceOrBuilder
    • getSubCountryLocationsOrBuilderList

      public 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.  If absent, the
       audience is geographically to the country_locations and no further.
       
      repeated .google.ads.googleads.v18.common.LocationInfo sub_country_locations = 2;
      Specified by:
      getSubCountryLocationsOrBuilderList in interface InsightsAudienceOrBuilder
    • 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.  If absent, the
       audience is geographically to the country_locations and no further.
       
      repeated .google.ads.googleads.v18.common.LocationInfo sub_country_locations = 2;
      Specified by:
      getSubCountryLocationsCount in interface InsightsAudienceOrBuilder
    • 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.  If absent, the
       audience is geographically to the country_locations and no further.
       
      repeated .google.ads.googleads.v18.common.LocationInfo sub_country_locations = 2;
      Specified by:
      getSubCountryLocations in interface InsightsAudienceOrBuilder
    • 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.  If absent, the
       audience is geographically to the country_locations and no further.
       
      repeated .google.ads.googleads.v18.common.LocationInfo sub_country_locations = 2;
      Specified by:
      getSubCountryLocationsOrBuilder in interface InsightsAudienceOrBuilder
    • hasGender

      public boolean hasGender()
       Gender for the audience.  If absent, the audience does not restrict by
       gender.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
      Specified by:
      hasGender in interface InsightsAudienceOrBuilder
      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.v18.common.GenderInfo gender = 3;
      Specified by:
      getGender in interface InsightsAudienceOrBuilder
      Returns:
      The gender.
    • getGenderOrBuilder

      public GenderInfoOrBuilder getGenderOrBuilder()
       Gender for the audience.  If absent, the audience does not restrict by
       gender.
       
      .google.ads.googleads.v18.common.GenderInfo gender = 3;
      Specified by:
      getGenderOrBuilder in interface InsightsAudienceOrBuilder
    • getAgeRangesList

      public 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.v18.common.AgeRangeInfo age_ranges = 4;
      Specified by:
      getAgeRangesList in interface InsightsAudienceOrBuilder
    • getAgeRangesOrBuilderList

      public 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.v18.common.AgeRangeInfo age_ranges = 4;
      Specified by:
      getAgeRangesOrBuilderList in interface InsightsAudienceOrBuilder
    • 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.v18.common.AgeRangeInfo age_ranges = 4;
      Specified by:
      getAgeRangesCount in interface InsightsAudienceOrBuilder
    • 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.v18.common.AgeRangeInfo age_ranges = 4;
      Specified by:
      getAgeRanges in interface InsightsAudienceOrBuilder
    • 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.v18.common.AgeRangeInfo age_ranges = 4;
      Specified by:
      getAgeRangesOrBuilder in interface InsightsAudienceOrBuilder
    • hasParentalStatus

      public boolean hasParentalStatus()
       Parental status for the audience.  If absent, the audience does not
       restrict by parental status.
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 5;
      Specified by:
      hasParentalStatus in interface InsightsAudienceOrBuilder
      Returns:
      Whether the parentalStatus field is set.
    • getParentalStatus

      public ParentalStatusInfo getParentalStatus()
       Parental status for the audience.  If absent, the audience does not
       restrict by parental status.
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 5;
      Specified by:
      getParentalStatus in interface InsightsAudienceOrBuilder
      Returns:
      The parentalStatus.
    • getParentalStatusOrBuilder

      public ParentalStatusInfoOrBuilder getParentalStatusOrBuilder()
       Parental status for the audience.  If absent, the audience does not
       restrict by parental status.
       
      .google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 5;
      Specified by:
      getParentalStatusOrBuilder in interface InsightsAudienceOrBuilder
    • getIncomeRangesList

      public List<IncomeRangeInfo> getIncomeRangesList()
       Household income percentile ranges for the audience.  If absent, the
       audience does not restrict by household income range.
       
      repeated .google.ads.googleads.v18.common.IncomeRangeInfo income_ranges = 6;
      Specified by:
      getIncomeRangesList in interface InsightsAudienceOrBuilder
    • getIncomeRangesOrBuilderList

      public List<? extends IncomeRangeInfoOrBuilder> getIncomeRangesOrBuilderList()
       Household income percentile ranges for the audience.  If absent, the
       audience does not restrict by household income range.
       
      repeated .google.ads.googleads.v18.common.IncomeRangeInfo income_ranges = 6;
      Specified by:
      getIncomeRangesOrBuilderList in interface InsightsAudienceOrBuilder
    • getIncomeRangesCount

      public int getIncomeRangesCount()
       Household income percentile ranges for the audience.  If absent, the
       audience does not restrict by household income range.
       
      repeated .google.ads.googleads.v18.common.IncomeRangeInfo income_ranges = 6;
      Specified by:
      getIncomeRangesCount in interface InsightsAudienceOrBuilder
    • getIncomeRanges

      public IncomeRangeInfo getIncomeRanges(int index)
       Household income percentile ranges for the audience.  If absent, the
       audience does not restrict by household income range.
       
      repeated .google.ads.googleads.v18.common.IncomeRangeInfo income_ranges = 6;
      Specified by:
      getIncomeRanges in interface InsightsAudienceOrBuilder
    • getIncomeRangesOrBuilder

      public IncomeRangeInfoOrBuilder getIncomeRangesOrBuilder(int index)
       Household income percentile ranges for the audience.  If absent, the
       audience does not restrict by household income range.
       
      repeated .google.ads.googleads.v18.common.IncomeRangeInfo income_ranges = 6;
      Specified by:
      getIncomeRangesOrBuilder in interface InsightsAudienceOrBuilder
    • getDynamicLineupsList

      public List<AudienceInsightsDynamicLineup> getDynamicLineupsList()
       Dynamic lineups representing the YouTube content viewed by the audience.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineups = 7;
      Specified by:
      getDynamicLineupsList in interface InsightsAudienceOrBuilder
    • getDynamicLineupsOrBuilderList

      public List<? extends AudienceInsightsDynamicLineupOrBuilder> getDynamicLineupsOrBuilderList()
       Dynamic lineups representing the YouTube content viewed by the audience.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineups = 7;
      Specified by:
      getDynamicLineupsOrBuilderList in interface InsightsAudienceOrBuilder
    • getDynamicLineupsCount

      public int getDynamicLineupsCount()
       Dynamic lineups representing the YouTube content viewed by the audience.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineups = 7;
      Specified by:
      getDynamicLineupsCount in interface InsightsAudienceOrBuilder
    • getDynamicLineups

      public AudienceInsightsDynamicLineup getDynamicLineups(int index)
       Dynamic lineups representing the YouTube content viewed by the audience.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineups = 7;
      Specified by:
      getDynamicLineups in interface InsightsAudienceOrBuilder
    • getDynamicLineupsOrBuilder

      public AudienceInsightsDynamicLineupOrBuilder getDynamicLineupsOrBuilder(int index)
       Dynamic lineups representing the YouTube content viewed by the audience.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineups = 7;
      Specified by:
      getDynamicLineupsOrBuilder in interface InsightsAudienceOrBuilder
    • getTopicAudienceCombinationsList

      public List<InsightsAudienceAttributeGroup> getTopicAudienceCombinationsList()
       A combination of entity, category and user interest attributes defining the
       audience. The combination has a logical AND-of-ORs structure: Attributes
       within each InsightsAudienceAttributeGroup are combined with OR, and
       the combinations themselves are combined together with AND.  For example,
       the expression (Entity OR Affinity) AND (In-Market OR Category) can be
       formed using two InsightsAudienceAttributeGroups with two Attributes
       each.
       
      repeated .google.ads.googleads.v18.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8;
      Specified by:
      getTopicAudienceCombinationsList in interface InsightsAudienceOrBuilder
    • getTopicAudienceCombinationsOrBuilderList

      public List<? extends InsightsAudienceAttributeGroupOrBuilder> getTopicAudienceCombinationsOrBuilderList()
       A combination of entity, category and user interest attributes defining the
       audience. The combination has a logical AND-of-ORs structure: Attributes
       within each InsightsAudienceAttributeGroup are combined with OR, and
       the combinations themselves are combined together with AND.  For example,
       the expression (Entity OR Affinity) AND (In-Market OR Category) can be
       formed using two InsightsAudienceAttributeGroups with two Attributes
       each.
       
      repeated .google.ads.googleads.v18.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8;
      Specified by:
      getTopicAudienceCombinationsOrBuilderList in interface InsightsAudienceOrBuilder
    • getTopicAudienceCombinationsCount

      public int getTopicAudienceCombinationsCount()
       A combination of entity, category and user interest attributes defining the
       audience. The combination has a logical AND-of-ORs structure: Attributes
       within each InsightsAudienceAttributeGroup are combined with OR, and
       the combinations themselves are combined together with AND.  For example,
       the expression (Entity OR Affinity) AND (In-Market OR Category) can be
       formed using two InsightsAudienceAttributeGroups with two Attributes
       each.
       
      repeated .google.ads.googleads.v18.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8;
      Specified by:
      getTopicAudienceCombinationsCount in interface InsightsAudienceOrBuilder
    • getTopicAudienceCombinations

      public InsightsAudienceAttributeGroup getTopicAudienceCombinations(int index)
       A combination of entity, category and user interest attributes defining the
       audience. The combination has a logical AND-of-ORs structure: Attributes
       within each InsightsAudienceAttributeGroup are combined with OR, and
       the combinations themselves are combined together with AND.  For example,
       the expression (Entity OR Affinity) AND (In-Market OR Category) can be
       formed using two InsightsAudienceAttributeGroups with two Attributes
       each.
       
      repeated .google.ads.googleads.v18.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8;
      Specified by:
      getTopicAudienceCombinations in interface InsightsAudienceOrBuilder
    • getTopicAudienceCombinationsOrBuilder

      public InsightsAudienceAttributeGroupOrBuilder getTopicAudienceCombinationsOrBuilder(int index)
       A combination of entity, category and user interest attributes defining the
       audience. The combination has a logical AND-of-ORs structure: Attributes
       within each InsightsAudienceAttributeGroup are combined with OR, and
       the combinations themselves are combined together with AND.  For example,
       the expression (Entity OR Affinity) AND (In-Market OR Category) can be
       formed using two InsightsAudienceAttributeGroups with two Attributes
       each.
       
      repeated .google.ads.googleads.v18.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8;
      Specified by:
      getTopicAudienceCombinationsOrBuilder in interface InsightsAudienceOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InsightsAudience parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudience parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudience parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudience parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudience parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudience parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudience parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InsightsAudience parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InsightsAudience parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InsightsAudience parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InsightsAudience parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InsightsAudience parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public InsightsAudience.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InsightsAudience.Builder newBuilder()
    • newBuilder

      public static InsightsAudience.Builder newBuilder(InsightsAudience prototype)
    • toBuilder

      public InsightsAudience.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InsightsAudience.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static InsightsAudience getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InsightsAudience> parser()
    • getParserForType

      public com.google.protobuf.Parser<InsightsAudience> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public InsightsAudience getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder