Package com.viam.component.audioinput.v1
Enum Class Audioinput.SampleFormat
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Audioinput.SampleFormat>
,Constable
- Enclosing class:
- Audioinput
public static enum Audioinput.SampleFormat
extends Enum<Audioinput.SampleFormat>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.component.audioinput.v1.SampleFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSAMPLE_FORMAT_FLOAT32_INTERLEAVED = 2;
SAMPLE_FORMAT_INT16_INTERLEAVED = 1;
SAMPLE_FORMAT_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
SAMPLE_FORMAT_FLOAT32_INTERLEAVED = 2;
static final int
SAMPLE_FORMAT_INT16_INTERLEAVED = 1;
static final int
SAMPLE_FORMAT_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Audioinput.SampleFormat
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Audioinput.SampleFormat>
static com.google.protobuf.Internal.EnumVerifier
static Audioinput.SampleFormat
valueOf
(int value) Deprecated.static Audioinput.SampleFormat
Returns the enum constant of this class with the specified name.static Audioinput.SampleFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAMPLE_FORMAT_UNSPECIFIED
SAMPLE_FORMAT_UNSPECIFIED = 0;
-
SAMPLE_FORMAT_INT16_INTERLEAVED
SAMPLE_FORMAT_INT16_INTERLEAVED = 1;
-
SAMPLE_FORMAT_FLOAT32_INTERLEAVED
SAMPLE_FORMAT_FLOAT32_INTERLEAVED = 2;
-
UNRECOGNIZED
-
-
Field Details
-
SAMPLE_FORMAT_UNSPECIFIED_VALUE
public static final int SAMPLE_FORMAT_UNSPECIFIED_VALUESAMPLE_FORMAT_UNSPECIFIED = 0;
- See Also:
-
SAMPLE_FORMAT_INT16_INTERLEAVED_VALUE
public static final int SAMPLE_FORMAT_INT16_INTERLEAVED_VALUESAMPLE_FORMAT_INT16_INTERLEAVED = 1;
- See Also:
-
SAMPLE_FORMAT_FLOAT32_INTERLEAVED_VALUE
public static final int SAMPLE_FORMAT_FLOAT32_INTERLEAVED_VALUESAMPLE_FORMAT_FLOAT32_INTERLEAVED = 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
public static com.google.protobuf.Internal.EnumLiteMap<Audioinput.SampleFormat> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-