@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonSpeechTranslationServiceStub extends SpeechTranslationServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonSpeechTranslationServiceStub(SpeechTranslationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSpeechTranslationServiceStub, using the given settings.
|
protected |
HttpJsonSpeechTranslationServiceStub(SpeechTranslationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSpeechTranslationServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonSpeechTranslationServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonSpeechTranslationServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonSpeechTranslationServiceStub |
create(SpeechTranslationServiceStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
streamingTranslateSpeechCallableprotected HttpJsonSpeechTranslationServiceStub(SpeechTranslationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonSpeechTranslationServiceStub(SpeechTranslationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonSpeechTranslationServiceStub create(SpeechTranslationServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonSpeechTranslationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonSpeechTranslationServiceStub 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 final void close()
close in interface AutoCloseableclose in class SpeechTranslationServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.