public sealed class MessageAnnotation : IMessage<MessageAnnotation>, IEquatable<MessageAnnotation>, IDeepCloneable<MessageAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class MessageAnnotation.
Represents the result of annotation for the message.
public RepeatedField<AnnotatedMessagePart> Parts { get; }
The collection of annotated message parts ordered by their
position in the message. You can recover the annotated message by
concatenating [AnnotatedMessagePart.text].
[[["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\u003eMessageAnnotation\u003c/code\u003e class is part of the Google Cloud Dialogflow v2 API, specifically within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents the result of annotating a message and can be found in the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly, and it implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessageAnnotation\u003c/code\u003e class has two constructors: a default one and one that takes another \u003ccode\u003eMessageAnnotation\u003c/code\u003e object as a parameter, along with two key properties: \u003ccode\u003eContainEntities\u003c/code\u003e, which indicates whether the text contains entities, and \u003ccode\u003eParts\u003c/code\u003e, a collection of \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e objects that make up the annotated message.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content has a list of versions for the MessageAnnotation class, starting from 4.26.0 (the latest) down to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, which includes methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]