Package | Description |
---|---|
com.google.cloud.translate.v3 |
A client to Cloud Translation API
|
Modifier and Type | Method and Description |
---|---|
Translation.Builder |
TranslateTextResponse.Builder.addGlossaryTranslationsBuilder()
Text translation responses if a glossary is provided in the request.
|
Translation.Builder |
TranslateTextResponse.Builder.addGlossaryTranslationsBuilder(int index)
Text translation responses if a glossary is provided in the request.
|
Translation.Builder |
Translation.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Translation.Builder |
TranslateTextResponse.Builder.addTranslationsBuilder()
Text translation responses with no glossary applied.
|
Translation.Builder |
TranslateTextResponse.Builder.addTranslationsBuilder(int index)
Text translation responses with no glossary applied.
|
Translation.Builder |
Translation.Builder.clear() |
Translation.Builder |
Translation.Builder.clearDetectedLanguageCode()
The BCP-47 language code of source text in the initial request, detected
automatically, if no source language was passed within the initial
request.
|
Translation.Builder |
Translation.Builder.clearField(Descriptors.FieldDescriptor field) |
Translation.Builder |
Translation.Builder.clearGlossaryConfig()
The `glossary_config` used for this translation.
|
Translation.Builder |
Translation.Builder.clearModel()
Only present when `model` is present in the request.
|
Translation.Builder |
Translation.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
Translation.Builder |
Translation.Builder.clearTranslatedText()
Text translated into the target language.
|
Translation.Builder |
Translation.Builder.clone() |
Translation.Builder |
TranslateTextResponse.Builder.getGlossaryTranslationsBuilder(int index)
Text translation responses if a glossary is provided in the request.
|
Translation.Builder |
TranslateTextResponse.Builder.getTranslationsBuilder(int index)
Text translation responses with no glossary applied.
|
Translation.Builder |
Translation.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Translation.Builder |
Translation.Builder.mergeFrom(Message other) |
Translation.Builder |
Translation.Builder.mergeFrom(Translation other) |
Translation.Builder |
Translation.Builder.mergeGlossaryConfig(TranslateTextGlossaryConfig value)
The `glossary_config` used for this translation.
|
Translation.Builder |
Translation.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static Translation.Builder |
Translation.newBuilder() |
static Translation.Builder |
Translation.newBuilder(Translation prototype) |
Translation.Builder |
Translation.newBuilderForType() |
protected Translation.Builder |
Translation.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
Translation.Builder |
Translation.Builder.setDetectedLanguageCode(String value)
The BCP-47 language code of source text in the initial request, detected
automatically, if no source language was passed within the initial
request.
|
Translation.Builder |
Translation.Builder.setDetectedLanguageCodeBytes(ByteString value)
The BCP-47 language code of source text in the initial request, detected
automatically, if no source language was passed within the initial
request.
|
Translation.Builder |
Translation.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
Translation.Builder |
Translation.Builder.setGlossaryConfig(TranslateTextGlossaryConfig.Builder builderForValue)
The `glossary_config` used for this translation.
|
Translation.Builder |
Translation.Builder.setGlossaryConfig(TranslateTextGlossaryConfig value)
The `glossary_config` used for this translation.
|
Translation.Builder |
Translation.Builder.setModel(String value)
Only present when `model` is present in the request.
|
Translation.Builder |
Translation.Builder.setModelBytes(ByteString value)
Only present when `model` is present in the request.
|
Translation.Builder |
Translation.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Translation.Builder |
Translation.Builder.setTranslatedText(String value)
Text translated into the target language.
|
Translation.Builder |
Translation.Builder.setTranslatedTextBytes(ByteString value)
Text translated into the target language.
|
Translation.Builder |
Translation.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
Translation.Builder |
Translation.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<Translation.Builder> |
TranslateTextResponse.Builder.getGlossaryTranslationsBuilderList()
Text translation responses if a glossary is provided in the request.
|
List<Translation.Builder> |
TranslateTextResponse.Builder.getTranslationsBuilderList()
Text translation responses with no glossary applied.
|
Modifier and Type | Method and Description |
---|---|
TranslateTextResponse.Builder |
TranslateTextResponse.Builder.addGlossaryTranslations(int index,
Translation.Builder builderForValue)
Text translation responses if a glossary is provided in the request.
|
TranslateTextResponse.Builder |
TranslateTextResponse.Builder.addGlossaryTranslations(Translation.Builder builderForValue)
Text translation responses if a glossary is provided in the request.
|
TranslateTextResponse.Builder |
TranslateTextResponse.Builder.addTranslations(int index,
Translation.Builder builderForValue)
Text translation responses with no glossary applied.
|
TranslateTextResponse.Builder |
TranslateTextResponse.Builder.addTranslations(Translation.Builder builderForValue)
Text translation responses with no glossary applied.
|
TranslateTextResponse.Builder |
TranslateTextResponse.Builder.setGlossaryTranslations(int index,
Translation.Builder builderForValue)
Text translation responses if a glossary is provided in the request.
|
TranslateTextResponse.Builder |
TranslateTextResponse.Builder.setTranslations(int index,
Translation.Builder builderForValue)
Text translation responses with no glossary applied.
|
Copyright © 2022 Google LLC. All rights reserved.