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 DistributionUpdate extends \Google\Model
21{
22  protected $countType = SplitInt64::class;
23  protected $countDataType = '';
24  protected $histogramType = Histogram::class;
25  protected $histogramDataType = '';
26  protected $maxType = SplitInt64::class;
27  protected $maxDataType = '';
28  protected $minType = SplitInt64::class;
29  protected $minDataType = '';
30  protected $sumType = SplitInt64::class;
31  protected $sumDataType = '';
32  public $sumOfSquares;
33
34  /**
35   * @param SplitInt64
36   */
37  public function setCount(SplitInt64 $count)
38  {
39    $this->count = $count;
40  }
41  /**
42   * @return SplitInt64
43   */
44  public function getCount()
45  {
46    return $this->count;
47  }
48  /**
49   * @param Histogram
50   */
51  public function setHistogram(Histogram $histogram)
52  {
53    $this->histogram = $histogram;
54  }
55  /**
56   * @return Histogram
57   */
58  public function getHistogram()
59  {
60    return $this->histogram;
61  }
62  /**
63   * @param SplitInt64
64   */
65  public function setMax(SplitInt64 $max)
66  {
67    $this->max = $max;
68  }
69  /**
70   * @return SplitInt64
71   */
72  public function getMax()
73  {
74    return $this->max;
75  }
76  /**
77   * @param SplitInt64
78   */
79  public function setMin(SplitInt64 $min)
80  {
81    $this->min = $min;
82  }
83  /**
84   * @return SplitInt64
85   */
86  public function getMin()
87  {
88    return $this->min;
89  }
90  /**
91   * @param SplitInt64
92   */
93  public function setSum(SplitInt64 $sum)
94  {
95    $this->sum = $sum;
96  }
97  /**
98   * @return SplitInt64
99   */
100  public function getSum()
101  {
102    return $this->sum;
103  }
104  public function setSumOfSquares($sumOfSquares)
105  {
106    $this->sumOfSquares = $sumOfSquares;
107  }
108  public function getSumOfSquares()
109  {
110    return $this->sumOfSquares;
111  }
112}
113
114// Adding a class alias for backwards compatibility with the previous class name.
115class_alias(DistributionUpdate::class, 'Google_Service_Dataflow_DistributionUpdate');
116