Enum Class DatasetOuterClass.DatasetType

java.lang.Object
java.lang.Enum<DatasetOuterClass.DatasetType>
viam.app.dataset.v1.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_SUFFIX
 
Protobuf enum viam.app.dataset.v1.DatasetType
  • Enum Constant Details

    • DATASET_TYPE_BINARY_DATA

      public static final DatasetOuterClass.DatasetType 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

      public static final DatasetOuterClass.DatasetType 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

      public static final DatasetOuterClass.DatasetType UNRECOGNIZED
  • Field Details

    • DATASET_TYPE_BINARY_DATA_VALUE

      public static final int DATASET_TYPE_BINARY_DATA_VALUE
       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;
      See Also:
    • DATASET_TYPE_SEQUENCE_DATA_VALUE

      public static final int DATASET_TYPE_SEQUENCE_DATA_VALUE
       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;
      See Also:
  • Method Details

    • values

      public static DatasetOuterClass.DatasetType[] 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 DatasetOuterClass.DatasetType 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 DatasetOuterClass.DatasetType 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 DatasetOuterClass.DatasetType forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<DatasetOuterClass.DatasetType> internalGetValueMap()
    • internalGetVerifier

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