Package com.viam.service.mlmodel.v1
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe position of the tensor value in the axis is the label indexthe value of the arrays/tensor is the label indexLABEL_TYPE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
the position of the tensor value in the axis is the label indexstatic final int
the value of the arrays/tensor is the label indexstatic final int
LABEL_TYPE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mlmodel.LabelType
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Mlmodel.LabelType>
static com.google.protobuf.Internal.EnumVerifier
static Mlmodel.LabelType
valueOf
(int value) Deprecated.static Mlmodel.LabelType
Returns the enum constant of this class with the specified name.static Mlmodel.LabelType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LABEL_TYPE_UNSPECIFIED
LABEL_TYPE_UNSPECIFIED = 0;
-
LABEL_TYPE_TENSOR_VALUE
the value of the arrays/tensor is the label index
LABEL_TYPE_TENSOR_VALUE = 1;
-
LABEL_TYPE_TENSOR_AXIS
the position of the tensor value in the axis is the label index
LABEL_TYPE_TENSOR_AXIS = 2;
-
UNRECOGNIZED
-
-
Field Details
-
LABEL_TYPE_UNSPECIFIED_VALUE
public static final int LABEL_TYPE_UNSPECIFIED_VALUELABEL_TYPE_UNSPECIFIED = 0;
- See Also:
-
LABEL_TYPE_TENSOR_VALUE_VALUE
public static final int LABEL_TYPE_TENSOR_VALUE_VALUEthe 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_VALUEthe position of the tensor value in the axis is the label index
LABEL_TYPE_TENSOR_AXIS = 2;
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-