Interface RecognitionMetadataOrBuilder (4.49.0)

public interface RecognitionMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudioTopic() (deprecated)

public abstract String getAudioTopic()

Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".

string audio_topic = 10;

Returns
Type Description
String

The audioTopic.

getAudioTopicBytes() (deprecated)

public abstract ByteString getAudioTopicBytes()

Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".

string audio_topic = 10;

Returns
Type Description
ByteString

The bytes for audioTopic.

getIndustryNaicsCodeOfAudio() (deprecated)

public abstract int getIndustryNaicsCodeOfAudio()

The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.

uint32 industry_naics_code_of_audio = 3;

Returns
Type Description
int

The industryNaicsCodeOfAudio.

getInteractionType() (deprecated)

public abstract RecognitionMetadata.InteractionType getInteractionType()

The use case most closely describing the audio content to be recognized.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1;

Returns
Type Description
RecognitionMetadata.InteractionType

The interactionType.

getInteractionTypeValue() (deprecated)

public abstract int getInteractionTypeValue()

The use case most closely describing the audio content to be recognized.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for interactionType.

getMicrophoneDistance() (deprecated)

public abstract RecognitionMetadata.MicrophoneDistance getMicrophoneDistance()

The audio type that most closely describes the audio being recognized.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;

Returns
Type Description
RecognitionMetadata.MicrophoneDistance

The microphoneDistance.

getMicrophoneDistanceValue() (deprecated)

public abstract int getMicrophoneDistanceValue()

The audio type that most closely describes the audio being recognized.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;

Returns
Type Description
int

The enum numeric value on the wire for microphoneDistance.

getObfuscatedId() (deprecated)

public abstract long getObfuscatedId()

Deprecated. google.cloud.speech.v1p1beta1.RecognitionMetadata.obfuscated_id is deprecated. See google/cloud/speech/v1p1beta1/cloud_speech.proto;l=633

Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.

int64 obfuscated_id = 9 [deprecated = true];

Returns
Type Description
long

The obfuscatedId.

getOriginalMediaType() (deprecated)

public abstract RecognitionMetadata.OriginalMediaType getOriginalMediaType()

The original media the speech was recorded on.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5;

Returns
Type Description
RecognitionMetadata.OriginalMediaType

The originalMediaType.

getOriginalMediaTypeValue() (deprecated)

public abstract int getOriginalMediaTypeValue()

The original media the speech was recorded on.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5;

Returns
Type Description
int

The enum numeric value on the wire for originalMediaType.

getOriginalMimeType() (deprecated)

public abstract String getOriginalMimeType()

Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio

string original_mime_type = 8;

Returns
Type Description
String

The originalMimeType.

getOriginalMimeTypeBytes() (deprecated)

public abstract ByteString getOriginalMimeTypeBytes()

Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio

string original_mime_type = 8;

Returns
Type Description
ByteString

The bytes for originalMimeType.

getRecordingDeviceName() (deprecated)

public abstract String getRecordingDeviceName()

The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.

string recording_device_name = 7;

Returns
Type Description
String

The recordingDeviceName.

getRecordingDeviceNameBytes() (deprecated)

public abstract ByteString getRecordingDeviceNameBytes()

The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.

string recording_device_name = 7;

Returns
Type Description
ByteString

The bytes for recordingDeviceName.

getRecordingDeviceType() (deprecated)

public abstract RecognitionMetadata.RecordingDeviceType getRecordingDeviceType()

The type of device the speech was recorded with.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;

Returns
Type Description
RecognitionMetadata.RecordingDeviceType

The recordingDeviceType.

getRecordingDeviceTypeValue() (deprecated)

public abstract int getRecordingDeviceTypeValue()

The type of device the speech was recorded with.

.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;

Returns
Type Description
int

The enum numeric value on the wire for recordingDeviceType.