Class TranslationServiceStub (2.43.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

adaptiveMtTranslateCallable()

public UnaryCallable<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse> adaptiveMtTranslateCallable()
Returns
Type Description
UnaryCallable<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse>

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()

createAdaptiveMtDatasetCallable()

public UnaryCallable<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> createAdaptiveMtDatasetCallable()
Returns
Type Description
UnaryCallable<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset>

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>

deleteAdaptiveMtDatasetCallable()

public UnaryCallable<DeleteAdaptiveMtDatasetRequest,Empty> deleteAdaptiveMtDatasetCallable()
Returns
Type Description
UnaryCallable<DeleteAdaptiveMtDatasetRequest,Empty>

deleteAdaptiveMtFileCallable()

public UnaryCallable<DeleteAdaptiveMtFileRequest,Empty> deleteAdaptiveMtFileCallable()
Returns
Type Description
UnaryCallable<DeleteAdaptiveMtFileRequest,Empty>

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>

getAdaptiveMtDatasetCallable()

public UnaryCallable<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> getAdaptiveMtDatasetCallable()
Returns
Type Description
UnaryCallable<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset>

getAdaptiveMtFileCallable()

public UnaryCallable<GetAdaptiveMtFileRequest,AdaptiveMtFile> getAdaptiveMtFileCallable()
Returns
Type Description
UnaryCallable<GetAdaptiveMtFileRequest,AdaptiveMtFile>

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>

importAdaptiveMtFileCallable()

public UnaryCallable<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> importAdaptiveMtFileCallable()
Returns
Type Description
UnaryCallable<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse>

listAdaptiveMtDatasetsCallable()

public UnaryCallable<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse> listAdaptiveMtDatasetsCallable()
Returns
Type Description
UnaryCallable<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse>

listAdaptiveMtDatasetsPagedCallable()

public UnaryCallable<ListAdaptiveMtDatasetsRequest,TranslationServiceClient.ListAdaptiveMtDatasetsPagedResponse> listAdaptiveMtDatasetsPagedCallable()
Returns
Type Description
UnaryCallable<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsPagedResponse>

listAdaptiveMtFilesCallable()

public UnaryCallable<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse> listAdaptiveMtFilesCallable()
Returns
Type Description
UnaryCallable<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse>

listAdaptiveMtFilesPagedCallable()

public UnaryCallable<ListAdaptiveMtFilesRequest,TranslationServiceClient.ListAdaptiveMtFilesPagedResponse> listAdaptiveMtFilesPagedCallable()
Returns
Type Description
UnaryCallable<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesPagedResponse>

listAdaptiveMtSentencesCallable()

public UnaryCallable<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse> listAdaptiveMtSentencesCallable()
Returns
Type Description
UnaryCallable<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse>

listAdaptiveMtSentencesPagedCallable()

public UnaryCallable<ListAdaptiveMtSentencesRequest,TranslationServiceClient.ListAdaptiveMtSentencesPagedResponse> listAdaptiveMtSentencesPagedCallable()
Returns
Type Description
UnaryCallable<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesPagedResponse>

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>