Enum SearchRequest.PersonalizationSpec.Mode (2.44.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.v2alpha.SearchRequest.PersonalizationSpec.Mode

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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