Class AudienceInsightsAttribute
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.AudienceInsightsAttribute
- All Implemented Interfaces:
AudienceInsightsAttributeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AudienceInsightsAttribute
extends com.google.protobuf.GeneratedMessageV3
implements AudienceInsightsAttributeOrBuilder
An audience attribute that can be used to request insights about the audience.Protobuf type
google.ads.googleads.v18.services.AudienceInsightsAttribute- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classAn audience attribute that can be used to request insights about the audience.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn audience attribute defined by an age range.An audience attribute defined by an age range.An audience attribute defined by interest in a Product & Service category.An audience attribute defined by interest in a Product & Service category.static AudienceInsightsAttributestatic final com.google.protobuf.Descriptors.DescriptorA YouTube Dynamic LineupA YouTube Dynamic LineupAn audience attribute defined by interest in a topic represented by a Knowledge Graph entity.An audience attribute defined by interest in a topic represented by a Knowledge Graph entity.An audience attribute defined by a gender.An audience attribute defined by a gender.A household income percentile range.A household income percentile range.An audience attribute defined by a geographic location.An audience attribute defined by a geographic location.A Parental Status value (parent, or not a parent).A Parental Status value (parent, or not a parent).com.google.protobuf.Parser<AudienceInsightsAttribute>intAn Affinity or In-Market audience.An Affinity or In-Market audience.A YouTube channel.A YouTube channel.booleanAn audience attribute defined by an age range.booleanAn audience attribute defined by interest in a Product & Service category.booleanA YouTube Dynamic LineupbooleanAn audience attribute defined by interest in a topic represented by a Knowledge Graph entity.booleanAn audience attribute defined by a gender.inthashCode()booleanA household income percentile range.booleanAn audience attribute defined by a geographic location.booleanA Parental Status value (parent, or not a parent).booleanAn Affinity or In-Market audience.booleanA YouTube channel.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(AudienceInsightsAttribute prototype) protected AudienceInsightsAttribute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AudienceInsightsAttributeparseDelimitedFrom(InputStream input) static AudienceInsightsAttributeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AudienceInsightsAttributeparseFrom(byte[] data) static AudienceInsightsAttributeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AudienceInsightsAttributeparseFrom(com.google.protobuf.ByteString data) static AudienceInsightsAttributeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AudienceInsightsAttributeparseFrom(com.google.protobuf.CodedInputStream input) static AudienceInsightsAttributeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AudienceInsightsAttributeparseFrom(InputStream input) static AudienceInsightsAttributeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AudienceInsightsAttributeparseFrom(ByteBuffer data) static AudienceInsightsAttributeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AudienceInsightsAttribute>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AGE_RANGE_FIELD_NUMBER
public static final int AGE_RANGE_FIELD_NUMBER- See Also:
-
GENDER_FIELD_NUMBER
public static final int GENDER_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
USER_INTEREST_FIELD_NUMBER
public static final int USER_INTEREST_FIELD_NUMBER- See Also:
-
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER- See Also:
-
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER- See Also:
-
DYNAMIC_LINEUP_FIELD_NUMBER
public static final int DYNAMIC_LINEUP_FIELD_NUMBER- See Also:
-
PARENTAL_STATUS_FIELD_NUMBER
public static final int PARENTAL_STATUS_FIELD_NUMBER- See Also:
-
INCOME_RANGE_FIELD_NUMBER
public static final int INCOME_RANGE_FIELD_NUMBER- See Also:
-
YOUTUBE_CHANNEL_FIELD_NUMBER
public static final int YOUTUBE_CHANNEL_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAttributeCase
- Specified by:
getAttributeCasein interfaceAudienceInsightsAttributeOrBuilder
-
hasAgeRange
public boolean hasAgeRange()An audience attribute defined by an age range.
.google.ads.googleads.v18.common.AgeRangeInfo age_range = 1;- Specified by:
hasAgeRangein interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the ageRange field is set.
-
getAgeRange
An audience attribute defined by an age range.
.google.ads.googleads.v18.common.AgeRangeInfo age_range = 1;- Specified by:
getAgeRangein interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The ageRange.
-
getAgeRangeOrBuilder
An audience attribute defined by an age range.
.google.ads.googleads.v18.common.AgeRangeInfo age_range = 1;- Specified by:
getAgeRangeOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasGender
public boolean hasGender()An audience attribute defined by a gender.
.google.ads.googleads.v18.common.GenderInfo gender = 2;- Specified by:
hasGenderin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the gender field is set.
-
getGender
An audience attribute defined by a gender.
.google.ads.googleads.v18.common.GenderInfo gender = 2;- Specified by:
getGenderin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The gender.
-
getGenderOrBuilder
An audience attribute defined by a gender.
.google.ads.googleads.v18.common.GenderInfo gender = 2;- Specified by:
getGenderOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasLocation
public boolean hasLocation()An audience attribute defined by a geographic location.
.google.ads.googleads.v18.common.LocationInfo location = 3;- Specified by:
hasLocationin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
An audience attribute defined by a geographic location.
.google.ads.googleads.v18.common.LocationInfo location = 3;- Specified by:
getLocationin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The location.
-
getLocationOrBuilder
An audience attribute defined by a geographic location.
.google.ads.googleads.v18.common.LocationInfo location = 3;- Specified by:
getLocationOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasUserInterest
public boolean hasUserInterest()An Affinity or In-Market audience.
.google.ads.googleads.v18.common.UserInterestInfo user_interest = 4;- Specified by:
hasUserInterestin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the userInterest field is set.
-
getUserInterest
An Affinity or In-Market audience.
.google.ads.googleads.v18.common.UserInterestInfo user_interest = 4;- Specified by:
getUserInterestin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The userInterest.
-
getUserInterestOrBuilder
An Affinity or In-Market audience.
.google.ads.googleads.v18.common.UserInterestInfo user_interest = 4;- Specified by:
getUserInterestOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasEntity
public boolean hasEntity()An audience attribute defined by interest in a topic represented by a Knowledge Graph entity.
.google.ads.googleads.v18.services.AudienceInsightsEntity entity = 5;- Specified by:
hasEntityin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the entity field is set.
-
getEntity
An audience attribute defined by interest in a topic represented by a Knowledge Graph entity.
.google.ads.googleads.v18.services.AudienceInsightsEntity entity = 5;- Specified by:
getEntityin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The entity.
-
getEntityOrBuilder
An audience attribute defined by interest in a topic represented by a Knowledge Graph entity.
.google.ads.googleads.v18.services.AudienceInsightsEntity entity = 5;- Specified by:
getEntityOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasCategory
public boolean hasCategory()An audience attribute defined by interest in a Product & Service category.
.google.ads.googleads.v18.services.AudienceInsightsCategory category = 6;- Specified by:
hasCategoryin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the category field is set.
-
getCategory
An audience attribute defined by interest in a Product & Service category.
.google.ads.googleads.v18.services.AudienceInsightsCategory category = 6;- Specified by:
getCategoryin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The category.
-
getCategoryOrBuilder
An audience attribute defined by interest in a Product & Service category.
.google.ads.googleads.v18.services.AudienceInsightsCategory category = 6;- Specified by:
getCategoryOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasDynamicLineup
public boolean hasDynamicLineup()A YouTube Dynamic Lineup
.google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineup = 7;- Specified by:
hasDynamicLineupin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the dynamicLineup field is set.
-
getDynamicLineup
A YouTube Dynamic Lineup
.google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineup = 7;- Specified by:
getDynamicLineupin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The dynamicLineup.
-
getDynamicLineupOrBuilder
A YouTube Dynamic Lineup
.google.ads.googleads.v18.services.AudienceInsightsDynamicLineup dynamic_lineup = 7;- Specified by:
getDynamicLineupOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasParentalStatus
public boolean hasParentalStatus()A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;- Specified by:
hasParentalStatusin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the parentalStatus field is set.
-
getParentalStatus
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;- Specified by:
getParentalStatusin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The parentalStatus.
-
getParentalStatusOrBuilder
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;- Specified by:
getParentalStatusOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasIncomeRange
public boolean hasIncomeRange()A household income percentile range.
.google.ads.googleads.v18.common.IncomeRangeInfo income_range = 9;- Specified by:
hasIncomeRangein interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the incomeRange field is set.
-
getIncomeRange
A household income percentile range.
.google.ads.googleads.v18.common.IncomeRangeInfo income_range = 9;- Specified by:
getIncomeRangein interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The incomeRange.
-
getIncomeRangeOrBuilder
A household income percentile range.
.google.ads.googleads.v18.common.IncomeRangeInfo income_range = 9;- Specified by:
getIncomeRangeOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
hasYoutubeChannel
public boolean hasYoutubeChannel()A YouTube channel.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 10;- Specified by:
hasYoutubeChannelin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- Whether the youtubeChannel field is set.
-
getYoutubeChannel
A YouTube channel.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 10;- Specified by:
getYoutubeChannelin interfaceAudienceInsightsAttributeOrBuilder- Returns:
- The youtubeChannel.
-
getYoutubeChannelOrBuilder
A YouTube channel.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 10;- Specified by:
getYoutubeChannelOrBuilderin interfaceAudienceInsightsAttributeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AudienceInsightsAttribute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AudienceInsightsAttribute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AudienceInsightsAttribute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AudienceInsightsAttribute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-