public interface RecognitionMetadataOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAudioTopic()
Description of the content.
|
ByteString |
getAudioTopicBytes()
Description of the content.
|
int |
getIndustryNaicsCodeOfAudio()
The industry vertical to which this speech recognition request most
closely applies.
|
RecognitionMetadata.InteractionType |
getInteractionType()
The use case most closely describing the audio content to be recognized.
|
int |
getInteractionTypeValue()
The use case most closely describing the audio content to be recognized.
|
RecognitionMetadata.MicrophoneDistance |
getMicrophoneDistance()
The audio type that most closely describes the audio being recognized.
|
int |
getMicrophoneDistanceValue()
The audio type that most closely describes the audio being recognized.
|
long |
getObfuscatedId()
Obfuscated (privacy-protected) ID of the user, to identify number of
unique users using the service.
|
RecognitionMetadata.OriginalMediaType |
getOriginalMediaType()
The original media the speech was recorded on.
|
int |
getOriginalMediaTypeValue()
The original media the speech was recorded on.
|
java.lang.String |
getOriginalMimeType()
Mime type of the original audio file.
|
ByteString |
getOriginalMimeTypeBytes()
Mime type of the original audio file.
|
java.lang.String |
getRecordingDeviceName()
The device used to make the recording.
|
ByteString |
getRecordingDeviceNameBytes()
The device used to make the recording.
|
RecognitionMetadata.RecordingDeviceType |
getRecordingDeviceType()
The type of device the speech was recorded with.
|
int |
getRecordingDeviceTypeValue()
The type of device the speech was recorded with.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getInteractionTypeValue()
The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1;
RecognitionMetadata.InteractionType getInteractionType()
The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1;
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;
int getMicrophoneDistanceValue()
The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
RecognitionMetadata.MicrophoneDistance getMicrophoneDistance()
The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
int getOriginalMediaTypeValue()
The original media the speech was recorded on.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5;
RecognitionMetadata.OriginalMediaType getOriginalMediaType()
The original media the speech was recorded on.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType original_media_type = 5;
int getRecordingDeviceTypeValue()
The type of device the speech was recorded with.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
RecognitionMetadata.RecordingDeviceType getRecordingDeviceType()
The type of device the speech was recorded with.
.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
java.lang.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;
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;
java.lang.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;
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;
long getObfuscatedId()
Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.
int64 obfuscated_id = 9;
java.lang.String getAudioTopic()
Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;
ByteString getAudioTopicBytes()
Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;