source: vendor/google/apiclient-services/src/Dataflow/WorkerMessageResponse.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dataflow;
19
20class WorkerMessageResponse extends \Google\Model
21{
22 protected $streamingScalingReportResponseType = StreamingScalingReportResponse::class;
23 protected $streamingScalingReportResponseDataType = '';
24 protected $workerHealthReportResponseType = WorkerHealthReportResponse::class;
25 protected $workerHealthReportResponseDataType = '';
26 protected $workerMetricsResponseType = ResourceUtilizationReportResponse::class;
27 protected $workerMetricsResponseDataType = '';
28 protected $workerShutdownNoticeResponseType = WorkerShutdownNoticeResponse::class;
29 protected $workerShutdownNoticeResponseDataType = '';
30 protected $workerThreadScalingReportResponseType = WorkerThreadScalingReportResponse::class;
31 protected $workerThreadScalingReportResponseDataType = '';
32
33 /**
34 * @param StreamingScalingReportResponse
35 */
36 public function setStreamingScalingReportResponse(StreamingScalingReportResponse $streamingScalingReportResponse)
37 {
38 $this->streamingScalingReportResponse = $streamingScalingReportResponse;
39 }
40 /**
41 * @return StreamingScalingReportResponse
42 */
43 public function getStreamingScalingReportResponse()
44 {
45 return $this->streamingScalingReportResponse;
46 }
47 /**
48 * @param WorkerHealthReportResponse
49 */
50 public function setWorkerHealthReportResponse(WorkerHealthReportResponse $workerHealthReportResponse)
51 {
52 $this->workerHealthReportResponse = $workerHealthReportResponse;
53 }
54 /**
55 * @return WorkerHealthReportResponse
56 */
57 public function getWorkerHealthReportResponse()
58 {
59 return $this->workerHealthReportResponse;
60 }
61 /**
62 * @param ResourceUtilizationReportResponse
63 */
64 public function setWorkerMetricsResponse(ResourceUtilizationReportResponse $workerMetricsResponse)
65 {
66 $this->workerMetricsResponse = $workerMetricsResponse;
67 }
68 /**
69 * @return ResourceUtilizationReportResponse
70 */
71 public function getWorkerMetricsResponse()
72 {
73 return $this->workerMetricsResponse;
74 }
75 /**
76 * @param WorkerShutdownNoticeResponse
77 */
78 public function setWorkerShutdownNoticeResponse(WorkerShutdownNoticeResponse $workerShutdownNoticeResponse)
79 {
80 $this->workerShutdownNoticeResponse = $workerShutdownNoticeResponse;
81 }
82 /**
83 * @return WorkerShutdownNoticeResponse
84 */
85 public function getWorkerShutdownNoticeResponse()
86 {
87 return $this->workerShutdownNoticeResponse;
88 }
89 /**
90 * @param WorkerThreadScalingReportResponse
91 */
92 public function setWorkerThreadScalingReportResponse(WorkerThreadScalingReportResponse $workerThreadScalingReportResponse)
93 {
94 $this->workerThreadScalingReportResponse = $workerThreadScalingReportResponse;
95 }
96 /**
97 * @return WorkerThreadScalingReportResponse
98 */
99 public function getWorkerThreadScalingReportResponse()
100 {
101 return $this->workerThreadScalingReportResponse;
102 }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(WorkerMessageResponse::class, 'Google_Service_Dataflow_WorkerMessageResponse');
Note: See TracBrowser for help on using the repository browser.