Send feedback
Class TranslationServiceConnection (2.32.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
Functions
virtual options()
Returns
Type
Description
Options
virtual TranslateText(google::cloud::translation::v3::TranslateTextRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::TranslateTextRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::TranslateTextResponse >
virtual RomanizeText(google::cloud::translation::v3::RomanizeTextRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::RomanizeTextRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::RomanizeTextResponse >
virtual DetectLanguage(google::cloud::translation::v3::DetectLanguageRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DetectLanguageRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::DetectLanguageResponse >
virtual GetSupportedLanguages(google::cloud::translation::v3::GetSupportedLanguagesRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetSupportedLanguagesRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::SupportedLanguages >
virtual TranslateDocument(google::cloud::translation::v3::TranslateDocumentRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::TranslateDocumentRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::TranslateDocumentResponse >
virtual BatchTranslateText(google::cloud::translation::v3::BatchTranslateTextRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::BatchTranslateTextRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::BatchTranslateResponse > >
virtual BatchTranslateText(NoAwaitTag, google::cloud::translation::v3::BatchTranslateTextRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::BatchTranslateTextRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual BatchTranslateText(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::BatchTranslateResponse > >
virtual BatchTranslateDocument(google::cloud::translation::v3::BatchTranslateDocumentRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::BatchTranslateDocumentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::BatchTranslateDocumentResponse > >
virtual BatchTranslateDocument(NoAwaitTag, google::cloud::translation::v3::BatchTranslateDocumentRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::BatchTranslateDocumentRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual BatchTranslateDocument(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::BatchTranslateDocumentResponse > >
virtual CreateGlossary(google::cloud::translation::v3::CreateGlossaryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::CreateGlossaryRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Glossary > >
virtual CreateGlossary(NoAwaitTag, google::cloud::translation::v3::CreateGlossaryRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::CreateGlossaryRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual CreateGlossary(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Glossary > >
virtual UpdateGlossary(google::cloud::translation::v3::UpdateGlossaryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::UpdateGlossaryRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Glossary > >
virtual UpdateGlossary(NoAwaitTag, google::cloud::translation::v3::UpdateGlossaryRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::UpdateGlossaryRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual UpdateGlossary(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Glossary > >
virtual ListGlossaries(google::cloud::translation::v3::ListGlossariesRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListGlossariesRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::Glossary >
virtual GetGlossary(google::cloud::translation::v3::GetGlossaryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetGlossaryRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::Glossary >
virtual DeleteGlossary(google::cloud::translation::v3::DeleteGlossaryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DeleteGlossaryRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::DeleteGlossaryResponse > >
virtual DeleteGlossary(NoAwaitTag, google::cloud::translation::v3::DeleteGlossaryRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::DeleteGlossaryRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual DeleteGlossary(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::DeleteGlossaryResponse > >
virtual GetGlossaryEntry(google::cloud::translation::v3::GetGlossaryEntryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetGlossaryEntryRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::GlossaryEntry >
virtual ListGlossaryEntries(google::cloud::translation::v3::ListGlossaryEntriesRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListGlossaryEntriesRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::GlossaryEntry >
virtual CreateGlossaryEntry(google::cloud::translation::v3::CreateGlossaryEntryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::CreateGlossaryEntryRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::GlossaryEntry >
virtual UpdateGlossaryEntry(google::cloud::translation::v3::UpdateGlossaryEntryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::UpdateGlossaryEntryRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::GlossaryEntry >
virtual DeleteGlossaryEntry(google::cloud::translation::v3::DeleteGlossaryEntryRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DeleteGlossaryEntryRequest const &
Returns
Type
Description
Status
virtual CreateDataset(google::cloud::translation::v3::CreateDatasetRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::CreateDatasetRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Dataset > >
virtual CreateDataset(NoAwaitTag, google::cloud::translation::v3::CreateDatasetRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::CreateDatasetRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual CreateDataset(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Dataset > >
virtual GetDataset(google::cloud::translation::v3::GetDatasetRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetDatasetRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::Dataset >
virtual ListDatasets(google::cloud::translation::v3::ListDatasetsRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListDatasetsRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::Dataset >
virtual DeleteDataset(google::cloud::translation::v3::DeleteDatasetRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DeleteDatasetRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::DeleteDatasetMetadata > >
virtual DeleteDataset(NoAwaitTag, google::cloud::translation::v3::DeleteDatasetRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::DeleteDatasetRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual DeleteDataset(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::DeleteDatasetMetadata > >
virtual CreateAdaptiveMtDataset(google::cloud::translation::v3::CreateAdaptiveMtDatasetRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::CreateAdaptiveMtDatasetRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::AdaptiveMtDataset >
virtual DeleteAdaptiveMtDataset(google::cloud::translation::v3::DeleteAdaptiveMtDatasetRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DeleteAdaptiveMtDatasetRequest const &
Returns
Type
Description
Status
virtual GetAdaptiveMtDataset(google::cloud::translation::v3::GetAdaptiveMtDatasetRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetAdaptiveMtDatasetRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::AdaptiveMtDataset >
virtual ListAdaptiveMtDatasets(google::cloud::translation::v3::ListAdaptiveMtDatasetsRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListAdaptiveMtDatasetsRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::AdaptiveMtDataset >
virtual AdaptiveMtTranslate(google::cloud::translation::v3::AdaptiveMtTranslateRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::AdaptiveMtTranslateRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::AdaptiveMtTranslateResponse >
virtual GetAdaptiveMtFile(google::cloud::translation::v3::GetAdaptiveMtFileRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetAdaptiveMtFileRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::AdaptiveMtFile >
virtual DeleteAdaptiveMtFile(google::cloud::translation::v3::DeleteAdaptiveMtFileRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DeleteAdaptiveMtFileRequest const &
Returns
Type
Description
Status
virtual ImportAdaptiveMtFile(google::cloud::translation::v3::ImportAdaptiveMtFileRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::ImportAdaptiveMtFileRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::ImportAdaptiveMtFileResponse >
virtual ListAdaptiveMtFiles(google::cloud::translation::v3::ListAdaptiveMtFilesRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListAdaptiveMtFilesRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::AdaptiveMtFile >
virtual ListAdaptiveMtSentences(google::cloud::translation::v3::ListAdaptiveMtSentencesRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListAdaptiveMtSentencesRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::AdaptiveMtSentence >
virtual ImportData(google::cloud::translation::v3::ImportDataRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::ImportDataRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::ImportDataMetadata > >
virtual ImportData(NoAwaitTag, google::cloud::translation::v3::ImportDataRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::ImportDataRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual ImportData(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::ImportDataMetadata > >
virtual ExportData(google::cloud::translation::v3::ExportDataRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::ExportDataRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::ExportDataMetadata > >
virtual ExportData(NoAwaitTag, google::cloud::translation::v3::ExportDataRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::ExportDataRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual ExportData(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::ExportDataMetadata > >
virtual ListExamples(google::cloud::translation::v3::ListExamplesRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListExamplesRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::Example >
virtual CreateModel(google::cloud::translation::v3::CreateModelRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::CreateModelRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Model > >
virtual CreateModel(NoAwaitTag, google::cloud::translation::v3::CreateModelRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::CreateModelRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual CreateModel(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::Model > >
virtual ListModels(google::cloud::translation::v3::ListModelsRequest)
Parameter
Name
Description
request
google::cloud::translation::v3::ListModelsRequest
Returns
Type
Description
StreamRange< google::cloud::translation::v3::Model >
virtual GetModel(google::cloud::translation::v3::GetModelRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::GetModelRequest const &
Returns
Type
Description
StatusOr< google::cloud::translation::v3::Model >
virtual DeleteModel(google::cloud::translation::v3::DeleteModelRequest const &)
Parameter
Name
Description
request
google::cloud::translation::v3::DeleteModelRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::DeleteModelMetadata > >
virtual DeleteModel(NoAwaitTag, google::cloud::translation::v3::DeleteModelRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::translation::v3::DeleteModelRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual DeleteModel(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::translation::v3::DeleteModelMetadata > >
virtual ListLocations(google::cloud::location::ListLocationsRequest)
Parameter
Name
Description
request
google::cloud::location::ListLocationsRequest
Returns
Type
Description
StreamRange< google::cloud::location::Location >
virtual GetLocation(google::cloud::location::GetLocationRequest const &)
Parameter
Name
Description
request
google::cloud::location::GetLocationRequest const &
Returns
Type
Description
StatusOr< google::cloud::location::Location >
virtual ListOperations(google::longrunning::ListOperationsRequest)
Parameter
Name
Description
request
google::longrunning::ListOperationsRequest
Returns
Type
Description
StreamRange< google::longrunning::Operation >
virtual GetOperation(google::longrunning::GetOperationRequest const &)
Parameter
Name
Description
request
google::longrunning::GetOperationRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)
Parameter
Name
Description
request
google::longrunning::DeleteOperationRequest const &
Returns
Type
Description
Status
virtual CancelOperation(google::longrunning::CancelOperationRequest const &)
Parameter
Name
Description
request
google::longrunning::CancelOperationRequest const &
Returns
Type
Description
Status
virtual WaitOperation(google::longrunning::WaitOperationRequest const &)
Parameter
Name
Description
request
google::longrunning::WaitOperationRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]