sentiment = $sentiment; } /** * @return Google_Service_CloudNaturalLanguage_Sentiment */ public function getSentiment() { return $this->sentiment; } /** * @param Google_Service_CloudNaturalLanguage_TextSpan */ public function setText(Google_Service_CloudNaturalLanguage_TextSpan $text) { $this->text = $text; } /** * @return Google_Service_CloudNaturalLanguage_TextSpan */ public function getText() { return $this->text; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } }