public sealed class DocumentTranslation : IMessage<DocumentTranslation>, IEquatable<DocumentTranslation>, IDeepCloneable<DocumentTranslation>, IBufferMessage, IMessage
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 `DocumentTranslation` class is a message class designed for handling translated documents within the Google Cloud Translate V3 API, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This page provides documentation for various versions of the Google Cloud Translate V3 API, from the latest version 3.9.0 down to 2.2.0, with the selected version being 2.3.0, which is not the latest."],["The `DocumentTranslation` class has two constructors, one default and one that takes another `DocumentTranslation` object for copying, and it has properties such as `ByteStreamOutputs`, `DetectedLanguageCode`, and `MimeType` to manage details of the translated document."],["The `ByteStreamOutputs` property, of type `RepeatedField\u003cByteString\u003e`, holds an array of translated documents, currently expected to contain only one element."],["The `DetectedLanguageCode` property, represented as a string, contains the language code for the input document if it was automatically detected, or it is empty if the source language was provided by the user."]]],[]]