Class SpeechGrpc (4.40.0)

public final class SpeechGrpc

Service that implements Google Cloud Speech API.

Inheritance

java.lang.Object > SpeechGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SpeechGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SpeechGrpc.AsyncService service)
Parameter
Name Description
service SpeechGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getLongRunningRecognizeMethod()

public static MethodDescriptor<LongRunningRecognizeRequest,Operation> getLongRunningRecognizeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<LongRunningRecognizeRequest,Operation>

getRecognizeMethod()

public static MethodDescriptor<RecognizeRequest,RecognizeResponse> getRecognizeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RecognizeRequest,RecognizeResponse>

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>

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