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 |
|
---|
18 | namespace Google\Service\Dataproc;
|
---|
19 |
|
---|
20 | class RddOperationGraph extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'outgoingEdges';
|
---|
23 | protected $edgesType = RddOperationEdge::class;
|
---|
24 | protected $edgesDataType = 'array';
|
---|
25 | protected $incomingEdgesType = RddOperationEdge::class;
|
---|
26 | protected $incomingEdgesDataType = 'array';
|
---|
27 | protected $outgoingEdgesType = RddOperationEdge::class;
|
---|
28 | protected $outgoingEdgesDataType = 'array';
|
---|
29 | protected $rootClusterType = RddOperationCluster::class;
|
---|
30 | protected $rootClusterDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $stageId;
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * @param RddOperationEdge[]
|
---|
38 | */
|
---|
39 | public function setEdges($edges)
|
---|
40 | {
|
---|
41 | $this->edges = $edges;
|
---|
42 | }
|
---|
43 | /**
|
---|
44 | * @return RddOperationEdge[]
|
---|
45 | */
|
---|
46 | public function getEdges()
|
---|
47 | {
|
---|
48 | return $this->edges;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @param RddOperationEdge[]
|
---|
52 | */
|
---|
53 | public function setIncomingEdges($incomingEdges)
|
---|
54 | {
|
---|
55 | $this->incomingEdges = $incomingEdges;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @return RddOperationEdge[]
|
---|
59 | */
|
---|
60 | public function getIncomingEdges()
|
---|
61 | {
|
---|
62 | return $this->incomingEdges;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @param RddOperationEdge[]
|
---|
66 | */
|
---|
67 | public function setOutgoingEdges($outgoingEdges)
|
---|
68 | {
|
---|
69 | $this->outgoingEdges = $outgoingEdges;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return RddOperationEdge[]
|
---|
73 | */
|
---|
74 | public function getOutgoingEdges()
|
---|
75 | {
|
---|
76 | return $this->outgoingEdges;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param RddOperationCluster
|
---|
80 | */
|
---|
81 | public function setRootCluster(RddOperationCluster $rootCluster)
|
---|
82 | {
|
---|
83 | $this->rootCluster = $rootCluster;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return RddOperationCluster
|
---|
87 | */
|
---|
88 | public function getRootCluster()
|
---|
89 | {
|
---|
90 | return $this->rootCluster;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string
|
---|
94 | */
|
---|
95 | public function setStageId($stageId)
|
---|
96 | {
|
---|
97 | $this->stageId = $stageId;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string
|
---|
101 | */
|
---|
102 | public function getStageId()
|
---|
103 | {
|
---|
104 | return $this->stageId;
|
---|
105 | }
|
---|
106 | }
|
---|
107 |
|
---|
108 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
109 | class_alias(RddOperationGraph::class, 'Google_Service_Dataproc_RddOperationGraph');
|
---|