[e3d4e0a] | 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 JobData extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'stageIds';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $completionTime;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $description;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $jobGroup;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $jobId;
|
---|
| 39 | /**
|
---|
| 40 | * @var int[]
|
---|
| 41 | */
|
---|
| 42 | public $killTasksSummary;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $name;
|
---|
| 47 | /**
|
---|
| 48 | * @var int
|
---|
| 49 | */
|
---|
| 50 | public $numActiveStages;
|
---|
| 51 | /**
|
---|
| 52 | * @var int
|
---|
| 53 | */
|
---|
| 54 | public $numActiveTasks;
|
---|
| 55 | /**
|
---|
| 56 | * @var int
|
---|
| 57 | */
|
---|
| 58 | public $numCompletedIndices;
|
---|
| 59 | /**
|
---|
| 60 | * @var int
|
---|
| 61 | */
|
---|
| 62 | public $numCompletedStages;
|
---|
| 63 | /**
|
---|
| 64 | * @var int
|
---|
| 65 | */
|
---|
| 66 | public $numCompletedTasks;
|
---|
| 67 | /**
|
---|
| 68 | * @var int
|
---|
| 69 | */
|
---|
| 70 | public $numFailedStages;
|
---|
| 71 | /**
|
---|
| 72 | * @var int
|
---|
| 73 | */
|
---|
| 74 | public $numFailedTasks;
|
---|
| 75 | /**
|
---|
| 76 | * @var int
|
---|
| 77 | */
|
---|
| 78 | public $numKilledTasks;
|
---|
| 79 | /**
|
---|
| 80 | * @var int
|
---|
| 81 | */
|
---|
| 82 | public $numSkippedStages;
|
---|
| 83 | /**
|
---|
| 84 | * @var int
|
---|
| 85 | */
|
---|
| 86 | public $numSkippedTasks;
|
---|
| 87 | /**
|
---|
| 88 | * @var int
|
---|
| 89 | */
|
---|
| 90 | public $numTasks;
|
---|
| 91 | /**
|
---|
| 92 | * @var int[]
|
---|
| 93 | */
|
---|
| 94 | public $skippedStages;
|
---|
| 95 | /**
|
---|
| 96 | * @var string
|
---|
| 97 | */
|
---|
| 98 | public $sqlExecutionId;
|
---|
| 99 | /**
|
---|
| 100 | * @var string[]
|
---|
| 101 | */
|
---|
| 102 | public $stageIds;
|
---|
| 103 | /**
|
---|
| 104 | * @var string
|
---|
| 105 | */
|
---|
| 106 | public $status;
|
---|
| 107 | /**
|
---|
| 108 | * @var string
|
---|
| 109 | */
|
---|
| 110 | public $submissionTime;
|
---|
| 111 |
|
---|
| 112 | /**
|
---|
| 113 | * @param string
|
---|
| 114 | */
|
---|
| 115 | public function setCompletionTime($completionTime)
|
---|
| 116 | {
|
---|
| 117 | $this->completionTime = $completionTime;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return string
|
---|
| 121 | */
|
---|
| 122 | public function getCompletionTime()
|
---|
| 123 | {
|
---|
| 124 | return $this->completionTime;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param string
|
---|
| 128 | */
|
---|
| 129 | public function setDescription($description)
|
---|
| 130 | {
|
---|
| 131 | $this->description = $description;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return string
|
---|
| 135 | */
|
---|
| 136 | public function getDescription()
|
---|
| 137 | {
|
---|
| 138 | return $this->description;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param string
|
---|
| 142 | */
|
---|
| 143 | public function setJobGroup($jobGroup)
|
---|
| 144 | {
|
---|
| 145 | $this->jobGroup = $jobGroup;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return string
|
---|
| 149 | */
|
---|
| 150 | public function getJobGroup()
|
---|
| 151 | {
|
---|
| 152 | return $this->jobGroup;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param string
|
---|
| 156 | */
|
---|
| 157 | public function setJobId($jobId)
|
---|
| 158 | {
|
---|
| 159 | $this->jobId = $jobId;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return string
|
---|
| 163 | */
|
---|
| 164 | public function getJobId()
|
---|
| 165 | {
|
---|
| 166 | return $this->jobId;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param int[]
|
---|
| 170 | */
|
---|
| 171 | public function setKillTasksSummary($killTasksSummary)
|
---|
| 172 | {
|
---|
| 173 | $this->killTasksSummary = $killTasksSummary;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return int[]
|
---|
| 177 | */
|
---|
| 178 | public function getKillTasksSummary()
|
---|
| 179 | {
|
---|
| 180 | return $this->killTasksSummary;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @param string
|
---|
| 184 | */
|
---|
| 185 | public function setName($name)
|
---|
| 186 | {
|
---|
| 187 | $this->name = $name;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @return string
|
---|
| 191 | */
|
---|
| 192 | public function getName()
|
---|
| 193 | {
|
---|
| 194 | return $this->name;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @param int
|
---|
| 198 | */
|
---|
| 199 | public function setNumActiveStages($numActiveStages)
|
---|
| 200 | {
|
---|
| 201 | $this->numActiveStages = $numActiveStages;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @return int
|
---|
| 205 | */
|
---|
| 206 | public function getNumActiveStages()
|
---|
| 207 | {
|
---|
| 208 | return $this->numActiveStages;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @param int
|
---|
| 212 | */
|
---|
| 213 | public function setNumActiveTasks($numActiveTasks)
|
---|
| 214 | {
|
---|
| 215 | $this->numActiveTasks = $numActiveTasks;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @return int
|
---|
| 219 | */
|
---|
| 220 | public function getNumActiveTasks()
|
---|
| 221 | {
|
---|
| 222 | return $this->numActiveTasks;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @param int
|
---|
| 226 | */
|
---|
| 227 | public function setNumCompletedIndices($numCompletedIndices)
|
---|
| 228 | {
|
---|
| 229 | $this->numCompletedIndices = $numCompletedIndices;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @return int
|
---|
| 233 | */
|
---|
| 234 | public function getNumCompletedIndices()
|
---|
| 235 | {
|
---|
| 236 | return $this->numCompletedIndices;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @param int
|
---|
| 240 | */
|
---|
| 241 | public function setNumCompletedStages($numCompletedStages)
|
---|
| 242 | {
|
---|
| 243 | $this->numCompletedStages = $numCompletedStages;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @return int
|
---|
| 247 | */
|
---|
| 248 | public function getNumCompletedStages()
|
---|
| 249 | {
|
---|
| 250 | return $this->numCompletedStages;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @param int
|
---|
| 254 | */
|
---|
| 255 | public function setNumCompletedTasks($numCompletedTasks)
|
---|
| 256 | {
|
---|
| 257 | $this->numCompletedTasks = $numCompletedTasks;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @return int
|
---|
| 261 | */
|
---|
| 262 | public function getNumCompletedTasks()
|
---|
| 263 | {
|
---|
| 264 | return $this->numCompletedTasks;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @param int
|
---|
| 268 | */
|
---|
| 269 | public function setNumFailedStages($numFailedStages)
|
---|
| 270 | {
|
---|
| 271 | $this->numFailedStages = $numFailedStages;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @return int
|
---|
| 275 | */
|
---|
| 276 | public function getNumFailedStages()
|
---|
| 277 | {
|
---|
| 278 | return $this->numFailedStages;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @param int
|
---|
| 282 | */
|
---|
| 283 | public function setNumFailedTasks($numFailedTasks)
|
---|
| 284 | {
|
---|
| 285 | $this->numFailedTasks = $numFailedTasks;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @return int
|
---|
| 289 | */
|
---|
| 290 | public function getNumFailedTasks()
|
---|
| 291 | {
|
---|
| 292 | return $this->numFailedTasks;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @param int
|
---|
| 296 | */
|
---|
| 297 | public function setNumKilledTasks($numKilledTasks)
|
---|
| 298 | {
|
---|
| 299 | $this->numKilledTasks = $numKilledTasks;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @return int
|
---|
| 303 | */
|
---|
| 304 | public function getNumKilledTasks()
|
---|
| 305 | {
|
---|
| 306 | return $this->numKilledTasks;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @param int
|
---|
| 310 | */
|
---|
| 311 | public function setNumSkippedStages($numSkippedStages)
|
---|
| 312 | {
|
---|
| 313 | $this->numSkippedStages = $numSkippedStages;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @return int
|
---|
| 317 | */
|
---|
| 318 | public function getNumSkippedStages()
|
---|
| 319 | {
|
---|
| 320 | return $this->numSkippedStages;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @param int
|
---|
| 324 | */
|
---|
| 325 | public function setNumSkippedTasks($numSkippedTasks)
|
---|
| 326 | {
|
---|
| 327 | $this->numSkippedTasks = $numSkippedTasks;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @return int
|
---|
| 331 | */
|
---|
| 332 | public function getNumSkippedTasks()
|
---|
| 333 | {
|
---|
| 334 | return $this->numSkippedTasks;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @param int
|
---|
| 338 | */
|
---|
| 339 | public function setNumTasks($numTasks)
|
---|
| 340 | {
|
---|
| 341 | $this->numTasks = $numTasks;
|
---|
| 342 | }
|
---|
| 343 | /**
|
---|
| 344 | * @return int
|
---|
| 345 | */
|
---|
| 346 | public function getNumTasks()
|
---|
| 347 | {
|
---|
| 348 | return $this->numTasks;
|
---|
| 349 | }
|
---|
| 350 | /**
|
---|
| 351 | * @param int[]
|
---|
| 352 | */
|
---|
| 353 | public function setSkippedStages($skippedStages)
|
---|
| 354 | {
|
---|
| 355 | $this->skippedStages = $skippedStages;
|
---|
| 356 | }
|
---|
| 357 | /**
|
---|
| 358 | * @return int[]
|
---|
| 359 | */
|
---|
| 360 | public function getSkippedStages()
|
---|
| 361 | {
|
---|
| 362 | return $this->skippedStages;
|
---|
| 363 | }
|
---|
| 364 | /**
|
---|
| 365 | * @param string
|
---|
| 366 | */
|
---|
| 367 | public function setSqlExecutionId($sqlExecutionId)
|
---|
| 368 | {
|
---|
| 369 | $this->sqlExecutionId = $sqlExecutionId;
|
---|
| 370 | }
|
---|
| 371 | /**
|
---|
| 372 | * @return string
|
---|
| 373 | */
|
---|
| 374 | public function getSqlExecutionId()
|
---|
| 375 | {
|
---|
| 376 | return $this->sqlExecutionId;
|
---|
| 377 | }
|
---|
| 378 | /**
|
---|
| 379 | * @param string[]
|
---|
| 380 | */
|
---|
| 381 | public function setStageIds($stageIds)
|
---|
| 382 | {
|
---|
| 383 | $this->stageIds = $stageIds;
|
---|
| 384 | }
|
---|
| 385 | /**
|
---|
| 386 | * @return string[]
|
---|
| 387 | */
|
---|
| 388 | public function getStageIds()
|
---|
| 389 | {
|
---|
| 390 | return $this->stageIds;
|
---|
| 391 | }
|
---|
| 392 | /**
|
---|
| 393 | * @param string
|
---|
| 394 | */
|
---|
| 395 | public function setStatus($status)
|
---|
| 396 | {
|
---|
| 397 | $this->status = $status;
|
---|
| 398 | }
|
---|
| 399 | /**
|
---|
| 400 | * @return string
|
---|
| 401 | */
|
---|
| 402 | public function getStatus()
|
---|
| 403 | {
|
---|
| 404 | return $this->status;
|
---|
| 405 | }
|
---|
| 406 | /**
|
---|
| 407 | * @param string
|
---|
| 408 | */
|
---|
| 409 | public function setSubmissionTime($submissionTime)
|
---|
| 410 | {
|
---|
| 411 | $this->submissionTime = $submissionTime;
|
---|
| 412 | }
|
---|
| 413 | /**
|
---|
| 414 | * @return string
|
---|
| 415 | */
|
---|
| 416 | public function getSubmissionTime()
|
---|
| 417 | {
|
---|
| 418 | return $this->submissionTime;
|
---|
| 419 | }
|
---|
| 420 | }
|
---|
| 421 |
|
---|
| 422 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 423 | class_alias(JobData::class, 'Google_Service_Dataproc_JobData');
|
---|