Package com.google.cloud.retail.v2alpha
Class CustomAttribute.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomAttribute.Builder>
com.google.cloud.retail.v2alpha.CustomAttribute.Builder
- All Implemented Interfaces:
CustomAttributeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomAttribute
public static final class CustomAttribute.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CustomAttribute.Builder>
implements CustomAttributeOrBuilder
A custom attribute that is not explicitly modeled in [Product][google.cloud.retail.v2alpha.Product].Protobuf type
google.cloud.retail.v2alpha.CustomAttribute-
Method Summary
Modifier and TypeMethodDescriptionaddAllNumbers(Iterable<? extends Double> values) The numerical values of this custom attribute.addAllText(Iterable<String> values) The textual values of this custom attribute.addNumbers(double value) The numerical values of this custom attribute.The textual values of this custom attribute.addTextBytes(com.google.protobuf.ByteString value) The textual values of this custom attribute.build()clear()Deprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated.The numerical values of this custom attribute.Deprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated.The textual values of this custom attribute.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanDeprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated.doublegetNumbers(int index) The numerical values of this custom attribute.intThe numerical values of this custom attribute.The numerical values of this custom attribute.booleanDeprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated.getText(int index) The textual values of this custom attribute.com.google.protobuf.ByteStringgetTextBytes(int index) The textual values of this custom attribute.intThe textual values of this custom attribute.com.google.protobuf.ProtocolStringListThe textual values of this custom attribute.booleanDeprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated.booleanDeprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CustomAttribute other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIndexable(boolean value) Deprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated.setNumbers(int index, double value) The numerical values of this custom attribute.setSearchable(boolean value) Deprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated.The textual values of this custom attribute.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<CustomAttribute.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<CustomAttribute.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<CustomAttribute.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<CustomAttribute.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CustomAttribute.Builder>
-
mergeFrom
public CustomAttribute.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<CustomAttribute.Builder>- Throws:
IOException
-
getTextList
public com.google.protobuf.ProtocolStringList getTextList()The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Specified by:
getTextListin interfaceCustomAttributeOrBuilder- Returns:
- A list containing the text.
-
getTextCount
public int getTextCount()The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Specified by:
getTextCountin interfaceCustomAttributeOrBuilder- Returns:
- The count of text.
-
getText
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Specified by:
getTextin interfaceCustomAttributeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The text at the given index.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes(int index) The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Specified by:
getTextBytesin interfaceCustomAttributeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the text at the given index.
-
setText
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Parameters:
index- The index to set the value at.value- The text to set.- Returns:
- This builder for chaining.
-
addText
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Parameters:
value- The text to add.- Returns:
- This builder for chaining.
-
addAllText
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Parameters:
values- The text to add.- Returns:
- This builder for chaining.
-
clearText
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Returns:
- This builder for chaining.
-
addTextBytes
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated string text = 1;- Parameters:
value- The bytes of the text to add.- Returns:
- This builder for chaining.
-
getNumbersList
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Specified by:
getNumbersListin interfaceCustomAttributeOrBuilder- Returns:
- A list containing the numbers.
-
getNumbersCount
public int getNumbersCount()The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Specified by:
getNumbersCountin interfaceCustomAttributeOrBuilder- Returns:
- The count of numbers.
-
getNumbers
public double getNumbers(int index) The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Specified by:
getNumbersin interfaceCustomAttributeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The numbers at the given index.
-
setNumbers
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Parameters:
index- The index to set the value at.value- The numbers to set.- Returns:
- This builder for chaining.
-
addNumbers
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Parameters:
value- The numbers to add.- Returns:
- This builder for chaining.
-
addAllNumbers
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Parameters:
values- The numbers to add.- Returns:
- This builder for chaining.
-
clearNumbers
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [text][google.cloud.retail.v2alpha.CustomAttribute.text] or [numbers][google.cloud.retail.v2alpha.CustomAttribute.numbers] should be set. Otherwise, an INVALID_ARGUMENT error is returned.
repeated double numbers = 2;- Returns:
- This builder for chaining.
-
hasSearchable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=561This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are searchable by text queries in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. Only set if type [text][google.cloud.retail.v2alpha.CustomAttribute.text] is set. Otherwise, a INVALID_ARGUMENT error is returned.
optional bool searchable = 3 [deprecated = true];- Specified by:
hasSearchablein interfaceCustomAttributeOrBuilder- Returns:
- Whether the searchable field is set.
-
getSearchable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=561This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are searchable by text queries in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. Only set if type [text][google.cloud.retail.v2alpha.CustomAttribute.text] is set. Otherwise, a INVALID_ARGUMENT error is returned.
optional bool searchable = 3 [deprecated = true];- Specified by:
getSearchablein interfaceCustomAttributeOrBuilder- Returns:
- The searchable.
-
setSearchable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=561This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are searchable by text queries in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. Only set if type [text][google.cloud.retail.v2alpha.CustomAttribute.text] is set. Otherwise, a INVALID_ARGUMENT error is returned.
optional bool searchable = 3 [deprecated = true];- Parameters:
value- The searchable to set.- Returns:
- This builder for chaining.
-
clearSearchable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.searchable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=561This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are searchable by text queries in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. Only set if type [text][google.cloud.retail.v2alpha.CustomAttribute.text] is set. Otherwise, a INVALID_ARGUMENT error is returned.
optional bool searchable = 3 [deprecated = true];- Returns:
- This builder for chaining.
-
hasIndexable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=582This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are indexed, so that they can be filtered, faceted or boosted in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. See [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter], [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs] and [SearchRequest.boost_spec][google.cloud.retail.v2alpha.SearchRequest.boost_spec] for more details.
optional bool indexable = 4 [deprecated = true];- Specified by:
hasIndexablein interfaceCustomAttributeOrBuilder- Returns:
- Whether the indexable field is set.
-
getIndexable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=582This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are indexed, so that they can be filtered, faceted or boosted in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. See [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter], [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs] and [SearchRequest.boost_spec][google.cloud.retail.v2alpha.SearchRequest.boost_spec] for more details.
optional bool indexable = 4 [deprecated = true];- Specified by:
getIndexablein interfaceCustomAttributeOrBuilder- Returns:
- The indexable.
-
setIndexable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=582This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are indexed, so that they can be filtered, faceted or boosted in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. See [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter], [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs] and [SearchRequest.boost_spec][google.cloud.retail.v2alpha.SearchRequest.boost_spec] for more details.
optional bool indexable = 4 [deprecated = true];- Parameters:
value- The indexable to set.- Returns:
- This builder for chaining.
-
clearIndexable
Deprecated.google.cloud.retail.v2alpha.CustomAttribute.indexable is deprecated. See google/cloud/retail/v2alpha/common.proto;l=582This field is normally ignored unless [AttributesConfig.attribute_config_level][google.cloud.retail.v2alpha.AttributesConfig.attribute_config_level] of the [Catalog][google.cloud.retail.v2alpha.Catalog] is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are indexed, so that they can be filtered, faceted or boosted in [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search]. This field is ignored in a [UserEvent][google.cloud.retail.v2alpha.UserEvent]. See [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter], [SearchRequest.facet_specs][google.cloud.retail.v2alpha.SearchRequest.facet_specs] and [SearchRequest.boost_spec][google.cloud.retail.v2alpha.SearchRequest.boost_spec] for more details.
optional bool indexable = 4 [deprecated = true];- Returns:
- This builder for chaining.
-