public sealed class Annotation : IMessage<Span.Types.TimeEvent.Types.Annotation>, IEquatable<Span.Types.TimeEvent.Types.Annotation>, IDeepCloneable<Span.Types.TimeEvent.Types.Annotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvent.Types.Annotation.
[[["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\u003eThis documentation page covers the \u003ccode\u003eSpan.Types.TimeEvent.Types.Annotation\u003c/code\u003e class within the Google Cloud Trace v2 API, providing reference information and code samples.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotation\u003c/code\u003e class represents a text annotation with a set of attributes, used to describe an event within a span, 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 class provides two constructors: a default constructor \u003ccode\u003eAnnotation()\u003c/code\u003e and a constructor that takes another \u003ccode\u003eAnnotation\u003c/code\u003e object, \u003ccode\u003eAnnotation(Span.Types.TimeEvent.Types.Annotation other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotation\u003c/code\u003e class includes two properties, \u003ccode\u003eAttributes\u003c/code\u003e of type \u003ccode\u003eSpan.Types.Attributes\u003c/code\u003e which allows for up to 4 attributes, and \u003ccode\u003eDescription\u003c/code\u003e of type \u003ccode\u003eTruncatableString\u003c/code\u003e which is a user-supplied message limited to 256 bytes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides various versions of the class, with the latest being version 3.6.0, and going back to version 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]