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\Spanner;
19
20class PlanNode extends \Google\Collection
21{
22  protected $collection_key = 'childLinks';
23  protected $childLinksType = ChildLink::class;
24  protected $childLinksDataType = 'array';
25  /**
26   * @var string
27   */
28  public $displayName;
29  /**
30   * @var array[]
31   */
32  public $executionStats;
33  /**
34   * @var int
35   */
36  public $index;
37  /**
38   * @var string
39   */
40  public $kind;
41  /**
42   * @var array[]
43   */
44  public $metadata;
45  protected $shortRepresentationType = ShortRepresentation::class;
46  protected $shortRepresentationDataType = '';
47
48  /**
49   * @param ChildLink[]
50   */
51  public function setChildLinks($childLinks)
52  {
53    $this->childLinks = $childLinks;
54  }
55  /**
56   * @return ChildLink[]
57   */
58  public function getChildLinks()
59  {
60    return $this->childLinks;
61  }
62  /**
63   * @param string
64   */
65  public function setDisplayName($displayName)
66  {
67    $this->displayName = $displayName;
68  }
69  /**
70   * @return string
71   */
72  public function getDisplayName()
73  {
74    return $this->displayName;
75  }
76  /**
77   * @param array[]
78   */
79  public function setExecutionStats($executionStats)
80  {
81    $this->executionStats = $executionStats;
82  }
83  /**
84   * @return array[]
85   */
86  public function getExecutionStats()
87  {
88    return $this->executionStats;
89  }
90  /**
91   * @param int
92   */
93  public function setIndex($index)
94  {
95    $this->index = $index;
96  }
97  /**
98   * @return int
99   */
100  public function getIndex()
101  {
102    return $this->index;
103  }
104  /**
105   * @param string
106   */
107  public function setKind($kind)
108  {
109    $this->kind = $kind;
110  }
111  /**
112   * @return string
113   */
114  public function getKind()
115  {
116    return $this->kind;
117  }
118  /**
119   * @param array[]
120   */
121  public function setMetadata($metadata)
122  {
123    $this->metadata = $metadata;
124  }
125  /**
126   * @return array[]
127   */
128  public function getMetadata()
129  {
130    return $this->metadata;
131  }
132  /**
133   * @param ShortRepresentation
134   */
135  public function setShortRepresentation(ShortRepresentation $shortRepresentation)
136  {
137    $this->shortRepresentation = $shortRepresentation;
138  }
139  /**
140   * @return ShortRepresentation
141   */
142  public function getShortRepresentation()
143  {
144    return $this->shortRepresentation;
145  }
146}
147
148// Adding a class alias for backwards compatibility with the previous class name.
149class_alias(PlanNode::class, 'Google_Service_Spanner_PlanNode');
150