Enum ExplicitDecodingConfig.AudioEncoding (4.8.0)

public enum ExplicitDecodingConfig.AudioEncoding extends Enum<ExplicitDecodingConfig.AudioEncoding> implements ProtocolMessageEnum

Supported audio data encodings.

Protobuf enum google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncoding

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ALAW

Headerless 8-bit companded alaw samples.

ALAW = 3;

ALAW_VALUE

Headerless 8-bit companded alaw samples.

ALAW = 3;

AUDIO_ENCODING_UNSPECIFIED

Default value. This value is unused.

AUDIO_ENCODING_UNSPECIFIED = 0;

AUDIO_ENCODING_UNSPECIFIED_VALUE

Default value. This value is unused.

AUDIO_ENCODING_UNSPECIFIED = 0;

LINEAR16

Headerless 16-bit signed little-endian PCM samples.

LINEAR16 = 1;

LINEAR16_VALUE

Headerless 16-bit signed little-endian PCM samples.

LINEAR16 = 1;

MULAW

Headerless 8-bit companded mulaw samples.

MULAW = 2;

MULAW_VALUE

Headerless 8-bit companded mulaw samples.

MULAW = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()