Package com.google.cloud.aiplatform.v1
Enum MetricxSpec.MetricxVersion
java.lang.Object
java.lang.Enum<MetricxSpec.MetricxVersion>
com.google.cloud.aiplatform.v1.MetricxSpec.MetricxVersion
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MetricxSpec.MetricxVersion>
- Enclosing class:
- MetricxSpec
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 Summary
Enum ConstantsEnum ConstantDescriptionMetricX 2024 (2.6) for translation + reference (reference-based).MetricX 2024 (2.6) for translation + source (QE).MetricX 2024 (2.6) for translation + source + reference (source-reference-combined).MetricX version unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMetricX 2024 (2.6) for translation + reference (reference-based).static final intMetricX 2024 (2.6) for translation + source + reference (source-reference-combined).static final intMetricX 2024 (2.6) for translation + source (QE).static final intMetricX version unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricxSpec.MetricxVersionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MetricxSpec.MetricxVersion>static MetricxSpec.MetricxVersionvalueOf(int value) Deprecated.static MetricxSpec.MetricxVersionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static MetricxSpec.MetricxVersionReturns 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.
-
Enum Constant Details
-
METRICX_VERSION_UNSPECIFIED
MetricX version unspecified.
METRICX_VERSION_UNSPECIFIED = 0; -
METRICX_24_REF
MetricX 2024 (2.6) for translation + reference (reference-based).
METRICX_24_REF = 1; -
METRICX_24_SRC
MetricX 2024 (2.6) for translation + source (QE).
METRICX_24_SRC = 2; -
METRICX_24_SRC_REF
MetricX 2024 (2.6) for translation + source + reference (source-reference-combined).
METRICX_24_SRC_REF = 3; -
UNRECOGNIZED
-
-
Field Details
-
METRICX_VERSION_UNSPECIFIED_VALUE
public static final int METRICX_VERSION_UNSPECIFIED_VALUEMetricX version unspecified.
METRICX_VERSION_UNSPECIFIED = 0;- See Also:
-
METRICX_24_REF_VALUE
public static final int METRICX_24_REF_VALUEMetricX 2024 (2.6) for translation + reference (reference-based).
METRICX_24_REF = 1;- See Also:
-
METRICX_24_SRC_VALUE
public static final int METRICX_24_SRC_VALUEMetricX 2024 (2.6) for translation + source (QE).
METRICX_24_SRC = 2;- See Also:
-
METRICX_24_SRC_REF_VALUE
public static final int METRICX_24_SRC_REF_VALUEMetricX 2024 (2.6) for translation + source + reference (source-reference-combined).
METRICX_24_SRC_REF = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MetricxSpec.MetricxVersion> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static MetricxSpec.MetricxVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-