Class TranslationServiceStub (2.46.0)

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.

Inheritance

java.lang.Object > TranslationServiceStub

Implements

BackgroundResource

Constructors

TranslationServiceStub()

public TranslationServiceStub()

Methods

batchTranslateDocumentCallable()

public UnaryCallable<BatchTranslateDocumentRequest,Operation> batchTranslateDocumentCallable()
Returns
Type Description
UnaryCallable<BatchTranslateDocumentRequest,Operation>

batchTranslateDocumentOperationCallable()

public OperationCallable<BatchTranslateDocumentRequest,BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata> batchTranslateDocumentOperationCallable()
Returns
Type Description
OperationCallable<BatchTranslateDocumentRequest,BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata>

batchTranslateTextCallable()

public UnaryCallable<BatchTranslateTextRequest,Operation> batchTranslateTextCallable()
Returns
Type Description
UnaryCallable<BatchTranslateTextRequest,Operation>

batchTranslateTextOperationCallable()

public OperationCallable<BatchTranslateTextRequest,BatchTranslateResponse,BatchTranslateMetadata> batchTranslateTextOperationCallable()
Returns
Type Description
OperationCallable<BatchTranslateTextRequest,BatchTranslateResponse,BatchTranslateMetadata>

close()

public abstract void close()

createGlossaryCallable()

public UnaryCallable<CreateGlossaryRequest,Operation> createGlossaryCallable()
Returns
Type Description
UnaryCallable<CreateGlossaryRequest,Operation>

createGlossaryOperationCallable()

public OperationCallable<CreateGlossaryRequest,Glossary,CreateGlossaryMetadata> createGlossaryOperationCallable()
Returns
Type Description
OperationCallable<CreateGlossaryRequest,Glossary,CreateGlossaryMetadata>

deleteGlossaryCallable()

public UnaryCallable<DeleteGlossaryRequest,Operation> deleteGlossaryCallable()
Returns
Type Description
UnaryCallable<DeleteGlossaryRequest,Operation>

deleteGlossaryOperationCallable()

public OperationCallable<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata> deleteGlossaryOperationCallable()
Returns
Type Description
OperationCallable<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata>

detectLanguageCallable()

public UnaryCallable<DetectLanguageRequest,DetectLanguageResponse> detectLanguageCallable()
Returns
Type Description
UnaryCallable<DetectLanguageRequest,DetectLanguageResponse>

getGlossaryCallable()

public UnaryCallable<GetGlossaryRequest,Glossary> getGlossaryCallable()
Returns
Type Description
UnaryCallable<GetGlossaryRequest,Glossary>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

getSupportedLanguagesCallable()

public UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages> getSupportedLanguagesCallable()
Returns
Type Description
UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages>

listGlossariesCallable()

public UnaryCallable<ListGlossariesRequest,ListGlossariesResponse> listGlossariesCallable()
Returns
Type Description
UnaryCallable<ListGlossariesRequest,ListGlossariesResponse>

listGlossariesPagedCallable()

public UnaryCallable<ListGlossariesRequest,TranslationServiceClient.ListGlossariesPagedResponse> listGlossariesPagedCallable()
Returns
Type Description
UnaryCallable<ListGlossariesRequest,ListGlossariesPagedResponse>

translateDocumentCallable()

public UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse> translateDocumentCallable()
Returns
Type Description
UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse>

translateTextCallable()

public UnaryCallable<TranslateTextRequest,TranslateTextResponse> translateTextCallable()
Returns
Type Description
UnaryCallable<TranslateTextRequest,TranslateTextResponse>