Class TextToSpeechStub
- java.lang.Object
-
- com.google.cloud.texttospeech.v1.stub.TextToSpeechStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
- Direct Known Subclasses:
GrpcTextToSpeechStub
,HttpJsonTextToSpeechStub
@Generated("by gapic-generator-java") public abstract class TextToSpeechStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the TextToSpeech service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description TextToSpeechStub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
close()
com.google.api.gax.rpc.UnaryCallable<ListVoicesRequest,ListVoicesResponse>
listVoicesCallable()
com.google.api.gax.rpc.UnaryCallable<SynthesizeSpeechRequest,SynthesizeSpeechResponse>
synthesizeSpeechCallable()
-
-
-
Method Detail
-
listVoicesCallable
public com.google.api.gax.rpc.UnaryCallable<ListVoicesRequest,ListVoicesResponse> listVoicesCallable()
-
synthesizeSpeechCallable
public com.google.api.gax.rpc.UnaryCallable<SynthesizeSpeechRequest,SynthesizeSpeechResponse> synthesizeSpeechCallable()
-
close
public abstract void close()
- Specified by:
close
in interfaceAutoCloseable
-
-