diff --git a/speech/cloud-client/pom.xml b/speech/cloud-client/pom.xml
index 2b62088709e..b7a9fdcdbd0 100644
--- a/speech/cloud-client/pom.xml
+++ b/speech/cloud-client/pom.xml
@@ -50,8 +50,8 @@
com.google.cloud
- google-cloud
- 0.21.0-alpha
+ google-cloud-speech
+ 0.21.1-alpha
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 d1935d4482e..67ddc1b6cf2 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
@@ -16,9 +16,9 @@
package com.example.speech;
-import com.google.api.gax.grpc.ApiStreamObserver;
-import com.google.api.gax.grpc.OperationFuture;
-import com.google.api.gax.grpc.StreamingCallable;
+import com.google.api.gax.rpc.ApiStreamObserver;
+import com.google.api.gax.rpc.OperationFuture;
+import com.google.api.gax.rpc.StreamingCallable;
import com.google.cloud.speech.v1.LongRunningRecognizeMetadata;
import com.google.cloud.speech.v1.LongRunningRecognizeResponse;
import com.google.cloud.speech.v1.RecognitionAudio;
@@ -33,8 +33,8 @@
import com.google.cloud.speech.v1.StreamingRecognizeRequest;
import com.google.cloud.speech.v1.StreamingRecognizeResponse;
import com.google.common.util.concurrent.SettableFuture;
+import com.google.longrunning.Operation;
import com.google.protobuf.ByteString;
-
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
@@ -169,7 +169,7 @@ public static void asyncRecognizeFile(String fileName) throws Exception, IOExcep
.build();
// Use non-blocking call for getting file transcription
- OperationFuture response =
+ OperationFuture response =
speech.longRunningRecognizeAsync(config, audio);
while (!response.isDone()) {
System.out.println("Waiting for response...");
@@ -208,7 +208,7 @@ public static void asyncRecognizeGcs(String gcsUri) throws Exception, IOExceptio
.build();
// Use non-blocking call for getting file transcription
- OperationFuture response =
+ OperationFuture response =
speech.longRunningRecognizeAsync(config, audio);
while (!response.isDone()) {
System.out.println("Waiting for response...");