Class GenerateKeywordHistoricalMetricsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
- com.google.ads.googleads.v10.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,java.lang.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.v10.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics].
Protobuf typegoogle.ads.googleads.v10.services.GenerateKeywordHistoricalMetricsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateKeywordHistoricalMetricsRequest.BuilderaddAllKeywords(java.lang.Iterable<java.lang.String> values)A list of keywords to get historical metrics.GenerateKeywordHistoricalMetricsRequest.BuilderaddKeywords(java.lang.String value)A list of keywords to get historical metrics.GenerateKeywordHistoricalMetricsRequest.BuilderaddKeywordsBytes(com.google.protobuf.ByteString value)A list of keywords to get historical metrics.GenerateKeywordHistoricalMetricsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GenerateKeywordHistoricalMetricsRequestbuild()GenerateKeywordHistoricalMetricsRequestbuildPartial()GenerateKeywordHistoricalMetricsRequest.Builderclear()GenerateKeywordHistoricalMetricsRequest.BuilderclearCustomerId()The ID of the customer with the recommendation.GenerateKeywordHistoricalMetricsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GenerateKeywordHistoricalMetricsRequest.BuilderclearHistoricalMetricsOptions()The options for historical metrics data.GenerateKeywordHistoricalMetricsRequest.BuilderclearKeywords()A list of keywords to get historical metrics.GenerateKeywordHistoricalMetricsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GenerateKeywordHistoricalMetricsRequest.Builderclone()java.lang.StringgetCustomerId()The ID of the customer with the recommendation.com.google.protobuf.ByteStringgetCustomerIdBytes()The ID of the customer with the recommendation.GenerateKeywordHistoricalMetricsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HistoricalMetricsOptionsgetHistoricalMetricsOptions()The options for historical metrics data.HistoricalMetricsOptions.BuildergetHistoricalMetricsOptionsBuilder()The options for historical metrics data.HistoricalMetricsOptionsOrBuildergetHistoricalMetricsOptionsOrBuilder()The options for historical metrics data.java.lang.StringgetKeywords(int index)A list of keywords to get historical metrics.com.google.protobuf.ByteStringgetKeywordsBytes(int index)A list of keywords to get historical metrics.intgetKeywordsCount()A list of keywords to get historical metrics.com.google.protobuf.ProtocolStringListgetKeywordsList()A list of keywords to get historical metrics.booleanhasHistoricalMetricsOptions()The options for historical metrics data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GenerateKeywordHistoricalMetricsRequest.BuildermergeFrom(GenerateKeywordHistoricalMetricsRequest other)GenerateKeywordHistoricalMetricsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GenerateKeywordHistoricalMetricsRequest.BuildermergeFrom(com.google.protobuf.Message other)GenerateKeywordHistoricalMetricsRequest.BuildermergeHistoricalMetricsOptions(HistoricalMetricsOptions value)The options for historical metrics data.GenerateKeywordHistoricalMetricsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GenerateKeywordHistoricalMetricsRequest.BuildersetCustomerId(java.lang.String value)The ID of the customer with the recommendation.GenerateKeywordHistoricalMetricsRequest.BuildersetCustomerIdBytes(com.google.protobuf.ByteString value)The ID of the customer with the recommendation.GenerateKeywordHistoricalMetricsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GenerateKeywordHistoricalMetricsRequest.BuildersetHistoricalMetricsOptions(HistoricalMetricsOptions value)The options for historical metrics data.GenerateKeywordHistoricalMetricsRequest.BuildersetHistoricalMetricsOptions(HistoricalMetricsOptions.Builder builderForValue)The options for historical metrics data.GenerateKeywordHistoricalMetricsRequest.BuildersetKeywords(int index, java.lang.String value)A list of keywords to get historical metrics.GenerateKeywordHistoricalMetricsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)GenerateKeywordHistoricalMetricsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public GenerateKeywordHistoricalMetricsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GenerateKeywordHistoricalMetricsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GenerateKeywordHistoricalMetricsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GenerateKeywordHistoricalMetricsRequest.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordHistoricalMetricsRequest.Builder>
-
mergeFrom
public GenerateKeywordHistoricalMetricsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- 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 java.io.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:
java.io.IOException
-
getCustomerId
public java.lang.String 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
public GenerateKeywordHistoricalMetricsRequest.Builder setCustomerId(java.lang.String value)
The ID of the customer with the recommendation.
string customer_id = 1;- Parameters:
value- The customerId to set.- Returns:
- This builder for chaining.
-
clearCustomerId
public GenerateKeywordHistoricalMetricsRequest.Builder 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
public java.lang.String getKeywords(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:
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
public GenerateKeywordHistoricalMetricsRequest.Builder setKeywords(int index, java.lang.String 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:
index- The index to set the value at.value- The keywords to set.- Returns:
- This builder for chaining.
-
addKeywords
public GenerateKeywordHistoricalMetricsRequest.Builder addKeywords(java.lang.String 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 keywords to add.- Returns:
- This builder for chaining.
-
addAllKeywords
public GenerateKeywordHistoricalMetricsRequest.Builder addAllKeywords(java.lang.Iterable<java.lang.String> values)
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
public GenerateKeywordHistoricalMetricsRequest.Builder 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.
-
hasHistoricalMetricsOptions
public boolean hasHistoricalMetricsOptions()
The options for historical metrics data.
.google.ads.googleads.v10.common.HistoricalMetricsOptions historical_metrics_options = 3;- Specified by:
hasHistoricalMetricsOptionsin interfaceGenerateKeywordHistoricalMetricsRequestOrBuilder- Returns:
- Whether the historicalMetricsOptions field is set.
-
getHistoricalMetricsOptions
public HistoricalMetricsOptions getHistoricalMetricsOptions()
The options for historical metrics data.
.google.ads.googleads.v10.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.v10.common.HistoricalMetricsOptions historical_metrics_options = 3;
-
setHistoricalMetricsOptions
public GenerateKeywordHistoricalMetricsRequest.Builder setHistoricalMetricsOptions(HistoricalMetricsOptions.Builder builderForValue)
The options for historical metrics data.
.google.ads.googleads.v10.common.HistoricalMetricsOptions historical_metrics_options = 3;
-
mergeHistoricalMetricsOptions
public GenerateKeywordHistoricalMetricsRequest.Builder mergeHistoricalMetricsOptions(HistoricalMetricsOptions value)
The options for historical metrics data.
.google.ads.googleads.v10.common.HistoricalMetricsOptions historical_metrics_options = 3;
-
clearHistoricalMetricsOptions
public GenerateKeywordHistoricalMetricsRequest.Builder clearHistoricalMetricsOptions()
The options for historical metrics data.
.google.ads.googleads.v10.common.HistoricalMetricsOptions historical_metrics_options = 3;
-
getHistoricalMetricsOptionsBuilder
public HistoricalMetricsOptions.Builder getHistoricalMetricsOptionsBuilder()
The options for historical metrics data.
.google.ads.googleads.v10.common.HistoricalMetricsOptions historical_metrics_options = 3;
-
getHistoricalMetricsOptionsOrBuilder
public HistoricalMetricsOptionsOrBuilder getHistoricalMetricsOptionsOrBuilder()
The options for historical metrics data.
.google.ads.googleads.v10.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>
-
-