- 4.48.0 (latest)
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public interface RecognitionMetadataOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAudioTopic()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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. |