Package | Description |
---|---|
com.google.cloud.translate.v3beta1 |
A client to Cloud Translation API
|
Modifier and Type | Method and Description |
---|---|
DocumentTranslation.Builder |
DocumentTranslation.Builder.addAllByteStreamOutputs(Iterable<? extends ByteString> values)
The array of translated documents.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.addByteStreamOutputs(ByteString value)
The array of translated documents.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.clear() |
DocumentTranslation.Builder |
DocumentTranslation.Builder.clearByteStreamOutputs()
The array of translated documents.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.clearDetectedLanguageCode()
The detected language for the input document.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.clearField(Descriptors.FieldDescriptor field) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.clearMimeType()
The translated document's mime type.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.clone() |
DocumentTranslation.Builder |
TranslateDocumentResponse.Builder.getDocumentTranslationBuilder()
Translated document.
|
DocumentTranslation.Builder |
TranslateDocumentResponse.Builder.getGlossaryDocumentTranslationBuilder()
The document's translation output if a glossary is provided in the request.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.mergeFrom(DocumentTranslation other) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.mergeFrom(Message other) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static DocumentTranslation.Builder |
DocumentTranslation.newBuilder() |
static DocumentTranslation.Builder |
DocumentTranslation.newBuilder(DocumentTranslation prototype) |
DocumentTranslation.Builder |
DocumentTranslation.newBuilderForType() |
protected DocumentTranslation.Builder |
DocumentTranslation.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.setByteStreamOutputs(int index,
ByteString value)
The array of translated documents.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.setDetectedLanguageCode(String value)
The detected language for the input document.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.setDetectedLanguageCodeBytes(ByteString value)
The detected language for the input document.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.setMimeType(String value)
The translated document's mime type.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.setMimeTypeBytes(ByteString value)
The translated document's mime type.
|
DocumentTranslation.Builder |
DocumentTranslation.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
DocumentTranslation.Builder |
DocumentTranslation.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
DocumentTranslation.Builder |
DocumentTranslation.toBuilder() |
Modifier and Type | Method and Description |
---|---|
TranslateDocumentResponse.Builder |
TranslateDocumentResponse.Builder.setDocumentTranslation(DocumentTranslation.Builder builderForValue)
Translated document.
|
TranslateDocumentResponse.Builder |
TranslateDocumentResponse.Builder.setGlossaryDocumentTranslation(DocumentTranslation.Builder builderForValue)
The document's translation output if a glossary is provided in the request.
|
Copyright © 2022 Google LLC. All rights reserved.