Package | Description |
---|---|
com.google.cloud.translate |
A client for Cloud Translation - Fast, dynamic translation.
|
Modifier and Type | Method and Description |
---|---|
static TranslateOptions.Builder |
TranslateOptions.newBuilder()
Returns a builder for
TranslateOptions objects. |
TranslateOptions.Builder |
TranslateOptions.Builder.setApiKey(String apiKey)
Deprecated.
|
TranslateOptions.Builder |
TranslateOptions.Builder.setProjectId(String projectId)
Sets the project ID.
|
TranslateOptions.Builder |
TranslateOptions.Builder.setTargetLanguage(String targetLanguage)
Sets the code for the default target language.
|
TranslateOptions.Builder |
TranslateOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions transportOptions) |
TranslateOptions.Builder |
TranslateOptions.toBuilder() |
Copyright © 2022 Google LLC. All rights reserved.