annotationSpec = $annotationSpec; } /** * @return GoogleCloudDatalabelingV1beta1AnnotationSpec */ public function getAnnotationSpec() { return $this->annotationSpec; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDatalabelingV1beta1TextClassificationAnnotation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1TextClassificationAnnotation');