source: vendor/google/apiclient-services/src/Dataproc/OrderedJob.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 5.1 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 OrderedJob extends \Google\Collection
21{
22 protected $collection_key = 'prerequisiteStepIds';
23 protected $flinkJobType = FlinkJob::class;
24 protected $flinkJobDataType = '';
25 protected $hadoopJobType = HadoopJob::class;
26 protected $hadoopJobDataType = '';
27 protected $hiveJobType = HiveJob::class;
28 protected $hiveJobDataType = '';
29 /**
30 * @var string[]
31 */
32 public $labels;
33 protected $pigJobType = PigJob::class;
34 protected $pigJobDataType = '';
35 /**
36 * @var string[]
37 */
38 public $prerequisiteStepIds;
39 protected $prestoJobType = PrestoJob::class;
40 protected $prestoJobDataType = '';
41 protected $pysparkJobType = PySparkJob::class;
42 protected $pysparkJobDataType = '';
43 protected $schedulingType = JobScheduling::class;
44 protected $schedulingDataType = '';
45 protected $sparkJobType = SparkJob::class;
46 protected $sparkJobDataType = '';
47 protected $sparkRJobType = SparkRJob::class;
48 protected $sparkRJobDataType = '';
49 protected $sparkSqlJobType = SparkSqlJob::class;
50 protected $sparkSqlJobDataType = '';
51 /**
52 * @var string
53 */
54 public $stepId;
55 protected $trinoJobType = TrinoJob::class;
56 protected $trinoJobDataType = '';
57
58 /**
59 * @param FlinkJob
60 */
61 public function setFlinkJob(FlinkJob $flinkJob)
62 {
63 $this->flinkJob = $flinkJob;
64 }
65 /**
66 * @return FlinkJob
67 */
68 public function getFlinkJob()
69 {
70 return $this->flinkJob;
71 }
72 /**
73 * @param HadoopJob
74 */
75 public function setHadoopJob(HadoopJob $hadoopJob)
76 {
77 $this->hadoopJob = $hadoopJob;
78 }
79 /**
80 * @return HadoopJob
81 */
82 public function getHadoopJob()
83 {
84 return $this->hadoopJob;
85 }
86 /**
87 * @param HiveJob
88 */
89 public function setHiveJob(HiveJob $hiveJob)
90 {
91 $this->hiveJob = $hiveJob;
92 }
93 /**
94 * @return HiveJob
95 */
96 public function getHiveJob()
97 {
98 return $this->hiveJob;
99 }
100 /**
101 * @param string[]
102 */
103 public function setLabels($labels)
104 {
105 $this->labels = $labels;
106 }
107 /**
108 * @return string[]
109 */
110 public function getLabels()
111 {
112 return $this->labels;
113 }
114 /**
115 * @param PigJob
116 */
117 public function setPigJob(PigJob $pigJob)
118 {
119 $this->pigJob = $pigJob;
120 }
121 /**
122 * @return PigJob
123 */
124 public function getPigJob()
125 {
126 return $this->pigJob;
127 }
128 /**
129 * @param string[]
130 */
131 public function setPrerequisiteStepIds($prerequisiteStepIds)
132 {
133 $this->prerequisiteStepIds = $prerequisiteStepIds;
134 }
135 /**
136 * @return string[]
137 */
138 public function getPrerequisiteStepIds()
139 {
140 return $this->prerequisiteStepIds;
141 }
142 /**
143 * @param PrestoJob
144 */
145 public function setPrestoJob(PrestoJob $prestoJob)
146 {
147 $this->prestoJob = $prestoJob;
148 }
149 /**
150 * @return PrestoJob
151 */
152 public function getPrestoJob()
153 {
154 return $this->prestoJob;
155 }
156 /**
157 * @param PySparkJob
158 */
159 public function setPysparkJob(PySparkJob $pysparkJob)
160 {
161 $this->pysparkJob = $pysparkJob;
162 }
163 /**
164 * @return PySparkJob
165 */
166 public function getPysparkJob()
167 {
168 return $this->pysparkJob;
169 }
170 /**
171 * @param JobScheduling
172 */
173 public function setScheduling(JobScheduling $scheduling)
174 {
175 $this->scheduling = $scheduling;
176 }
177 /**
178 * @return JobScheduling
179 */
180 public function getScheduling()
181 {
182 return $this->scheduling;
183 }
184 /**
185 * @param SparkJob
186 */
187 public function setSparkJob(SparkJob $sparkJob)
188 {
189 $this->sparkJob = $sparkJob;
190 }
191 /**
192 * @return SparkJob
193 */
194 public function getSparkJob()
195 {
196 return $this->sparkJob;
197 }
198 /**
199 * @param SparkRJob
200 */
201 public function setSparkRJob(SparkRJob $sparkRJob)
202 {
203 $this->sparkRJob = $sparkRJob;
204 }
205 /**
206 * @return SparkRJob
207 */
208 public function getSparkRJob()
209 {
210 return $this->sparkRJob;
211 }
212 /**
213 * @param SparkSqlJob
214 */
215 public function setSparkSqlJob(SparkSqlJob $sparkSqlJob)
216 {
217 $this->sparkSqlJob = $sparkSqlJob;
218 }
219 /**
220 * @return SparkSqlJob
221 */
222 public function getSparkSqlJob()
223 {
224 return $this->sparkSqlJob;
225 }
226 /**
227 * @param string
228 */
229 public function setStepId($stepId)
230 {
231 $this->stepId = $stepId;
232 }
233 /**
234 * @return string
235 */
236 public function getStepId()
237 {
238 return $this->stepId;
239 }
240 /**
241 * @param TrinoJob
242 */
243 public function setTrinoJob(TrinoJob $trinoJob)
244 {
245 $this->trinoJob = $trinoJob;
246 }
247 /**
248 * @return TrinoJob
249 */
250 public function getTrinoJob()
251 {
252 return $this->trinoJob;
253 }
254}
255
256// Adding a class alias for backwards compatibility with the previous class name.
257class_alias(OrderedJob::class, 'Google_Service_Dataproc_OrderedJob');
Note: See TracBrowser for help on using the repository browser.