暫無描述

ParallelInstruction.php 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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_ParallelInstruction extends Google_Collection
  18. {
  19. protected $collection_key = 'outputs';
  20. protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction';
  21. protected $flattenDataType = '';
  22. public $name;
  23. public $originalName;
  24. protected $outputsType = 'Google_Service_Dataflow_InstructionOutput';
  25. protected $outputsDataType = 'array';
  26. protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction';
  27. protected $parDoDataType = '';
  28. protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction';
  29. protected $partialGroupByKeyDataType = '';
  30. protected $readType = 'Google_Service_Dataflow_ReadInstruction';
  31. protected $readDataType = '';
  32. public $systemName;
  33. protected $writeType = 'Google_Service_Dataflow_WriteInstruction';
  34. protected $writeDataType = '';
  35. /**
  36. * @param Google_Service_Dataflow_FlattenInstruction
  37. */
  38. public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten)
  39. {
  40. $this->flatten = $flatten;
  41. }
  42. /**
  43. * @return Google_Service_Dataflow_FlattenInstruction
  44. */
  45. public function getFlatten()
  46. {
  47. return $this->flatten;
  48. }
  49. public function setName($name)
  50. {
  51. $this->name = $name;
  52. }
  53. public function getName()
  54. {
  55. return $this->name;
  56. }
  57. public function setOriginalName($originalName)
  58. {
  59. $this->originalName = $originalName;
  60. }
  61. public function getOriginalName()
  62. {
  63. return $this->originalName;
  64. }
  65. /**
  66. * @param Google_Service_Dataflow_InstructionOutput
  67. */
  68. public function setOutputs($outputs)
  69. {
  70. $this->outputs = $outputs;
  71. }
  72. /**
  73. * @return Google_Service_Dataflow_InstructionOutput
  74. */
  75. public function getOutputs()
  76. {
  77. return $this->outputs;
  78. }
  79. /**
  80. * @param Google_Service_Dataflow_ParDoInstruction
  81. */
  82. public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo)
  83. {
  84. $this->parDo = $parDo;
  85. }
  86. /**
  87. * @return Google_Service_Dataflow_ParDoInstruction
  88. */
  89. public function getParDo()
  90. {
  91. return $this->parDo;
  92. }
  93. /**
  94. * @param Google_Service_Dataflow_PartialGroupByKeyInstruction
  95. */
  96. public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey)
  97. {
  98. $this->partialGroupByKey = $partialGroupByKey;
  99. }
  100. /**
  101. * @return Google_Service_Dataflow_PartialGroupByKeyInstruction
  102. */
  103. public function getPartialGroupByKey()
  104. {
  105. return $this->partialGroupByKey;
  106. }
  107. /**
  108. * @param Google_Service_Dataflow_ReadInstruction
  109. */
  110. public function setRead(Google_Service_Dataflow_ReadInstruction $read)
  111. {
  112. $this->read = $read;
  113. }
  114. /**
  115. * @return Google_Service_Dataflow_ReadInstruction
  116. */
  117. public function getRead()
  118. {
  119. return $this->read;
  120. }
  121. public function setSystemName($systemName)
  122. {
  123. $this->systemName = $systemName;
  124. }
  125. public function getSystemName()
  126. {
  127. return $this->systemName;
  128. }
  129. /**
  130. * @param Google_Service_Dataflow_WriteInstruction
  131. */
  132. public function setWrite(Google_Service_Dataflow_WriteInstruction $write)
  133. {
  134. $this->write = $write;
  135. }
  136. /**
  137. * @return Google_Service_Dataflow_WriteInstruction
  138. */
  139. public function getWrite()
  140. {
  141. return $this->write;
  142. }
  143. }