From 269635bbd8ed11d91d4d3d7fa910733e9c795efe Mon Sep 17 00:00:00 2001 From: Alix Hamilton Date: Fri, 17 Aug 2018 13:26:44 -0700 Subject: [PATCH] adds async local tags --- .../src/main/java/com/example/speech/Recognize.java | 2 ++ 1 file changed, 2 insertions(+) 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] /**