currentNumWorkers = $currentNumWorkers; } public function getCurrentNumWorkers() { return $this->currentNumWorkers; } /** * @param StructuredMessage */ public function setDescription(StructuredMessage $description) { $this->description = $description; } /** * @return StructuredMessage */ public function getDescription() { return $this->description; } public function setEventType($eventType) { $this->eventType = $eventType; } public function getEventType() { return $this->eventType; } public function setTargetNumWorkers($targetNumWorkers) { $this->targetNumWorkers = $targetNumWorkers; } public function getTargetNumWorkers() { return $this->targetNumWorkers; } public function setTime($time) { $this->time = $time; } public function getTime() { return $this->time; } public function setWorkerPool($workerPool) { $this->workerPool = $workerPool; } public function getWorkerPool() { return $this->workerPool; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AutoscalingEvent::class, 'Google_Service_Dataflow_AutoscalingEvent');