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