Aucune description

WorkItemStatus.php 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. class Google_Service_Dataflow_WorkItemStatus extends Google_Collection
  18. {
  19. protected $collection_key = 'metricUpdates';
  20. public $completed;
  21. protected $counterUpdatesType = 'Google_Service_Dataflow_CounterUpdate';
  22. protected $counterUpdatesDataType = 'array';
  23. protected $dynamicSourceSplitType = 'Google_Service_Dataflow_DynamicSourceSplit';
  24. protected $dynamicSourceSplitDataType = '';
  25. protected $errorsType = 'Google_Service_Dataflow_Status';
  26. protected $errorsDataType = 'array';
  27. protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate';
  28. protected $metricUpdatesDataType = 'array';
  29. protected $progressType = 'Google_Service_Dataflow_ApproximateProgress';
  30. protected $progressDataType = '';
  31. public $reportIndex;
  32. protected $reportedProgressType = 'Google_Service_Dataflow_ApproximateReportedProgress';
  33. protected $reportedProgressDataType = '';
  34. public $requestedLeaseDuration;
  35. protected $sourceForkType = 'Google_Service_Dataflow_SourceFork';
  36. protected $sourceForkDataType = '';
  37. protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse';
  38. protected $sourceOperationResponseDataType = '';
  39. protected $stopPositionType = 'Google_Service_Dataflow_Position';
  40. protected $stopPositionDataType = '';
  41. public $totalThrottlerWaitTimeSeconds;
  42. public $workItemId;
  43. public function setCompleted($completed)
  44. {
  45. $this->completed = $completed;
  46. }
  47. public function getCompleted()
  48. {
  49. return $this->completed;
  50. }
  51. /**
  52. * @param Google_Service_Dataflow_CounterUpdate
  53. */
  54. public function setCounterUpdates($counterUpdates)
  55. {
  56. $this->counterUpdates = $counterUpdates;
  57. }
  58. /**
  59. * @return Google_Service_Dataflow_CounterUpdate
  60. */
  61. public function getCounterUpdates()
  62. {
  63. return $this->counterUpdates;
  64. }
  65. /**
  66. * @param Google_Service_Dataflow_DynamicSourceSplit
  67. */
  68. public function setDynamicSourceSplit(Google_Service_Dataflow_DynamicSourceSplit $dynamicSourceSplit)
  69. {
  70. $this->dynamicSourceSplit = $dynamicSourceSplit;
  71. }
  72. /**
  73. * @return Google_Service_Dataflow_DynamicSourceSplit
  74. */
  75. public function getDynamicSourceSplit()
  76. {
  77. return $this->dynamicSourceSplit;
  78. }
  79. /**
  80. * @param Google_Service_Dataflow_Status
  81. */
  82. public function setErrors($errors)
  83. {
  84. $this->errors = $errors;
  85. }
  86. /**
  87. * @return Google_Service_Dataflow_Status
  88. */
  89. public function getErrors()
  90. {
  91. return $this->errors;
  92. }
  93. /**
  94. * @param Google_Service_Dataflow_MetricUpdate
  95. */
  96. public function setMetricUpdates($metricUpdates)
  97. {
  98. $this->metricUpdates = $metricUpdates;
  99. }
  100. /**
  101. * @return Google_Service_Dataflow_MetricUpdate
  102. */
  103. public function getMetricUpdates()
  104. {
  105. return $this->metricUpdates;
  106. }
  107. /**
  108. * @param Google_Service_Dataflow_ApproximateProgress
  109. */
  110. public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress)
  111. {
  112. $this->progress = $progress;
  113. }
  114. /**
  115. * @return Google_Service_Dataflow_ApproximateProgress
  116. */
  117. public function getProgress()
  118. {
  119. return $this->progress;
  120. }
  121. public function setReportIndex($reportIndex)
  122. {
  123. $this->reportIndex = $reportIndex;
  124. }
  125. public function getReportIndex()
  126. {
  127. return $this->reportIndex;
  128. }
  129. /**
  130. * @param Google_Service_Dataflow_ApproximateReportedProgress
  131. */
  132. public function setReportedProgress(Google_Service_Dataflow_ApproximateReportedProgress $reportedProgress)
  133. {
  134. $this->reportedProgress = $reportedProgress;
  135. }
  136. /**
  137. * @return Google_Service_Dataflow_ApproximateReportedProgress
  138. */
  139. public function getReportedProgress()
  140. {
  141. return $this->reportedProgress;
  142. }
  143. public function setRequestedLeaseDuration($requestedLeaseDuration)
  144. {
  145. $this->requestedLeaseDuration = $requestedLeaseDuration;
  146. }
  147. public function getRequestedLeaseDuration()
  148. {
  149. return $this->requestedLeaseDuration;
  150. }
  151. /**
  152. * @param Google_Service_Dataflow_SourceFork
  153. */
  154. public function setSourceFork(Google_Service_Dataflow_SourceFork $sourceFork)
  155. {
  156. $this->sourceFork = $sourceFork;
  157. }
  158. /**
  159. * @return Google_Service_Dataflow_SourceFork
  160. */
  161. public function getSourceFork()
  162. {
  163. return $this->sourceFork;
  164. }
  165. /**
  166. * @param Google_Service_Dataflow_SourceOperationResponse
  167. */
  168. public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse)
  169. {
  170. $this->sourceOperationResponse = $sourceOperationResponse;
  171. }
  172. /**
  173. * @return Google_Service_Dataflow_SourceOperationResponse
  174. */
  175. public function getSourceOperationResponse()
  176. {
  177. return $this->sourceOperationResponse;
  178. }
  179. /**
  180. * @param Google_Service_Dataflow_Position
  181. */
  182. public function setStopPosition(Google_Service_Dataflow_Position $stopPosition)
  183. {
  184. $this->stopPosition = $stopPosition;
  185. }
  186. /**
  187. * @return Google_Service_Dataflow_Position
  188. */
  189. public function getStopPosition()
  190. {
  191. return $this->stopPosition;
  192. }
  193. public function setTotalThrottlerWaitTimeSeconds($totalThrottlerWaitTimeSeconds)
  194. {
  195. $this->totalThrottlerWaitTimeSeconds = $totalThrottlerWaitTimeSeconds;
  196. }
  197. public function getTotalThrottlerWaitTimeSeconds()
  198. {
  199. return $this->totalThrottlerWaitTimeSeconds;
  200. }
  201. public function setWorkItemId($workItemId)
  202. {
  203. $this->workItemId = $workItemId;
  204. }
  205. public function getWorkItemId()
  206. {
  207. return $this->workItemId;
  208. }
  209. }