public sealed class AnnotationSpecSet : IMessage<AnnotationSpecSet>, IEquatable<AnnotationSpecSet>, IDeepCloneable<AnnotationSpecSet>, IBufferMessage, IMessage
An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.
Implements
IMessage<AnnotationSpecSet>, IEquatable<AnnotationSpecSet>, IDeepCloneable<AnnotationSpecSet>, IBufferMessage, IMessageNamespace
Google.Cloud.DataLabeling.V1Beta1Assembly
Google.Cloud.DataLabeling.V1Beta1.dll
Constructors
AnnotationSpecSet()
public AnnotationSpecSet()
AnnotationSpecSet(AnnotationSpecSet)
public AnnotationSpecSet(AnnotationSpecSet other)
Parameter | |
---|---|
Name | Description |
other | AnnotationSpecSet |
Properties
AnnotationSpecs
public RepeatedField<AnnotationSpec> AnnotationSpecs { get; }
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
Property Value | |
---|---|
Type | Description |
RepeatedField<AnnotationSpec> |
AnnotationSpecSetName
public AnnotationSpecSetName AnnotationSpecSetName { get; set; }
AnnotationSpecSetName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AnnotationSpecSetName |
BlockingResources
public RepeatedField<string> BlockingResources { get; }
Output only. The names of any related resources that are blocking changes to the annotation spec set.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Description
public string Description { get; set; }
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
Property Value | |
---|---|
Type | Description |
String |
DisplayName
public string DisplayName { get; set; }
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
Output only. The AnnotationSpecSet resource name in the following format:
"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"
Property Value | |
---|---|
Type | Description |
String |