com.google.api.gax.longrunning.OperationFuture<BatchTranslateDocumentResponse,BatchTranslateDocumentMetadata> |
TranslationServiceClient.batchTranslateDocumentAsync(LocationName parent,
String sourceLanguageCode,
List<String> targetLanguageCodes,
List<BatchDocumentInputConfig> inputConfigs,
BatchDocumentOutputConfig outputConfig) |
Translates a large volume of document in asynchronous batch mode.
|
com.google.api.gax.longrunning.OperationFuture<Glossary,CreateGlossaryMetadata> |
TranslationServiceClient.createGlossaryAsync(LocationName parent,
Glossary glossary) |
Creates a glossary and returns the long-running operation.
|
DetectLanguageResponse |
TranslationServiceClient.detectLanguage(LocationName parent,
String model,
String mimeType,
String content) |
Detects the language of text within a request.
|
SupportedLanguages |
TranslationServiceClient.getSupportedLanguages(LocationName parent,
String model,
String displayLanguageCode) |
Returns a list of supported languages for translation.
|
TranslationServiceClient.ListGlossariesPagedResponse |
TranslationServiceClient.listGlossaries(LocationName parent) |
Lists glossaries in a project.
|
TranslateTextResponse |
TranslationServiceClient.translateText(LocationName parent,
String model,
String mimeType,
String sourceLanguageCode,
String targetLanguageCode,
List<String> contents) |
Translates input text and returns translated text.
|
TranslateTextResponse |
TranslationServiceClient.translateText(LocationName parent,
String targetLanguageCode,
List<String> contents) |
Translates input text and returns translated text.
|