dataSamplingReport = $dataSamplingReport; } /** * @return DataSamplingReport */ public function getDataSamplingReport() { return $this->dataSamplingReport; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param PerWorkerMetrics */ public function setPerWorkerMetrics(PerWorkerMetrics $perWorkerMetrics) { $this->perWorkerMetrics = $perWorkerMetrics; } /** * @return PerWorkerMetrics */ public function getPerWorkerMetrics() { return $this->perWorkerMetrics; } /** * @param StreamingScalingReport */ public function setStreamingScalingReport(StreamingScalingReport $streamingScalingReport) { $this->streamingScalingReport = $streamingScalingReport; } /** * @return StreamingScalingReport */ public function getStreamingScalingReport() { return $this->streamingScalingReport; } /** * @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; } /** * @param WorkerThreadScalingReport */ public function setWorkerThreadScalingReport(WorkerThreadScalingReport $workerThreadScalingReport) { $this->workerThreadScalingReport = $workerThreadScalingReport; } /** * @return WorkerThreadScalingReport */ public function getWorkerThreadScalingReport() { return $this->workerThreadScalingReport; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(WorkerMessage::class, 'Google_Service_Dataflow_WorkerMessage');