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