public class HttpJsonTextToSpeechStub extends TextToSpeechStub
REST stub implementation for the TextToSpeech service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonTextToSpeechStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTextToSpeechStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(TextToSpeechStubSettings settings)
public static final HttpJsonTextToSpeechStub create(TextToSpeechStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings, ClientContext clientContext)
protected HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTextToSpeechStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTextToSpeechStub(TextToSpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTextToSpeechStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listVoicesCallable()
public UnaryCallable<ListVoicesRequest,ListVoicesResponse> listVoicesCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
streamingSynthesizeCallable()
public BidiStreamingCallable<StreamingSynthesizeRequest,StreamingSynthesizeResponse> streamingSynthesizeCallable()
Overrides
synthesizeSpeechCallable()
public UnaryCallable<SynthesizeSpeechRequest,SynthesizeSpeechResponse> synthesizeSpeechCallable()
Overrides