endIndex = $endIndex; } /** * @return int */ public function getEndIndex() { return $this->endIndex; } /** * @param int */ public function setPartIndex($partIndex) { $this->partIndex = $partIndex; } /** * @return int */ public function getPartIndex() { return $this->partIndex; } /** * @param int */ public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } /** * @return int */ public function getStartIndex() { return $this->startIndex; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1Segment::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Segment');