Class TranslationResponse


  • public class TranslationResponse
    extends Object
    Represents a translation response from Google Cloud Translation API v3.
    • Constructor Detail

      • TranslationResponse

        public TranslationResponse​(String translatedText,
                                   String detectedLanguageCode)
    • Method Detail

      • getTranslatedText

        public String getTranslatedText()
      • getDetectedLanguageCode

        public String getDetectedLanguageCode()