Class BasicInsightsAudience
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.BasicInsightsAudience
- All Implemented Interfaces:
BasicInsightsAudienceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class BasicInsightsAudience
extends com.google.protobuf.GeneratedMessageV3
implements BasicInsightsAudienceOrBuilder
A description of an audience used for requesting insights.Protobuf type
google.ads.googleads.v18.services.BasicInsightsAudience- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA description of an audience used for requesting insights.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 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 TypeMethodDescriptionbooleangetAgeRanges(int index) Age ranges for the audience.intAge ranges for the audience.Age ranges for the audience.getAgeRangesOrBuilder(int index) Age ranges for the audience.List<? extends AgeRangeInfoOrBuilder>Age ranges for the audience.getCountryLocation(int index) Required.intRequired.Required.getCountryLocationOrBuilder(int index) Required.List<? extends LocationInfoOrBuilder>Required.static BasicInsightsAudiencestatic final com.google.protobuf.Descriptors.DescriptorGender for the audience.Gender for the audience.com.google.protobuf.Parser<BasicInsightsAudience>intgetSubCountryLocations(int index) Sub-country geographic location attributes.intSub-country geographic location attributes.Sub-country geographic location attributes.getSubCountryLocationsOrBuilder(int index) Sub-country geographic location attributes.List<? extends LocationInfoOrBuilder>Sub-country geographic location attributes.getTopics(int index) Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.intTopics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.getTopicsOrBuilder(int index) Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.List<? extends AudienceInsightsTopicOrBuilder>Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.getUserInterests(int index) User interests defining this audience.intUser interests defining this audience.User interests defining this audience.getUserInterestsOrBuilder(int index) User interests defining this audience.List<? extends UserInterestInfoOrBuilder>User interests defining this audience.booleanGender for the audience.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(BasicInsightsAudience prototype) protected BasicInsightsAudience.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static BasicInsightsAudienceparseDelimitedFrom(InputStream input) static BasicInsightsAudienceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BasicInsightsAudienceparseFrom(byte[] data) static BasicInsightsAudienceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BasicInsightsAudienceparseFrom(com.google.protobuf.ByteString data) static BasicInsightsAudienceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BasicInsightsAudienceparseFrom(com.google.protobuf.CodedInputStream input) static BasicInsightsAudienceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BasicInsightsAudienceparseFrom(InputStream input) static BasicInsightsAudienceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BasicInsightsAudienceparseFrom(ByteBuffer data) static BasicInsightsAudienceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BasicInsightsAudience>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
-
COUNTRY_LOCATION_FIELD_NUMBER
public static final int COUNTRY_LOCATION_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:
-
USER_INTERESTS_FIELD_NUMBER
public static final int USER_INTERESTS_FIELD_NUMBER- See Also:
-
TOPICS_FIELD_NUMBER
public static final int TOPICS_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
-
getCountryLocationList
Required. The countries for this audience.
repeated .google.ads.googleads.v18.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCountryLocationListin interfaceBasicInsightsAudienceOrBuilder
-
getCountryLocationOrBuilderList
Required. The countries for this audience.
repeated .google.ads.googleads.v18.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCountryLocationOrBuilderListin interfaceBasicInsightsAudienceOrBuilder
-
getCountryLocationCount
public int getCountryLocationCount()Required. The countries for this audience.
repeated .google.ads.googleads.v18.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCountryLocationCountin interfaceBasicInsightsAudienceOrBuilder
-
getCountryLocation
Required. The countries for this audience.
repeated .google.ads.googleads.v18.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCountryLocationin interfaceBasicInsightsAudienceOrBuilder
-
getCountryLocationOrBuilder
Required. The countries for this audience.
repeated .google.ads.googleads.v18.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCountryLocationOrBuilderin interfaceBasicInsightsAudienceOrBuilder
-
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.v18.common.LocationInfo sub_country_locations = 2;- Specified by:
getSubCountryLocationsListin interfaceBasicInsightsAudienceOrBuilder
-
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.v18.common.LocationInfo sub_country_locations = 2;- Specified by:
getSubCountryLocationsOrBuilderListin interfaceBasicInsightsAudienceOrBuilder
-
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.v18.common.LocationInfo sub_country_locations = 2;- Specified by:
getSubCountryLocationsCountin interfaceBasicInsightsAudienceOrBuilder
-
getSubCountryLocations
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.v18.common.LocationInfo sub_country_locations = 2;- Specified by:
getSubCountryLocationsin interfaceBasicInsightsAudienceOrBuilder
-
getSubCountryLocationsOrBuilder
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.v18.common.LocationInfo sub_country_locations = 2;- Specified by:
getSubCountryLocationsOrBuilderin interfaceBasicInsightsAudienceOrBuilder
-
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:
hasGenderin interfaceBasicInsightsAudienceOrBuilder- Returns:
- Whether the gender field is set.
-
getGender
Gender for the audience. If absent, the audience does not restrict by gender.
.google.ads.googleads.v18.common.GenderInfo gender = 3;- Specified by:
getGenderin interfaceBasicInsightsAudienceOrBuilder- Returns:
- The gender.
-
getGenderOrBuilder
Gender for the audience. If absent, the audience does not restrict by gender.
.google.ads.googleads.v18.common.GenderInfo gender = 3;- Specified by:
getGenderOrBuilderin interfaceBasicInsightsAudienceOrBuilder
-
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:
getAgeRangesListin interfaceBasicInsightsAudienceOrBuilder
-
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:
getAgeRangesOrBuilderListin interfaceBasicInsightsAudienceOrBuilder
-
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:
getAgeRangesCountin interfaceBasicInsightsAudienceOrBuilder
-
getAgeRanges
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:
getAgeRangesin interfaceBasicInsightsAudienceOrBuilder
-
getAgeRangesOrBuilder
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:
getAgeRangesOrBuilderin interfaceBasicInsightsAudienceOrBuilder
-
getUserInterestsList
User interests defining this audience. Affinity and In-Market audiences are supported.
repeated .google.ads.googleads.v18.common.UserInterestInfo user_interests = 5;- Specified by:
getUserInterestsListin interfaceBasicInsightsAudienceOrBuilder
-
getUserInterestsOrBuilderList
User interests defining this audience. Affinity and In-Market audiences are supported.
repeated .google.ads.googleads.v18.common.UserInterestInfo user_interests = 5;- Specified by:
getUserInterestsOrBuilderListin interfaceBasicInsightsAudienceOrBuilder
-
getUserInterestsCount
public int getUserInterestsCount()User interests defining this audience. Affinity and In-Market audiences are supported.
repeated .google.ads.googleads.v18.common.UserInterestInfo user_interests = 5;- Specified by:
getUserInterestsCountin interfaceBasicInsightsAudienceOrBuilder
-
getUserInterests
User interests defining this audience. Affinity and In-Market audiences are supported.
repeated .google.ads.googleads.v18.common.UserInterestInfo user_interests = 5;- Specified by:
getUserInterestsin interfaceBasicInsightsAudienceOrBuilder
-
getUserInterestsOrBuilder
User interests defining this audience. Affinity and In-Market audiences are supported.
repeated .google.ads.googleads.v18.common.UserInterestInfo user_interests = 5;- Specified by:
getUserInterestsOrBuilderin interfaceBasicInsightsAudienceOrBuilder
-
getTopicsList
Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.
repeated .google.ads.googleads.v18.services.AudienceInsightsTopic topics = 6;- Specified by:
getTopicsListin interfaceBasicInsightsAudienceOrBuilder
-
getTopicsOrBuilderList
Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.
repeated .google.ads.googleads.v18.services.AudienceInsightsTopic topics = 6;- Specified by:
getTopicsOrBuilderListin interfaceBasicInsightsAudienceOrBuilder
-
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.v18.services.AudienceInsightsTopic topics = 6;- Specified by:
getTopicsCountin interfaceBasicInsightsAudienceOrBuilder
-
getTopics
Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.
repeated .google.ads.googleads.v18.services.AudienceInsightsTopic topics = 6;- Specified by:
getTopicsin interfaceBasicInsightsAudienceOrBuilder
-
getTopicsOrBuilder
Topics, represented by Knowledge Graph entities and/or Product & Service categories, that this audience is interested in.
repeated .google.ads.googleads.v18.services.AudienceInsightsTopic topics = 6;- Specified by:
getTopicsOrBuilderin interfaceBasicInsightsAudienceOrBuilder
-
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 BasicInsightsAudience parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicInsightsAudience parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicInsightsAudience parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicInsightsAudience parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicInsightsAudience parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicInsightsAudience parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BasicInsightsAudience parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BasicInsightsAudience parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BasicInsightsAudience parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BasicInsightsAudience 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 BasicInsightsAudience.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
-