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 representing a translated document within the Google.Cloud.Translate.V3 namespace, and it is found in the `Google.Cloud.Translate.V3.dll` assembly."],["Version 3.9.0 is the latest version of the Google Cloud Translate V3 document, and many previous versions are also available, going as far back as 2.2.0."],["The `DocumentTranslation` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `Object` class."],["This class has properties like `ByteStreamOutputs` (for the translated document array), `DetectedLanguageCode` (for the input document's detected language), and `MimeType` (for the translated document's mime type)."],["There are two constructors for the class `DocumentTranslation()`, and `DocumentTranslation(DocumentTranslation other)`, with the second one taking an object of the same type as a parameter."]]],[]]