source: vendor/google/apiclient-services/src/Bigquery/JobStatistics2.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 17.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\Bigquery;
19
20class JobStatistics2 extends \Google\Collection
21{
22 protected $collection_key = 'undeclaredQueryParameters';
23 protected $biEngineStatisticsType = BiEngineStatistics::class;
24 protected $biEngineStatisticsDataType = '';
25 /**
26 * @var int
27 */
28 public $billingTier;
29 /**
30 * @var bool
31 */
32 public $cacheHit;
33 protected $dclTargetDatasetType = DatasetReference::class;
34 protected $dclTargetDatasetDataType = '';
35 protected $dclTargetTableType = TableReference::class;
36 protected $dclTargetTableDataType = '';
37 protected $dclTargetViewType = TableReference::class;
38 protected $dclTargetViewDataType = '';
39 /**
40 * @var string
41 */
42 public $ddlAffectedRowAccessPolicyCount;
43 protected $ddlDestinationTableType = TableReference::class;
44 protected $ddlDestinationTableDataType = '';
45 /**
46 * @var string
47 */
48 public $ddlOperationPerformed;
49 protected $ddlTargetDatasetType = DatasetReference::class;
50 protected $ddlTargetDatasetDataType = '';
51 protected $ddlTargetRoutineType = RoutineReference::class;
52 protected $ddlTargetRoutineDataType = '';
53 protected $ddlTargetRowAccessPolicyType = RowAccessPolicyReference::class;
54 protected $ddlTargetRowAccessPolicyDataType = '';
55 protected $ddlTargetTableType = TableReference::class;
56 protected $ddlTargetTableDataType = '';
57 protected $dmlStatsType = DmlStatistics::class;
58 protected $dmlStatsDataType = '';
59 /**
60 * @var string
61 */
62 public $estimatedBytesProcessed;
63 protected $exportDataStatisticsType = ExportDataStatistics::class;
64 protected $exportDataStatisticsDataType = '';
65 protected $externalServiceCostsType = ExternalServiceCost::class;
66 protected $externalServiceCostsDataType = 'array';
67 protected $loadQueryStatisticsType = LoadQueryStatistics::class;
68 protected $loadQueryStatisticsDataType = '';
69 protected $materializedViewStatisticsType = MaterializedViewStatistics::class;
70 protected $materializedViewStatisticsDataType = '';
71 protected $metadataCacheStatisticsType = MetadataCacheStatistics::class;
72 protected $metadataCacheStatisticsDataType = '';
73 protected $mlStatisticsType = MlStatistics::class;
74 protected $mlStatisticsDataType = '';
75 protected $modelTrainingType = BigQueryModelTraining::class;
76 protected $modelTrainingDataType = '';
77 /**
78 * @var int
79 */
80 public $modelTrainingCurrentIteration;
81 /**
82 * @var string
83 */
84 public $modelTrainingExpectedTotalIteration;
85 /**
86 * @var string
87 */
88 public $numDmlAffectedRows;
89 protected $performanceInsightsType = PerformanceInsights::class;
90 protected $performanceInsightsDataType = '';
91 protected $queryInfoType = QueryInfo::class;
92 protected $queryInfoDataType = '';
93 protected $queryPlanType = ExplainQueryStage::class;
94 protected $queryPlanDataType = 'array';
95 protected $referencedRoutinesType = RoutineReference::class;
96 protected $referencedRoutinesDataType = 'array';
97 protected $referencedTablesType = TableReference::class;
98 protected $referencedTablesDataType = 'array';
99 protected $reservationUsageType = JobStatistics2ReservationUsage::class;
100 protected $reservationUsageDataType = 'array';
101 protected $schemaType = TableSchema::class;
102 protected $schemaDataType = '';
103 protected $searchStatisticsType = SearchStatistics::class;
104 protected $searchStatisticsDataType = '';
105 protected $sparkStatisticsType = SparkStatistics::class;
106 protected $sparkStatisticsDataType = '';
107 /**
108 * @var string
109 */
110 public $statementType;
111 protected $timelineType = QueryTimelineSample::class;
112 protected $timelineDataType = 'array';
113 /**
114 * @var string
115 */
116 public $totalBytesBilled;
117 /**
118 * @var string
119 */
120 public $totalBytesProcessed;
121 /**
122 * @var string
123 */
124 public $totalBytesProcessedAccuracy;
125 /**
126 * @var string
127 */
128 public $totalPartitionsProcessed;
129 /**
130 * @var string
131 */
132 public $totalSlotMs;
133 /**
134 * @var string
135 */
136 public $transferredBytes;
137 protected $undeclaredQueryParametersType = QueryParameter::class;
138 protected $undeclaredQueryParametersDataType = 'array';
139 protected $vectorSearchStatisticsType = VectorSearchStatistics::class;
140 protected $vectorSearchStatisticsDataType = '';
141
142 /**
143 * @param BiEngineStatistics
144 */
145 public function setBiEngineStatistics(BiEngineStatistics $biEngineStatistics)
146 {
147 $this->biEngineStatistics = $biEngineStatistics;
148 }
149 /**
150 * @return BiEngineStatistics
151 */
152 public function getBiEngineStatistics()
153 {
154 return $this->biEngineStatistics;
155 }
156 /**
157 * @param int
158 */
159 public function setBillingTier($billingTier)
160 {
161 $this->billingTier = $billingTier;
162 }
163 /**
164 * @return int
165 */
166 public function getBillingTier()
167 {
168 return $this->billingTier;
169 }
170 /**
171 * @param bool
172 */
173 public function setCacheHit($cacheHit)
174 {
175 $this->cacheHit = $cacheHit;
176 }
177 /**
178 * @return bool
179 */
180 public function getCacheHit()
181 {
182 return $this->cacheHit;
183 }
184 /**
185 * @param DatasetReference
186 */
187 public function setDclTargetDataset(DatasetReference $dclTargetDataset)
188 {
189 $this->dclTargetDataset = $dclTargetDataset;
190 }
191 /**
192 * @return DatasetReference
193 */
194 public function getDclTargetDataset()
195 {
196 return $this->dclTargetDataset;
197 }
198 /**
199 * @param TableReference
200 */
201 public function setDclTargetTable(TableReference $dclTargetTable)
202 {
203 $this->dclTargetTable = $dclTargetTable;
204 }
205 /**
206 * @return TableReference
207 */
208 public function getDclTargetTable()
209 {
210 return $this->dclTargetTable;
211 }
212 /**
213 * @param TableReference
214 */
215 public function setDclTargetView(TableReference $dclTargetView)
216 {
217 $this->dclTargetView = $dclTargetView;
218 }
219 /**
220 * @return TableReference
221 */
222 public function getDclTargetView()
223 {
224 return $this->dclTargetView;
225 }
226 /**
227 * @param string
228 */
229 public function setDdlAffectedRowAccessPolicyCount($ddlAffectedRowAccessPolicyCount)
230 {
231 $this->ddlAffectedRowAccessPolicyCount = $ddlAffectedRowAccessPolicyCount;
232 }
233 /**
234 * @return string
235 */
236 public function getDdlAffectedRowAccessPolicyCount()
237 {
238 return $this->ddlAffectedRowAccessPolicyCount;
239 }
240 /**
241 * @param TableReference
242 */
243 public function setDdlDestinationTable(TableReference $ddlDestinationTable)
244 {
245 $this->ddlDestinationTable = $ddlDestinationTable;
246 }
247 /**
248 * @return TableReference
249 */
250 public function getDdlDestinationTable()
251 {
252 return $this->ddlDestinationTable;
253 }
254 /**
255 * @param string
256 */
257 public function setDdlOperationPerformed($ddlOperationPerformed)
258 {
259 $this->ddlOperationPerformed = $ddlOperationPerformed;
260 }
261 /**
262 * @return string
263 */
264 public function getDdlOperationPerformed()
265 {
266 return $this->ddlOperationPerformed;
267 }
268 /**
269 * @param DatasetReference
270 */
271 public function setDdlTargetDataset(DatasetReference $ddlTargetDataset)
272 {
273 $this->ddlTargetDataset = $ddlTargetDataset;
274 }
275 /**
276 * @return DatasetReference
277 */
278 public function getDdlTargetDataset()
279 {
280 return $this->ddlTargetDataset;
281 }
282 /**
283 * @param RoutineReference
284 */
285 public function setDdlTargetRoutine(RoutineReference $ddlTargetRoutine)
286 {
287 $this->ddlTargetRoutine = $ddlTargetRoutine;
288 }
289 /**
290 * @return RoutineReference
291 */
292 public function getDdlTargetRoutine()
293 {
294 return $this->ddlTargetRoutine;
295 }
296 /**
297 * @param RowAccessPolicyReference
298 */
299 public function setDdlTargetRowAccessPolicy(RowAccessPolicyReference $ddlTargetRowAccessPolicy)
300 {
301 $this->ddlTargetRowAccessPolicy = $ddlTargetRowAccessPolicy;
302 }
303 /**
304 * @return RowAccessPolicyReference
305 */
306 public function getDdlTargetRowAccessPolicy()
307 {
308 return $this->ddlTargetRowAccessPolicy;
309 }
310 /**
311 * @param TableReference
312 */
313 public function setDdlTargetTable(TableReference $ddlTargetTable)
314 {
315 $this->ddlTargetTable = $ddlTargetTable;
316 }
317 /**
318 * @return TableReference
319 */
320 public function getDdlTargetTable()
321 {
322 return $this->ddlTargetTable;
323 }
324 /**
325 * @param DmlStatistics
326 */
327 public function setDmlStats(DmlStatistics $dmlStats)
328 {
329 $this->dmlStats = $dmlStats;
330 }
331 /**
332 * @return DmlStatistics
333 */
334 public function getDmlStats()
335 {
336 return $this->dmlStats;
337 }
338 /**
339 * @param string
340 */
341 public function setEstimatedBytesProcessed($estimatedBytesProcessed)
342 {
343 $this->estimatedBytesProcessed = $estimatedBytesProcessed;
344 }
345 /**
346 * @return string
347 */
348 public function getEstimatedBytesProcessed()
349 {
350 return $this->estimatedBytesProcessed;
351 }
352 /**
353 * @param ExportDataStatistics
354 */
355 public function setExportDataStatistics(ExportDataStatistics $exportDataStatistics)
356 {
357 $this->exportDataStatistics = $exportDataStatistics;
358 }
359 /**
360 * @return ExportDataStatistics
361 */
362 public function getExportDataStatistics()
363 {
364 return $this->exportDataStatistics;
365 }
366 /**
367 * @param ExternalServiceCost[]
368 */
369 public function setExternalServiceCosts($externalServiceCosts)
370 {
371 $this->externalServiceCosts = $externalServiceCosts;
372 }
373 /**
374 * @return ExternalServiceCost[]
375 */
376 public function getExternalServiceCosts()
377 {
378 return $this->externalServiceCosts;
379 }
380 /**
381 * @param LoadQueryStatistics
382 */
383 public function setLoadQueryStatistics(LoadQueryStatistics $loadQueryStatistics)
384 {
385 $this->loadQueryStatistics = $loadQueryStatistics;
386 }
387 /**
388 * @return LoadQueryStatistics
389 */
390 public function getLoadQueryStatistics()
391 {
392 return $this->loadQueryStatistics;
393 }
394 /**
395 * @param MaterializedViewStatistics
396 */
397 public function setMaterializedViewStatistics(MaterializedViewStatistics $materializedViewStatistics)
398 {
399 $this->materializedViewStatistics = $materializedViewStatistics;
400 }
401 /**
402 * @return MaterializedViewStatistics
403 */
404 public function getMaterializedViewStatistics()
405 {
406 return $this->materializedViewStatistics;
407 }
408 /**
409 * @param MetadataCacheStatistics
410 */
411 public function setMetadataCacheStatistics(MetadataCacheStatistics $metadataCacheStatistics)
412 {
413 $this->metadataCacheStatistics = $metadataCacheStatistics;
414 }
415 /**
416 * @return MetadataCacheStatistics
417 */
418 public function getMetadataCacheStatistics()
419 {
420 return $this->metadataCacheStatistics;
421 }
422 /**
423 * @param MlStatistics
424 */
425 public function setMlStatistics(MlStatistics $mlStatistics)
426 {
427 $this->mlStatistics = $mlStatistics;
428 }
429 /**
430 * @return MlStatistics
431 */
432 public function getMlStatistics()
433 {
434 return $this->mlStatistics;
435 }
436 /**
437 * @param BigQueryModelTraining
438 */
439 public function setModelTraining(BigQueryModelTraining $modelTraining)
440 {
441 $this->modelTraining = $modelTraining;
442 }
443 /**
444 * @return BigQueryModelTraining
445 */
446 public function getModelTraining()
447 {
448 return $this->modelTraining;
449 }
450 /**
451 * @param int
452 */
453 public function setModelTrainingCurrentIteration($modelTrainingCurrentIteration)
454 {
455 $this->modelTrainingCurrentIteration = $modelTrainingCurrentIteration;
456 }
457 /**
458 * @return int
459 */
460 public function getModelTrainingCurrentIteration()
461 {
462 return $this->modelTrainingCurrentIteration;
463 }
464 /**
465 * @param string
466 */
467 public function setModelTrainingExpectedTotalIteration($modelTrainingExpectedTotalIteration)
468 {
469 $this->modelTrainingExpectedTotalIteration = $modelTrainingExpectedTotalIteration;
470 }
471 /**
472 * @return string
473 */
474 public function getModelTrainingExpectedTotalIteration()
475 {
476 return $this->modelTrainingExpectedTotalIteration;
477 }
478 /**
479 * @param string
480 */
481 public function setNumDmlAffectedRows($numDmlAffectedRows)
482 {
483 $this->numDmlAffectedRows = $numDmlAffectedRows;
484 }
485 /**
486 * @return string
487 */
488 public function getNumDmlAffectedRows()
489 {
490 return $this->numDmlAffectedRows;
491 }
492 /**
493 * @param PerformanceInsights
494 */
495 public function setPerformanceInsights(PerformanceInsights $performanceInsights)
496 {
497 $this->performanceInsights = $performanceInsights;
498 }
499 /**
500 * @return PerformanceInsights
501 */
502 public function getPerformanceInsights()
503 {
504 return $this->performanceInsights;
505 }
506 /**
507 * @param QueryInfo
508 */
509 public function setQueryInfo(QueryInfo $queryInfo)
510 {
511 $this->queryInfo = $queryInfo;
512 }
513 /**
514 * @return QueryInfo
515 */
516 public function getQueryInfo()
517 {
518 return $this->queryInfo;
519 }
520 /**
521 * @param ExplainQueryStage[]
522 */
523 public function setQueryPlan($queryPlan)
524 {
525 $this->queryPlan = $queryPlan;
526 }
527 /**
528 * @return ExplainQueryStage[]
529 */
530 public function getQueryPlan()
531 {
532 return $this->queryPlan;
533 }
534 /**
535 * @param RoutineReference[]
536 */
537 public function setReferencedRoutines($referencedRoutines)
538 {
539 $this->referencedRoutines = $referencedRoutines;
540 }
541 /**
542 * @return RoutineReference[]
543 */
544 public function getReferencedRoutines()
545 {
546 return $this->referencedRoutines;
547 }
548 /**
549 * @param TableReference[]
550 */
551 public function setReferencedTables($referencedTables)
552 {
553 $this->referencedTables = $referencedTables;
554 }
555 /**
556 * @return TableReference[]
557 */
558 public function getReferencedTables()
559 {
560 return $this->referencedTables;
561 }
562 /**
563 * @param JobStatistics2ReservationUsage[]
564 */
565 public function setReservationUsage($reservationUsage)
566 {
567 $this->reservationUsage = $reservationUsage;
568 }
569 /**
570 * @return JobStatistics2ReservationUsage[]
571 */
572 public function getReservationUsage()
573 {
574 return $this->reservationUsage;
575 }
576 /**
577 * @param TableSchema
578 */
579 public function setSchema(TableSchema $schema)
580 {
581 $this->schema = $schema;
582 }
583 /**
584 * @return TableSchema
585 */
586 public function getSchema()
587 {
588 return $this->schema;
589 }
590 /**
591 * @param SearchStatistics
592 */
593 public function setSearchStatistics(SearchStatistics $searchStatistics)
594 {
595 $this->searchStatistics = $searchStatistics;
596 }
597 /**
598 * @return SearchStatistics
599 */
600 public function getSearchStatistics()
601 {
602 return $this->searchStatistics;
603 }
604 /**
605 * @param SparkStatistics
606 */
607 public function setSparkStatistics(SparkStatistics $sparkStatistics)
608 {
609 $this->sparkStatistics = $sparkStatistics;
610 }
611 /**
612 * @return SparkStatistics
613 */
614 public function getSparkStatistics()
615 {
616 return $this->sparkStatistics;
617 }
618 /**
619 * @param string
620 */
621 public function setStatementType($statementType)
622 {
623 $this->statementType = $statementType;
624 }
625 /**
626 * @return string
627 */
628 public function getStatementType()
629 {
630 return $this->statementType;
631 }
632 /**
633 * @param QueryTimelineSample[]
634 */
635 public function setTimeline($timeline)
636 {
637 $this->timeline = $timeline;
638 }
639 /**
640 * @return QueryTimelineSample[]
641 */
642 public function getTimeline()
643 {
644 return $this->timeline;
645 }
646 /**
647 * @param string
648 */
649 public function setTotalBytesBilled($totalBytesBilled)
650 {
651 $this->totalBytesBilled = $totalBytesBilled;
652 }
653 /**
654 * @return string
655 */
656 public function getTotalBytesBilled()
657 {
658 return $this->totalBytesBilled;
659 }
660 /**
661 * @param string
662 */
663 public function setTotalBytesProcessed($totalBytesProcessed)
664 {
665 $this->totalBytesProcessed = $totalBytesProcessed;
666 }
667 /**
668 * @return string
669 */
670 public function getTotalBytesProcessed()
671 {
672 return $this->totalBytesProcessed;
673 }
674 /**
675 * @param string
676 */
677 public function setTotalBytesProcessedAccuracy($totalBytesProcessedAccuracy)
678 {
679 $this->totalBytesProcessedAccuracy = $totalBytesProcessedAccuracy;
680 }
681 /**
682 * @return string
683 */
684 public function getTotalBytesProcessedAccuracy()
685 {
686 return $this->totalBytesProcessedAccuracy;
687 }
688 /**
689 * @param string
690 */
691 public function setTotalPartitionsProcessed($totalPartitionsProcessed)
692 {
693 $this->totalPartitionsProcessed = $totalPartitionsProcessed;
694 }
695 /**
696 * @return string
697 */
698 public function getTotalPartitionsProcessed()
699 {
700 return $this->totalPartitionsProcessed;
701 }
702 /**
703 * @param string
704 */
705 public function setTotalSlotMs($totalSlotMs)
706 {
707 $this->totalSlotMs = $totalSlotMs;
708 }
709 /**
710 * @return string
711 */
712 public function getTotalSlotMs()
713 {
714 return $this->totalSlotMs;
715 }
716 /**
717 * @param string
718 */
719 public function setTransferredBytes($transferredBytes)
720 {
721 $this->transferredBytes = $transferredBytes;
722 }
723 /**
724 * @return string
725 */
726 public function getTransferredBytes()
727 {
728 return $this->transferredBytes;
729 }
730 /**
731 * @param QueryParameter[]
732 */
733 public function setUndeclaredQueryParameters($undeclaredQueryParameters)
734 {
735 $this->undeclaredQueryParameters = $undeclaredQueryParameters;
736 }
737 /**
738 * @return QueryParameter[]
739 */
740 public function getUndeclaredQueryParameters()
741 {
742 return $this->undeclaredQueryParameters;
743 }
744 /**
745 * @param VectorSearchStatistics
746 */
747 public function setVectorSearchStatistics(VectorSearchStatistics $vectorSearchStatistics)
748 {
749 $this->vectorSearchStatistics = $vectorSearchStatistics;
750 }
751 /**
752 * @return VectorSearchStatistics
753 */
754 public function getVectorSearchStatistics()
755 {
756 return $this->vectorSearchStatistics;
757 }
758}
759
760// Adding a class alias for backwards compatibility with the previous class name.
761class_alias(JobStatistics2::class, 'Google_Service_Bigquery_JobStatistics2');
Note: See TracBrowser for help on using the repository browser.