diff --git a/speech/cloud-client/src/main/java/com/example/speech/Recognize.java b/speech/cloud-client/src/main/java/com/example/speech/Recognize.java index 31463e8448c..69754771f5d 100644 --- a/speech/cloud-client/src/main/java/com/example/speech/Recognize.java +++ b/speech/cloud-client/src/main/java/com/example/speech/Recognize.java @@ -256,6 +256,7 @@ public static void syncRecognizeGcs(String gcsUri) throws Exception { } // [END speech_transcribe_sync_gcs] + // [START speech_transcribe_async] /** * Performs non-blocking speech recognition on raw PCM audio and prints the transcription. Note * that transcription is limited to 60 seconds audio. @@ -298,6 +299,7 @@ public static void asyncRecognizeFile(String fileName) throws Exception { } } } + // [END speech_transcribe_async] // [START speech_transcribe_async_time_offsets_gcs] /**