Class TranslationServiceStub (2.33.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
TypeDescription
UnaryCallable<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse>

batchTranslateDocumentCallable()

public UnaryCallable<BatchTranslateDocumentRequest,Operation> batchTranslateDocumentCallable()
Returns
TypeDescription
UnaryCallable<BatchTranslateDocumentRequest,Operation>

batchTranslateDocumentOperationCallable()

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

batchTranslateTextCallable()

public UnaryCallable<BatchTranslateTextRequest,Operation> batchTranslateTextCallable()
Returns
TypeDescription
UnaryCallable<BatchTranslateTextRequest,Operation>

batchTranslateTextOperationCallable()

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

close()

public abstract void close()

createAdaptiveMtDatasetCallable()

public UnaryCallable<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> createAdaptiveMtDatasetCallable()
Returns
TypeDescription
UnaryCallable<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset>

createGlossaryCallable()

public UnaryCallable<CreateGlossaryRequest,Operation> createGlossaryCallable()
Returns
TypeDescription
UnaryCallable<CreateGlossaryRequest,Operation>

createGlossaryOperationCallable()

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

deleteAdaptiveMtDatasetCallable()

public UnaryCallable<DeleteAdaptiveMtDatasetRequest,Empty> deleteAdaptiveMtDatasetCallable()
Returns
TypeDescription
UnaryCallable<DeleteAdaptiveMtDatasetRequest,Empty>

deleteAdaptiveMtFileCallable()

public UnaryCallable<DeleteAdaptiveMtFileRequest,Empty> deleteAdaptiveMtFileCallable()
Returns
TypeDescription
UnaryCallable<DeleteAdaptiveMtFileRequest,Empty>

deleteGlossaryCallable()

public UnaryCallable<DeleteGlossaryRequest,Operation> deleteGlossaryCallable()
Returns
TypeDescription
UnaryCallable<DeleteGlossaryRequest,Operation>

deleteGlossaryOperationCallable()

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

detectLanguageCallable()

public UnaryCallable<DetectLanguageRequest,DetectLanguageResponse> detectLanguageCallable()
Returns
TypeDescription
UnaryCallable<DetectLanguageRequest,DetectLanguageResponse>

getAdaptiveMtDatasetCallable()

public UnaryCallable<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> getAdaptiveMtDatasetCallable()
Returns
TypeDescription
UnaryCallable<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset>

getAdaptiveMtFileCallable()

public UnaryCallable<GetAdaptiveMtFileRequest,AdaptiveMtFile> getAdaptiveMtFileCallable()
Returns
TypeDescription
UnaryCallable<GetAdaptiveMtFileRequest,AdaptiveMtFile>

getGlossaryCallable()

public UnaryCallable<GetGlossaryRequest,Glossary> getGlossaryCallable()
Returns
TypeDescription
UnaryCallable<GetGlossaryRequest,Glossary>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

getSupportedLanguagesCallable()

public UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages> getSupportedLanguagesCallable()
Returns
TypeDescription
UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages>

importAdaptiveMtFileCallable()

public UnaryCallable<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> importAdaptiveMtFileCallable()
Returns
TypeDescription
UnaryCallable<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse>

listAdaptiveMtDatasetsCallable()

public UnaryCallable<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse> listAdaptiveMtDatasetsCallable()
Returns
TypeDescription
UnaryCallable<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse>

listAdaptiveMtDatasetsPagedCallable()

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

listAdaptiveMtFilesCallable()

public UnaryCallable<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse> listAdaptiveMtFilesCallable()
Returns
TypeDescription
UnaryCallable<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse>

listAdaptiveMtFilesPagedCallable()

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

listAdaptiveMtSentencesCallable()

public UnaryCallable<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse> listAdaptiveMtSentencesCallable()
Returns
TypeDescription
UnaryCallable<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse>

listAdaptiveMtSentencesPagedCallable()

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

listGlossariesCallable()

public UnaryCallable<ListGlossariesRequest,ListGlossariesResponse> listGlossariesCallable()
Returns
TypeDescription
UnaryCallable<ListGlossariesRequest,ListGlossariesResponse>

listGlossariesPagedCallable()

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

translateDocumentCallable()

public UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse> translateDocumentCallable()
Returns
TypeDescription
UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse>

translateTextCallable()

public UnaryCallable<TranslateTextRequest,TranslateTextResponse> translateTextCallable()
Returns
TypeDescription
UnaryCallable<TranslateTextRequest,TranslateTextResponse>