Class TextToSpeechLongAudioSynthesizeGrpc.TextToSpeechLongAudioSynthesizeStub (2.47.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request SynthesizeLongAudioRequest
responseObserver io.grpc.stub.StreamObserver<Operation>