Enum SearchRequest.RelevanceThreshold (0.50.0)

public enum SearchRequest.RelevanceThreshold extends Enum<SearchRequest.RelevanceThreshold> implements ProtocolMessageEnum

The relevance threshold of the search results. The higher relevance threshold is, the higher relevant results are shown and the less number of results are returned.

Protobuf enum google.cloud.discoveryengine.v1beta.SearchRequest.RelevanceThreshold

Implements

ProtocolMessageEnum

Static Fields

Name Description
HIGH

High relevance threshold.

HIGH = 4;

HIGH_VALUE

High relevance threshold.

HIGH = 4;

LOW

Low relevance threshold.

LOW = 2;

LOWEST

Lowest relevance threshold.

LOWEST = 1;

LOWEST_VALUE

Lowest relevance threshold.

LOWEST = 1;

LOW_VALUE

Low relevance threshold.

LOW = 2;

MEDIUM

Medium relevance threshold.

MEDIUM = 3;

MEDIUM_VALUE

Medium relevance threshold.

MEDIUM = 3;

RELEVANCE_THRESHOLD_UNSPECIFIED

Default value. In this case, server behavior defaults to Google defined threshold.

RELEVANCE_THRESHOLD_UNSPECIFIED = 0;

RELEVANCE_THRESHOLD_UNSPECIFIED_VALUE

Default value. In this case, server behavior defaults to Google defined threshold.

RELEVANCE_THRESHOLD_UNSPECIFIED = 0;

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