Package com.google.cloud.speech.v1
Interface RecognitionMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecognitionMetadata,RecognitionMetadata.Builder
@Deprecated public interface RecognitionMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetAudioTopic()Deprecated.Description of the content.com.google.protobuf.ByteStringgetAudioTopicBytes()Deprecated.Description of the content.intgetIndustryNaicsCodeOfAudio()Deprecated.The industry vertical to which this speech recognition request most closely applies.RecognitionMetadata.InteractionTypegetInteractionType()Deprecated.The use case most closely describing the audio content to be recognized.intgetInteractionTypeValue()Deprecated.The use case most closely describing the audio content to be recognized.RecognitionMetadata.MicrophoneDistancegetMicrophoneDistance()Deprecated.The audio type that most closely describes the audio being recognized.intgetMicrophoneDistanceValue()Deprecated.The audio type that most closely describes the audio being recognized.RecognitionMetadata.OriginalMediaTypegetOriginalMediaType()Deprecated.The original media the speech was recorded on.intgetOriginalMediaTypeValue()Deprecated.The original media the speech was recorded on.StringgetOriginalMimeType()Deprecated.Mime type of the original audio file.com.google.protobuf.ByteStringgetOriginalMimeTypeBytes()Deprecated.Mime type of the original audio file.StringgetRecordingDeviceName()Deprecated.The device used to make the recording.com.google.protobuf.ByteStringgetRecordingDeviceNameBytes()Deprecated.The device used to make the recording.RecognitionMetadata.RecordingDeviceTypegetRecordingDeviceType()Deprecated.The type of device the speech was recorded with.intgetRecordingDeviceTypeValue()Deprecated.The type of device the speech was recorded with.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInteractionTypeValue
int getInteractionTypeValue()
Deprecated.The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;- Returns:
- The enum numeric value on the wire for interactionType.
-
getInteractionType
RecognitionMetadata.InteractionType getInteractionType()
Deprecated.The use case most closely describing the audio content to be recognized.
.google.cloud.speech.v1.RecognitionMetadata.InteractionType interaction_type = 1;- Returns:
- The interactionType.
-
getIndustryNaicsCodeOfAudio
int getIndustryNaicsCodeOfAudio()
Deprecated.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:
- The industryNaicsCodeOfAudio.
-
getMicrophoneDistanceValue
int getMicrophoneDistanceValue()
Deprecated.The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;- Returns:
- The enum numeric value on the wire for microphoneDistance.
-
getMicrophoneDistance
RecognitionMetadata.MicrophoneDistance getMicrophoneDistance()
Deprecated.The audio type that most closely describes the audio being recognized.
.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;- Returns:
- The microphoneDistance.
-
getOriginalMediaTypeValue
int getOriginalMediaTypeValue()
Deprecated.The original media the speech was recorded on.
.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;- Returns:
- The enum numeric value on the wire for originalMediaType.
-
getOriginalMediaType
RecognitionMetadata.OriginalMediaType getOriginalMediaType()
Deprecated.The original media the speech was recorded on.
.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType original_media_type = 5;- Returns:
- The originalMediaType.
-
getRecordingDeviceTypeValue
int getRecordingDeviceTypeValue()
Deprecated.The type of device the speech was recorded with.
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;- Returns:
- The enum numeric value on the wire for recordingDeviceType.
-
getRecordingDeviceType
RecognitionMetadata.RecordingDeviceType getRecordingDeviceType()
Deprecated.The type of device the speech was recorded with.
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;- Returns:
- The recordingDeviceType.
-
getRecordingDeviceName
String getRecordingDeviceName()
Deprecated.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:
- The recordingDeviceName.
-
getRecordingDeviceNameBytes
com.google.protobuf.ByteString getRecordingDeviceNameBytes()
Deprecated.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:
- The bytes for recordingDeviceName.
-
getOriginalMimeType
String getOriginalMimeType()
Deprecated.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:
- The originalMimeType.
-
getOriginalMimeTypeBytes
com.google.protobuf.ByteString getOriginalMimeTypeBytes()
Deprecated.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:
- The bytes for originalMimeType.
-
getAudioTopic
String getAudioTopic()
Deprecated.Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;- Returns:
- The audioTopic.
-
getAudioTopicBytes
com.google.protobuf.ByteString getAudioTopicBytes()
Deprecated.Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
string audio_topic = 10;- Returns:
- The bytes for audioTopic.
-
-