errorMessages = $errorMessages; } /** * @return ErrorMessage[] */ public function getErrorMessages() { return $this->errorMessages; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ErrorInfo::class, 'Google_Service_CloudSearch_ErrorInfo');