public static enum IndexDatapoint.NumericRestriction.Operator extends Enum<IndexDatapoint.NumericRestriction.Operator> implements com.google.protobuf.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.v1.IndexDatapoint.NumericRestriction.Operator| Enum Constant and Description |
|---|
EQUAL
Datapoints are eligible iff their value is == the query's.
|
GREATER
Datapoints are eligible iff their value is > the query's.
|
GREATER_EQUAL
Datapoints are eligible iff their value is >= the query's.
|
LESS
Datapoints are eligible iff their value is < the query's.
|
LESS_EQUAL
Datapoints are eligible iff their value is <= the query's.
|
NOT_EQUAL
Datapoints are eligible iff their value is !
|
OPERATOR_UNSPECIFIED
Default value of the enum.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EQUAL_VALUE
Datapoints are eligible iff their value is == the query's.
|
static int |
GREATER_EQUAL_VALUE
Datapoints are eligible iff their value is >= the query's.
|
static int |
GREATER_VALUE
Datapoints are eligible iff their value is > the query's.
|
static int |
LESS_EQUAL_VALUE
Datapoints are eligible iff their value is <= the query's.
|
static int |
LESS_VALUE
Datapoints are eligible iff their value is < the query's.
|
static int |
NOT_EQUAL_VALUE
Datapoints are eligible iff their value is !
|
static int |
OPERATOR_UNSPECIFIED_VALUE
Default value of the enum.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexDatapoint.NumericRestriction.Operator |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<IndexDatapoint.NumericRestriction.Operator> |
internalGetValueMap() |
static IndexDatapoint.NumericRestriction.Operator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static IndexDatapoint.NumericRestriction.Operator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static IndexDatapoint.NumericRestriction.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexDatapoint.NumericRestriction.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexDatapoint.NumericRestriction.Operator OPERATOR_UNSPECIFIED
Default value of the enum.
OPERATOR_UNSPECIFIED = 0;public static final IndexDatapoint.NumericRestriction.Operator LESS
Datapoints are eligible iff their value is < the query's.
LESS = 1;public static final IndexDatapoint.NumericRestriction.Operator LESS_EQUAL
Datapoints are eligible iff their value is <= the query's.
LESS_EQUAL = 2;public static final IndexDatapoint.NumericRestriction.Operator EQUAL
Datapoints are eligible iff their value is == the query's.
EQUAL = 3;public static final IndexDatapoint.NumericRestriction.Operator GREATER_EQUAL
Datapoints are eligible iff their value is >= the query's.
GREATER_EQUAL = 4;public static final IndexDatapoint.NumericRestriction.Operator GREATER
Datapoints are eligible iff their value is > the query's.
GREATER = 5;public static final IndexDatapoint.NumericRestriction.Operator NOT_EQUAL
Datapoints are eligible iff their value is != the query's.
NOT_EQUAL = 6;public static final IndexDatapoint.NumericRestriction.Operator UNRECOGNIZED
public static final int OPERATOR_UNSPECIFIED_VALUE
Default value of the enum.
OPERATOR_UNSPECIFIED = 0;public static final int LESS_VALUE
Datapoints are eligible iff their value is < the query's.
LESS = 1;public static final int LESS_EQUAL_VALUE
Datapoints are eligible iff their value is <= the query's.
LESS_EQUAL = 2;public static final int EQUAL_VALUE
Datapoints are eligible iff their value is == the query's.
EQUAL = 3;public static final int GREATER_EQUAL_VALUE
Datapoints are eligible iff their value is >= the query's.
GREATER_EQUAL = 4;public static final int GREATER_VALUE
Datapoints are eligible iff their value is > the query's.
GREATER = 5;public static final int NOT_EQUAL_VALUE
Datapoints are eligible iff their value is != the query's.
NOT_EQUAL = 6;public static IndexDatapoint.NumericRestriction.Operator[] values()
for (IndexDatapoint.NumericRestriction.Operator c : IndexDatapoint.NumericRestriction.Operator.values()) System.out.println(c);
public static IndexDatapoint.NumericRestriction.Operator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static IndexDatapoint.NumericRestriction.Operator valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static IndexDatapoint.NumericRestriction.Operator forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<IndexDatapoint.NumericRestriction.Operator> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static IndexDatapoint.NumericRestriction.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.