Package com.google.cloud.translate (2.52.0)

GitHub Repository RPC Documentation REST Documentation

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.translate.v3 for new applications.

Classes

Class Description
com.google.cloud.translate.Detection Information about a language detection. Objects of this class contain the detected language and possibly a confidence level. See Also: Detecting Language
com.google.cloud.translate.Language Information about a language supported by Google Translation. Objects of this class contain the language's code and the language name. See Also: Discovering Supported Languages, Supported Languages
com.google.cloud.translate.Translate.LanguageListOption Class for specifying supported language listing options.
com.google.cloud.translate.Translate.TranslateOption Class for specifying translate options.
com.google.cloud.translate.TranslateOptions
com.google.cloud.translate.TranslateOptions.Builder
com.google.cloud.translate.TranslateOptions.DefaultTranslateFactory
com.google.cloud.translate.TranslateOptions.DefaultTranslateRpcFactory
com.google.cloud.translate.Translation Information about a translation. Objects of this class contain the translated text and the source language's code. The source language's code can be optionally specified by the user or automatically detected by the Google Translation service. See Also: Translating Text

Interfaces

Interface Description
com.google.cloud.translate.Translate An interface for Google Translation. Translate and its Option classes can be used concurrently without external synchronizations. See Also: Google Translation
com.google.cloud.translate.TranslateFactory An interface for Translates factories.

Exceptions

Exception Description
com.google.cloud.translate.TranslateException Google Translation service exception.