Class GenerateKeywordHistoricalMetricsRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.GenerateKeywordHistoricalMetricsRequest
- All Implemented Interfaces:
GenerateKeywordHistoricalMetricsRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GenerateKeywordHistoricalMetricsRequest
extends com.google.protobuf.GeneratedMessageV3
implements GenerateKeywordHistoricalMetricsRequestOrBuilder
Request message for [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v18.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics].Protobuf type
google.ads.googleads.v18.services.GenerateKeywordHistoricalMetricsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v18.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics].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 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 TypeMethodDescriptionbooleanThe aggregate fields to include in response.The aggregate fields to include in response.The ID of the customer with the recommendation.com.google.protobuf.ByteStringThe ID of the customer with the recommendation.static final com.google.protobuf.Descriptors.DescriptorgetGeoTargetConstants(int index) The resource names of the location to target.com.google.protobuf.ByteStringgetGeoTargetConstantsBytes(int index) The resource names of the location to target.intThe resource names of the location to target.com.google.protobuf.ProtocolStringListThe resource names of the location to target.The options for historical metrics data.The options for historical metrics data.booleanIf true, adult keywords will be included in response.Targeting network.intTargeting network.getKeywords(int index) A list of keywords to get historical metrics.com.google.protobuf.ByteStringgetKeywordsBytes(int index) A list of keywords to get historical metrics.intA list of keywords to get historical metrics.com.google.protobuf.ProtocolStringListA list of keywords to get historical metrics.The resource name of the language to target.com.google.protobuf.ByteStringThe resource name of the language to target.com.google.protobuf.Parser<GenerateKeywordHistoricalMetricsRequest>intbooleanThe aggregate fields to include in response.inthashCode()booleanThe options for historical metrics data.booleanThe resource name of the language to target.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GenerateKeywordHistoricalMetricsRequest>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
-
CUSTOMER_ID_FIELD_NUMBER
public static final int CUSTOMER_ID_FIELD_NUMBER- See Also:
-
KEYWORDS_FIELD_NUMBER
public static final int KEYWORDS_FIELD_NUMBER- See Also:
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER- See Also:
-
INCLUDE_ADULT_KEYWORDS_FIELD_NUMBER
public static final int INCLUDE_ADULT_KEYWORDS_FIELD_NUMBER- See Also:
-
GEO_TARGET_CONSTANTS_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANTS_FIELD_NUMBER- See Also:
-
KEYWORD_PLAN_NETWORK_FIELD_NUMBER
public static final int KEYWORD_PLAN_NETWORK_FIELD_NUMBER- See Also:
-
AGGREGATE_METRICS_FIELD_NUMBER
public static final int AGGREGATE_METRICS_FIELD_NUMBER- See Also:
-
HISTORICAL_METRICS_OPTIONS_FIELD_NUMBER
public static final int HISTORICAL_METRICS_OPTIONS_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
-
getCustomerId
The ID of the customer with the recommendation.
string customer_id = 1;- Specified by:
getCustomerIdin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()The ID of the customer with the recommendation.
string customer_id = 1;- Specified by:
getCustomerIdBytesin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The bytes for customerId.
-
getKeywordsList
public com.google.protobuf.ProtocolStringList getKeywordsList()A list of keywords to get historical metrics. Not all inputs will be returned as a result of near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" will be returned. A maximum of 10,000 keywords can be used.
repeated string keywords = 2;- Specified by:
getKeywordsListin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- A list containing the keywords.
-
getKeywordsCount
public int getKeywordsCount()A list of keywords to get historical metrics. Not all inputs will be returned as a result of near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" will be returned. A maximum of 10,000 keywords can be used.
repeated string keywords = 2;- Specified by:
getKeywordsCountin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The count of keywords.
-
getKeywords
A list of keywords to get historical metrics. Not all inputs will be returned as a result of near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" will be returned. A maximum of 10,000 keywords can be used.
repeated string keywords = 2;- Specified by:
getKeywordsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keywords at the given index.
-
getKeywordsBytes
public com.google.protobuf.ByteString getKeywordsBytes(int index) A list of keywords to get historical metrics. Not all inputs will be returned as a result of near-exact deduplication. For example, if stats for "car" and "cars" are requested, only "car" will be returned. A maximum of 10,000 keywords can be used.
repeated string keywords = 2;- Specified by:
getKeywordsBytesin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keywords at the given index.
-
hasLanguage
public boolean hasLanguage()The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 4;- Specified by:
hasLanguagein interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- Whether the language field is set.
-
getLanguage
The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 4;- Specified by:
getLanguagein interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The language.
-
getLanguageBytes
public com.google.protobuf.ByteString getLanguageBytes()The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 4;- Specified by:
getLanguageBytesin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The bytes for language.
-
getIncludeAdultKeywords
public boolean getIncludeAdultKeywords()If true, adult keywords will be included in response. The default value is false.
bool include_adult_keywords = 5;- Specified by:
getIncludeAdultKeywordsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The includeAdultKeywords.
-
getGeoTargetConstantsList
public com.google.protobuf.ProtocolStringList getGeoTargetConstantsList()The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsListin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- A list containing the geoTargetConstants.
-
getGeoTargetConstantsCount
public int getGeoTargetConstantsCount()The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsCountin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The geoTargetConstants at the given index.
-
getGeoTargetConstantsBytes
public com.google.protobuf.ByteString getGeoTargetConstantsBytes(int index) The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsBytesin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the geoTargetConstants at the given index.
-
getKeywordPlanNetworkValue
public int getKeywordPlanNetworkValue()Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7;- Specified by:
getKeywordPlanNetworkValuein interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The enum numeric value on the wire for keywordPlanNetwork.
-
getKeywordPlanNetwork
Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7;- Specified by:
getKeywordPlanNetworkin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The keywordPlanNetwork.
-
hasAggregateMetrics
public boolean hasAggregateMetrics()The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8;- Specified by:
hasAggregateMetricsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- Whether the aggregateMetrics field is set.
-
getAggregateMetrics
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8;- Specified by:
getAggregateMetricsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The aggregateMetrics.
-
getAggregateMetricsOrBuilder
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8;- Specified by:
getAggregateMetricsOrBuilderin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder
-
hasHistoricalMetricsOptions
public boolean hasHistoricalMetricsOptions()The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3;- Specified by:
hasHistoricalMetricsOptionsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- Whether the historicalMetricsOptions field is set.
-
getHistoricalMetricsOptions
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3;- Specified by:
getHistoricalMetricsOptionsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- The historicalMetricsOptions.
-
getHistoricalMetricsOptionsOrBuilder
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3;- Specified by:
getHistoricalMetricsOptionsOrBuilderin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder
-
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 GenerateKeywordHistoricalMetricsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GenerateKeywordHistoricalMetricsRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GenerateKeywordHistoricalMetricsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateKeywordHistoricalMetricsRequest 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
public static GenerateKeywordHistoricalMetricsRequest.Builder newBuilder(GenerateKeywordHistoricalMetricsRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GenerateKeywordHistoricalMetricsRequest.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
-