Package viam.app.dataset.v1
Enum Class DatasetOuterClass.DatasetType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<DatasetOuterClass.DatasetType>,Constable
- Enclosing class:
DatasetOuterClass
public static enum DatasetOuterClass.DatasetType
extends Enum<DatasetOuterClass.DatasetType>
implements com.google.protobuf.Internal.EnumLite
DatasetType describes the kind of membership a dataset stores. buf:lint:ignore ENUM_ZERO_VALUE_SUFFIXProtobuf enum
viam.app.dataset.v1.DatasetType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDATASET_TYPE_BINARY_DATA is a dataset whose members are individual binary data objects (frames).DATASET_TYPE_SEQUENCE_DATA is a dataset whose members are sequences. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDATASET_TYPE_BINARY_DATA is a dataset whose members are individual binary data objects (frames).static final intDATASET_TYPE_SEQUENCE_DATA is a dataset whose members are sequences. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<DatasetOuterClass.DatasetType> static com.google.protobuf.Internal.EnumVerifiervalueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.static DatasetOuterClass.DatasetType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATASET_TYPE_BINARY_DATA
DATASET_TYPE_BINARY_DATA is a dataset whose members are individual binary data objects (frames). This is the default for datasets created without an explicit type, including all pre-existing datasets.
DATASET_TYPE_BINARY_DATA = 0; -
DATASET_TYPE_SEQUENCE_DATA
DATASET_TYPE_SEQUENCE_DATA is a dataset whose members are sequences. Binary-data writes (AddBinaryDataToDatasetByIDs, AddBinaryDataToDatasetByFilter) are rejected against datasets of this type; sequences are added/removed via AddSequencesToDataset / RemoveSequencesFromDataset.
DATASET_TYPE_SEQUENCE_DATA = 1; -
UNRECOGNIZED
-
-
Field Details
-
DATASET_TYPE_BINARY_DATA_VALUE
public static final int DATASET_TYPE_BINARY_DATA_VALUEDATASET_TYPE_BINARY_DATA is a dataset whose members are individual binary data objects (frames). This is the default for datasets created without an explicit type, including all pre-existing datasets.
DATASET_TYPE_BINARY_DATA = 0;- See Also:
-
DATASET_TYPE_SEQUENCE_DATA_VALUE
public static final int DATASET_TYPE_SEQUENCE_DATA_VALUEDATASET_TYPE_SEQUENCE_DATA is a dataset whose members are sequences. Binary-data writes (AddBinaryDataToDatasetByIDs, AddBinaryDataToDatasetByFilter) are rejected against datasets of this type; sequences are added/removed via AddSequencesToDataset / RemoveSequencesFromDataset.
DATASET_TYPE_SEQUENCE_DATA = 1;- 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:
getNumberin 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
public static com.google.protobuf.Internal.EnumLiteMap<DatasetOuterClass.DatasetType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-