Skip to content

Commit

Permalink
samples: Auto-update dependencies. (#853)
Browse files Browse the repository at this point in the history
* Auto-update dependencies.

* fixup stuff.

1. Bigtable uses 1.1.33.Final
2. Bigtable should use 1.0.0-pre3
3. Try and fix logging
4. remove a bunch of <prerequsites> (which is both required and annoys
Maven - the versions plugin is confused, recommends using enforcer,
then doesn’t care.
5. update to guava 23.0 where possible.
6. requires ignoring guava-jdk5
7. Storage sample would never compile.
8. add —fail-at-end so we see more of what’s wrong.
  • Loading branch information
dpebot authored and chingor13 committed Aug 15, 2020
1 parent 1b6f864 commit 5a77721
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
package com.example.speech;

import com.google.api.gax.rpc.ApiStreamObserver;
import com.google.api.gax.rpc.BidiStreamingCallable;
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;
Expand All @@ -36,7 +36,6 @@
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;
Expand Down Expand Up @@ -382,7 +381,7 @@ public SettableFuture<List<T>> future() {
ResponseApiStreamingObserver<StreamingRecognizeResponse> responseObserver =
new ResponseApiStreamingObserver<StreamingRecognizeResponse>();

StreamingCallable<StreamingRecognizeRequest,StreamingRecognizeResponse> callable =
BidiStreamingCallable<StreamingRecognizeRequest,StreamingRecognizeResponse> callable =
speech.streamingRecognizeCallable();

ApiStreamObserver<StreamingRecognizeRequest> requestObserver =
Expand Down

0 comments on commit 5a77721

Please sign in to comment.