labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setTime($time) { $this->time = $time; } /** * @return string */ public function getTime() { return $this->time; } /** * @param WorkerHealthReport */ public function setWorkerHealthReport(WorkerHealthReport $workerHealthReport) { $this->workerHealthReport = $workerHealthReport; } /** * @return WorkerHealthReport */ public function getWorkerHealthReport() { return $this->workerHealthReport; } /** * @param WorkerLifecycleEvent */ public function setWorkerLifecycleEvent(WorkerLifecycleEvent $workerLifecycleEvent) { $this->workerLifecycleEvent = $workerLifecycleEvent; } /** * @return WorkerLifecycleEvent */ public function getWorkerLifecycleEvent() { return $this->workerLifecycleEvent; } /** * @param WorkerMessageCode */ public function setWorkerMessageCode(WorkerMessageCode $workerMessageCode) { $this->workerMessageCode = $workerMessageCode; } /** * @return WorkerMessageCode */ public function getWorkerMessageCode() { return $this->workerMessageCode; } /** * @param ResourceUtilizationReport */ public function setWorkerMetrics(ResourceUtilizationReport $workerMetrics) { $this->workerMetrics = $workerMetrics; } /** * @return ResourceUtilizationReport */ public function getWorkerMetrics() { return $this->workerMetrics; } /** * @param WorkerShutdownNotice */ public function setWorkerShutdownNotice(WorkerShutdownNotice $workerShutdownNotice) { $this->workerShutdownNotice = $workerShutdownNotice; } /** * @return WorkerShutdownNotice */ public function getWorkerShutdownNotice() { return $this->workerShutdownNotice; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(WorkerMessage::class, 'Google_Service_Dataflow_WorkerMessage');