document = $document; } /** * @return Document */ public function getDocument() { return $this->document; } public function setEncodingType($encodingType) { $this->encodingType = $encodingType; } 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');