Package viam.app.mltraining.v1
Enum Class MlTraining.ModelType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<MlTraining.ModelType>
,Constable
- Enclosing class:
- MlTraining
public static enum MlTraining.ModelType
extends Enum<MlTraining.ModelType>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.app.mltraining.v1.ModelType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMODEL_TYPE_MULTI_LABEL_CLASSIFICATION = 2;
MODEL_TYPE_OBJECT_DETECTION = 3;
MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION = 1;
MODEL_TYPE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
MODEL_TYPE_MULTI_LABEL_CLASSIFICATION = 2;
static final int
MODEL_TYPE_OBJECT_DETECTION = 3;
static final int
MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION = 1;
static final int
MODEL_TYPE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic MlTraining.ModelType
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<MlTraining.ModelType>
static com.google.protobuf.Internal.EnumVerifier
static MlTraining.ModelType
valueOf
(int value) Deprecated.static MlTraining.ModelType
Returns the enum constant of this class with the specified name.static MlTraining.ModelType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL_TYPE_UNSPECIFIED
MODEL_TYPE_UNSPECIFIED = 0;
-
MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION
MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION = 1;
-
MODEL_TYPE_MULTI_LABEL_CLASSIFICATION
MODEL_TYPE_MULTI_LABEL_CLASSIFICATION = 2;
-
MODEL_TYPE_OBJECT_DETECTION
MODEL_TYPE_OBJECT_DETECTION = 3;
-
UNRECOGNIZED
-
-
Field Details
-
MODEL_TYPE_UNSPECIFIED_VALUE
public static final int MODEL_TYPE_UNSPECIFIED_VALUEMODEL_TYPE_UNSPECIFIED = 0;
- See Also:
-
MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION_VALUE
public static final int MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION_VALUEMODEL_TYPE_SINGLE_LABEL_CLASSIFICATION = 1;
- See Also:
-
MODEL_TYPE_MULTI_LABEL_CLASSIFICATION_VALUE
public static final int MODEL_TYPE_MULTI_LABEL_CLASSIFICATION_VALUEMODEL_TYPE_MULTI_LABEL_CLASSIFICATION = 2;
- See Also:
-
MODEL_TYPE_OBJECT_DETECTION_VALUE
public static final int MODEL_TYPE_OBJECT_DETECTION_VALUEMODEL_TYPE_OBJECT_DETECTION = 3;
- 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()
-