Class AudienceCompositionSection

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

public final class AudienceCompositionSection extends com.google.protobuf.GeneratedMessageV3 implements AudienceCompositionSectionOrBuilder
 A collection of related attributes of the same type in an audience
 composition insights report.
 
Protobuf type google.ads.googleads.v18.services.AudienceCompositionSection
See Also:
  • Field Details

    • DIMENSION_FIELD_NUMBER

      public static final int DIMENSION_FIELD_NUMBER
      See Also:
    • TOP_ATTRIBUTES_FIELD_NUMBER

      public static final int TOP_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • CLUSTERED_ATTRIBUTES_FIELD_NUMBER

      public static final int CLUSTERED_ATTRIBUTES_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
    • getDimensionValue

      public int getDimensionValue()
       The type of the attributes in this section.
       
      .google.ads.googleads.v18.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1;
      Specified by:
      getDimensionValue in interface AudienceCompositionSectionOrBuilder
      Returns:
      The enum numeric value on the wire for dimension.
    • getDimension

       The type of the attributes in this section.
       
      .google.ads.googleads.v18.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1;
      Specified by:
      getDimension in interface AudienceCompositionSectionOrBuilder
      Returns:
      The dimension.
    • getTopAttributesList

      public List<AudienceCompositionAttribute> getTopAttributesList()
       The most relevant segments for this audience.  If dimension is GENDER,
       AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttribute top_attributes = 3;
      Specified by:
      getTopAttributesList in interface AudienceCompositionSectionOrBuilder
    • getTopAttributesOrBuilderList

      public List<? extends AudienceCompositionAttributeOrBuilder> getTopAttributesOrBuilderList()
       The most relevant segments for this audience.  If dimension is GENDER,
       AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttribute top_attributes = 3;
      Specified by:
      getTopAttributesOrBuilderList in interface AudienceCompositionSectionOrBuilder
    • getTopAttributesCount

      public int getTopAttributesCount()
       The most relevant segments for this audience.  If dimension is GENDER,
       AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttribute top_attributes = 3;
      Specified by:
      getTopAttributesCount in interface AudienceCompositionSectionOrBuilder
    • getTopAttributes

      public AudienceCompositionAttribute getTopAttributes(int index)
       The most relevant segments for this audience.  If dimension is GENDER,
       AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttribute top_attributes = 3;
      Specified by:
      getTopAttributes in interface AudienceCompositionSectionOrBuilder
    • getTopAttributesOrBuilder

      public AudienceCompositionAttributeOrBuilder getTopAttributesOrBuilder(int index)
       The most relevant segments for this audience.  If dimension is GENDER,
       AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttribute top_attributes = 3;
      Specified by:
      getTopAttributesOrBuilder in interface AudienceCompositionSectionOrBuilder
    • getClusteredAttributesList

      public List<AudienceCompositionAttributeCluster> getClusteredAttributesList()
       Additional attributes for this audience, grouped into clusters.  Only
       populated if dimension is YOUTUBE_CHANNEL.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttributeCluster clustered_attributes = 4;
      Specified by:
      getClusteredAttributesList in interface AudienceCompositionSectionOrBuilder
    • getClusteredAttributesOrBuilderList

      public List<? extends AudienceCompositionAttributeClusterOrBuilder> getClusteredAttributesOrBuilderList()
       Additional attributes for this audience, grouped into clusters.  Only
       populated if dimension is YOUTUBE_CHANNEL.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttributeCluster clustered_attributes = 4;
      Specified by:
      getClusteredAttributesOrBuilderList in interface AudienceCompositionSectionOrBuilder
    • getClusteredAttributesCount

      public int getClusteredAttributesCount()
       Additional attributes for this audience, grouped into clusters.  Only
       populated if dimension is YOUTUBE_CHANNEL.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttributeCluster clustered_attributes = 4;
      Specified by:
      getClusteredAttributesCount in interface AudienceCompositionSectionOrBuilder
    • getClusteredAttributes

      public AudienceCompositionAttributeCluster getClusteredAttributes(int index)
       Additional attributes for this audience, grouped into clusters.  Only
       populated if dimension is YOUTUBE_CHANNEL.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttributeCluster clustered_attributes = 4;
      Specified by:
      getClusteredAttributes in interface AudienceCompositionSectionOrBuilder
    • getClusteredAttributesOrBuilder

      public AudienceCompositionAttributeClusterOrBuilder getClusteredAttributesOrBuilder(int index)
       Additional attributes for this audience, grouped into clusters.  Only
       populated if dimension is YOUTUBE_CHANNEL.
       
      repeated .google.ads.googleads.v18.services.AudienceCompositionAttributeCluster clustered_attributes = 4;
      Specified by:
      getClusteredAttributesOrBuilder in interface AudienceCompositionSectionOrBuilder
    • 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 AudienceCompositionSection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AudienceCompositionSection.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AudienceCompositionSection getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AudienceCompositionSection> 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 AudienceCompositionSection getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder