public sealed class AnnotateTextRequest : IMessage<AnnotateTextRequest>, IEquatable<AnnotateTextRequest>, IDeepCloneable<AnnotateTextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class AnnotateTextRequest.
The request message for the text annotation API, which can perform multiple
analysis types in one call.
[[["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\u003eAnnotateTextRequest\u003c/code\u003e class is a request message for the Cloud Natural Language v2 API, designed to perform multiple text analysis operations in a single API call.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities such as message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class includes properties for specifying the input \u003ccode\u003eDocument\u003c/code\u003e, the \u003ccode\u003eEncodingType\u003c/code\u003e used for offset calculations, and the \u003ccode\u003eFeatures\u003c/code\u003e to be enabled during the text analysis.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating a new \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e instance or copying an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Language.V2\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Language.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]