source: vendor/google/apiclient-services/src/Dataproc/ExecutorMetricsDistributions.php

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

Upload project files

  • Property mode set to 100644
File size: 4.4 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\Dataproc;
19
20class ExecutorMetricsDistributions extends \Google\Collection
21{
22 protected $collection_key = 'taskTimeMillis';
23 public $diskBytesSpilled;
24 public $failedTasks;
25 public $inputBytes;
26 public $inputRecords;
27 public $killedTasks;
28 public $memoryBytesSpilled;
29 public $outputBytes;
30 public $outputRecords;
31 protected $peakMemoryMetricsType = ExecutorPeakMetricsDistributions::class;
32 protected $peakMemoryMetricsDataType = '';
33 public $quantiles;
34 public $shuffleRead;
35 public $shuffleReadRecords;
36 public $shuffleWrite;
37 public $shuffleWriteRecords;
38 public $succeededTasks;
39 public $taskTimeMillis;
40
41 public function setDiskBytesSpilled($diskBytesSpilled)
42 {
43 $this->diskBytesSpilled = $diskBytesSpilled;
44 }
45 public function getDiskBytesSpilled()
46 {
47 return $this->diskBytesSpilled;
48 }
49 public function setFailedTasks($failedTasks)
50 {
51 $this->failedTasks = $failedTasks;
52 }
53 public function getFailedTasks()
54 {
55 return $this->failedTasks;
56 }
57 public function setInputBytes($inputBytes)
58 {
59 $this->inputBytes = $inputBytes;
60 }
61 public function getInputBytes()
62 {
63 return $this->inputBytes;
64 }
65 public function setInputRecords($inputRecords)
66 {
67 $this->inputRecords = $inputRecords;
68 }
69 public function getInputRecords()
70 {
71 return $this->inputRecords;
72 }
73 public function setKilledTasks($killedTasks)
74 {
75 $this->killedTasks = $killedTasks;
76 }
77 public function getKilledTasks()
78 {
79 return $this->killedTasks;
80 }
81 public function setMemoryBytesSpilled($memoryBytesSpilled)
82 {
83 $this->memoryBytesSpilled = $memoryBytesSpilled;
84 }
85 public function getMemoryBytesSpilled()
86 {
87 return $this->memoryBytesSpilled;
88 }
89 public function setOutputBytes($outputBytes)
90 {
91 $this->outputBytes = $outputBytes;
92 }
93 public function getOutputBytes()
94 {
95 return $this->outputBytes;
96 }
97 public function setOutputRecords($outputRecords)
98 {
99 $this->outputRecords = $outputRecords;
100 }
101 public function getOutputRecords()
102 {
103 return $this->outputRecords;
104 }
105 /**
106 * @param ExecutorPeakMetricsDistributions
107 */
108 public function setPeakMemoryMetrics(ExecutorPeakMetricsDistributions $peakMemoryMetrics)
109 {
110 $this->peakMemoryMetrics = $peakMemoryMetrics;
111 }
112 /**
113 * @return ExecutorPeakMetricsDistributions
114 */
115 public function getPeakMemoryMetrics()
116 {
117 return $this->peakMemoryMetrics;
118 }
119 public function setQuantiles($quantiles)
120 {
121 $this->quantiles = $quantiles;
122 }
123 public function getQuantiles()
124 {
125 return $this->quantiles;
126 }
127 public function setShuffleRead($shuffleRead)
128 {
129 $this->shuffleRead = $shuffleRead;
130 }
131 public function getShuffleRead()
132 {
133 return $this->shuffleRead;
134 }
135 public function setShuffleReadRecords($shuffleReadRecords)
136 {
137 $this->shuffleReadRecords = $shuffleReadRecords;
138 }
139 public function getShuffleReadRecords()
140 {
141 return $this->shuffleReadRecords;
142 }
143 public function setShuffleWrite($shuffleWrite)
144 {
145 $this->shuffleWrite = $shuffleWrite;
146 }
147 public function getShuffleWrite()
148 {
149 return $this->shuffleWrite;
150 }
151 public function setShuffleWriteRecords($shuffleWriteRecords)
152 {
153 $this->shuffleWriteRecords = $shuffleWriteRecords;
154 }
155 public function getShuffleWriteRecords()
156 {
157 return $this->shuffleWriteRecords;
158 }
159 public function setSucceededTasks($succeededTasks)
160 {
161 $this->succeededTasks = $succeededTasks;
162 }
163 public function getSucceededTasks()
164 {
165 return $this->succeededTasks;
166 }
167 public function setTaskTimeMillis($taskTimeMillis)
168 {
169 $this->taskTimeMillis = $taskTimeMillis;
170 }
171 public function getTaskTimeMillis()
172 {
173 return $this->taskTimeMillis;
174 }
175}
176
177// Adding a class alias for backwards compatibility with the previous class name.
178class_alias(ExecutorMetricsDistributions::class, 'Google_Service_Dataproc_ExecutorMetricsDistributions');
Note: See TracBrowser for help on using the repository browser.