Enum SearchRequest.QueryExpansionSpec.Condition (0.30.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.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec.Condition

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AUTO

Automatic query expansion built by the Search API.

AUTO = 2;

AUTO_VALUE

Automatic query expansion built by the Search API.

AUTO = 2;

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

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()