Class TextToSpeechGrpc (2.30.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
TypeDescription
String

Static Methods

bindService(TextToSpeechGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TextToSpeechGrpc.AsyncService service)
Parameter
NameDescription
serviceTextToSpeechGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getListVoicesMethod()

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

getServiceDescriptor()

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

getSynthesizeSpeechMethod()

public static MethodDescriptor<SynthesizeSpeechRequest,SynthesizeSpeechResponse> getSynthesizeSpeechMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TextToSpeechGrpc.TextToSpeechStub