target.apidocs.com.google.api.services.translate.v3beta1.model.class-use.Translation.html Maven / Gradle / Ivy
Uses of Class com.google.api.services.translate.v3beta1.model.Translation (Cloud Translation API v3beta1-rev20230210-2.0.0)
Uses of Class
com.google.api.services.translate.v3beta1.model.Translation
-
Packages that use Translation
Package
Description
com.google.api.services.translate.v3beta1.model
-
-
Uses of Translation in com.google.api.services.translate.v3beta1.model
Methods in com.google.api.services.translate.v3beta1.model that return Translation
Modifier and Type
Method and Description
Translation
Translation.clone()
Translation
Translation.set(String fieldName,
Object value)
Translation
Translation.setDetectedLanguageCode(String detectedLanguageCode)
The BCP-47 language code of source text in the initial request, detected automatically, if no
source language was passed within the initial request.
Translation
Translation.setGlossaryConfig(TranslateTextGlossaryConfig glossaryConfig)
The `glossary_config` used for this translation.
Translation
Translation.setModel(String model)
Only present when `model` is present in the request.
Translation
Translation.setTranslatedText(String translatedText)
Text translated into the target language.
Methods in com.google.api.services.translate.v3beta1.model that return types with arguments of type Translation
Modifier and Type
Method and Description
List<Translation>
TranslateTextResponse.getGlossaryTranslations()
Text translation responses if a glossary is provided in the request.
List<Translation>
TranslateTextResponse.getTranslations()
Text translation responses with no glossary applied.
Method parameters in com.google.api.services.translate.v3beta1.model with type arguments of type Translation
Modifier and Type
Method and Description
TranslateTextResponse
TranslateTextResponse.setGlossaryTranslations(List<Translation> glossaryTranslations)
Text translation responses if a glossary is provided in the request.
TranslateTextResponse
TranslateTextResponse.setTranslations(List<Translation> translations)
Text translation responses with no glossary applied.
Copyright © 2011–2023 Google. All rights reserved.