PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.4
ShareThis Dashboard for Google Analytics v3.2.4
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Api / Distribution / Range.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Api / Distribution Last commit date
BucketOptions 3 years ago BucketOptions.php 3 years ago Exemplar.php 3 years ago Range.php 3 years ago
Range.php
105 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/api/distribution.proto
4
5 namespace Google\Api\Distribution;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * The range of the population values.
13 *
14 * Generated from protobuf message <code>google.api.Distribution.Range</code>
15 */
16 class Range extends \Google\Protobuf\Internal\Message
17 {
18 /**
19 * The minimum of the population values.
20 *
21 * Generated from protobuf field <code>double min = 1;</code>
22 */
23 private $min = 0.0;
24 /**
25 * The maximum of the population values.
26 *
27 * Generated from protobuf field <code>double max = 2;</code>
28 */
29 private $max = 0.0;
30
31 /**
32 * Constructor.
33 *
34 * @param array $data {
35 * Optional. Data for populating the Message object.
36 *
37 * @type float $min
38 * The minimum of the population values.
39 * @type float $max
40 * The maximum of the population values.
41 * }
42 */
43 public function __construct($data = NULL) {
44 \GPBMetadata\Google\Api\Distribution::initOnce();
45 parent::__construct($data);
46 }
47
48 /**
49 * The minimum of the population values.
50 *
51 * Generated from protobuf field <code>double min = 1;</code>
52 * @return float
53 */
54 public function getMin()
55 {
56 return $this->min;
57 }
58
59 /**
60 * The minimum of the population values.
61 *
62 * Generated from protobuf field <code>double min = 1;</code>
63 * @param float $var
64 * @return $this
65 */
66 public function setMin($var)
67 {
68 GPBUtil::checkDouble($var);
69 $this->min = $var;
70
71 return $this;
72 }
73
74 /**
75 * The maximum of the population values.
76 *
77 * Generated from protobuf field <code>double max = 2;</code>
78 * @return float
79 */
80 public function getMax()
81 {
82 return $this->max;
83 }
84
85 /**
86 * The maximum of the population values.
87 *
88 * Generated from protobuf field <code>double max = 2;</code>
89 * @param float $var
90 * @return $this
91 */
92 public function setMax($var)
93 {
94 GPBUtil::checkDouble($var);
95 $this->max = $var;
96
97 return $this;
98 }
99
100 }
101
102 // Adding a class alias for backwards compatibility with the previous class name.
103 class_alias(Range::class, \Google\Api\Distribution_Range::class);
104
105