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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDocumentTranslation\u003c/code\u003e class is a message representing a translated document within the Google.Cloud.Translate.V3 namespace, and it is found in the \u003ccode\u003eGoogle.Cloud.Translate.V3.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eVersion 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentTranslation\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties like \u003ccode\u003eByteStreamOutputs\u003c/code\u003e (for the translated document array), \u003ccode\u003eDetectedLanguageCode\u003c/code\u003e (for the input document's detected language), and \u003ccode\u003eMimeType\u003c/code\u003e (for the translated document's mime type).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class \u003ccode\u003eDocumentTranslation()\u003c/code\u003e, and \u003ccode\u003eDocumentTranslation(DocumentTranslation other)\u003c/code\u003e, with the second one taking an object of the same type as a parameter.\u003c/p\u003e\n"]]],[],null,[]]