| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apache/htdocs/app/vendor/google/apiclient-services/src/Dataflow/ |
Upload File : |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dataflow;
class WorkerMessage extends \Google\Model
{
protected $dataSamplingReportType = DataSamplingReport::class;
protected $dataSamplingReportDataType = '';
/**
* @var string[]
*/
public $labels;
protected $perWorkerMetricsType = PerWorkerMetrics::class;
protected $perWorkerMetricsDataType = '';
protected $streamingScalingReportType = StreamingScalingReport::class;
protected $streamingScalingReportDataType = '';
/**
* @var string
*/
public $time;
protected $workerHealthReportType = WorkerHealthReport::class;
protected $workerHealthReportDataType = '';
protected $workerLifecycleEventType = WorkerLifecycleEvent::class;
protected $workerLifecycleEventDataType = '';
protected $workerMessageCodeType = WorkerMessageCode::class;
protected $workerMessageCodeDataType = '';
protected $workerMetricsType = ResourceUtilizationReport::class;
protected $workerMetricsDataType = '';
protected $workerShutdownNoticeType = WorkerShutdownNotice::class;
protected $workerShutdownNoticeDataType = '';
protected $workerThreadScalingReportType = WorkerThreadScalingReport::class;
protected $workerThreadScalingReportDataType = '';
/**
* @param DataSamplingReport
*/
public function setDataSamplingReport(DataSamplingReport $dataSamplingReport)
{
$this->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');