public static enum ComputationBasedMetricSpec.ComputationBasedMetricType extends Enum<ComputationBasedMetricSpec.ComputationBasedMetricType> implements com.google.protobuf.ProtocolMessageEnum
Types of computation based metrics.Protobuf enum
google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType| Enum Constant and Description |
|---|
BLEU
BLEU metric.
|
COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED
Unspecified computation based metric type.
|
EXACT_MATCH
Exact match metric.
|
ROUGE
ROUGE metric.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLEU_VALUE
BLEU metric.
|
static int |
COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED_VALUE
Unspecified computation based metric type.
|
static int |
EXACT_MATCH_VALUE
Exact match metric.
|
static int |
ROUGE_VALUE
ROUGE metric.
|
| Modifier and Type | Method and Description |
|---|---|
static ComputationBasedMetricSpec.ComputationBasedMetricType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ComputationBasedMetricSpec.ComputationBasedMetricType> |
internalGetValueMap() |
static ComputationBasedMetricSpec.ComputationBasedMetricType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ComputationBasedMetricSpec.ComputationBasedMetricType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ComputationBasedMetricSpec.ComputationBasedMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputationBasedMetricSpec.ComputationBasedMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputationBasedMetricSpec.ComputationBasedMetricType COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED
Unspecified computation based metric type.
COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED = 0;public static final ComputationBasedMetricSpec.ComputationBasedMetricType EXACT_MATCH
Exact match metric.
EXACT_MATCH = 1;public static final ComputationBasedMetricSpec.ComputationBasedMetricType BLEU
BLEU metric.
BLEU = 2;public static final ComputationBasedMetricSpec.ComputationBasedMetricType ROUGE
ROUGE metric.
ROUGE = 3;public static final ComputationBasedMetricSpec.ComputationBasedMetricType UNRECOGNIZED
public static final int COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED_VALUE
Unspecified computation based metric type.
COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED = 0;public static final int EXACT_MATCH_VALUE
Exact match metric.
EXACT_MATCH = 1;public static final int BLEU_VALUE
BLEU metric.
BLEU = 2;public static final int ROUGE_VALUE
ROUGE metric.
ROUGE = 3;public static ComputationBasedMetricSpec.ComputationBasedMetricType[] values()
for (ComputationBasedMetricSpec.ComputationBasedMetricType c : ComputationBasedMetricSpec.ComputationBasedMetricType.values()) System.out.println(c);
public static ComputationBasedMetricSpec.ComputationBasedMetricType 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ComputationBasedMetricSpec.ComputationBasedMetricType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ComputationBasedMetricSpec.ComputationBasedMetricType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ComputationBasedMetricSpec.ComputationBasedMetricType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ComputationBasedMetricSpec.ComputationBasedMetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.