Class GenerateKeywordIdeaResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
com.google.ads.googleads.v18.services.GenerateKeywordIdeaResult.Builder
- All Implemented Interfaces:
GenerateKeywordIdeaResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateKeywordIdeaResult
public static final class GenerateKeywordIdeaResult.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
implements GenerateKeywordIdeaResultOrBuilder
The result of generating keyword ideas.Protobuf type
google.ads.googleads.v18.services.GenerateKeywordIdeaResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllCloseVariants(Iterable<String> values) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.addCloseVariants(String value) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.addCloseVariantsBytes(com.google.protobuf.ByteString value) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The annotations for the keyword.The historical metrics for the keyword.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Text of the keyword idea.clone()getCloseVariants(int index) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.com.google.protobuf.ByteStringgetCloseVariantsBytes(int index) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.intThe list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.com.google.protobuf.ProtocolStringListThe list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe annotations for the keyword.The annotations for the keyword.The annotations for the keyword.The historical metrics for the keyword.The historical metrics for the keyword.The historical metrics for the keyword.getText()Text of the keyword idea.com.google.protobuf.ByteStringText of the keyword idea.booleanThe annotations for the keyword.booleanThe historical metrics for the keyword.booleanhasText()Text of the keyword idea.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The annotations for the keyword.The historical metrics for the keyword.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCloseVariants(int index, String value) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult.The annotations for the keyword.setKeywordAnnotations(KeywordAnnotations.Builder builderForValue) The annotations for the keyword.The historical metrics for the keyword.setKeywordIdeaMetrics(KeywordPlanHistoricalMetrics.Builder builderForValue) The historical metrics for the keyword.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Text of the keyword idea.setTextBytes(com.google.protobuf.ByteString value) Text of the keyword idea.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<GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.Builder>
-
setField
public GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.Builder>
-
clearField
public GenerateKeywordIdeaResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
-
clearOneof
public GenerateKeywordIdeaResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
-
setRepeatedField
public GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.Builder>
-
addRepeatedField
public GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateKeywordIdeaResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
-
mergeFrom
public GenerateKeywordIdeaResult.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<GenerateKeywordIdeaResult.Builder>- Throws:
IOException
-
hasText
public boolean hasText()Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
optional string text = 5;- Specified by:
hasTextin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- Whether the text field is set.
-
getText
Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
optional string text = 5;- Specified by:
getTextin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
optional string text = 5;- Specified by:
getTextBytesin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- The bytes for text.
-
setText
Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
optional string text = 5;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
optional string text = 5;- Returns:
- This builder for chaining.
-
setTextBytes
Text of the keyword idea. As in Keyword Plan historical metrics, this text may not be an actual keyword, but the canonical form of multiple keywords. See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService.
optional string text = 5;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
hasKeywordIdeaMetrics
public boolean hasKeywordIdeaMetrics()The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3;- Specified by:
hasKeywordIdeaMetricsin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- Whether the keywordIdeaMetrics field is set.
-
getKeywordIdeaMetrics
The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3;- Specified by:
getKeywordIdeaMetricsin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- The keywordIdeaMetrics.
-
setKeywordIdeaMetrics
The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; -
setKeywordIdeaMetrics
public GenerateKeywordIdeaResult.Builder setKeywordIdeaMetrics(KeywordPlanHistoricalMetrics.Builder builderForValue) The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; -
mergeKeywordIdeaMetrics
public GenerateKeywordIdeaResult.Builder mergeKeywordIdeaMetrics(KeywordPlanHistoricalMetrics value) The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; -
clearKeywordIdeaMetrics
The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; -
getKeywordIdeaMetricsBuilder
The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; -
getKeywordIdeaMetricsOrBuilder
The historical metrics for the keyword.
.google.ads.googleads.v18.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3;- Specified by:
getKeywordIdeaMetricsOrBuilderin interfaceGenerateKeywordIdeaResultOrBuilder
-
hasKeywordAnnotations
public boolean hasKeywordAnnotations()The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6;- Specified by:
hasKeywordAnnotationsin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- Whether the keywordAnnotations field is set.
-
getKeywordAnnotations
The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6;- Specified by:
getKeywordAnnotationsin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- The keywordAnnotations.
-
setKeywordAnnotations
The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6; -
setKeywordAnnotations
public GenerateKeywordIdeaResult.Builder setKeywordAnnotations(KeywordAnnotations.Builder builderForValue) The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6; -
mergeKeywordAnnotations
The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6; -
clearKeywordAnnotations
The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6; -
getKeywordAnnotationsBuilder
The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6; -
getKeywordAnnotationsOrBuilder
The annotations for the keyword. The annotation data is only provided if requested.
.google.ads.googleads.v18.common.KeywordAnnotations keyword_annotations = 6;- Specified by:
getKeywordAnnotationsOrBuilderin interfaceGenerateKeywordIdeaResultOrBuilder
-
getCloseVariantsList
public com.google.protobuf.ProtocolStringList getCloseVariantsList()The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Specified by:
getCloseVariantsListin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- A list containing the closeVariants.
-
getCloseVariantsCount
public int getCloseVariantsCount()The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Specified by:
getCloseVariantsCountin interfaceGenerateKeywordIdeaResultOrBuilder- Returns:
- The count of closeVariants.
-
getCloseVariants
The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Specified by:
getCloseVariantsin interfaceGenerateKeywordIdeaResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The closeVariants at the given index.
-
getCloseVariantsBytes
public com.google.protobuf.ByteString getCloseVariantsBytes(int index) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Specified by:
getCloseVariantsBytesin interfaceGenerateKeywordIdeaResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the closeVariants at the given index.
-
setCloseVariants
The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Parameters:
index- The index to set the value at.value- The closeVariants to set.- Returns:
- This builder for chaining.
-
addCloseVariants
The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Parameters:
value- The closeVariants to add.- Returns:
- This builder for chaining.
-
addAllCloseVariants
The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Parameters:
values- The closeVariants to add.- Returns:
- This builder for chaining.
-
clearCloseVariants
The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Returns:
- This builder for chaining.
-
addCloseVariantsBytes
public GenerateKeywordIdeaResult.Builder addCloseVariantsBytes(com.google.protobuf.ByteString value) The list of close variants from the requested keywords that are combined into this GenerateKeywordIdeaResult. See https://support.google.com/google-ads/answer/9342105 for the definition of "close variants".
repeated string close_variants = 7;- Parameters:
value- The bytes of the closeVariants to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GenerateKeywordIdeaResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
-
mergeUnknownFields
public final GenerateKeywordIdeaResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeaResult.Builder>
-