Class ListAudienceInsightsAttributesRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v15.services.ListAudienceInsightsAttributesRequest
-
- All Implemented Interfaces:
ListAudienceInsightsAttributesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ListAudienceInsightsAttributesRequest extends com.google.protobuf.GeneratedMessageV3 implements ListAudienceInsightsAttributesRequestOrBuilder
Request message for [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v15.services.AudienceInsightsService.ListAudienceInsightsAttributes].
Protobuf typegoogle.ads.googleads.v15.services.ListAudienceInsightsAttributesRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListAudienceInsightsAttributesRequest.BuilderRequest message for [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v15.services.AudienceInsightsService.ListAudienceInsightsAttributes].-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCUSTOMER_ID_FIELD_NUMBERstatic intCUSTOMER_INSIGHTS_GROUP_FIELD_NUMBERstatic intDIMENSIONS_FIELD_NUMBERstatic intLOCATION_COUNTRY_FILTERS_FIELD_NUMBERstatic intQUERY_TEXT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCustomerId()Required.com.google.protobuf.ByteStringgetCustomerIdBytes()Required.java.lang.StringgetCustomerInsightsGroup()The name of the customer being planned for.com.google.protobuf.ByteStringgetCustomerInsightsGroupBytes()The name of the customer being planned for.static ListAudienceInsightsAttributesRequestgetDefaultInstance()ListAudienceInsightsAttributesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AudienceInsightsDimensionEnum.AudienceInsightsDimensiongetDimensions(int index)Required.intgetDimensionsCount()Required.java.util.List<AudienceInsightsDimensionEnum.AudienceInsightsDimension>getDimensionsList()Required.intgetDimensionsValue(int index)Required.java.util.List<java.lang.Integer>getDimensionsValueList()Required.LocationInfogetLocationCountryFilters(int index)If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries.intgetLocationCountryFiltersCount()If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries.java.util.List<LocationInfo>getLocationCountryFiltersList()If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries.LocationInfoOrBuildergetLocationCountryFiltersOrBuilder(int index)If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries.java.util.List<? extends LocationInfoOrBuilder>getLocationCountryFiltersOrBuilderList()If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries.com.google.protobuf.Parser<ListAudienceInsightsAttributesRequest>getParserForType()java.lang.StringgetQueryText()Required.com.google.protobuf.ByteStringgetQueryTextBytes()Required.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ListAudienceInsightsAttributesRequest.BuildernewBuilder()static ListAudienceInsightsAttributesRequest.BuildernewBuilder(ListAudienceInsightsAttributesRequest prototype)ListAudienceInsightsAttributesRequest.BuildernewBuilderForType()protected ListAudienceInsightsAttributesRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ListAudienceInsightsAttributesRequestparseDelimitedFrom(java.io.InputStream input)static ListAudienceInsightsAttributesRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListAudienceInsightsAttributesRequestparseFrom(byte[] data)static ListAudienceInsightsAttributesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListAudienceInsightsAttributesRequestparseFrom(com.google.protobuf.ByteString data)static ListAudienceInsightsAttributesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListAudienceInsightsAttributesRequestparseFrom(com.google.protobuf.CodedInputStream input)static ListAudienceInsightsAttributesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListAudienceInsightsAttributesRequestparseFrom(java.io.InputStream input)static ListAudienceInsightsAttributesRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListAudienceInsightsAttributesRequestparseFrom(java.nio.ByteBuffer data)static ListAudienceInsightsAttributesRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ListAudienceInsightsAttributesRequest>parser()ListAudienceInsightsAttributesRequest.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CUSTOMER_ID_FIELD_NUMBER
public static final int CUSTOMER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIMENSIONS_FIELD_NUMBER
public static final int DIMENSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_TEXT_FIELD_NUMBER
public static final int QUERY_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOMER_INSIGHTS_GROUP_FIELD_NUMBER
public static final int CUSTOMER_INSIGHTS_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_COUNTRY_FILTERS_FIELD_NUMBER
public static final int LOCATION_COUNTRY_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
getCustomerId
public java.lang.String getCustomerId()
Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()
Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdBytesin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The bytes for customerId.
-
getDimensionsList
public java.util.List<AudienceInsightsDimensionEnum.AudienceInsightsDimension> getDimensionsList()
Required. The types of attributes to be returned.
repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDimensionsListin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- A list containing the dimensions.
-
getDimensionsCount
public int getDimensionsCount()
Required. The types of attributes to be returned.
repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDimensionsCountin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The count of dimensions.
-
getDimensions
public AudienceInsightsDimensionEnum.AudienceInsightsDimension getDimensions(int index)
Required. The types of attributes to be returned.
repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDimensionsin interfaceListAudienceInsightsAttributesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dimensions at the given index.
-
getDimensionsValueList
public java.util.List<java.lang.Integer> getDimensionsValueList()
Required. The types of attributes to be returned.
repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDimensionsValueListin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for dimensions.
-
getDimensionsValue
public int getDimensionsValue(int index)
Required. The types of attributes to be returned.
repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDimensionsValuein interfaceListAudienceInsightsAttributesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of dimensions at the given index.
-
getQueryText
public java.lang.String getQueryText()
Required. A free text query. If the requested dimensions include Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for those dimensions will match or be related to this string. For other dimensions, this field is ignored and all available attributes are returned.
string query_text = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryTextin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The queryText.
-
getQueryTextBytes
public com.google.protobuf.ByteString getQueryTextBytes()
Required. A free text query. If the requested dimensions include Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for those dimensions will match or be related to this string. For other dimensions, this field is ignored and all available attributes are returned.
string query_text = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryTextBytesin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The bytes for queryText.
-
getCustomerInsightsGroup
public java.lang.String getCustomerInsightsGroup()
The name of the customer being planned for. This is a user-defined value.
string customer_insights_group = 4;- Specified by:
getCustomerInsightsGroupin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The customerInsightsGroup.
-
getCustomerInsightsGroupBytes
public com.google.protobuf.ByteString getCustomerInsightsGroupBytes()
The name of the customer being planned for. This is a user-defined value.
string customer_insights_group = 4;- Specified by:
getCustomerInsightsGroupBytesin interfaceListAudienceInsightsAttributesRequestOrBuilder- Returns:
- The bytes for customerInsightsGroup.
-
getLocationCountryFiltersList
public java.util.List<LocationInfo> getLocationCountryFiltersList()
If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. If this field is absent, then location attributes are not filtered by country. Setting this field when SUB_COUNTRY_LOCATION attributes are not requested will return an error.
repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5;- Specified by:
getLocationCountryFiltersListin interfaceListAudienceInsightsAttributesRequestOrBuilder
-
getLocationCountryFiltersOrBuilderList
public java.util.List<? extends LocationInfoOrBuilder> getLocationCountryFiltersOrBuilderList()
If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. If this field is absent, then location attributes are not filtered by country. Setting this field when SUB_COUNTRY_LOCATION attributes are not requested will return an error.
repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5;- Specified by:
getLocationCountryFiltersOrBuilderListin interfaceListAudienceInsightsAttributesRequestOrBuilder
-
getLocationCountryFiltersCount
public int getLocationCountryFiltersCount()
If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. If this field is absent, then location attributes are not filtered by country. Setting this field when SUB_COUNTRY_LOCATION attributes are not requested will return an error.
repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5;- Specified by:
getLocationCountryFiltersCountin interfaceListAudienceInsightsAttributesRequestOrBuilder
-
getLocationCountryFilters
public LocationInfo getLocationCountryFilters(int index)
If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. If this field is absent, then location attributes are not filtered by country. Setting this field when SUB_COUNTRY_LOCATION attributes are not requested will return an error.
repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5;- Specified by:
getLocationCountryFiltersin interfaceListAudienceInsightsAttributesRequestOrBuilder
-
getLocationCountryFiltersOrBuilder
public LocationInfoOrBuilder getLocationCountryFiltersOrBuilder(int index)
If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and this field is present, then the SUB_COUNTRY_LOCATION attributes returned will be located in these countries. If this field is absent, then location attributes are not filtered by country. Setting this field when SUB_COUNTRY_LOCATION attributes are not requested will return an error.
repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5;- Specified by:
getLocationCountryFiltersOrBuilderin interfaceListAudienceInsightsAttributesRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 ListAudienceInsightsAttributesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ListAudienceInsightsAttributesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ListAudienceInsightsAttributesRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ListAudienceInsightsAttributesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ListAudienceInsightsAttributesRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ListAudienceInsightsAttributesRequest.Builder newBuilder()
-
newBuilder
public static ListAudienceInsightsAttributesRequest.Builder newBuilder(ListAudienceInsightsAttributesRequest prototype)
-
toBuilder
public ListAudienceInsightsAttributesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListAudienceInsightsAttributesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ListAudienceInsightsAttributesRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ListAudienceInsightsAttributesRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<ListAudienceInsightsAttributesRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ListAudienceInsightsAttributesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-