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 String
getAudioTopic()
Deprecated.Description of the content.com.google.protobuf.ByteString
getAudioTopicBytes()
Deprecated.Description of the content.int
getIndustryNaicsCodeOfAudio()
Deprecated.The industry vertical to which this speech recognition request most closely applies.RecognitionMetadata.InteractionType
getInteractionType()
Deprecated.The use case most closely describing the audio content to be recognized.int
getInteractionTypeValue()
Deprecated.The use case most closely describing the audio content to be recognized.RecognitionMetadata.MicrophoneDistance
getMicrophoneDistance()
Deprecated.The audio type that most closely describes the audio being recognized.int
getMicrophoneDistanceValue()
Deprecated.The audio type that most closely describes the audio being recognized.long
getObfuscatedId()
Deprecated.google.cloud.speech.v1p1beta1.RecognitionMetadata.obfuscated_id is deprecated.RecognitionMetadata.OriginalMediaType
getOriginalMediaType()
Deprecated.The original media the speech was recorded on.int
getOriginalMediaTypeValue()
Deprecated.The original media the speech was recorded on.String
getOriginalMimeType()
Deprecated.Mime type of the original audio file.com.google.protobuf.ByteString
getOriginalMimeTypeBytes()
Deprecated.Mime type of the original audio file.String
getRecordingDeviceName()
Deprecated.The device used to make the recording.com.google.protobuf.ByteString
getRecordingDeviceNameBytes()
Deprecated.The device used to make the recording.RecognitionMetadata.RecordingDeviceType
getRecordingDeviceType()
Deprecated.The type of device the speech was recorded with.int
getRecordingDeviceTypeValue()
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;
- Returns:
- The microphoneDistance.
-
getOriginalMediaTypeValue
int getOriginalMediaTypeValue()
Deprecated.The original media the speech was recorded on.
.google.cloud.speech.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.
-
getObfuscatedId
@Deprecated long getObfuscatedId()
Deprecated.google.cloud.speech.v1p1beta1.RecognitionMetadata.obfuscated_id is deprecated. See google/cloud/speech/v1p1beta1/cloud_speech.proto;l=633Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.
int64 obfuscated_id = 9 [deprecated = true];
- Returns:
- The obfuscatedId.
-
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.
-
-