source: vendor/google/apiclient-services/src/Dataflow/ParDoInstruction.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 2.4 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\Dataflow;
19
20class ParDoInstruction extends \Google\Collection
21{
22 protected $collection_key = 'sideInputs';
23 protected $inputType = InstructionInput::class;
24 protected $inputDataType = '';
25 protected $multiOutputInfosType = MultiOutputInfo::class;
26 protected $multiOutputInfosDataType = 'array';
27 /**
28 * @var int
29 */
30 public $numOutputs;
31 protected $sideInputsType = SideInputInfo::class;
32 protected $sideInputsDataType = 'array';
33 /**
34 * @var array[]
35 */
36 public $userFn;
37
38 /**
39 * @param InstructionInput
40 */
41 public function setInput(InstructionInput $input)
42 {
43 $this->input = $input;
44 }
45 /**
46 * @return InstructionInput
47 */
48 public function getInput()
49 {
50 return $this->input;
51 }
52 /**
53 * @param MultiOutputInfo[]
54 */
55 public function setMultiOutputInfos($multiOutputInfos)
56 {
57 $this->multiOutputInfos = $multiOutputInfos;
58 }
59 /**
60 * @return MultiOutputInfo[]
61 */
62 public function getMultiOutputInfos()
63 {
64 return $this->multiOutputInfos;
65 }
66 /**
67 * @param int
68 */
69 public function setNumOutputs($numOutputs)
70 {
71 $this->numOutputs = $numOutputs;
72 }
73 /**
74 * @return int
75 */
76 public function getNumOutputs()
77 {
78 return $this->numOutputs;
79 }
80 /**
81 * @param SideInputInfo[]
82 */
83 public function setSideInputs($sideInputs)
84 {
85 $this->sideInputs = $sideInputs;
86 }
87 /**
88 * @return SideInputInfo[]
89 */
90 public function getSideInputs()
91 {
92 return $this->sideInputs;
93 }
94 /**
95 * @param array[]
96 */
97 public function setUserFn($userFn)
98 {
99 $this->userFn = $userFn;
100 }
101 /**
102 * @return array[]
103 */
104 public function getUserFn()
105 {
106 return $this->userFn;
107 }
108}
109
110// Adding a class alias for backwards compatibility with the previous class name.
111class_alias(ParDoInstruction::class, 'Google_Service_Dataflow_ParDoInstruction');
Note: See TracBrowser for help on using the repository browser.