Enum IndexDatapoint.NumericRestriction.Operator (3.56.0)

public enum IndexDatapoint.NumericRestriction.Operator extends Enum<IndexDatapoint.NumericRestriction.Operator> implements ProtocolMessageEnum

Which comparison operator to use. Should be specified for queries only; specifying this for a datapoint is an error.

Datapoints for which Operator is true relative to the query's Value field will be allowlisted.

Protobuf enum google.cloud.aiplatform.v1beta1.IndexDatapoint.NumericRestriction.Operator

Implements

ProtocolMessageEnum

Static Fields

Name Description
EQUAL

Datapoints are eligible iff their value is == the query's.

EQUAL = 3;

EQUAL_VALUE

Datapoints are eligible iff their value is == the query's.

EQUAL = 3;

GREATER

Datapoints are eligible iff their value is > the query's.

GREATER = 5;

GREATER_EQUAL

Datapoints are eligible iff their value is >= the query's.

GREATER_EQUAL = 4;

GREATER_EQUAL_VALUE

Datapoints are eligible iff their value is >= the query's.

GREATER_EQUAL = 4;

GREATER_VALUE

Datapoints are eligible iff their value is > the query's.

GREATER = 5;

LESS

Datapoints are eligible iff their value is < the query's.

LESS = 1;

LESS_EQUAL

Datapoints are eligible iff their value is <= the query's.

LESS_EQUAL = 2;

LESS_EQUAL_VALUE

Datapoints are eligible iff their value is <= the query's.

LESS_EQUAL = 2;

LESS_VALUE

Datapoints are eligible iff their value is < the query's.

LESS = 1;

NOT_EQUAL

Datapoints are eligible iff their value is != the query's.

NOT_EQUAL = 6;

NOT_EQUAL_VALUE

Datapoints are eligible iff their value is != the query's.

NOT_EQUAL = 6;

OPERATOR_UNSPECIFIED

Default value of the enum.

OPERATOR_UNSPECIFIED = 0;

OPERATOR_UNSPECIFIED_VALUE

Default value of the enum.

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