public abstract class TranslationServiceStub implements BackgroundResource
Base stub class for the TranslationService service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
TranslationServiceStub()
public TranslationServiceStub()
Methods
batchTranslateDocumentCallable()
public UnaryCallable<BatchTranslateDocumentRequest,Operation> batchTranslateDocumentCallable()
batchTranslateDocumentOperationCallable()
public OperationCallable<BatchTranslateDocumentRequest,BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata> batchTranslateDocumentOperationCallable()
batchTranslateTextCallable()
public UnaryCallable<BatchTranslateTextRequest,Operation> batchTranslateTextCallable()
batchTranslateTextOperationCallable()
public OperationCallable<BatchTranslateTextRequest,BatchTranslateResponse,BatchTranslateMetadata> batchTranslateTextOperationCallable()
close()
public abstract void close()
createGlossaryCallable()
public UnaryCallable<CreateGlossaryRequest,Operation> createGlossaryCallable()
createGlossaryOperationCallable()
public OperationCallable<CreateGlossaryRequest,Glossary,CreateGlossaryMetadata> createGlossaryOperationCallable()
deleteGlossaryCallable()
public UnaryCallable<DeleteGlossaryRequest,Operation> deleteGlossaryCallable()
deleteGlossaryOperationCallable()
public OperationCallable<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata> deleteGlossaryOperationCallable()
detectLanguageCallable()
public UnaryCallable<DetectLanguageRequest,DetectLanguageResponse> detectLanguageCallable()
getGlossaryCallable()
public UnaryCallable<GetGlossaryRequest,Glossary> getGlossaryCallable()
getHttpJsonOperationsStub()
public OperationsStub getHttpJsonOperationsStub()
getOperationsStub()
public OperationsStub getOperationsStub()
getSupportedLanguagesCallable()
public UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages> getSupportedLanguagesCallable()
listGlossariesCallable()
public UnaryCallable<ListGlossariesRequest,ListGlossariesResponse> listGlossariesCallable()
listGlossariesPagedCallable()
public UnaryCallable<ListGlossariesRequest,TranslationServiceClient.ListGlossariesPagedResponse> listGlossariesPagedCallable()
translateDocumentCallable()
public UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse> translateDocumentCallable()
translateTextCallable()
public UnaryCallable<TranslateTextRequest,TranslateTextResponse> translateTextCallable()