@BetaApi @Generated(value="by gapic-generator-java") public abstract class TranslationServiceStub extends Object implements BackgroundResource
This class is for advanced usage and reflects the underlying API directly.
Constructor and Description |
---|
TranslationServiceStub() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
public OperationsStub getOperationsStub()
public OperationsStub getHttpJsonOperationsStub()
public UnaryCallable<TranslateTextRequest,TranslateTextResponse> translateTextCallable()
public UnaryCallable<DetectLanguageRequest,DetectLanguageResponse> detectLanguageCallable()
public UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages> getSupportedLanguagesCallable()
public UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse> translateDocumentCallable()
public OperationCallable<BatchTranslateTextRequest,BatchTranslateResponse,BatchTranslateMetadata> batchTranslateTextOperationCallable()
public UnaryCallable<BatchTranslateTextRequest,Operation> batchTranslateTextCallable()
public OperationCallable<BatchTranslateDocumentRequest,BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata> batchTranslateDocumentOperationCallable()
public UnaryCallable<BatchTranslateDocumentRequest,Operation> batchTranslateDocumentCallable()
public OperationCallable<CreateGlossaryRequest,Glossary,CreateGlossaryMetadata> createGlossaryOperationCallable()
public UnaryCallable<CreateGlossaryRequest,Operation> createGlossaryCallable()
public UnaryCallable<ListGlossariesRequest,TranslationServiceClient.ListGlossariesPagedResponse> listGlossariesPagedCallable()
public UnaryCallable<ListGlossariesRequest,ListGlossariesResponse> listGlossariesCallable()
public UnaryCallable<GetGlossaryRequest,Glossary> getGlossaryCallable()
public OperationCallable<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata> deleteGlossaryOperationCallable()
public UnaryCallable<DeleteGlossaryRequest,Operation> deleteGlossaryCallable()
public abstract void close()
close
in interface AutoCloseable
Copyright © 2022 Google LLC. All rights reserved.