public enum SearchRequest.QueryExpansionSpec.Condition extends Enum<SearchRequest.QueryExpansionSpec.Condition> implements ProtocolMessageEnumEnum describing under which condition query expansion should occur.
Protobuf enum google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition
Implements
ProtocolMessageEnumStatic Fields
| Name | Description |
| AUTO | Automatic query expansion built by Google Retail Search. |
| AUTO_VALUE | Automatic query expansion built by Google Retail Search. |
| CONDITION_UNSPECIFIED | Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED. |
| CONDITION_UNSPECIFIED_VALUE | Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED. |
| DISABLED | Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero. |
| DISABLED_VALUE | Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero. |
| UNRECOGNIZED |
Static Methods
| Name | Description |
| forNumber(int value) | |
| getDescriptor() | |
| internalGetValueMap() | |
| valueOf(Descriptors.EnumValueDescriptor desc) | |
| valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
| valueOf(String name) | |
| values() |
Methods
| Name | Description |
| getDescriptorForType() | |
| getNumber() | |
| getValueDescriptor() |