Class SpeechGrpc (4.41.0)

public final class SpeechGrpc

Service that implements Google Cloud Speech API.

Inheritance

java.lang.Object > SpeechGrpc

Static Fields

METHOD_ASYNC_RECOGNIZE (deprecated)

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

METHOD_STREAMING_RECOGNIZE (deprecated)

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

METHOD_SYNC_RECOGNIZE (deprecated)

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

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

getAsyncRecognizeMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getStreamingRecognizeMethod()

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

getSyncRecognizeMethod()

public static MethodDescriptor<SyncRecognizeRequest,SyncRecognizeResponse> getSyncRecognizeMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
SpeechGrpc.SpeechStub