Package | Description |
---|---|
com.google.cloud.translate.v3 |
A client to Cloud Translation API
|
Modifier and Type | Method and Description |
---|---|
LocationName |
LocationName.Builder.build() |
static LocationName |
LocationName.of(String project,
String location) |
static LocationName |
LocationName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<LocationName> |
LocationName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
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.
|
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 targetLanguageCode,
List<String> contents)
Translates input text and returns translated text.
|
TranslateTextResponse |
TranslationServiceClient.translateText(LocationName parent,
String model,
String mimeType,
String sourceLanguageCode,
String targetLanguageCode,
List<String> contents)
Translates input text and returns translated text.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
LocationName.toStringList(List<LocationName> values) |
Copyright © 2022 Google LLC. All rights reserved.