annotationSpecId = $annotationSpecId; } /** * @return string */ public function getAnnotationSpecId() { return $this->annotationSpecId; } /** * The display name of the AnnotationSpec that this Annotation pertains to. * * @param string $displayName */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * The sentiment score for text. * * @param int $sentiment */ public function setSentiment($sentiment) { $this->sentiment = $sentiment; } /** * @return int */ public function getSentiment() { return $this->sentiment; } /** * The sentiment max score for text. * * @param int $sentimentMax */ public function setSentimentMax($sentimentMax) { $this->sentimentMax = $sentimentMax; } /** * @return int */ public function getSentimentMax() { return $this->sentimentMax; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1SchemaTextSentimentAnnotation::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaTextSentimentAnnotation');