public sealed class DocumentTranslation : IMessage<DocumentTranslation>, IEquatable<DocumentTranslation>, IDeepCloneable<DocumentTranslation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class DocumentTranslation.
public RepeatedField<ByteString> ByteStreamOutputs { get; }
The array of translated documents. It is expected to be size 1 for now. We
may produce multiple translated documents in the future for other type of
file formats.
The detected language for the input document.
If the user did not provide the source language for the input document,
this field will have the language code automatically detected. If the
source language was passed, auto-detection of the language does not occur
and this field is empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version available for the Google Cloud Translation v3 API is 3.9.0, but this documentation is for version 3.3.0, with other versions ranging from 2.2.0 to 3.8.0 also available."],["The `DocumentTranslation` class is a core component for managing translated documents in the Google Cloud Translation v3 API and it implements several interfaces for message handling and object manipulation."],["The `DocumentTranslation` class contains properties such as `ByteStreamOutputs`, `DetectedLanguageCode`, and `MimeType`, which provide information about the translated document, its detected source language, and its file type."],["The `ByteStreamOutputs` property is an array containing the translated documents, and for the moment it will be of size 1, but the document mentions that it may produce more files in the future for different file formats."]]],[]]