public enum SearchRequest.QueryExpansionSpec.Condition extends Enum<SearchRequest.QueryExpansionSpec.Condition> implements ProtocolMessageEnum
Enum describing under which condition query expansion should occur.
Protobuf enum
google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec.Condition
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
AUTO | Automatic query expansion built by the Search API. |
AUTO_VALUE | Automatic query expansion built by the Search API. |
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() |