Google Cloud Datalabeling V1beta1 Client - Class SegmentationConfig (0.2.0)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class SegmentationConfig.

Config for image segmentation

Generated from protobuf message google.cloud.datalabeling.v1beta1.SegmentationConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ annotation_spec_set string

Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}

↳ instruction_message string

Instruction message showed on labelers UI.

getAnnotationSpecSet

Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}

Returns
TypeDescription
string

setAnnotationSpecSet

Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstructionMessage

Instruction message showed on labelers UI.

Returns
TypeDescription
string

setInstructionMessage

Instruction message showed on labelers UI.

Parameter
NameDescription
var string
Returns
TypeDescription
$this