Class TextToSpeechGrpc (2.55.0)

public final class TextToSpeechGrpc

Service that implements Google Cloud Text-to-Speech API.

Inheritance

java.lang.Object > TextToSpeechGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TextToSpeechGrpc.AsyncService service)

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

getListVoicesMethod()

public static MethodDescriptor<ListVoicesRequest,ListVoicesResponse> getListVoicesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListVoicesRequest,ListVoicesResponse>

getServiceDescriptor()

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

getStreamingSynthesizeMethod()

public static MethodDescriptor<StreamingSynthesizeRequest,StreamingSynthesizeResponse> getStreamingSynthesizeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<StreamingSynthesizeRequest,StreamingSynthesizeResponse>

getSynthesizeSpeechMethod()

public static MethodDescriptor<SynthesizeSpeechRequest,SynthesizeSpeechResponse> getSynthesizeSpeechMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SynthesizeSpeechRequest,SynthesizeSpeechResponse>

newBlockingStub(Channel channel)

public static TextToSpeechGrpc.TextToSpeechBlockingStub 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
TextToSpeechGrpc.TextToSpeechBlockingStub

newFutureStub(Channel channel)

public static TextToSpeechGrpc.TextToSpeechFutureStub 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
TextToSpeechGrpc.TextToSpeechFutureStub

newStub(Channel channel)

public static TextToSpeechGrpc.TextToSpeechStub 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
TextToSpeechGrpc.TextToSpeechStub