@java.lang.Override
    public com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType
        getRecordingDeviceType() {
      com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType result =
          com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType.forNumber(
              recordingDeviceType_);
      return result == null
          ? com.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType.UNRECOGNIZED
          : result;
    }
<pre>
The type of device the speech was recorded with.
</pre>

<code>
.google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;
</code>

@return The recordingDeviceType.
java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java