Class TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub (2.23.0)

public static final class TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub extends AbstractAsyncStub<TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub>

A stub to allow clients to do asynchronous rpc calls to service TextToSpeechLongAudioSynthesize.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub

Methods

build(Channel channel, CallOptions callOptions)

protected TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

synthesizeLongAudio(SynthesizeLongAudioRequest request, StreamObserver<Operation> responseObserver)

public void synthesizeLongAudio(SynthesizeLongAudioRequest request, StreamObserver<Operation> responseObserver)

Synthesizes long form text asynchronously.

Parameters
NameDescription
requestSynthesizeLongAudioRequest
responseObserverio.grpc.stub.StreamObserver<Operation>