GoogleCloudDatalabelingV1beta1AnnotationSpecResponse class
Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as dog or cat must reference an AnnotationSpec for dog and an AnnotationSpec for cat.
Constructors
-
GoogleCloudDatalabelingV1beta1AnnotationSpecResponse({required Input<
String> description, required Input<String> displayName, required Input<int> index}) -
Creates a new GoogleCloudDatalabelingV1beta1AnnotationSpecResponse.
descriptionOptional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.displayNameThe display name of the AnnotationSpec. Maximum of 64 characters.indexThis is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classesdogandcat, might contain one AnnotationSpec with{ display_name: "dog", index: 0 }and one AnnotationSpec with{ display_name: "cat", index: 1 }. This is especially useful for model training as it encodes the string labels into numeric values.const -
GoogleCloudDatalabelingV1beta1AnnotationSpecResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> -
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
final
-
displayName
→ Input<
String> -
The display name of the AnnotationSpec. Maximum of 64 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
index
→ Input<
int> -
This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes
dogandcat, might contain one AnnotationSpec with{ display_name: "dog", index: 0 }and one AnnotationSpec with{ display_name: "cat", index: 1 }. This is especially useful for model training as it encodes the string labels into numeric values.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited