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\Dataflow;
19
20class TaskRunnerSettings extends \Google\Collection
21{
22  protected $collection_key = 'oauthScopes';
23  /**
24   * @var bool
25   */
26  public $alsologtostderr;
27  /**
28   * @var string
29   */
30  public $baseTaskDir;
31  /**
32   * @var string
33   */
34  public $baseUrl;
35  /**
36   * @var string
37   */
38  public $commandlinesFileName;
39  /**
40   * @var bool
41   */
42  public $continueOnException;
43  /**
44   * @var string
45   */
46  public $dataflowApiVersion;
47  /**
48   * @var string
49   */
50  public $harnessCommand;
51  /**
52   * @var string
53   */
54  public $languageHint;
55  /**
56   * @var string
57   */
58  public $logDir;
59  /**
60   * @var bool
61   */
62  public $logToSerialconsole;
63  /**
64   * @var string
65   */
66  public $logUploadLocation;
67  /**
68   * @var string[]
69   */
70  public $oauthScopes;
71  protected $parallelWorkerSettingsType = WorkerSettings::class;
72  protected $parallelWorkerSettingsDataType = '';
73  /**
74   * @var string
75   */
76  public $streamingWorkerMainClass;
77  /**
78   * @var string
79   */
80  public $taskGroup;
81  /**
82   * @var string
83   */
84  public $taskUser;
85  /**
86   * @var string
87   */
88  public $tempStoragePrefix;
89  /**
90   * @var string
91   */
92  public $vmId;
93  /**
94   * @var string
95   */
96  public $workflowFileName;
97
98  /**
99   * @param bool
100   */
101  public function setAlsologtostderr($alsologtostderr)
102  {
103    $this->alsologtostderr = $alsologtostderr;
104  }
105  /**
106   * @return bool
107   */
108  public function getAlsologtostderr()
109  {
110    return $this->alsologtostderr;
111  }
112  /**
113   * @param string
114   */
115  public function setBaseTaskDir($baseTaskDir)
116  {
117    $this->baseTaskDir = $baseTaskDir;
118  }
119  /**
120   * @return string
121   */
122  public function getBaseTaskDir()
123  {
124    return $this->baseTaskDir;
125  }
126  /**
127   * @param string
128   */
129  public function setBaseUrl($baseUrl)
130  {
131    $this->baseUrl = $baseUrl;
132  }
133  /**
134   * @return string
135   */
136  public function getBaseUrl()
137  {
138    return $this->baseUrl;
139  }
140  /**
141   * @param string
142   */
143  public function setCommandlinesFileName($commandlinesFileName)
144  {
145    $this->commandlinesFileName = $commandlinesFileName;
146  }
147  /**
148   * @return string
149   */
150  public function getCommandlinesFileName()
151  {
152    return $this->commandlinesFileName;
153  }
154  /**
155   * @param bool
156   */
157  public function setContinueOnException($continueOnException)
158  {
159    $this->continueOnException = $continueOnException;
160  }
161  /**
162   * @return bool
163   */
164  public function getContinueOnException()
165  {
166    return $this->continueOnException;
167  }
168  /**
169   * @param string
170   */
171  public function setDataflowApiVersion($dataflowApiVersion)
172  {
173    $this->dataflowApiVersion = $dataflowApiVersion;
174  }
175  /**
176   * @return string
177   */
178  public function getDataflowApiVersion()
179  {
180    return $this->dataflowApiVersion;
181  }
182  /**
183   * @param string
184   */
185  public function setHarnessCommand($harnessCommand)
186  {
187    $this->harnessCommand = $harnessCommand;
188  }
189  /**
190   * @return string
191   */
192  public function getHarnessCommand()
193  {
194    return $this->harnessCommand;
195  }
196  /**
197   * @param string
198   */
199  public function setLanguageHint($languageHint)
200  {
201    $this->languageHint = $languageHint;
202  }
203  /**
204   * @return string
205   */
206  public function getLanguageHint()
207  {
208    return $this->languageHint;
209  }
210  /**
211   * @param string
212   */
213  public function setLogDir($logDir)
214  {
215    $this->logDir = $logDir;
216  }
217  /**
218   * @return string
219   */
220  public function getLogDir()
221  {
222    return $this->logDir;
223  }
224  /**
225   * @param bool
226   */
227  public function setLogToSerialconsole($logToSerialconsole)
228  {
229    $this->logToSerialconsole = $logToSerialconsole;
230  }
231  /**
232   * @return bool
233   */
234  public function getLogToSerialconsole()
235  {
236    return $this->logToSerialconsole;
237  }
238  /**
239   * @param string
240   */
241  public function setLogUploadLocation($logUploadLocation)
242  {
243    $this->logUploadLocation = $logUploadLocation;
244  }
245  /**
246   * @return string
247   */
248  public function getLogUploadLocation()
249  {
250    return $this->logUploadLocation;
251  }
252  /**
253   * @param string[]
254   */
255  public function setOauthScopes($oauthScopes)
256  {
257    $this->oauthScopes = $oauthScopes;
258  }
259  /**
260   * @return string[]
261   */
262  public function getOauthScopes()
263  {
264    return $this->oauthScopes;
265  }
266  /**
267   * @param WorkerSettings
268   */
269  public function setParallelWorkerSettings(WorkerSettings $parallelWorkerSettings)
270  {
271    $this->parallelWorkerSettings = $parallelWorkerSettings;
272  }
273  /**
274   * @return WorkerSettings
275   */
276  public function getParallelWorkerSettings()
277  {
278    return $this->parallelWorkerSettings;
279  }
280  /**
281   * @param string
282   */
283  public function setStreamingWorkerMainClass($streamingWorkerMainClass)
284  {
285    $this->streamingWorkerMainClass = $streamingWorkerMainClass;
286  }
287  /**
288   * @return string
289   */
290  public function getStreamingWorkerMainClass()
291  {
292    return $this->streamingWorkerMainClass;
293  }
294  /**
295   * @param string
296   */
297  public function setTaskGroup($taskGroup)
298  {
299    $this->taskGroup = $taskGroup;
300  }
301  /**
302   * @return string
303   */
304  public function getTaskGroup()
305  {
306    return $this->taskGroup;
307  }
308  /**
309   * @param string
310   */
311  public function setTaskUser($taskUser)
312  {
313    $this->taskUser = $taskUser;
314  }
315  /**
316   * @return string
317   */
318  public function getTaskUser()
319  {
320    return $this->taskUser;
321  }
322  /**
323   * @param string
324   */
325  public function setTempStoragePrefix($tempStoragePrefix)
326  {
327    $this->tempStoragePrefix = $tempStoragePrefix;
328  }
329  /**
330   * @return string
331   */
332  public function getTempStoragePrefix()
333  {
334    return $this->tempStoragePrefix;
335  }
336  /**
337   * @param string
338   */
339  public function setVmId($vmId)
340  {
341    $this->vmId = $vmId;
342  }
343  /**
344   * @return string
345   */
346  public function getVmId()
347  {
348    return $this->vmId;
349  }
350  /**
351   * @param string
352   */
353  public function setWorkflowFileName($workflowFileName)
354  {
355    $this->workflowFileName = $workflowFileName;
356  }
357  /**
358   * @return string
359   */
360  public function getWorkflowFileName()
361  {
362    return $this->workflowFileName;
363  }
364}
365
366// Adding a class alias for backwards compatibility with the previous class name.
367class_alias(TaskRunnerSettings::class, 'Google_Service_Dataflow_TaskRunnerSettings');
368