Enum RecognitionMetadata.OriginalMediaType (4.32.0)

public enum RecognitionMetadata.OriginalMediaType extends Enum<RecognitionMetadata.OriginalMediaType> implements ProtocolMessageEnum

The original media the speech was recorded on.

Protobuf enum google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AUDIO

The speech data is an audio recording.

AUDIO = 1;

AUDIO_VALUE

The speech data is an audio recording.

AUDIO = 1;

ORIGINAL_MEDIA_TYPE_UNSPECIFIED

Unknown original media type.

ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0;

ORIGINAL_MEDIA_TYPE_UNSPECIFIED_VALUE

Unknown original media type.

ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
VIDEO

The speech data originally recorded on a video.

VIDEO = 2;

VIDEO_VALUE

The speech data originally recorded on a video.

VIDEO = 2;

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