From 4354cff1d2912c35f91ae21dd0144e309f3fbb65 Mon Sep 17 00:00:00 2001 From: Jisha Abubaker Date: Mon, 19 Jun 2017 16:22:12 -0700 Subject: [PATCH] samples: updating to latest google-cloud-* dependencies (#723) --- .../src/main/java/com/example/speech/QuickstartSample.java | 2 +- speech/snippets/src/main/java/com/example/speech/Recognize.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/speech/snippets/src/main/java/com/example/speech/QuickstartSample.java b/speech/snippets/src/main/java/com/example/speech/QuickstartSample.java index 955f971eb29..fbb0053f17b 100644 --- a/speech/snippets/src/main/java/com/example/speech/QuickstartSample.java +++ b/speech/snippets/src/main/java/com/example/speech/QuickstartSample.java @@ -18,11 +18,11 @@ // [START speech_quickstart] // Imports the Google Cloud client library -import com.google.cloud.speech.spi.v1.SpeechClient; import com.google.cloud.speech.v1.RecognitionAudio; import com.google.cloud.speech.v1.RecognitionConfig; import com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding; import com.google.cloud.speech.v1.RecognizeResponse; +import com.google.cloud.speech.v1.SpeechClient; import com.google.cloud.speech.v1.SpeechRecognitionAlternative; import com.google.cloud.speech.v1.SpeechRecognitionResult; import com.google.protobuf.ByteString; diff --git a/speech/snippets/src/main/java/com/example/speech/Recognize.java b/speech/snippets/src/main/java/com/example/speech/Recognize.java index 9863d9bc1b4..92b6caa8e83 100644 --- a/speech/snippets/src/main/java/com/example/speech/Recognize.java +++ b/speech/snippets/src/main/java/com/example/speech/Recognize.java @@ -19,12 +19,12 @@ import com.google.api.gax.grpc.ApiStreamObserver; import com.google.api.gax.grpc.OperationFuture; import com.google.api.gax.grpc.StreamingCallable; -import com.google.cloud.speech.spi.v1.SpeechClient; import com.google.cloud.speech.v1.LongRunningRecognizeResponse; import com.google.cloud.speech.v1.RecognitionAudio; import com.google.cloud.speech.v1.RecognitionConfig; import com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding; import com.google.cloud.speech.v1.RecognizeResponse; +import com.google.cloud.speech.v1.SpeechClient; import com.google.cloud.speech.v1.SpeechRecognitionAlternative; import com.google.cloud.speech.v1.SpeechRecognitionResult; import com.google.cloud.speech.v1.StreamingRecognitionConfig;