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\Bigquery; 19 20class ExplainQueryStage extends \Google\Collection 21{ 22 protected $collection_key = 'steps'; 23 /** 24 * @var string 25 */ 26 public $completedParallelInputs; 27 /** 28 * @var string 29 */ 30 public $computeMsAvg; 31 /** 32 * @var string 33 */ 34 public $computeMsMax; 35 public $computeRatioAvg; 36 public $computeRatioMax; 37 /** 38 * @var string 39 */ 40 public $endMs; 41 /** 42 * @var string 43 */ 44 public $id; 45 /** 46 * @var string[] 47 */ 48 public $inputStages; 49 /** 50 * @var string 51 */ 52 public $name; 53 /** 54 * @var string 55 */ 56 public $parallelInputs; 57 /** 58 * @var string 59 */ 60 public $readMsAvg; 61 /** 62 * @var string 63 */ 64 public $readMsMax; 65 public $readRatioAvg; 66 public $readRatioMax; 67 /** 68 * @var string 69 */ 70 public $recordsRead; 71 /** 72 * @var string 73 */ 74 public $recordsWritten; 75 /** 76 * @var string 77 */ 78 public $shuffleOutputBytes; 79 /** 80 * @var string 81 */ 82 public $shuffleOutputBytesSpilled; 83 /** 84 * @var string 85 */ 86 public $slotMs; 87 /** 88 * @var string 89 */ 90 public $startMs; 91 /** 92 * @var string 93 */ 94 public $status; 95 protected $stepsType = ExplainQueryStep::class; 96 protected $stepsDataType = 'array'; 97 /** 98 * @var string 99 */ 100 public $waitMsAvg; 101 /** 102 * @var string 103 */ 104 public $waitMsMax; 105 public $waitRatioAvg; 106 public $waitRatioMax; 107 /** 108 * @var string 109 */ 110 public $writeMsAvg; 111 /** 112 * @var string 113 */ 114 public $writeMsMax; 115 public $writeRatioAvg; 116 public $writeRatioMax; 117 118 /** 119 * @param string 120 */ 121 public function setCompletedParallelInputs($completedParallelInputs) 122 { 123 $this->completedParallelInputs = $completedParallelInputs; 124 } 125 /** 126 * @return string 127 */ 128 public function getCompletedParallelInputs() 129 { 130 return $this->completedParallelInputs; 131 } 132 /** 133 * @param string 134 */ 135 public function setComputeMsAvg($computeMsAvg) 136 { 137 $this->computeMsAvg = $computeMsAvg; 138 } 139 /** 140 * @return string 141 */ 142 public function getComputeMsAvg() 143 { 144 return $this->computeMsAvg; 145 } 146 /** 147 * @param string 148 */ 149 public function setComputeMsMax($computeMsMax) 150 { 151 $this->computeMsMax = $computeMsMax; 152 } 153 /** 154 * @return string 155 */ 156 public function getComputeMsMax() 157 { 158 return $this->computeMsMax; 159 } 160 public function setComputeRatioAvg($computeRatioAvg) 161 { 162 $this->computeRatioAvg = $computeRatioAvg; 163 } 164 public function getComputeRatioAvg() 165 { 166 return $this->computeRatioAvg; 167 } 168 public function setComputeRatioMax($computeRatioMax) 169 { 170 $this->computeRatioMax = $computeRatioMax; 171 } 172 public function getComputeRatioMax() 173 { 174 return $this->computeRatioMax; 175 } 176 /** 177 * @param string 178 */ 179 public function setEndMs($endMs) 180 { 181 $this->endMs = $endMs; 182 } 183 /** 184 * @return string 185 */ 186 public function getEndMs() 187 { 188 return $this->endMs; 189 } 190 /** 191 * @param string 192 */ 193 public function setId($id) 194 { 195 $this->id = $id; 196 } 197 /** 198 * @return string 199 */ 200 public function getId() 201 { 202 return $this->id; 203 } 204 /** 205 * @param string[] 206 */ 207 public function setInputStages($inputStages) 208 { 209 $this->inputStages = $inputStages; 210 } 211 /** 212 * @return string[] 213 */ 214 public function getInputStages() 215 { 216 return $this->inputStages; 217 } 218 /** 219 * @param string 220 */ 221 public function setName($name) 222 { 223 $this->name = $name; 224 } 225 /** 226 * @return string 227 */ 228 public function getName() 229 { 230 return $this->name; 231 } 232 /** 233 * @param string 234 */ 235 public function setParallelInputs($parallelInputs) 236 { 237 $this->parallelInputs = $parallelInputs; 238 } 239 /** 240 * @return string 241 */ 242 public function getParallelInputs() 243 { 244 return $this->parallelInputs; 245 } 246 /** 247 * @param string 248 */ 249 public function setReadMsAvg($readMsAvg) 250 { 251 $this->readMsAvg = $readMsAvg; 252 } 253 /** 254 * @return string 255 */ 256 public function getReadMsAvg() 257 { 258 return $this->readMsAvg; 259 } 260 /** 261 * @param string 262 */ 263 public function setReadMsMax($readMsMax) 264 { 265 $this->readMsMax = $readMsMax; 266 } 267 /** 268 * @return string 269 */ 270 public function getReadMsMax() 271 { 272 return $this->readMsMax; 273 } 274 public function setReadRatioAvg($readRatioAvg) 275 { 276 $this->readRatioAvg = $readRatioAvg; 277 } 278 public function getReadRatioAvg() 279 { 280 return $this->readRatioAvg; 281 } 282 public function setReadRatioMax($readRatioMax) 283 { 284 $this->readRatioMax = $readRatioMax; 285 } 286 public function getReadRatioMax() 287 { 288 return $this->readRatioMax; 289 } 290 /** 291 * @param string 292 */ 293 public function setRecordsRead($recordsRead) 294 { 295 $this->recordsRead = $recordsRead; 296 } 297 /** 298 * @return string 299 */ 300 public function getRecordsRead() 301 { 302 return $this->recordsRead; 303 } 304 /** 305 * @param string 306 */ 307 public function setRecordsWritten($recordsWritten) 308 { 309 $this->recordsWritten = $recordsWritten; 310 } 311 /** 312 * @return string 313 */ 314 public function getRecordsWritten() 315 { 316 return $this->recordsWritten; 317 } 318 /** 319 * @param string 320 */ 321 public function setShuffleOutputBytes($shuffleOutputBytes) 322 { 323 $this->shuffleOutputBytes = $shuffleOutputBytes; 324 } 325 /** 326 * @return string 327 */ 328 public function getShuffleOutputBytes() 329 { 330 return $this->shuffleOutputBytes; 331 } 332 /** 333 * @param string 334 */ 335 public function setShuffleOutputBytesSpilled($shuffleOutputBytesSpilled) 336 { 337 $this->shuffleOutputBytesSpilled = $shuffleOutputBytesSpilled; 338 } 339 /** 340 * @return string 341 */ 342 public function getShuffleOutputBytesSpilled() 343 { 344 return $this->shuffleOutputBytesSpilled; 345 } 346 /** 347 * @param string 348 */ 349 public function setSlotMs($slotMs) 350 { 351 $this->slotMs = $slotMs; 352 } 353 /** 354 * @return string 355 */ 356 public function getSlotMs() 357 { 358 return $this->slotMs; 359 } 360 /** 361 * @param string 362 */ 363 public function setStartMs($startMs) 364 { 365 $this->startMs = $startMs; 366 } 367 /** 368 * @return string 369 */ 370 public function getStartMs() 371 { 372 return $this->startMs; 373 } 374 /** 375 * @param string 376 */ 377 public function setStatus($status) 378 { 379 $this->status = $status; 380 } 381 /** 382 * @return string 383 */ 384 public function getStatus() 385 { 386 return $this->status; 387 } 388 /** 389 * @param ExplainQueryStep[] 390 */ 391 public function setSteps($steps) 392 { 393 $this->steps = $steps; 394 } 395 /** 396 * @return ExplainQueryStep[] 397 */ 398 public function getSteps() 399 { 400 return $this->steps; 401 } 402 /** 403 * @param string 404 */ 405 public function setWaitMsAvg($waitMsAvg) 406 { 407 $this->waitMsAvg = $waitMsAvg; 408 } 409 /** 410 * @return string 411 */ 412 public function getWaitMsAvg() 413 { 414 return $this->waitMsAvg; 415 } 416 /** 417 * @param string 418 */ 419 public function setWaitMsMax($waitMsMax) 420 { 421 $this->waitMsMax = $waitMsMax; 422 } 423 /** 424 * @return string 425 */ 426 public function getWaitMsMax() 427 { 428 return $this->waitMsMax; 429 } 430 public function setWaitRatioAvg($waitRatioAvg) 431 { 432 $this->waitRatioAvg = $waitRatioAvg; 433 } 434 public function getWaitRatioAvg() 435 { 436 return $this->waitRatioAvg; 437 } 438 public function setWaitRatioMax($waitRatioMax) 439 { 440 $this->waitRatioMax = $waitRatioMax; 441 } 442 public function getWaitRatioMax() 443 { 444 return $this->waitRatioMax; 445 } 446 /** 447 * @param string 448 */ 449 public function setWriteMsAvg($writeMsAvg) 450 { 451 $this->writeMsAvg = $writeMsAvg; 452 } 453 /** 454 * @return string 455 */ 456 public function getWriteMsAvg() 457 { 458 return $this->writeMsAvg; 459 } 460 /** 461 * @param string 462 */ 463 public function setWriteMsMax($writeMsMax) 464 { 465 $this->writeMsMax = $writeMsMax; 466 } 467 /** 468 * @return string 469 */ 470 public function getWriteMsMax() 471 { 472 return $this->writeMsMax; 473 } 474 public function setWriteRatioAvg($writeRatioAvg) 475 { 476 $this->writeRatioAvg = $writeRatioAvg; 477 } 478 public function getWriteRatioAvg() 479 { 480 return $this->writeRatioAvg; 481 } 482 public function setWriteRatioMax($writeRatioMax) 483 { 484 $this->writeRatioMax = $writeRatioMax; 485 } 486 public function getWriteRatioMax() 487 { 488 return $this->writeRatioMax; 489 } 490} 491 492// Adding a class alias for backwards compatibility with the previous class name. 493class_alias(ExplainQueryStage::class, 'Google_Service_Bigquery_ExplainQueryStage'); 494