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

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

createAdaptiveMtDatasetCallable()

public UnaryCallable<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> createAdaptiveMtDatasetCallable()

createDatasetCallable()

public UnaryCallable<CreateDatasetRequest,Operation> createDatasetCallable()
Returns
Type Description
UnaryCallable<CreateDatasetRequest,Operation>

createDatasetOperationCallable()

public OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetMetadata> createDatasetOperationCallable()

createGlossaryCallable()

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

createGlossaryEntryCallable()

public UnaryCallable<CreateGlossaryEntryRequest,GlossaryEntry> createGlossaryEntryCallable()

createGlossaryOperationCallable()

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

createModelCallable()

public UnaryCallable<CreateModelRequest,Operation> createModelCallable()
Returns
Type Description
UnaryCallable<CreateModelRequest,Operation>

createModelOperationCallable()

public OperationCallable<CreateModelRequest,Model,CreateModelMetadata> createModelOperationCallable()

deleteAdaptiveMtDatasetCallable()

public UnaryCallable<DeleteAdaptiveMtDatasetRequest,Empty> deleteAdaptiveMtDatasetCallable()

deleteAdaptiveMtFileCallable()

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

deleteDatasetCallable()

public UnaryCallable<DeleteDatasetRequest,Operation> deleteDatasetCallable()
Returns
Type Description
UnaryCallable<DeleteDatasetRequest,Operation>

deleteDatasetOperationCallable()

public OperationCallable<DeleteDatasetRequest,Empty,DeleteDatasetMetadata> deleteDatasetOperationCallable()

deleteGlossaryCallable()

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

deleteGlossaryEntryCallable()

public UnaryCallable<DeleteGlossaryEntryRequest,Empty> deleteGlossaryEntryCallable()
Returns
Type Description
UnaryCallable<DeleteGlossaryEntryRequest,Empty>

deleteGlossaryOperationCallable()

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

deleteModelCallable()

public UnaryCallable<DeleteModelRequest,Operation> deleteModelCallable()
Returns
Type Description
UnaryCallable<DeleteModelRequest,Operation>

deleteModelOperationCallable()

public OperationCallable<DeleteModelRequest,Empty,DeleteModelMetadata> deleteModelOperationCallable()

detectLanguageCallable()

public UnaryCallable<DetectLanguageRequest,DetectLanguageResponse> detectLanguageCallable()

exportDataCallable()

public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Returns
Type Description
UnaryCallable<ExportDataRequest,Operation>

exportDataOperationCallable()

public OperationCallable<ExportDataRequest,Empty,ExportDataMetadata> exportDataOperationCallable()

getAdaptiveMtDatasetCallable()

public UnaryCallable<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> getAdaptiveMtDatasetCallable()

getAdaptiveMtFileCallable()

public UnaryCallable<GetAdaptiveMtFileRequest,AdaptiveMtFile> getAdaptiveMtFileCallable()

getDatasetCallable()

public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Returns
Type Description
UnaryCallable<GetDatasetRequest,Dataset>

getGlossaryCallable()

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

getGlossaryEntryCallable()

public UnaryCallable<GetGlossaryEntryRequest,GlossaryEntry> getGlossaryEntryCallable()

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getModelCallable()

public UnaryCallable<GetModelRequest,Model> getModelCallable()
Returns
Type Description
UnaryCallable<GetModelRequest,Model>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

getSupportedLanguagesCallable()

public UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages> getSupportedLanguagesCallable()

importAdaptiveMtFileCallable()

public UnaryCallable<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> importAdaptiveMtFileCallable()

importDataCallable()

public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Returns
Type Description
UnaryCallable<ImportDataRequest,Operation>

importDataOperationCallable()

public OperationCallable<ImportDataRequest,Empty,ImportDataMetadata> importDataOperationCallable()

listAdaptiveMtDatasetsCallable()

public UnaryCallable<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse> listAdaptiveMtDatasetsCallable()

listAdaptiveMtDatasetsPagedCallable()

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

listAdaptiveMtFilesCallable()

public UnaryCallable<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse> listAdaptiveMtFilesCallable()

listAdaptiveMtFilesPagedCallable()

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

listAdaptiveMtSentencesCallable()

public UnaryCallable<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse> listAdaptiveMtSentencesCallable()

listAdaptiveMtSentencesPagedCallable()

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

listDatasetsCallable()

public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()

listDatasetsPagedCallable()

public UnaryCallable<ListDatasetsRequest,TranslationServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()

listExamplesCallable()

public UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()

listExamplesPagedCallable()

public UnaryCallable<ListExamplesRequest,TranslationServiceClient.ListExamplesPagedResponse> listExamplesPagedCallable()

listGlossariesCallable()

public UnaryCallable<ListGlossariesRequest,ListGlossariesResponse> listGlossariesCallable()

listGlossariesPagedCallable()

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

listGlossaryEntriesCallable()

public UnaryCallable<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse> listGlossaryEntriesCallable()

listGlossaryEntriesPagedCallable()

public UnaryCallable<ListGlossaryEntriesRequest,TranslationServiceClient.ListGlossaryEntriesPagedResponse> listGlossaryEntriesPagedCallable()

listModelsCallable()

public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()

listModelsPagedCallable()

public UnaryCallable<ListModelsRequest,TranslationServiceClient.ListModelsPagedResponse> listModelsPagedCallable()

romanizeTextCallable()

public UnaryCallable<RomanizeTextRequest,RomanizeTextResponse> romanizeTextCallable()

translateDocumentCallable()

public UnaryCallable<TranslateDocumentRequest,TranslateDocumentResponse> translateDocumentCallable()

translateTextCallable()

public UnaryCallable<TranslateTextRequest,TranslateTextResponse> translateTextCallable()

updateGlossaryCallable()

public UnaryCallable<UpdateGlossaryRequest,Operation> updateGlossaryCallable()
Returns
Type Description
UnaryCallable<UpdateGlossaryRequest,Operation>

updateGlossaryEntryCallable()

public UnaryCallable<UpdateGlossaryEntryRequest,GlossaryEntry> updateGlossaryEntryCallable()

updateGlossaryOperationCallable()

public OperationCallable<UpdateGlossaryRequest,Glossary,UpdateGlossaryMetadata> updateGlossaryOperationCallable()