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 MetricUpdate extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $cumulative;
26  /**
27   * @var array
28   */
29  public $distribution;
30  /**
31   * @var array
32   */
33  public $gauge;
34  /**
35   * @var array
36   */
37  public $internal;
38  /**
39   * @var string
40   */
41  public $kind;
42  /**
43   * @var array
44   */
45  public $meanCount;
46  /**
47   * @var array
48   */
49  public $meanSum;
50  protected $nameType = MetricStructuredName::class;
51  protected $nameDataType = '';
52  /**
53   * @var array
54   */
55  public $scalar;
56  /**
57   * @var array
58   */
59  public $set;
60  /**
61   * @var string
62   */
63  public $updateTime;
64
65  /**
66   * @param bool
67   */
68  public function setCumulative($cumulative)
69  {
70    $this->cumulative = $cumulative;
71  }
72  /**
73   * @return bool
74   */
75  public function getCumulative()
76  {
77    return $this->cumulative;
78  }
79  /**
80   * @param array
81   */
82  public function setDistribution($distribution)
83  {
84    $this->distribution = $distribution;
85  }
86  /**
87   * @return array
88   */
89  public function getDistribution()
90  {
91    return $this->distribution;
92  }
93  /**
94   * @param array
95   */
96  public function setGauge($gauge)
97  {
98    $this->gauge = $gauge;
99  }
100  /**
101   * @return array
102   */
103  public function getGauge()
104  {
105    return $this->gauge;
106  }
107  /**
108   * @param array
109   */
110  public function setInternal($internal)
111  {
112    $this->internal = $internal;
113  }
114  /**
115   * @return array
116   */
117  public function getInternal()
118  {
119    return $this->internal;
120  }
121  /**
122   * @param string
123   */
124  public function setKind($kind)
125  {
126    $this->kind = $kind;
127  }
128  /**
129   * @return string
130   */
131  public function getKind()
132  {
133    return $this->kind;
134  }
135  /**
136   * @param array
137   */
138  public function setMeanCount($meanCount)
139  {
140    $this->meanCount = $meanCount;
141  }
142  /**
143   * @return array
144   */
145  public function getMeanCount()
146  {
147    return $this->meanCount;
148  }
149  /**
150   * @param array
151   */
152  public function setMeanSum($meanSum)
153  {
154    $this->meanSum = $meanSum;
155  }
156  /**
157   * @return array
158   */
159  public function getMeanSum()
160  {
161    return $this->meanSum;
162  }
163  /**
164   * @param MetricStructuredName
165   */
166  public function setName(MetricStructuredName $name)
167  {
168    $this->name = $name;
169  }
170  /**
171   * @return MetricStructuredName
172   */
173  public function getName()
174  {
175    return $this->name;
176  }
177  /**
178   * @param array
179   */
180  public function setScalar($scalar)
181  {
182    $this->scalar = $scalar;
183  }
184  /**
185   * @return array
186   */
187  public function getScalar()
188  {
189    return $this->scalar;
190  }
191  /**
192   * @param array
193   */
194  public function setSet($set)
195  {
196    $this->set = $set;
197  }
198  /**
199   * @return array
200   */
201  public function getSet()
202  {
203    return $this->set;
204  }
205  /**
206   * @param string
207   */
208  public function setUpdateTime($updateTime)
209  {
210    $this->updateTime = $updateTime;
211  }
212  /**
213   * @return string
214   */
215  public function getUpdateTime()
216  {
217    return $this->updateTime;
218  }
219}
220
221// Adding a class alias for backwards compatibility with the previous class name.
222class_alias(MetricUpdate::class, 'Google_Service_Dataflow_MetricUpdate');
223