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 |
|
---|
18 | namespace Google\Service\Dataproc;
|
---|
19 |
|
---|
20 | class ConsolidatedExecutorSummary extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var int
|
---|
24 | */
|
---|
25 | public $activeTasks;
|
---|
26 | /**
|
---|
27 | * @var int
|
---|
28 | */
|
---|
29 | public $completedTasks;
|
---|
30 | /**
|
---|
31 | * @var int
|
---|
32 | */
|
---|
33 | public $count;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $diskUsed;
|
---|
38 | /**
|
---|
39 | * @var int
|
---|
40 | */
|
---|
41 | public $failedTasks;
|
---|
42 | /**
|
---|
43 | * @var int
|
---|
44 | */
|
---|
45 | public $isExcluded;
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $maxMemory;
|
---|
50 | protected $memoryMetricsType = MemoryMetrics::class;
|
---|
51 | protected $memoryMetricsDataType = '';
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $memoryUsed;
|
---|
56 | /**
|
---|
57 | * @var int
|
---|
58 | */
|
---|
59 | public $rddBlocks;
|
---|
60 | /**
|
---|
61 | * @var int
|
---|
62 | */
|
---|
63 | public $totalCores;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $totalDurationMillis;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $totalGcTimeMillis;
|
---|
72 | /**
|
---|
73 | * @var string
|
---|
74 | */
|
---|
75 | public $totalInputBytes;
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $totalShuffleRead;
|
---|
80 | /**
|
---|
81 | * @var string
|
---|
82 | */
|
---|
83 | public $totalShuffleWrite;
|
---|
84 | /**
|
---|
85 | * @var int
|
---|
86 | */
|
---|
87 | public $totalTasks;
|
---|
88 |
|
---|
89 | /**
|
---|
90 | * @param int
|
---|
91 | */
|
---|
92 | public function setActiveTasks($activeTasks)
|
---|
93 | {
|
---|
94 | $this->activeTasks = $activeTasks;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return int
|
---|
98 | */
|
---|
99 | public function getActiveTasks()
|
---|
100 | {
|
---|
101 | return $this->activeTasks;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param int
|
---|
105 | */
|
---|
106 | public function setCompletedTasks($completedTasks)
|
---|
107 | {
|
---|
108 | $this->completedTasks = $completedTasks;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return int
|
---|
112 | */
|
---|
113 | public function getCompletedTasks()
|
---|
114 | {
|
---|
115 | return $this->completedTasks;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param int
|
---|
119 | */
|
---|
120 | public function setCount($count)
|
---|
121 | {
|
---|
122 | $this->count = $count;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return int
|
---|
126 | */
|
---|
127 | public function getCount()
|
---|
128 | {
|
---|
129 | return $this->count;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param string
|
---|
133 | */
|
---|
134 | public function setDiskUsed($diskUsed)
|
---|
135 | {
|
---|
136 | $this->diskUsed = $diskUsed;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return string
|
---|
140 | */
|
---|
141 | public function getDiskUsed()
|
---|
142 | {
|
---|
143 | return $this->diskUsed;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param int
|
---|
147 | */
|
---|
148 | public function setFailedTasks($failedTasks)
|
---|
149 | {
|
---|
150 | $this->failedTasks = $failedTasks;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return int
|
---|
154 | */
|
---|
155 | public function getFailedTasks()
|
---|
156 | {
|
---|
157 | return $this->failedTasks;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param int
|
---|
161 | */
|
---|
162 | public function setIsExcluded($isExcluded)
|
---|
163 | {
|
---|
164 | $this->isExcluded = $isExcluded;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return int
|
---|
168 | */
|
---|
169 | public function getIsExcluded()
|
---|
170 | {
|
---|
171 | return $this->isExcluded;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param string
|
---|
175 | */
|
---|
176 | public function setMaxMemory($maxMemory)
|
---|
177 | {
|
---|
178 | $this->maxMemory = $maxMemory;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return string
|
---|
182 | */
|
---|
183 | public function getMaxMemory()
|
---|
184 | {
|
---|
185 | return $this->maxMemory;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param MemoryMetrics
|
---|
189 | */
|
---|
190 | public function setMemoryMetrics(MemoryMetrics $memoryMetrics)
|
---|
191 | {
|
---|
192 | $this->memoryMetrics = $memoryMetrics;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return MemoryMetrics
|
---|
196 | */
|
---|
197 | public function getMemoryMetrics()
|
---|
198 | {
|
---|
199 | return $this->memoryMetrics;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param string
|
---|
203 | */
|
---|
204 | public function setMemoryUsed($memoryUsed)
|
---|
205 | {
|
---|
206 | $this->memoryUsed = $memoryUsed;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return string
|
---|
210 | */
|
---|
211 | public function getMemoryUsed()
|
---|
212 | {
|
---|
213 | return $this->memoryUsed;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param int
|
---|
217 | */
|
---|
218 | public function setRddBlocks($rddBlocks)
|
---|
219 | {
|
---|
220 | $this->rddBlocks = $rddBlocks;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return int
|
---|
224 | */
|
---|
225 | public function getRddBlocks()
|
---|
226 | {
|
---|
227 | return $this->rddBlocks;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param int
|
---|
231 | */
|
---|
232 | public function setTotalCores($totalCores)
|
---|
233 | {
|
---|
234 | $this->totalCores = $totalCores;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return int
|
---|
238 | */
|
---|
239 | public function getTotalCores()
|
---|
240 | {
|
---|
241 | return $this->totalCores;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setTotalDurationMillis($totalDurationMillis)
|
---|
247 | {
|
---|
248 | $this->totalDurationMillis = $totalDurationMillis;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getTotalDurationMillis()
|
---|
254 | {
|
---|
255 | return $this->totalDurationMillis;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param string
|
---|
259 | */
|
---|
260 | public function setTotalGcTimeMillis($totalGcTimeMillis)
|
---|
261 | {
|
---|
262 | $this->totalGcTimeMillis = $totalGcTimeMillis;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return string
|
---|
266 | */
|
---|
267 | public function getTotalGcTimeMillis()
|
---|
268 | {
|
---|
269 | return $this->totalGcTimeMillis;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param string
|
---|
273 | */
|
---|
274 | public function setTotalInputBytes($totalInputBytes)
|
---|
275 | {
|
---|
276 | $this->totalInputBytes = $totalInputBytes;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return string
|
---|
280 | */
|
---|
281 | public function getTotalInputBytes()
|
---|
282 | {
|
---|
283 | return $this->totalInputBytes;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param string
|
---|
287 | */
|
---|
288 | public function setTotalShuffleRead($totalShuffleRead)
|
---|
289 | {
|
---|
290 | $this->totalShuffleRead = $totalShuffleRead;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return string
|
---|
294 | */
|
---|
295 | public function getTotalShuffleRead()
|
---|
296 | {
|
---|
297 | return $this->totalShuffleRead;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param string
|
---|
301 | */
|
---|
302 | public function setTotalShuffleWrite($totalShuffleWrite)
|
---|
303 | {
|
---|
304 | $this->totalShuffleWrite = $totalShuffleWrite;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return string
|
---|
308 | */
|
---|
309 | public function getTotalShuffleWrite()
|
---|
310 | {
|
---|
311 | return $this->totalShuffleWrite;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param int
|
---|
315 | */
|
---|
316 | public function setTotalTasks($totalTasks)
|
---|
317 | {
|
---|
318 | $this->totalTasks = $totalTasks;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return int
|
---|
322 | */
|
---|
323 | public function getTotalTasks()
|
---|
324 | {
|
---|
325 | return $this->totalTasks;
|
---|
326 | }
|
---|
327 | }
|
---|
328 |
|
---|
329 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
330 | class_alias(ConsolidatedExecutorSummary::class, 'Google_Service_Dataproc_ConsolidatedExecutorSummary');
|
---|