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
18class Google_Service_Dataflow_Job extends Google_Collection
19{
20  protected $collection_key = 'tempFiles';
21  public $clientRequestId;
22  public $createTime;
23  public $createdFromSnapshotId;
24  public $currentState;
25  public $currentStateTime;
26  protected $environmentType = 'Google_Service_Dataflow_Environment';
27  protected $environmentDataType = '';
28  protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo';
29  protected $executionInfoDataType = '';
30  public $id;
31  protected $jobMetadataType = 'Google_Service_Dataflow_JobMetadata';
32  protected $jobMetadataDataType = '';
33  public $labels;
34  public $location;
35  public $name;
36  protected $pipelineDescriptionType = 'Google_Service_Dataflow_PipelineDescription';
37  protected $pipelineDescriptionDataType = '';
38  public $projectId;
39  public $replaceJobId;
40  public $replacedByJobId;
41  public $requestedState;
42  protected $stageStatesType = 'Google_Service_Dataflow_ExecutionStageState';
43  protected $stageStatesDataType = 'array';
44  public $startTime;
45  protected $stepsType = 'Google_Service_Dataflow_Step';
46  protected $stepsDataType = 'array';
47  public $stepsLocation;
48  public $tempFiles;
49  public $transformNameMapping;
50  public $type;
51
52  public function setClientRequestId($clientRequestId)
53  {
54    $this->clientRequestId = $clientRequestId;
55  }
56  public function getClientRequestId()
57  {
58    return $this->clientRequestId;
59  }
60  public function setCreateTime($createTime)
61  {
62    $this->createTime = $createTime;
63  }
64  public function getCreateTime()
65  {
66    return $this->createTime;
67  }
68  public function setCreatedFromSnapshotId($createdFromSnapshotId)
69  {
70    $this->createdFromSnapshotId = $createdFromSnapshotId;
71  }
72  public function getCreatedFromSnapshotId()
73  {
74    return $this->createdFromSnapshotId;
75  }
76  public function setCurrentState($currentState)
77  {
78    $this->currentState = $currentState;
79  }
80  public function getCurrentState()
81  {
82    return $this->currentState;
83  }
84  public function setCurrentStateTime($currentStateTime)
85  {
86    $this->currentStateTime = $currentStateTime;
87  }
88  public function getCurrentStateTime()
89  {
90    return $this->currentStateTime;
91  }
92  /**
93   * @param Google_Service_Dataflow_Environment
94   */
95  public function setEnvironment(Google_Service_Dataflow_Environment $environment)
96  {
97    $this->environment = $environment;
98  }
99  /**
100   * @return Google_Service_Dataflow_Environment
101   */
102  public function getEnvironment()
103  {
104    return $this->environment;
105  }
106  /**
107   * @param Google_Service_Dataflow_JobExecutionInfo
108   */
109  public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo)
110  {
111    $this->executionInfo = $executionInfo;
112  }
113  /**
114   * @return Google_Service_Dataflow_JobExecutionInfo
115   */
116  public function getExecutionInfo()
117  {
118    return $this->executionInfo;
119  }
120  public function setId($id)
121  {
122    $this->id = $id;
123  }
124  public function getId()
125  {
126    return $this->id;
127  }
128  /**
129   * @param Google_Service_Dataflow_JobMetadata
130   */
131  public function setJobMetadata(Google_Service_Dataflow_JobMetadata $jobMetadata)
132  {
133    $this->jobMetadata = $jobMetadata;
134  }
135  /**
136   * @return Google_Service_Dataflow_JobMetadata
137   */
138  public function getJobMetadata()
139  {
140    return $this->jobMetadata;
141  }
142  public function setLabels($labels)
143  {
144    $this->labels = $labels;
145  }
146  public function getLabels()
147  {
148    return $this->labels;
149  }
150  public function setLocation($location)
151  {
152    $this->location = $location;
153  }
154  public function getLocation()
155  {
156    return $this->location;
157  }
158  public function setName($name)
159  {
160    $this->name = $name;
161  }
162  public function getName()
163  {
164    return $this->name;
165  }
166  /**
167   * @param Google_Service_Dataflow_PipelineDescription
168   */
169  public function setPipelineDescription(Google_Service_Dataflow_PipelineDescription $pipelineDescription)
170  {
171    $this->pipelineDescription = $pipelineDescription;
172  }
173  /**
174   * @return Google_Service_Dataflow_PipelineDescription
175   */
176  public function getPipelineDescription()
177  {
178    return $this->pipelineDescription;
179  }
180  public function setProjectId($projectId)
181  {
182    $this->projectId = $projectId;
183  }
184  public function getProjectId()
185  {
186    return $this->projectId;
187  }
188  public function setReplaceJobId($replaceJobId)
189  {
190    $this->replaceJobId = $replaceJobId;
191  }
192  public function getReplaceJobId()
193  {
194    return $this->replaceJobId;
195  }
196  public function setReplacedByJobId($replacedByJobId)
197  {
198    $this->replacedByJobId = $replacedByJobId;
199  }
200  public function getReplacedByJobId()
201  {
202    return $this->replacedByJobId;
203  }
204  public function setRequestedState($requestedState)
205  {
206    $this->requestedState = $requestedState;
207  }
208  public function getRequestedState()
209  {
210    return $this->requestedState;
211  }
212  /**
213   * @param Google_Service_Dataflow_ExecutionStageState
214   */
215  public function setStageStates($stageStates)
216  {
217    $this->stageStates = $stageStates;
218  }
219  /**
220   * @return Google_Service_Dataflow_ExecutionStageState
221   */
222  public function getStageStates()
223  {
224    return $this->stageStates;
225  }
226  public function setStartTime($startTime)
227  {
228    $this->startTime = $startTime;
229  }
230  public function getStartTime()
231  {
232    return $this->startTime;
233  }
234  /**
235   * @param Google_Service_Dataflow_Step
236   */
237  public function setSteps($steps)
238  {
239    $this->steps = $steps;
240  }
241  /**
242   * @return Google_Service_Dataflow_Step
243   */
244  public function getSteps()
245  {
246    return $this->steps;
247  }
248  public function setStepsLocation($stepsLocation)
249  {
250    $this->stepsLocation = $stepsLocation;
251  }
252  public function getStepsLocation()
253  {
254    return $this->stepsLocation;
255  }
256  public function setTempFiles($tempFiles)
257  {
258    $this->tempFiles = $tempFiles;
259  }
260  public function getTempFiles()
261  {
262    return $this->tempFiles;
263  }
264  public function setTransformNameMapping($transformNameMapping)
265  {
266    $this->transformNameMapping = $transformNameMapping;
267  }
268  public function getTransformNameMapping()
269  {
270    return $this->transformNameMapping;
271  }
272  public function setType($type)
273  {
274    $this->type = $type;
275  }
276  public function getType()
277  {
278    return $this->type;
279  }
280}
281