alias = $alias; } /** * @return string */ public function getAlias() { return $this->alias; } /** * @param string */ public function setEntityType($entityType) { $this->entityType = $entityType; } /** * @return string */ public function getEntityType() { return $this->entityType; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } /** * @param bool */ public function setUserDefined($userDefined) { $this->userDefined = $userDefined; } /** * @return bool */ public function getUserDefined() { return $this->userDefined; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2IntentTrainingPhrasePart::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrasePart');