Class CustomerSearchTermInsight.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomerSearchTermInsight.Builder>
com.google.ads.googleads.v22.resources.CustomerSearchTermInsight.Builder
- All Implemented Interfaces:
CustomerSearchTermInsightOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomerSearchTermInsight
public static final class CustomerSearchTermInsight.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CustomerSearchTermInsight.Builder>
implements CustomerSearchTermInsightOrBuilder
This report provides a high-level view of search demand at the customer level by grouping similar search terms into categories and showing their search volume. Historical data is available starting March 2023.Protobuf type
google.ads.googleads.v22.resources.CustomerSearchTermInsight-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.clearId()Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetId()Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasId()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCategoryLabel(String value) Output only.setCategoryLabelBytes(com.google.protobuf.ByteString value) Output only.setId(long value) Output only.setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CustomerSearchTermInsight.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CustomerSearchTermInsight.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.GeneratedMessage.Builder<CustomerSearchTermInsight.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerSearchTermInsight.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CustomerSearchTermInsight.Builder>
-
mergeFrom
public CustomerSearchTermInsight.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<CustomerSearchTermInsight.Builder>- Throws:
IOException
-
getResourceName
Output only. The resource name of the customer level search term insight. Customer level search term insight resource names have the form: `customers/{customer_id}/customerSearchTermInsights/{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceCustomerSearchTermInsightOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the customer level search term insight. Customer level search term insight resource names have the form: `customers/{customer_id}/customerSearchTermInsights/{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceCustomerSearchTermInsightOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Output only. The resource name of the customer level search term insight. Customer level search term insight resource names have the form: `customers/{customer_id}/customerSearchTermInsights/{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Output only. The resource name of the customer level search term insight. Customer level search term insight resource names have the form: `customers/{customer_id}/customerSearchTermInsights/{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Output only. The resource name of the customer level search term insight. Customer level search term insight resource names have the form: `customers/{customer_id}/customerSearchTermInsights/{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasCategoryLabel
public boolean hasCategoryLabel()Output only. The label for the search category. An empty string denotes the catch-all category for search terms that didn't fit into another category.
optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCategoryLabelin interfaceCustomerSearchTermInsightOrBuilder- Returns:
- Whether the categoryLabel field is set.
-
getCategoryLabel
Output only. The label for the search category. An empty string denotes the catch-all category for search terms that didn't fit into another category.
optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryLabelin interfaceCustomerSearchTermInsightOrBuilder- Returns:
- The categoryLabel.
-
getCategoryLabelBytes
public com.google.protobuf.ByteString getCategoryLabelBytes()Output only. The label for the search category. An empty string denotes the catch-all category for search terms that didn't fit into another category.
optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryLabelBytesin interfaceCustomerSearchTermInsightOrBuilder- Returns:
- The bytes for categoryLabel.
-
setCategoryLabel
Output only. The label for the search category. An empty string denotes the catch-all category for search terms that didn't fit into another category.
optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The categoryLabel to set.- Returns:
- This builder for chaining.
-
clearCategoryLabel
Output only. The label for the search category. An empty string denotes the catch-all category for search terms that didn't fit into another category.
optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCategoryLabelBytes
public CustomerSearchTermInsight.Builder setCategoryLabelBytes(com.google.protobuf.ByteString value) Output only. The label for the search category. An empty string denotes the catch-all category for search terms that didn't fit into another category.
optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for categoryLabel to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. The ID of the insight.
optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceCustomerSearchTermInsightOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. The ID of the insight.
optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceCustomerSearchTermInsightOrBuilder- Returns:
- The id.
-
setId
Output only. The ID of the insight.
optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. The ID of the insight.
optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-