@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonTextToSpeechStub extends TextToSpeechStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonTextToSpeechStub, using the given settings.
|
protected |
HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTextToSpeechStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonTextToSpeechStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonTextToSpeechStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonTextToSpeechStub |
create(TextToSpeechStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListVoicesRequest,ListVoicesResponse> |
listVoicesCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.BidiStreamingCallable<StreamingSynthesizeRequest,StreamingSynthesizeResponse> |
streamingSynthesizeCallable() |
com.google.api.gax.rpc.UnaryCallable<SynthesizeSpeechRequest,SynthesizeSpeechResponse> |
synthesizeSpeechCallable() |
protected HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonTextToSpeechStub create(TextToSpeechStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonTextToSpeechStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonTextToSpeechStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<ListVoicesRequest,ListVoicesResponse> listVoicesCallable()
listVoicesCallable in class TextToSpeechStubpublic com.google.api.gax.rpc.UnaryCallable<SynthesizeSpeechRequest,SynthesizeSpeechResponse> synthesizeSpeechCallable()
synthesizeSpeechCallable in class TextToSpeechStubpublic com.google.api.gax.rpc.BidiStreamingCallable<StreamingSynthesizeRequest,StreamingSynthesizeResponse> streamingSynthesizeCallable()
streamingSynthesizeCallable in class TextToSpeechStubpublic final void close()
close in interface AutoCloseableclose in class TextToSpeechStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.