document = $document; } /** * @return Document */ public function getDocument() { return $this->document; } /** * @param string */ public function setEncodingType($encodingType) { $this->encodingType = $encodingType; } /** * @return string */ public function getEncodingType() { return $this->encodingType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AnalyzeSentimentRequest::class, 'Google_Service_CloudNaturalLanguage_AnalyzeSentimentRequest');