public static enum Presets.Query extends Enum<Presets.Query> implements com.google.protobuf.ProtocolMessageEnum
Preset option controlling parameters for query speed-precision trade-offProtobuf enum
google.cloud.aiplatform.v1.Presets.Query| Enum Constant and Description |
|---|
FAST
Faster response as a trade-off against less precise neighbors.
|
PRECISE
More precise neighbors as a trade-off against slower response.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAST_VALUE
Faster response as a trade-off against less precise neighbors.
|
static int |
PRECISE_VALUE
More precise neighbors as a trade-off against slower response.
|
| Modifier and Type | Method and Description |
|---|---|
static Presets.Query |
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<Presets.Query> |
internalGetValueMap() |
static Presets.Query |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Presets.Query |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Presets.Query |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Presets.Query[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Presets.Query PRECISE
More precise neighbors as a trade-off against slower response.
PRECISE = 0;public static final Presets.Query FAST
Faster response as a trade-off against less precise neighbors.
FAST = 1;public static final Presets.Query UNRECOGNIZED
public static final int PRECISE_VALUE
More precise neighbors as a trade-off against slower response.
PRECISE = 0;public static final int FAST_VALUE
Faster response as a trade-off against less precise neighbors.
FAST = 1;public static Presets.Query[] values()
for (Presets.Query c : Presets.Query.values()) System.out.println(c);
public static Presets.Query 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 Presets.Query valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Presets.Query forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Presets.Query> 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 Presets.Query valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.