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