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

createDatasetCallable()

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

createDatasetOperationCallable()

public OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetMetadata> createDatasetOperationCallable()
Returns
Type Description
OperationCallable<CreateDatasetRequest,Dataset,CreateDatasetMetadata>

createGlossaryCallable()

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

createGlossaryEntryCallable()

public UnaryCallable<CreateGlossaryEntryRequest,GlossaryEntry> createGlossaryEntryCallable()
Returns
Type Description
UnaryCallable<CreateGlossaryEntryRequest,GlossaryEntry>

createGlossaryOperationCallable()

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

createModelCallable()

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

createModelOperationCallable()

public OperationCallable<CreateModelRequest,Model,CreateModelMetadata> createModelOperationCallable()
Returns
Type Description
OperationCallable<CreateModelRequest,Model,CreateModelMetadata>

deleteAdaptiveMtDatasetCallable()

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

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()
Returns
Type Description
OperationCallable<DeleteDatasetRequest,Empty,DeleteDatasetMetadata>

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()
Returns
Type Description
OperationCallable<DeleteGlossaryRequest,DeleteGlossaryResponse,DeleteGlossaryMetadata>

deleteModelCallable()

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

deleteModelOperationCallable()

public OperationCallable<DeleteModelRequest,Empty,DeleteModelMetadata> deleteModelOperationCallable()
Returns
Type Description
OperationCallable<DeleteModelRequest,Empty,DeleteModelMetadata>

detectLanguageCallable()

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

exportDataCallable()

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

exportDataOperationCallable()

public OperationCallable<ExportDataRequest,Empty,ExportDataMetadata> exportDataOperationCallable()
Returns
Type Description
OperationCallable<ExportDataRequest,Empty,ExportDataMetadata>

getAdaptiveMtDatasetCallable()

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

getAdaptiveMtFileCallable()

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

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()
Returns
Type Description
UnaryCallable<GetGlossaryEntryRequest,GlossaryEntry>

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()
Returns
Type Description
UnaryCallable<GetSupportedLanguagesRequest,SupportedLanguages>

importAdaptiveMtFileCallable()

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

importDataCallable()

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

importDataOperationCallable()

public OperationCallable<ImportDataRequest,Empty,ImportDataMetadata> importDataOperationCallable()
Returns
Type Description
OperationCallable<ImportDataRequest,Empty,ImportDataMetadata>

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>

listDatasetsCallable()

public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Returns
Type Description
UnaryCallable<ListDatasetsRequest,ListDatasetsResponse>

listDatasetsPagedCallable()

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

listExamplesCallable()

public UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()
Returns
Type Description
UnaryCallable<ListExamplesRequest,ListExamplesResponse>

listExamplesPagedCallable()

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

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>

listGlossaryEntriesCallable()

public UnaryCallable<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse> listGlossaryEntriesCallable()
Returns
Type Description
UnaryCallable<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse>

listGlossaryEntriesPagedCallable()

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

listModelsCallable()

public UnaryCallable<ListModelsRequest,ListModelsResponse> listModelsCallable()
Returns
Type Description
UnaryCallable<ListModelsRequest,ListModelsResponse>

listModelsPagedCallable()

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

romanizeTextCallable()

public UnaryCallable<RomanizeTextRequest,RomanizeTextResponse> romanizeTextCallable()
Returns
Type Description
UnaryCallable<RomanizeTextRequest,RomanizeTextResponse>

translateDocumentCallable()

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

translateTextCallable()

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

updateGlossaryCallable()

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

updateGlossaryEntryCallable()

public UnaryCallable<UpdateGlossaryEntryRequest,GlossaryEntry> updateGlossaryEntryCallable()
Returns
Type Description
UnaryCallable<UpdateGlossaryEntryRequest,GlossaryEntry>

updateGlossaryOperationCallable()

public OperationCallable<UpdateGlossaryRequest,Glossary,UpdateGlossaryMetadata> updateGlossaryOperationCallable()
Returns
Type Description
OperationCallable<UpdateGlossaryRequest,Glossary,UpdateGlossaryMetadata>