Enum RecognitionFeatures.MultiChannelMode (4.49.0)

public enum RecognitionFeatures.MultiChannelMode extends Enum<RecognitionFeatures.MultiChannelMode> implements ProtocolMessageEnum

Options for how to recognize multi-channel audio.

Protobuf enum google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
MULTI_CHANNEL_MODE_UNSPECIFIED

Default value for the multi-channel mode. If the audio contains multiple channels, only the first channel will be transcribed; other channels will be ignored.

MULTI_CHANNEL_MODE_UNSPECIFIED = 0;

MULTI_CHANNEL_MODE_UNSPECIFIED_VALUE

Default value for the multi-channel mode. If the audio contains multiple channels, only the first channel will be transcribed; other channels will be ignored.

MULTI_CHANNEL_MODE_UNSPECIFIED = 0;

SEPARATE_RECOGNITION_PER_CHANNEL

If selected, each channel in the provided audio is transcribed independently. This cannot be selected if the selected model is latest_short.

SEPARATE_RECOGNITION_PER_CHANNEL = 1;

SEPARATE_RECOGNITION_PER_CHANNEL_VALUE

If selected, each channel in the provided audio is transcribed independently. This cannot be selected if the selected model is latest_short.

SEPARATE_RECOGNITION_PER_CHANNEL = 1;

UNRECOGNIZED

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()