Interface RecognitionMetadataOrBuilder (4.10.0)

public interface RecognitionMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudioTopic()

public abstract String getAudioTopic()

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

string audio_topic = 10;

Returns
TypeDescription
String

The audioTopic.

getAudioTopicBytes()

public abstract ByteString getAudioTopicBytes()

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

string audio_topic = 10;

Returns
TypeDescription
ByteString

The bytes for audioTopic.

getIndustryNaicsCodeOfAudio()

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
TypeDescription
int

The industryNaicsCodeOfAudio.

getInteractionType()

public abstract RecognitionMetadata.InteractionType getInteractionType()

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

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

Returns
TypeDescription
RecognitionMetadata.InteractionType

The interactionType.

getInteractionTypeValue()

public abstract int getInteractionTypeValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for interactionType.

getMicrophoneDistance()

public abstract RecognitionMetadata.MicrophoneDistance getMicrophoneDistance()

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

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

Returns
TypeDescription
RecognitionMetadata.MicrophoneDistance

The microphoneDistance.

getMicrophoneDistanceValue()

public abstract int getMicrophoneDistanceValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for microphoneDistance.

getOriginalMediaType()

public abstract RecognitionMetadata.OriginalMediaType getOriginalMediaType()

The original media the speech was recorded on.

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

Returns
TypeDescription
RecognitionMetadata.OriginalMediaType

The originalMediaType.

getOriginalMediaTypeValue()

public abstract int getOriginalMediaTypeValue()

The original media the speech was recorded on.

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

Returns
TypeDescription
int

The enum numeric value on the wire for originalMediaType.

getOriginalMimeType()

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
TypeDescription
String

The originalMimeType.

getOriginalMimeTypeBytes()

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
TypeDescription
ByteString

The bytes for originalMimeType.

getRecordingDeviceName()

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
TypeDescription
String

The recordingDeviceName.

getRecordingDeviceNameBytes()

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
TypeDescription
ByteString

The bytes for recordingDeviceName.

getRecordingDeviceType()

public abstract RecognitionMetadata.RecordingDeviceType getRecordingDeviceType()

The type of device the speech was recorded with.

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

Returns
TypeDescription
RecognitionMetadata.RecordingDeviceType

The recordingDeviceType.

getRecordingDeviceTypeValue()

public abstract int getRecordingDeviceTypeValue()

The type of device the speech was recorded with.

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

Returns
TypeDescription
int

The enum numeric value on the wire for recordingDeviceType.