Enum Class Mlmodel.LabelType

java.lang.Object
java.lang.Enum<Mlmodel.LabelType>
com.viam.service.mlmodel.v1.Mlmodel.LabelType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Mlmodel.LabelType>, Constable
Enclosing class:
Mlmodel

public static enum Mlmodel.LabelType extends Enum<Mlmodel.LabelType> implements com.google.protobuf.Internal.EnumLite
Protobuf enum viam.service.mlmodel.v1.LabelType
  • Enum Constant Details

    • LABEL_TYPE_UNSPECIFIED

      public static final Mlmodel.LabelType LABEL_TYPE_UNSPECIFIED
      LABEL_TYPE_UNSPECIFIED = 0;
    • LABEL_TYPE_TENSOR_VALUE

      public static final Mlmodel.LabelType LABEL_TYPE_TENSOR_VALUE
       the value of the arrays/tensor is the label index
       
      LABEL_TYPE_TENSOR_VALUE = 1;
    • LABEL_TYPE_TENSOR_AXIS

      public static final Mlmodel.LabelType LABEL_TYPE_TENSOR_AXIS
       the position of the tensor value in the axis is the label index
       
      LABEL_TYPE_TENSOR_AXIS = 2;
    • UNRECOGNIZED

      public static final Mlmodel.LabelType UNRECOGNIZED
  • Field Details

    • LABEL_TYPE_UNSPECIFIED_VALUE

      public static final int LABEL_TYPE_UNSPECIFIED_VALUE
      LABEL_TYPE_UNSPECIFIED = 0;
      See Also:
    • LABEL_TYPE_TENSOR_VALUE_VALUE

      public static final int LABEL_TYPE_TENSOR_VALUE_VALUE
       the value of the arrays/tensor is the label index
       
      LABEL_TYPE_TENSOR_VALUE = 1;
      See Also:
    • LABEL_TYPE_TENSOR_AXIS_VALUE

      public static final int LABEL_TYPE_TENSOR_AXIS_VALUE
       the position of the tensor value in the axis is the label index
       
      LABEL_TYPE_TENSOR_AXIS = 2;
      See Also:
  • Method Details

    • values

      public static Mlmodel.LabelType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Mlmodel.LabelType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
    • valueOf

      @Deprecated public static Mlmodel.LabelType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Mlmodel.LabelType forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Mlmodel.LabelType> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()