Class SpeechGrpc (4.17.0)

public final class SpeechGrpc

Service that implements Google Cloud Speech API.

Inheritance

java.lang.Object > SpeechGrpc

Static Fields

METHOD_ASYNC_RECOGNIZE

public static final MethodDescriptor<AsyncRecognizeRequest,Operation> METHOD_ASYNC_RECOGNIZE
Field Value
TypeDescription
io.grpc.MethodDescriptor<AsyncRecognizeRequest,Operation>

METHOD_STREAMING_RECOGNIZE

public static final MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse> METHOD_STREAMING_RECOGNIZE
Field Value
TypeDescription
io.grpc.MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse>

METHOD_SYNC_RECOGNIZE

public static final MethodDescriptor<SyncRecognizeRequest,SyncRecognizeResponse> METHOD_SYNC_RECOGNIZE
Field Value
TypeDescription
io.grpc.MethodDescriptor<SyncRecognizeRequest,SyncRecognizeResponse>

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getAsyncRecognizeMethod()

public static MethodDescriptor<AsyncRecognizeRequest,Operation> getAsyncRecognizeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AsyncRecognizeRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStreamingRecognizeMethod()

public static MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse> getStreamingRecognizeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StreamingRecognizeRequest,StreamingRecognizeResponse>

getSyncRecognizeMethod()

public static MethodDescriptor<SyncRecognizeRequest,SyncRecognizeResponse> getSyncRecognizeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SyncRecognizeRequest,SyncRecognizeResponse>

newBlockingStub(Channel channel)

public static SpeechGrpc.SpeechBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechGrpc.SpeechBlockingStub

newFutureStub(Channel channel)

public static SpeechGrpc.SpeechFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechGrpc.SpeechFutureStub

newStub(Channel channel)

public static SpeechGrpc.SpeechStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SpeechGrpc.SpeechStub