public static enum MetricxSpec.MetricxVersion extends Enum<MetricxSpec.MetricxVersion> implements com.google.protobuf.ProtocolMessageEnum
MetricX Version options.Protobuf enum
google.cloud.aiplatform.v1.MetricxSpec.MetricxVersion| Enum Constant and Description |
|---|
METRICX_24_REF
MetricX 2024 (2.6) for translation + reference (reference-based).
|
METRICX_24_SRC
MetricX 2024 (2.6) for translation + source (QE).
|
METRICX_24_SRC_REF
MetricX 2024 (2.6) for translation + source + reference
(source-reference-combined).
|
METRICX_VERSION_UNSPECIFIED
MetricX version unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
METRICX_24_REF_VALUE
MetricX 2024 (2.6) for translation + reference (reference-based).
|
static int |
METRICX_24_SRC_REF_VALUE
MetricX 2024 (2.6) for translation + source + reference
(source-reference-combined).
|
static int |
METRICX_24_SRC_VALUE
MetricX 2024 (2.6) for translation + source (QE).
|
static int |
METRICX_VERSION_UNSPECIFIED_VALUE
MetricX version unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricxSpec.MetricxVersion |
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<MetricxSpec.MetricxVersion> |
internalGetValueMap() |
static MetricxSpec.MetricxVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MetricxSpec.MetricxVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MetricxSpec.MetricxVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricxSpec.MetricxVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricxSpec.MetricxVersion METRICX_VERSION_UNSPECIFIED
MetricX version unspecified.
METRICX_VERSION_UNSPECIFIED = 0;public static final MetricxSpec.MetricxVersion METRICX_24_REF
MetricX 2024 (2.6) for translation + reference (reference-based).
METRICX_24_REF = 1;public static final MetricxSpec.MetricxVersion METRICX_24_SRC
MetricX 2024 (2.6) for translation + source (QE).
METRICX_24_SRC = 2;public static final MetricxSpec.MetricxVersion METRICX_24_SRC_REF
MetricX 2024 (2.6) for translation + source + reference (source-reference-combined).
METRICX_24_SRC_REF = 3;public static final MetricxSpec.MetricxVersion UNRECOGNIZED
public static final int METRICX_VERSION_UNSPECIFIED_VALUE
MetricX version unspecified.
METRICX_VERSION_UNSPECIFIED = 0;public static final int METRICX_24_REF_VALUE
MetricX 2024 (2.6) for translation + reference (reference-based).
METRICX_24_REF = 1;public static final int METRICX_24_SRC_VALUE
MetricX 2024 (2.6) for translation + source (QE).
METRICX_24_SRC = 2;public static final int METRICX_24_SRC_REF_VALUE
MetricX 2024 (2.6) for translation + source + reference (source-reference-combined).
METRICX_24_SRC_REF = 3;public static MetricxSpec.MetricxVersion[] values()
for (MetricxSpec.MetricxVersion c : MetricxSpec.MetricxVersion.values()) System.out.println(c);
public static MetricxSpec.MetricxVersion 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 MetricxSpec.MetricxVersion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MetricxSpec.MetricxVersion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MetricxSpec.MetricxVersion> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MetricxSpec.MetricxVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.