Class AudienceDimension

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.AudienceDimension
All Implemented Interfaces:
AudienceDimensionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AudienceDimension extends com.google.protobuf.GeneratedMessageV3 implements AudienceDimensionOrBuilder
 Positive dimension specifying user's audience.
 
Protobuf type google.ads.googleads.v18.common.AudienceDimension
See Also:
  • Field Details

    • AGE_FIELD_NUMBER

      public static final int AGE_FIELD_NUMBER
      See Also:
    • GENDER_FIELD_NUMBER

      public static final int GENDER_FIELD_NUMBER
      See Also:
    • HOUSEHOLD_INCOME_FIELD_NUMBER

      public static final int HOUSEHOLD_INCOME_FIELD_NUMBER
      See Also:
    • PARENTAL_STATUS_FIELD_NUMBER

      public static final int PARENTAL_STATUS_FIELD_NUMBER
      See Also:
    • AUDIENCE_SEGMENTS_FIELD_NUMBER

      public static final int AUDIENCE_SEGMENTS_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
    • getDimensionCase

      public AudienceDimension.DimensionCase getDimensionCase()
      Specified by:
      getDimensionCase in interface AudienceDimensionOrBuilder
    • hasAge

      public boolean hasAge()
       Dimension specifying users by their age.
       
      .google.ads.googleads.v18.common.AgeDimension age = 1;
      Specified by:
      hasAge in interface AudienceDimensionOrBuilder
      Returns:
      Whether the age field is set.
    • getAge

      public AgeDimension getAge()
       Dimension specifying users by their age.
       
      .google.ads.googleads.v18.common.AgeDimension age = 1;
      Specified by:
      getAge in interface AudienceDimensionOrBuilder
      Returns:
      The age.
    • getAgeOrBuilder

      public AgeDimensionOrBuilder getAgeOrBuilder()
       Dimension specifying users by their age.
       
      .google.ads.googleads.v18.common.AgeDimension age = 1;
      Specified by:
      getAgeOrBuilder in interface AudienceDimensionOrBuilder
    • hasGender

      public boolean hasGender()
       Dimension specifying users by their gender.
       
      .google.ads.googleads.v18.common.GenderDimension gender = 2;
      Specified by:
      hasGender in interface AudienceDimensionOrBuilder
      Returns:
      Whether the gender field is set.
    • getGender

      public GenderDimension getGender()
       Dimension specifying users by their gender.
       
      .google.ads.googleads.v18.common.GenderDimension gender = 2;
      Specified by:
      getGender in interface AudienceDimensionOrBuilder
      Returns:
      The gender.
    • getGenderOrBuilder

      public GenderDimensionOrBuilder getGenderOrBuilder()
       Dimension specifying users by their gender.
       
      .google.ads.googleads.v18.common.GenderDimension gender = 2;
      Specified by:
      getGenderOrBuilder in interface AudienceDimensionOrBuilder
    • hasHouseholdIncome

      public boolean hasHouseholdIncome()
       Dimension specifying users by their household income.
       
      .google.ads.googleads.v18.common.HouseholdIncomeDimension household_income = 3;
      Specified by:
      hasHouseholdIncome in interface AudienceDimensionOrBuilder
      Returns:
      Whether the householdIncome field is set.
    • getHouseholdIncome

      public HouseholdIncomeDimension getHouseholdIncome()
       Dimension specifying users by their household income.
       
      .google.ads.googleads.v18.common.HouseholdIncomeDimension household_income = 3;
      Specified by:
      getHouseholdIncome in interface AudienceDimensionOrBuilder
      Returns:
      The householdIncome.
    • getHouseholdIncomeOrBuilder

      public HouseholdIncomeDimensionOrBuilder getHouseholdIncomeOrBuilder()
       Dimension specifying users by their household income.
       
      .google.ads.googleads.v18.common.HouseholdIncomeDimension household_income = 3;
      Specified by:
      getHouseholdIncomeOrBuilder in interface AudienceDimensionOrBuilder
    • hasParentalStatus

      public boolean hasParentalStatus()
       Dimension specifying users by their parental status.
       
      .google.ads.googleads.v18.common.ParentalStatusDimension parental_status = 4;
      Specified by:
      hasParentalStatus in interface AudienceDimensionOrBuilder
      Returns:
      Whether the parentalStatus field is set.
    • getParentalStatus

      public ParentalStatusDimension getParentalStatus()
       Dimension specifying users by their parental status.
       
      .google.ads.googleads.v18.common.ParentalStatusDimension parental_status = 4;
      Specified by:
      getParentalStatus in interface AudienceDimensionOrBuilder
      Returns:
      The parentalStatus.
    • getParentalStatusOrBuilder

      public ParentalStatusDimensionOrBuilder getParentalStatusOrBuilder()
       Dimension specifying users by their parental status.
       
      .google.ads.googleads.v18.common.ParentalStatusDimension parental_status = 4;
      Specified by:
      getParentalStatusOrBuilder in interface AudienceDimensionOrBuilder
    • hasAudienceSegments

      public boolean hasAudienceSegments()
       Dimension specifying users by their membership in other audience
       segments.
       
      .google.ads.googleads.v18.common.AudienceSegmentDimension audience_segments = 5;
      Specified by:
      hasAudienceSegments in interface AudienceDimensionOrBuilder
      Returns:
      Whether the audienceSegments field is set.
    • getAudienceSegments

      public AudienceSegmentDimension getAudienceSegments()
       Dimension specifying users by their membership in other audience
       segments.
       
      .google.ads.googleads.v18.common.AudienceSegmentDimension audience_segments = 5;
      Specified by:
      getAudienceSegments in interface AudienceDimensionOrBuilder
      Returns:
      The audienceSegments.
    • getAudienceSegmentsOrBuilder

      public AudienceSegmentDimensionOrBuilder getAudienceSegmentsOrBuilder()
       Dimension specifying users by their membership in other audience
       segments.
       
      .google.ads.googleads.v18.common.AudienceSegmentDimension audience_segments = 5;
      Specified by:
      getAudienceSegmentsOrBuilder in interface AudienceDimensionOrBuilder
    • 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 AudienceDimension parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AudienceDimension.Builder newBuilder()
    • newBuilder

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

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

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

      public static AudienceDimension getDefaultInstance()
    • parser

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

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