public static enum Inference.InferenceResult.ResultCase extends java.lang.Enum<Inference.InferenceResult.ResultCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CLASSIFICATION_RESULT |
REGRESSION_RESULT |
RESULT_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Inference.InferenceResult.ResultCase |
forNumber(int value) |
int |
getNumber() |
static Inference.InferenceResult.ResultCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Inference.InferenceResult.ResultCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Inference.InferenceResult.ResultCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Inference.InferenceResult.ResultCase CLASSIFICATION_RESULT
public static final Inference.InferenceResult.ResultCase REGRESSION_RESULT
public static final Inference.InferenceResult.ResultCase RESULT_NOT_SET
public static Inference.InferenceResult.ResultCase[] values()
for (Inference.InferenceResult.ResultCase c : Inference.InferenceResult.ResultCase.values()) System.out.println(c);
public static Inference.InferenceResult.ResultCase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static Inference.InferenceResult.ResultCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Inference.InferenceResult.ResultCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite