Skip navigation links

@Generated(value="by gapic-generator")


A client to Cloud Translation API.

See: Description

Package Description

A client to Cloud Translation API.

The interfaces provided are listed below, along with usage samples.

======================== TranslationServiceClient ========================

Service Description: Provides natural language translation operations.

Sample for TranslationServiceClient:

 try (TranslationServiceClient translationServiceClient = TranslationServiceClient.create()) {
   String formattedParent = TranslationServiceClient.formatLocationName("[PROJECT]", "[LOCATION]");
   String model = "";
   String mimeType = "";
   DetectLanguageResponse response = translationServiceClient.detectLanguage(formattedParent, model, mimeType);
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.