Package | Description |
---|---|
com.google.cloud.translate.spi.v2 |
Modifier and Type | Method and Description |
---|---|
static TranslateRpc.Option |
TranslateRpc.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslateRpc.Option[] |
TranslateRpc.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<com.google.api.services.translate.model.LanguagesResource> |
TranslateRpc.listSupportedLanguages(Map<TranslateRpc.Option,?> optionMap)
Returns a list of the languages supported by Google Translation.
|
List<com.google.api.services.translate.model.LanguagesResource> |
HttpTranslateRpc.listSupportedLanguages(Map<TranslateRpc.Option,?> optionMap) |
List<com.google.api.services.translate.model.TranslationsResource> |
TranslateRpc.translate(List<String> texts,
Map<TranslateRpc.Option,?> optionMap)
Translates the provided texts.
|
List<com.google.api.services.translate.model.TranslationsResource> |
HttpTranslateRpc.translate(List<String> texts,
Map<TranslateRpc.Option,?> optionMap) |
Copyright © 2019 Google LLC. All rights reserved.