Enum ExplicitDecodingConfig.AudioEncoding (4.51.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

Name Description
ALAW

Headerless 8-bit companded alaw samples.

ALAW = 3;

ALAW_VALUE

Headerless 8-bit companded alaw samples.

ALAW = 3;

AMR

AMR frames with an rfc4867.5 header.

AMR = 4;

AMR_VALUE

AMR frames with an rfc4867.5 header.

AMR = 4;

AMR_WB

AMR-WB frames with an rfc4867.5 header.

AMR_WB = 5;

AMR_WB_VALUE

AMR-WB frames with an rfc4867.5 header.

AMR_WB = 5;

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;

FLAC

FLAC frames in the "native FLAC" container format.

FLAC = 6;

FLAC_VALUE

FLAC frames in the "native FLAC" container format.

FLAC = 6;

LINEAR16

Headerless 16-bit signed little-endian PCM samples.

LINEAR16 = 1;

LINEAR16_VALUE

Headerless 16-bit signed little-endian PCM samples.

LINEAR16 = 1;

M4A_AAC

AAC audio frames in an M4A container.

M4A_AAC = 11;

M4A_AAC_VALUE

AAC audio frames in an M4A container.

M4A_AAC = 11;

MOV_AAC

AAC audio frames in an MOV container.

MOV_AAC = 12;

MOV_AAC_VALUE

AAC audio frames in an MOV container.

MOV_AAC = 12;

MP3

MPEG audio frames with optional (ignored) ID3 metadata.

MP3 = 7;

MP3_VALUE

MPEG audio frames with optional (ignored) ID3 metadata.

MP3 = 7;

MP4_AAC

AAC audio frames in an MP4 container.

MP4_AAC = 10;

MP4_AAC_VALUE

AAC audio frames in an MP4 container.

MP4_AAC = 10;

MULAW

Headerless 8-bit companded mulaw samples.

MULAW = 2;

MULAW_VALUE

Headerless 8-bit companded mulaw samples.

MULAW = 2;

OGG_OPUS

Opus audio frames in an Ogg container.

OGG_OPUS = 8;

OGG_OPUS_VALUE

Opus audio frames in an Ogg container.

OGG_OPUS = 8;

UNRECOGNIZED
WEBM_OPUS

Opus audio frames in a WebM container.

WEBM_OPUS = 9;

WEBM_OPUS_VALUE

Opus audio frames in a WebM container.

WEBM_OPUS = 9;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()