Class GenerateKeywordHistoricalMetricsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
com.google.ads.googleads.v18.services.GenerateKeywordHistoricalMetricsRequest.Builder
- All Implemented Interfaces:
GenerateKeywordHistoricalMetricsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateKeywordHistoricalMetricsRequest
public static final class GenerateKeywordHistoricalMetricsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
implements GenerateKeywordHistoricalMetricsRequestOrBuilder
Request message for [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v18.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics].Protobuf type
google.ads.googleads.v18.services.GenerateKeywordHistoricalMetricsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllGeoTargetConstants(Iterable<String> values) The resource names of the location to target.addAllKeywords(Iterable<String> values) A list of keywords to get historical metrics.addGeoTargetConstants(String value) The resource names of the location to target.addGeoTargetConstantsBytes(com.google.protobuf.ByteString value) The resource names of the location to target.addKeywords(String value) A list of keywords to get historical metrics.addKeywordsBytes(com.google.protobuf.ByteString value) A list of keywords to get historical metrics.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The aggregate fields to include in response.The ID of the customer with the recommendation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The resource names of the location to target.The options for historical metrics data.If true, adult keywords will be included in response.Targeting network.A list of keywords to get historical metrics.The resource name of the language to target.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()The aggregate fields to include in response.The 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.Descriptorcom.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.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.booleanThe aggregate fields to include in response.booleanThe options for historical metrics data.booleanThe resource name of the language to target.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe aggregate fields to include in response.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The options for historical metrics data.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The aggregate fields to include in response.setAggregateMetrics(KeywordPlanAggregateMetrics.Builder builderForValue) The aggregate fields to include in response.setCustomerId(String value) The ID of the customer with the recommendation.setCustomerIdBytes(com.google.protobuf.ByteString value) The ID of the customer with the recommendation.setGeoTargetConstants(int index, String value) The resource names of the location to target.The options for historical metrics data.setHistoricalMetricsOptions(HistoricalMetricsOptions.Builder builderForValue) The options for historical metrics data.setIncludeAdultKeywords(boolean value) If true, adult keywords will be included in response.Targeting network.setKeywordPlanNetworkValue(int value) Targeting network.setKeywords(int index, String value) A list of keywords to get historical metrics.setLanguage(String value) The resource name of the language to target.setLanguageBytes(com.google.protobuf.ByteString value) The resource name of the language to target.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
setField
public GenerateKeywordHistoricalMetricsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
clearField
public GenerateKeywordHistoricalMetricsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
clearOneof
public GenerateKeywordHistoricalMetricsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
setRepeatedField
public GenerateKeywordHistoricalMetricsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
addRepeatedField
public GenerateKeywordHistoricalMetricsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
mergeFrom
public GenerateKeywordHistoricalMetricsRequest.Builder mergeFrom(GenerateKeywordHistoricalMetricsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
mergeFrom
public GenerateKeywordHistoricalMetricsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>- Throws:
IOException
-
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.
-
setCustomerId
The ID of the customer with the recommendation.
string customer_id = 1;- Parameters:
value- The customerId to set.- Returns:
- This builder for chaining.
-
clearCustomerId
The ID of the customer with the recommendation.
string customer_id = 1;- Returns:
- This builder for chaining.
-
setCustomerIdBytes
public GenerateKeywordHistoricalMetricsRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value) The ID of the customer with the recommendation.
string customer_id = 1;- Parameters:
value- The bytes for customerId to set.- Returns:
- This builder for chaining.
-
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.
-
setKeywords
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;- Parameters:
index- The index to set the value at.value- The keywords to set.- Returns:
- This builder for chaining.
-
addKeywords
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;- Parameters:
value- The keywords to add.- Returns:
- This builder for chaining.
-
addAllKeywords
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;- Parameters:
values- The keywords to add.- Returns:
- This builder for chaining.
-
clearKeywords
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;- Returns:
- This builder for chaining.
-
addKeywordsBytes
public GenerateKeywordHistoricalMetricsRequest.Builder addKeywordsBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes of the keywords to add.- Returns:
- This builder for chaining.
-
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.
-
setLanguage
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;- Parameters:
value- The language to set.- Returns:
- This builder for chaining.
-
clearLanguage
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;- Returns:
- This builder for chaining.
-
setLanguageBytes
public GenerateKeywordHistoricalMetricsRequest.Builder setLanguageBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for language to set.- Returns:
- This builder for chaining.
-
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.
-
setIncludeAdultKeywords
If true, adult keywords will be included in response. The default value is false.
bool include_adult_keywords = 5;- Parameters:
value- The includeAdultKeywords to set.- Returns:
- This builder for chaining.
-
clearIncludeAdultKeywords
If true, adult keywords will be included in response. The default value is false.
bool include_adult_keywords = 5;- Returns:
- This builder for chaining.
-
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.
-
setGeoTargetConstants
public GenerateKeywordHistoricalMetricsRequest.Builder setGeoTargetConstants(int index, String value) 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;- Parameters:
index- The index to set the value at.value- The geoTargetConstants to set.- Returns:
- This builder for chaining.
-
addGeoTargetConstants
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;- Parameters:
value- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
addAllGeoTargetConstants
public GenerateKeywordHistoricalMetricsRequest.Builder addAllGeoTargetConstants(Iterable<String> values) 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;- Parameters:
values- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
clearGeoTargetConstants
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;- Returns:
- This builder for chaining.
-
addGeoTargetConstantsBytes
public GenerateKeywordHistoricalMetricsRequest.Builder addGeoTargetConstantsBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes of the geoTargetConstants to add.- Returns:
- This builder for chaining.
-
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.
-
setKeywordPlanNetworkValue
Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7;- Parameters:
value- The enum numeric value on the wire for keywordPlanNetwork to set.- Returns:
- This builder for chaining.
-
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.
-
setKeywordPlanNetwork
public GenerateKeywordHistoricalMetricsRequest.Builder setKeywordPlanNetwork(KeywordPlanNetworkEnum.KeywordPlanNetwork value) Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7;- Parameters:
value- The keywordPlanNetwork to set.- Returns:
- This builder for chaining.
-
clearKeywordPlanNetwork
Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7;- Returns:
- This builder for chaining.
-
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.
-
setAggregateMetrics
public GenerateKeywordHistoricalMetricsRequest.Builder setAggregateMetrics(KeywordPlanAggregateMetrics value) The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; -
setAggregateMetrics
public GenerateKeywordHistoricalMetricsRequest.Builder setAggregateMetrics(KeywordPlanAggregateMetrics.Builder builderForValue) The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; -
mergeAggregateMetrics
public GenerateKeywordHistoricalMetricsRequest.Builder mergeAggregateMetrics(KeywordPlanAggregateMetrics value) The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; -
clearAggregateMetrics
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; -
getAggregateMetricsBuilder
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; -
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.
-
setHistoricalMetricsOptions
public GenerateKeywordHistoricalMetricsRequest.Builder setHistoricalMetricsOptions(HistoricalMetricsOptions value) The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3; -
setHistoricalMetricsOptions
public GenerateKeywordHistoricalMetricsRequest.Builder setHistoricalMetricsOptions(HistoricalMetricsOptions.Builder builderForValue) The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3; -
mergeHistoricalMetricsOptions
public GenerateKeywordHistoricalMetricsRequest.Builder mergeHistoricalMetricsOptions(HistoricalMetricsOptions value) The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3; -
clearHistoricalMetricsOptions
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3; -
getHistoricalMetricsOptionsBuilder
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3; -
getHistoricalMetricsOptionsOrBuilder
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 3;- Specified by:
getHistoricalMetricsOptionsOrBuilderin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder
-
setUnknownFields
public final GenerateKeywordHistoricalMetricsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
mergeUnknownFields
public final GenerateKeywordHistoricalMetricsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-