@java.lang.Override
    public boolean hasUri() {
      return audioSourceCase_ == 2;
    }
<pre>
URI that points to a file that contains audio data bytes as specified in
`RecognitionConfig`. The file must not be compressed (for example, gzip).
Currently, only Google Cloud Storage URIs are
supported, which must be specified in the following format:
`gs://bucket_name/object_name` (other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
For more information, see [Request
URIs](https://cloud.google.com/storage/docs/reference-uris).
</pre>

<code>string uri = 2;</code>

@return Whether the uri field is set.
java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionAudio.java