Class SpeechGrpc
- java.lang.Object
-
- com.google.cloud.speech.v1p1beta1.SpeechGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/speech/v1p1beta1/cloud_speech.proto") public final class SpeechGrpc extends Object
Service that implements Google Cloud Speech API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSpeechGrpc.AsyncServiceService that implements Google Cloud Speech API.static classSpeechGrpc.SpeechBlockingStubA stub to allow clients to do synchronous rpc calls to service Speech.static classSpeechGrpc.SpeechFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Speech.static classSpeechGrpc.SpeechImplBaseBase class for the server implementation of the service Speech.static classSpeechGrpc.SpeechStubA stub to allow clients to do asynchronous rpc calls to service Speech.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(SpeechGrpc.AsyncService service)static io.grpc.MethodDescriptor<LongRunningRecognizeRequest,com.google.longrunning.Operation>getLongRunningRecognizeMethod()static io.grpc.MethodDescriptor<RecognizeRequest,RecognizeResponse>getRecognizeMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse>getStreamingRecognizeMethod()static SpeechGrpc.SpeechBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic SpeechGrpc.SpeechFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SpeechGrpc.SpeechStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRecognizeMethod
public static io.grpc.MethodDescriptor<RecognizeRequest,RecognizeResponse> getRecognizeMethod()
-
getLongRunningRecognizeMethod
public static io.grpc.MethodDescriptor<LongRunningRecognizeRequest,com.google.longrunning.Operation> getLongRunningRecognizeMethod()
-
getStreamingRecognizeMethod
public static io.grpc.MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse> getStreamingRecognizeMethod()
-
newStub
public static SpeechGrpc.SpeechStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static SpeechGrpc.SpeechBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static SpeechGrpc.SpeechFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(SpeechGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-