Package | Description |
---|---|
com.google.api.services.translate.model |
Modifier and Type | Method and Description |
---|---|
TranslationsResource |
TranslationsResource.clone() |
TranslationsResource |
TranslationsResource.set(java.lang.String fieldName,
java.lang.Object value) |
TranslationsResource |
TranslationsResource.setDetectedSourceLanguage(java.lang.String detectedSourceLanguage)
The source language of the initial request, detected automatically, if no source language was
passed within the initial request.
|
TranslationsResource |
TranslationsResource.setModel(java.lang.String model)
The `model` type used for this translation.
|
TranslationsResource |
TranslationsResource.setTranslatedText(java.lang.String translatedText)
Text translated into the target language.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TranslationsResource> |
TranslationsListResponse.getTranslations()
Translations contains list of translation results of given text
|
Modifier and Type | Method and Description |
---|---|
TranslationsListResponse |
TranslationsListResponse.setTranslations(java.util.List<TranslationsResource> translations)
Translations contains list of translation results of given text
|