Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class AnnotationSpecSetConfig.
Annotation spec set with the setting of allowing multi labels or not.
Generated from protobuf message google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig
Namespace
Google \ Cloud \ DataLabeling \ V1beta1 \ VideoClassificationConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ annotation_spec_set |
string
Required. Annotation spec set resource name. |
↳ allow_multi_label |
bool
Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set. |
getAnnotationSpecSet
Required. Annotation spec set resource name.
Returns | |
---|---|
Type | Description |
string |
setAnnotationSpecSet
Required. Annotation spec set resource name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAllowMultiLabel
Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set.
Returns | |
---|---|
Type | Description |
bool |
setAllowMultiLabel
Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |