public sealed class AnnotationSpecColor : IMessage<AnnotationSpecColor>, IEquatable<AnnotationSpecColor>, IDeepCloneable<AnnotationSpecColor>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class AnnotationSpecColor.
An entry of mapping between color and AnnotationSpec. The mapping is used in
segmentation mask.
[[["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-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAnnotationSpecColor\u003c/code\u003e class in the Vertex AI v1beta1 API represents a mapping between a color and an \u003ccode\u003eAnnotationSpec\u003c/code\u003e for use in segmentation masks.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, with an earlier \u003ccode\u003e1.0.0-beta20\u003c/code\u003e version also documented.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties like \u003ccode\u003eColor\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, and \u003ccode\u003eId\u003c/code\u003e, representing the color, display name, and ID of the associated \u003ccode\u003eAnnotationSpec\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for creating new instances of \u003ccode\u003eAnnotationSpecColor\u003c/code\u003e, one with no arguments, and another which takes in another \u003ccode\u003eAnnotationSpecColor\u003c/code\u003e as an argument.\u003c/p\u003e\n"]]],[],null,[]]