public static final class SpeechGrpc.SpeechFutureStub extends io.grpc.stub.AbstractStub<SpeechGrpc.SpeechFutureStub>
Service that implements Google Cloud Speech API.
| Modifier and Type | Method and Description | 
|---|---|
| protected SpeechGrpc.SpeechFutureStub | build(io.grpc.Channel channel,
     io.grpc.CallOptions callOptions) | 
| com.google.common.util.concurrent.ListenableFuture<Operation> | longRunningRecognize(LongRunningRecognizeRequest request)
 Performs asynchronous speech recognition: receive results via the
 google.longrunning.Operations interface. | 
| com.google.common.util.concurrent.ListenableFuture<RecognizeResponse> | recognize(RecognizeRequest request)
 Performs synchronous speech recognition: receive results after all audio
 has been sent and processed. | 
protected SpeechGrpc.SpeechFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SpeechGrpc.SpeechFutureStub>public com.google.common.util.concurrent.ListenableFuture<RecognizeResponse> recognize(RecognizeRequest request)
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
public com.google.common.util.concurrent.ListenableFuture<Operation> longRunningRecognize(LongRunningRecognizeRequest request)
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message.