Enum SearchRequest.PersonalizationSpec.Mode (2.37.0)

public enum SearchRequest.PersonalizationSpec.Mode extends Enum<SearchRequest.PersonalizationSpec.Mode> implements ProtocolMessageEnum

The personalization mode of each search request.

Protobuf enum google.cloud.retail.v2.SearchRequest.PersonalizationSpec.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AUTO

Let CRS decide whether to use personalization based on quality of user event data.

AUTO = 1;

AUTO_VALUE

Let CRS decide whether to use personalization based on quality of user event data.

AUTO = 1;

DISABLED

Disable personalization.

DISABLED = 2;

DISABLED_VALUE

Disable personalization.

DISABLED = 2;

MODE_UNSPECIFIED

Default value. In this case, server behavior defaults to Mode.AUTO.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

Default value. In this case, server behavior defaults to Mode.AUTO.

MODE_UNSPECIFIED = 0;

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