Enum SearchRequest.QueryExpansionSpec.Condition (2.48.0)

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.retail.v2beta.SearchRequest.QueryExpansionSpec.Condition

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTO

Automatic query expansion built by Google Retail Search.

AUTO = 3;

AUTO_VALUE

Automatic query expansion built by Google Retail Search.

AUTO = 3;

CONDITION_UNSPECIFIED

Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.

CONDITION_UNSPECIFIED = 0;

CONDITION_UNSPECIFIED_VALUE

Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.

CONDITION_UNSPECIFIED = 0;

DISABLED

Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.

DISABLED = 1;

DISABLED_VALUE

Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.

DISABLED = 1;

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()