4.90.0 (latest) 4.89.0 4.88.0 4.86.0 4.83.0 4.82.0 4.80.0 4.78.0 4.77.0 4.75.0 4.73.0 4.71.0 4.70.0 4.69.0 4.68.0 4.67.0 4.65.0 4.63.0 4.62.0 4.59.0 4.58.0 4.57.0 4.55.0 4.54.0 4.53.0 4.52.0 4.51.0 4.50.0 4.49.0 4.48.0 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

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAudioTopic() (deprecated)

    public abstract String getAudioTopic()

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

`string audio_topic = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The audioTopic. |

### getAudioTopicBytes() (deprecated)

    public abstract ByteString getAudioTopicBytes()

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

`string audio_topic = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for audioTopic. |

### getIndustryNaicsCodeOfAudio() (deprecated)

    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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The industryNaicsCodeOfAudio. |

### getInteractionType() (deprecated)

    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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-speech/latest/com.google.cloud.speech.v1.RecognitionMetadata.InteractionType` | The interactionType. |

### getInteractionTypeValue() (deprecated)

    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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for interactionType. |

### getMicrophoneDistance() (deprecated)

    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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-speech/latest/com.google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance` | The microphoneDistance. |

### getMicrophoneDistanceValue() (deprecated)

    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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for microphoneDistance. |

### getOriginalMediaType() (deprecated)

    public abstract RecognitionMetadata.OriginalMediaType getOriginalMediaType()

The original media the speech was recorded on.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-speech/latest/com.google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType` | The originalMediaType. |

### getOriginalMediaTypeValue() (deprecated)

    public abstract int getOriginalMediaTypeValue()

The original media the speech was recorded on.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for originalMediaType. |

### getOriginalMimeType() (deprecated)

    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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The originalMimeType. |

### getOriginalMimeTypeBytes() (deprecated)

    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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for originalMimeType. |

### getRecordingDeviceName() (deprecated)

    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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The recordingDeviceName. |

### getRecordingDeviceNameBytes() (deprecated)

    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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for recordingDeviceName. |

### getRecordingDeviceType() (deprecated)

    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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-speech/latest/com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType` | The recordingDeviceType. |

### getRecordingDeviceTypeValue() (deprecated)

    public abstract int getRecordingDeviceTypeValue()

The type of device the speech was recorded with.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for recordingDeviceType. |