maskAnnotation = $maskAnnotation; } /** * @return GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation */ public function getMaskAnnotation() { return $this->maskAnnotation; } /** * @param GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation */ public function setPolygonAnnotation(GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation $polygonAnnotation) { $this->polygonAnnotation = $polygonAnnotation; } /** * @return GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation */ public function getPolygonAnnotation() { return $this->polygonAnnotation; } /** * @param GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation */ public function setPolylineAnnotation(GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation $polylineAnnotation) { $this->polylineAnnotation = $polylineAnnotation; } /** * @return GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation */ public function getPolylineAnnotation() { return $this->polylineAnnotation; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation');