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 Details

    • METRICX_VERSION_UNSPECIFIED

      public static final MetricxSpec.MetricxVersion METRICX_VERSION_UNSPECIFIED
       MetricX version unspecified.
       
      METRICX_VERSION_UNSPECIFIED = 0;
    • METRICX_24_REF

      public static final MetricxSpec.MetricxVersion METRICX_24_REF
       MetricX 2024 (2.6) for translation + reference (reference-based).
       
      METRICX_24_REF = 1;
    • METRICX_24_SRC

      public static final MetricxSpec.MetricxVersion METRICX_24_SRC
       MetricX 2024 (2.6) for translation + source (QE).
       
      METRICX_24_SRC = 2;
    • METRICX_24_SRC_REF

      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;
    • UNRECOGNIZED

      public static final MetricxSpec.MetricxVersion UNRECOGNIZED
  • Field Details

    • METRICX_VERSION_UNSPECIFIED_VALUE

      public static final int METRICX_VERSION_UNSPECIFIED_VALUE
       MetricX version unspecified.
       
      METRICX_VERSION_UNSPECIFIED = 0;
      See Also:
    • METRICX_24_REF_VALUE

      public static final int METRICX_24_REF_VALUE
       MetricX 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_VALUE
       MetricX 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_VALUE
       MetricX 2024 (2.6) for translation + source + reference
       (source-reference-combined).
       
      METRICX_24_SRC_REF = 3;
      See Also:
  • Method Details

    • values

      public static MetricxSpec.MetricxVersion[] 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

      public static MetricxSpec.MetricxVersion valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static MetricxSpec.MetricxVersion valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static MetricxSpec.MetricxVersion forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null