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\u003e\u003ccode\u003eAnnotateTextRequest\u003c/code\u003e is a class within the Cloud Natural Language v2 API that serves as the request message for performing multiple text analysis types 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 deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains three key properties: \u003ccode\u003eDocument\u003c/code\u003e for the input, \u003ccode\u003eEncodingType\u003c/code\u003e to define how offsets are calculated, and \u003ccode\u003eFeatures\u003c/code\u003e to specify the types of analysis to be performed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class has two constructors, a default constructor and one that takes another \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e as a parameter for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]