Enum ServingConfig.DiversityType (2.13.0)

public enum ServingConfig.DiversityType extends Enum<ServingConfig.DiversityType> implements ProtocolMessageEnum

What type of diversity - data or rule based. If none is specified, default to rule based.

Protobuf enum google.cloud.retail.v2beta.ServingConfig.DiversityType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DATA_DRIVEN_DIVERSITY

Data driven diversity.

DATA_DRIVEN_DIVERSITY = 3;

DATA_DRIVEN_DIVERSITY_VALUE

Data driven diversity.

DATA_DRIVEN_DIVERSITY = 3;

DIVERSITY_TYPE_UNSPECIFIED

Default value.

DIVERSITY_TYPE_UNSPECIFIED = 0;

DIVERSITY_TYPE_UNSPECIFIED_VALUE

Default value.

DIVERSITY_TYPE_UNSPECIFIED = 0;

RULE_BASED_DIVERSITY

Rule based diversity.

RULE_BASED_DIVERSITY = 2;

RULE_BASED_DIVERSITY_VALUE

Rule based diversity.

RULE_BASED_DIVERSITY = 2;

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