public sealed class DetectedLanguage : IMessage<Document.Types.Page.Types.DetectedLanguage>, IEquatable<Document.Types.Page.Types.DetectedLanguage>, IDeepCloneable<Document.Types.Page.Types.DetectedLanguage>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.Types.DetectedLanguage.
[[["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-19 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eDetectedLanguage\u003c/code\u003e class within the Google Cloud Document AI v1 API, specifically for the .NET environment, covering versions from 1.0.0 up to the latest version 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetectedLanguage\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, is used to represent a detected language for a structural component within a document and provides the confidence score of that detection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetectedLanguage\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, offering functionalities like message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor (\u003ccode\u003eDetectedLanguage()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eDetectedLanguage(Document.Types.Page.Types.DetectedLanguage other)\u003c/code\u003e), used for creating instances of the class, whether new or as a copy.\u003c/p\u003e\n"],["\u003cp\u003eIt features two key properties, \u003ccode\u003eConfidence\u003c/code\u003e (a float representing the detection confidence) and \u003ccode\u003eLanguageCode\u003c/code\u003e (a string representing the BCP-47 language code), which are essential for understanding the detected language information.\u003c/p\u003e\n"]]],[],null,[]]