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