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 CounterUpdate extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $boolean;
26  /**
27   * @var bool
28   */
29  public $cumulative;
30  protected $distributionType = DistributionUpdate::class;
31  protected $distributionDataType = '';
32  public $floatingPoint;
33  protected $floatingPointListType = FloatingPointList::class;
34  protected $floatingPointListDataType = '';
35  protected $floatingPointMeanType = FloatingPointMean::class;
36  protected $floatingPointMeanDataType = '';
37  protected $integerType = SplitInt64::class;
38  protected $integerDataType = '';
39  protected $integerGaugeType = IntegerGauge::class;
40  protected $integerGaugeDataType = '';
41  protected $integerListType = IntegerList::class;
42  protected $integerListDataType = '';
43  protected $integerMeanType = IntegerMean::class;
44  protected $integerMeanDataType = '';
45  /**
46   * @var array
47   */
48  public $internal;
49  protected $nameAndKindType = NameAndKind::class;
50  protected $nameAndKindDataType = '';
51  /**
52   * @var string
53   */
54  public $shortId;
55  protected $stringListType = StringList::class;
56  protected $stringListDataType = '';
57  protected $structuredNameAndMetadataType = CounterStructuredNameAndMetadata::class;
58  protected $structuredNameAndMetadataDataType = '';
59
60  /**
61   * @param bool
62   */
63  public function setBoolean($boolean)
64  {
65    $this->boolean = $boolean;
66  }
67  /**
68   * @return bool
69   */
70  public function getBoolean()
71  {
72    return $this->boolean;
73  }
74  /**
75   * @param bool
76   */
77  public function setCumulative($cumulative)
78  {
79    $this->cumulative = $cumulative;
80  }
81  /**
82   * @return bool
83   */
84  public function getCumulative()
85  {
86    return $this->cumulative;
87  }
88  /**
89   * @param DistributionUpdate
90   */
91  public function setDistribution(DistributionUpdate $distribution)
92  {
93    $this->distribution = $distribution;
94  }
95  /**
96   * @return DistributionUpdate
97   */
98  public function getDistribution()
99  {
100    return $this->distribution;
101  }
102  public function setFloatingPoint($floatingPoint)
103  {
104    $this->floatingPoint = $floatingPoint;
105  }
106  public function getFloatingPoint()
107  {
108    return $this->floatingPoint;
109  }
110  /**
111   * @param FloatingPointList
112   */
113  public function setFloatingPointList(FloatingPointList $floatingPointList)
114  {
115    $this->floatingPointList = $floatingPointList;
116  }
117  /**
118   * @return FloatingPointList
119   */
120  public function getFloatingPointList()
121  {
122    return $this->floatingPointList;
123  }
124  /**
125   * @param FloatingPointMean
126   */
127  public function setFloatingPointMean(FloatingPointMean $floatingPointMean)
128  {
129    $this->floatingPointMean = $floatingPointMean;
130  }
131  /**
132   * @return FloatingPointMean
133   */
134  public function getFloatingPointMean()
135  {
136    return $this->floatingPointMean;
137  }
138  /**
139   * @param SplitInt64
140   */
141  public function setInteger(SplitInt64 $integer)
142  {
143    $this->integer = $integer;
144  }
145  /**
146   * @return SplitInt64
147   */
148  public function getInteger()
149  {
150    return $this->integer;
151  }
152  /**
153   * @param IntegerGauge
154   */
155  public function setIntegerGauge(IntegerGauge $integerGauge)
156  {
157    $this->integerGauge = $integerGauge;
158  }
159  /**
160   * @return IntegerGauge
161   */
162  public function getIntegerGauge()
163  {
164    return $this->integerGauge;
165  }
166  /**
167   * @param IntegerList
168   */
169  public function setIntegerList(IntegerList $integerList)
170  {
171    $this->integerList = $integerList;
172  }
173  /**
174   * @return IntegerList
175   */
176  public function getIntegerList()
177  {
178    return $this->integerList;
179  }
180  /**
181   * @param IntegerMean
182   */
183  public function setIntegerMean(IntegerMean $integerMean)
184  {
185    $this->integerMean = $integerMean;
186  }
187  /**
188   * @return IntegerMean
189   */
190  public function getIntegerMean()
191  {
192    return $this->integerMean;
193  }
194  /**
195   * @param array
196   */
197  public function setInternal($internal)
198  {
199    $this->internal = $internal;
200  }
201  /**
202   * @return array
203   */
204  public function getInternal()
205  {
206    return $this->internal;
207  }
208  /**
209   * @param NameAndKind
210   */
211  public function setNameAndKind(NameAndKind $nameAndKind)
212  {
213    $this->nameAndKind = $nameAndKind;
214  }
215  /**
216   * @return NameAndKind
217   */
218  public function getNameAndKind()
219  {
220    return $this->nameAndKind;
221  }
222  /**
223   * @param string
224   */
225  public function setShortId($shortId)
226  {
227    $this->shortId = $shortId;
228  }
229  /**
230   * @return string
231   */
232  public function getShortId()
233  {
234    return $this->shortId;
235  }
236  /**
237   * @param StringList
238   */
239  public function setStringList(StringList $stringList)
240  {
241    $this->stringList = $stringList;
242  }
243  /**
244   * @return StringList
245   */
246  public function getStringList()
247  {
248    return $this->stringList;
249  }
250  /**
251   * @param CounterStructuredNameAndMetadata
252   */
253  public function setStructuredNameAndMetadata(CounterStructuredNameAndMetadata $structuredNameAndMetadata)
254  {
255    $this->structuredNameAndMetadata = $structuredNameAndMetadata;
256  }
257  /**
258   * @return CounterStructuredNameAndMetadata
259   */
260  public function getStructuredNameAndMetadata()
261  {
262    return $this->structuredNameAndMetadata;
263  }
264}
265
266// Adding a class alias for backwards compatibility with the previous class name.
267class_alias(CounterUpdate::class, 'Google_Service_Dataflow_CounterUpdate');
268