public sealed class AnnotateTextRequest : IMessage<AnnotateTextRequest>, IEquatable<AnnotateTextRequest>, IDeepCloneable<AnnotateTextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Natural Language v1 API class AnnotateTextRequest.
The request message for the text annotation API, which can perform multiple
analysis types (sentiment, entities, and syntax) 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 core component of the Google Cloud Natural Language v1 API, used for performing multiple text analyses, including sentiment, entities, and syntax, in a single request.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<AnnotateTextRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<AnnotateTextRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling its use within the Google.Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnnotateTextRequest\u003c/code\u003e has constructors that allow for creating new instances or copying from existing instances.\u003c/p\u003e\n"],["\u003cp\u003eThe class also has properties including \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eEncodingType\u003c/code\u003e and \u003ccode\u003eFeatures\u003c/code\u003e which are required to use the class, and allow the setting of the input document, the encoding type and the features that are enabled respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the API, ranging from 2.2.0 up to the latest version, 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]