public static enum NearestNeighborQuery.InstanceCase extends Enum<NearestNeighborQuery.InstanceCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
EMBEDDING |
ENTITY_ID |
INSTANCE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static NearestNeighborQuery.InstanceCase |
forNumber(int value) |
int |
getNumber() |
static NearestNeighborQuery.InstanceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NearestNeighborQuery.InstanceCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NearestNeighborQuery.InstanceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearestNeighborQuery.InstanceCase ENTITY_ID
public static final NearestNeighborQuery.InstanceCase EMBEDDING
public static final NearestNeighborQuery.InstanceCase INSTANCE_NOT_SET
public static NearestNeighborQuery.InstanceCase[] values()
for (NearestNeighborQuery.InstanceCase c : NearestNeighborQuery.InstanceCase.values()) System.out.println(c);
public static NearestNeighborQuery.InstanceCase 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 null@Deprecated public static NearestNeighborQuery.InstanceCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static NearestNeighborQuery.InstanceCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.