public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getRecognizeMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.speech.v1.RecognizeRequest,
                    com.google.cloud.speech.v1.RecognizeResponse>(service, METHODID_RECOGNIZE)))
        .addMethod(
            getLongRunningRecognizeMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.speech.v1.LongRunningRecognizeRequest,
                    com.google.longrunning.Operation>(service, METHODID_LONG_RUNNING_RECOGNIZE)))
        .addMethod(
            getStreamingRecognizeMethod(),
            io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
                new MethodHandlers<
                    com.google.cloud.speech.v1.StreamingRecognizeRequest,
                    com.google.cloud.speech.v1.StreamingRecognizeResponse>(
                    service, METHODID_STREAMING_RECOGNIZE)))
        .build();
  }
<pre>
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.
For more information on asynchronous speech recognition, see the
[how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
</pre>
java-speech/grpc-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechGrpc.java