Class AutoDetectDecodingConfig.Builder (4.78.0)

public static final class AutoDetectDecodingConfig.Builder extends GeneratedMessage.Builder<AutoDetectDecodingConfig.Builder> implements AutoDetectDecodingConfigOrBuilder

Automatically detected decoding parameters. Supported for the following encodings:

  • WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container.

  • WAV_MULAW: 8-bit companded mulaw samples in a WAV container.

  • WAV_ALAW: 8-bit companded alaw samples in a WAV container.

  • RFC4867_5_AMR: AMR frames with an rfc4867.5 header.

  • RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header.

  • FLAC: FLAC frames in the "native FLAC" container format.

  • MP3: MPEG audio frames with optional (ignored) ID3 metadata.

  • OGG_OPUS: Opus audio frames in an Ogg container.

  • WEBM_OPUS: Opus audio frames in a WebM container.

  • MP4_AAC: AAC audio frames in an MP4 container.

  • M4A_AAC: AAC audio frames in an M4A container.

  • MOV_AAC: AAC audio frames in an MOV container.

Protobuf type google.cloud.speech.v2.AutoDetectDecodingConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AutoDetectDecodingConfig build()
Returns
Type Description
AutoDetectDecodingConfig

buildPartial()

public AutoDetectDecodingConfig buildPartial()
Returns
Type Description
AutoDetectDecodingConfig

clear()

public AutoDetectDecodingConfig.Builder clear()
Returns
Type Description
AutoDetectDecodingConfig.Builder
Overrides

getDefaultInstanceForType()

public AutoDetectDecodingConfig getDefaultInstanceForType()
Returns
Type Description
AutoDetectDecodingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoDetectDecodingConfig other)

public AutoDetectDecodingConfig.Builder mergeFrom(AutoDetectDecodingConfig other)
Parameter
Name Description
other AutoDetectDecodingConfig
Returns
Type Description
AutoDetectDecodingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoDetectDecodingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoDetectDecodingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutoDetectDecodingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutoDetectDecodingConfig.Builder
Overrides