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 |
|
---|
18 | namespace Google\Service\CloudNaturalLanguage;
|
---|
19 |
|
---|
20 | class XPSDataStats extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $arrayStatsType = XPSArrayStats::class;
|
---|
23 | protected $arrayStatsDataType = '';
|
---|
24 | protected $categoryStatsType = XPSCategoryStats::class;
|
---|
25 | protected $categoryStatsDataType = '';
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $distinctValueCount;
|
---|
30 | protected $float64StatsType = XPSFloat64Stats::class;
|
---|
31 | protected $float64StatsDataType = '';
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $nullValueCount;
|
---|
36 | protected $stringStatsType = XPSStringStats::class;
|
---|
37 | protected $stringStatsDataType = '';
|
---|
38 | protected $structStatsType = XPSStructStats::class;
|
---|
39 | protected $structStatsDataType = '';
|
---|
40 | protected $timestampStatsType = XPSTimestampStats::class;
|
---|
41 | protected $timestampStatsDataType = '';
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $validValueCount;
|
---|
46 |
|
---|
47 | /**
|
---|
48 | * @param XPSArrayStats
|
---|
49 | */
|
---|
50 | public function setArrayStats(XPSArrayStats $arrayStats)
|
---|
51 | {
|
---|
52 | $this->arrayStats = $arrayStats;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * @return XPSArrayStats
|
---|
56 | */
|
---|
57 | public function getArrayStats()
|
---|
58 | {
|
---|
59 | return $this->arrayStats;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @param XPSCategoryStats
|
---|
63 | */
|
---|
64 | public function setCategoryStats(XPSCategoryStats $categoryStats)
|
---|
65 | {
|
---|
66 | $this->categoryStats = $categoryStats;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @return XPSCategoryStats
|
---|
70 | */
|
---|
71 | public function getCategoryStats()
|
---|
72 | {
|
---|
73 | return $this->categoryStats;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @param string
|
---|
77 | */
|
---|
78 | public function setDistinctValueCount($distinctValueCount)
|
---|
79 | {
|
---|
80 | $this->distinctValueCount = $distinctValueCount;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return string
|
---|
84 | */
|
---|
85 | public function getDistinctValueCount()
|
---|
86 | {
|
---|
87 | return $this->distinctValueCount;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param XPSFloat64Stats
|
---|
91 | */
|
---|
92 | public function setFloat64Stats(XPSFloat64Stats $float64Stats)
|
---|
93 | {
|
---|
94 | $this->float64Stats = $float64Stats;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return XPSFloat64Stats
|
---|
98 | */
|
---|
99 | public function getFloat64Stats()
|
---|
100 | {
|
---|
101 | return $this->float64Stats;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param string
|
---|
105 | */
|
---|
106 | public function setNullValueCount($nullValueCount)
|
---|
107 | {
|
---|
108 | $this->nullValueCount = $nullValueCount;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return string
|
---|
112 | */
|
---|
113 | public function getNullValueCount()
|
---|
114 | {
|
---|
115 | return $this->nullValueCount;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param XPSStringStats
|
---|
119 | */
|
---|
120 | public function setStringStats(XPSStringStats $stringStats)
|
---|
121 | {
|
---|
122 | $this->stringStats = $stringStats;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return XPSStringStats
|
---|
126 | */
|
---|
127 | public function getStringStats()
|
---|
128 | {
|
---|
129 | return $this->stringStats;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param XPSStructStats
|
---|
133 | */
|
---|
134 | public function setStructStats(XPSStructStats $structStats)
|
---|
135 | {
|
---|
136 | $this->structStats = $structStats;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return XPSStructStats
|
---|
140 | */
|
---|
141 | public function getStructStats()
|
---|
142 | {
|
---|
143 | return $this->structStats;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param XPSTimestampStats
|
---|
147 | */
|
---|
148 | public function setTimestampStats(XPSTimestampStats $timestampStats)
|
---|
149 | {
|
---|
150 | $this->timestampStats = $timestampStats;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return XPSTimestampStats
|
---|
154 | */
|
---|
155 | public function getTimestampStats()
|
---|
156 | {
|
---|
157 | return $this->timestampStats;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setValidValueCount($validValueCount)
|
---|
163 | {
|
---|
164 | $this->validValueCount = $validValueCount;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getValidValueCount()
|
---|
170 | {
|
---|
171 | return $this->validValueCount;
|
---|
172 | }
|
---|
173 | }
|
---|
174 |
|
---|
175 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
176 | class_alias(XPSDataStats::class, 'Google_Service_CloudNaturalLanguage_XPSDataStats');
|
---|