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\Aiplatform;
|
---|
19 |
|
---|
20 | class GoogleCloudAiplatformV1Tensor extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'uintVal';
|
---|
23 | /**
|
---|
24 | * @var bool[]
|
---|
25 | */
|
---|
26 | public $boolVal;
|
---|
27 | /**
|
---|
28 | * @var string[]
|
---|
29 | */
|
---|
30 | public $bytesVal;
|
---|
31 | public $doubleVal;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $dtype;
|
---|
36 | /**
|
---|
37 | * @var float[]
|
---|
38 | */
|
---|
39 | public $floatVal;
|
---|
40 | /**
|
---|
41 | * @var string[]
|
---|
42 | */
|
---|
43 | public $int64Val;
|
---|
44 | /**
|
---|
45 | * @var int[]
|
---|
46 | */
|
---|
47 | public $intVal;
|
---|
48 | protected $listValType = GoogleCloudAiplatformV1Tensor::class;
|
---|
49 | protected $listValDataType = 'array';
|
---|
50 | /**
|
---|
51 | * @var string[]
|
---|
52 | */
|
---|
53 | public $shape;
|
---|
54 | /**
|
---|
55 | * @var string[]
|
---|
56 | */
|
---|
57 | public $stringVal;
|
---|
58 | protected $structValType = GoogleCloudAiplatformV1Tensor::class;
|
---|
59 | protected $structValDataType = 'map';
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $tensorVal;
|
---|
64 | /**
|
---|
65 | * @var string[]
|
---|
66 | */
|
---|
67 | public $uint64Val;
|
---|
68 | /**
|
---|
69 | * @var string[]
|
---|
70 | */
|
---|
71 | public $uintVal;
|
---|
72 |
|
---|
73 | /**
|
---|
74 | * @param bool[]
|
---|
75 | */
|
---|
76 | public function setBoolVal($boolVal)
|
---|
77 | {
|
---|
78 | $this->boolVal = $boolVal;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return bool[]
|
---|
82 | */
|
---|
83 | public function getBoolVal()
|
---|
84 | {
|
---|
85 | return $this->boolVal;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param string[]
|
---|
89 | */
|
---|
90 | public function setBytesVal($bytesVal)
|
---|
91 | {
|
---|
92 | $this->bytesVal = $bytesVal;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return string[]
|
---|
96 | */
|
---|
97 | public function getBytesVal()
|
---|
98 | {
|
---|
99 | return $this->bytesVal;
|
---|
100 | }
|
---|
101 | public function setDoubleVal($doubleVal)
|
---|
102 | {
|
---|
103 | $this->doubleVal = $doubleVal;
|
---|
104 | }
|
---|
105 | public function getDoubleVal()
|
---|
106 | {
|
---|
107 | return $this->doubleVal;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setDtype($dtype)
|
---|
113 | {
|
---|
114 | $this->dtype = $dtype;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getDtype()
|
---|
120 | {
|
---|
121 | return $this->dtype;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param float[]
|
---|
125 | */
|
---|
126 | public function setFloatVal($floatVal)
|
---|
127 | {
|
---|
128 | $this->floatVal = $floatVal;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return float[]
|
---|
132 | */
|
---|
133 | public function getFloatVal()
|
---|
134 | {
|
---|
135 | return $this->floatVal;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string[]
|
---|
139 | */
|
---|
140 | public function setInt64Val($int64Val)
|
---|
141 | {
|
---|
142 | $this->int64Val = $int64Val;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string[]
|
---|
146 | */
|
---|
147 | public function getInt64Val()
|
---|
148 | {
|
---|
149 | return $this->int64Val;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param int[]
|
---|
153 | */
|
---|
154 | public function setIntVal($intVal)
|
---|
155 | {
|
---|
156 | $this->intVal = $intVal;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return int[]
|
---|
160 | */
|
---|
161 | public function getIntVal()
|
---|
162 | {
|
---|
163 | return $this->intVal;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param GoogleCloudAiplatformV1Tensor[]
|
---|
167 | */
|
---|
168 | public function setListVal($listVal)
|
---|
169 | {
|
---|
170 | $this->listVal = $listVal;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return GoogleCloudAiplatformV1Tensor[]
|
---|
174 | */
|
---|
175 | public function getListVal()
|
---|
176 | {
|
---|
177 | return $this->listVal;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string[]
|
---|
181 | */
|
---|
182 | public function setShape($shape)
|
---|
183 | {
|
---|
184 | $this->shape = $shape;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string[]
|
---|
188 | */
|
---|
189 | public function getShape()
|
---|
190 | {
|
---|
191 | return $this->shape;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string[]
|
---|
195 | */
|
---|
196 | public function setStringVal($stringVal)
|
---|
197 | {
|
---|
198 | $this->stringVal = $stringVal;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string[]
|
---|
202 | */
|
---|
203 | public function getStringVal()
|
---|
204 | {
|
---|
205 | return $this->stringVal;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param GoogleCloudAiplatformV1Tensor[]
|
---|
209 | */
|
---|
210 | public function setStructVal($structVal)
|
---|
211 | {
|
---|
212 | $this->structVal = $structVal;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return GoogleCloudAiplatformV1Tensor[]
|
---|
216 | */
|
---|
217 | public function getStructVal()
|
---|
218 | {
|
---|
219 | return $this->structVal;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setTensorVal($tensorVal)
|
---|
225 | {
|
---|
226 | $this->tensorVal = $tensorVal;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getTensorVal()
|
---|
232 | {
|
---|
233 | return $this->tensorVal;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string[]
|
---|
237 | */
|
---|
238 | public function setUint64Val($uint64Val)
|
---|
239 | {
|
---|
240 | $this->uint64Val = $uint64Val;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string[]
|
---|
244 | */
|
---|
245 | public function getUint64Val()
|
---|
246 | {
|
---|
247 | return $this->uint64Val;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param string[]
|
---|
251 | */
|
---|
252 | public function setUintVal($uintVal)
|
---|
253 | {
|
---|
254 | $this->uintVal = $uintVal;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return string[]
|
---|
258 | */
|
---|
259 | public function getUintVal()
|
---|
260 | {
|
---|
261 | return $this->uintVal;
|
---|
262 | }
|
---|
263 | }
|
---|
264 |
|
---|
265 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
266 | class_alias(GoogleCloudAiplatformV1Tensor::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Tensor');
|
---|