public sealed class AnnotationSpecColor : IMessage<AnnotationSpecColor>, IEquatable<AnnotationSpecColor>, IDeepCloneable<AnnotationSpecColor>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class AnnotationSpecColor.
An entry of mapping between color and AnnotationSpec. The mapping is used in segmentation mask.
Implements
IMessageAnnotationSpecColor, IEquatableAnnotationSpecColor, IDeepCloneableAnnotationSpecColor, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.SchemaAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
AnnotationSpecColor()
public AnnotationSpecColor()
AnnotationSpecColor(AnnotationSpecColor)
public AnnotationSpecColor(AnnotationSpecColor other)
Parameter | |
---|---|
Name | Description |
other |
AnnotationSpecColor |
Properties
Color
public Color Color { get; set; }
The color of the AnnotationSpec in a segmentation mask.
Property Value | |
---|---|
Type | Description |
Color |
DisplayName
public string DisplayName { get; set; }
The display name of the AnnotationSpec represented by the color in the segmentation mask.
Property Value | |
---|---|
Type | Description |
string |
Id
public string Id { get; set; }
The ID of the AnnotationSpec represented by the color in the segmentation mask.
Property Value | |
---|---|
Type | Description |
string |