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 GoogleCloudAiplatformV1HyperparameterTuningJob extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'trials';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $createTime;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $displayName;
|
---|
31 | protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
|
---|
32 | protected $encryptionSpecDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $endTime;
|
---|
37 | protected $errorType = GoogleRpcStatus::class;
|
---|
38 | protected $errorDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string[]
|
---|
41 | */
|
---|
42 | public $labels;
|
---|
43 | /**
|
---|
44 | * @var int
|
---|
45 | */
|
---|
46 | public $maxFailedTrialCount;
|
---|
47 | /**
|
---|
48 | * @var int
|
---|
49 | */
|
---|
50 | public $maxTrialCount;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $name;
|
---|
55 | /**
|
---|
56 | * @var int
|
---|
57 | */
|
---|
58 | public $parallelTrialCount;
|
---|
59 | /**
|
---|
60 | * @var bool
|
---|
61 | */
|
---|
62 | public $satisfiesPzi;
|
---|
63 | /**
|
---|
64 | * @var bool
|
---|
65 | */
|
---|
66 | public $satisfiesPzs;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $startTime;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $state;
|
---|
75 | protected $studySpecType = GoogleCloudAiplatformV1StudySpec::class;
|
---|
76 | protected $studySpecDataType = '';
|
---|
77 | protected $trialJobSpecType = GoogleCloudAiplatformV1CustomJobSpec::class;
|
---|
78 | protected $trialJobSpecDataType = '';
|
---|
79 | protected $trialsType = GoogleCloudAiplatformV1Trial::class;
|
---|
80 | protected $trialsDataType = 'array';
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $updateTime;
|
---|
85 |
|
---|
86 | /**
|
---|
87 | * @param string
|
---|
88 | */
|
---|
89 | public function setCreateTime($createTime)
|
---|
90 | {
|
---|
91 | $this->createTime = $createTime;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @return string
|
---|
95 | */
|
---|
96 | public function getCreateTime()
|
---|
97 | {
|
---|
98 | return $this->createTime;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @param string
|
---|
102 | */
|
---|
103 | public function setDisplayName($displayName)
|
---|
104 | {
|
---|
105 | $this->displayName = $displayName;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return string
|
---|
109 | */
|
---|
110 | public function getDisplayName()
|
---|
111 | {
|
---|
112 | return $this->displayName;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param GoogleCloudAiplatformV1EncryptionSpec
|
---|
116 | */
|
---|
117 | public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
|
---|
118 | {
|
---|
119 | $this->encryptionSpec = $encryptionSpec;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return GoogleCloudAiplatformV1EncryptionSpec
|
---|
123 | */
|
---|
124 | public function getEncryptionSpec()
|
---|
125 | {
|
---|
126 | return $this->encryptionSpec;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param string
|
---|
130 | */
|
---|
131 | public function setEndTime($endTime)
|
---|
132 | {
|
---|
133 | $this->endTime = $endTime;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return string
|
---|
137 | */
|
---|
138 | public function getEndTime()
|
---|
139 | {
|
---|
140 | return $this->endTime;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param GoogleRpcStatus
|
---|
144 | */
|
---|
145 | public function setError(GoogleRpcStatus $error)
|
---|
146 | {
|
---|
147 | $this->error = $error;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return GoogleRpcStatus
|
---|
151 | */
|
---|
152 | public function getError()
|
---|
153 | {
|
---|
154 | return $this->error;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param string[]
|
---|
158 | */
|
---|
159 | public function setLabels($labels)
|
---|
160 | {
|
---|
161 | $this->labels = $labels;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return string[]
|
---|
165 | */
|
---|
166 | public function getLabels()
|
---|
167 | {
|
---|
168 | return $this->labels;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param int
|
---|
172 | */
|
---|
173 | public function setMaxFailedTrialCount($maxFailedTrialCount)
|
---|
174 | {
|
---|
175 | $this->maxFailedTrialCount = $maxFailedTrialCount;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return int
|
---|
179 | */
|
---|
180 | public function getMaxFailedTrialCount()
|
---|
181 | {
|
---|
182 | return $this->maxFailedTrialCount;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param int
|
---|
186 | */
|
---|
187 | public function setMaxTrialCount($maxTrialCount)
|
---|
188 | {
|
---|
189 | $this->maxTrialCount = $maxTrialCount;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return int
|
---|
193 | */
|
---|
194 | public function getMaxTrialCount()
|
---|
195 | {
|
---|
196 | return $this->maxTrialCount;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param string
|
---|
200 | */
|
---|
201 | public function setName($name)
|
---|
202 | {
|
---|
203 | $this->name = $name;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return string
|
---|
207 | */
|
---|
208 | public function getName()
|
---|
209 | {
|
---|
210 | return $this->name;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param int
|
---|
214 | */
|
---|
215 | public function setParallelTrialCount($parallelTrialCount)
|
---|
216 | {
|
---|
217 | $this->parallelTrialCount = $parallelTrialCount;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return int
|
---|
221 | */
|
---|
222 | public function getParallelTrialCount()
|
---|
223 | {
|
---|
224 | return $this->parallelTrialCount;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param bool
|
---|
228 | */
|
---|
229 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
230 | {
|
---|
231 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return bool
|
---|
235 | */
|
---|
236 | public function getSatisfiesPzi()
|
---|
237 | {
|
---|
238 | return $this->satisfiesPzi;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param bool
|
---|
242 | */
|
---|
243 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
244 | {
|
---|
245 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return bool
|
---|
249 | */
|
---|
250 | public function getSatisfiesPzs()
|
---|
251 | {
|
---|
252 | return $this->satisfiesPzs;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param string
|
---|
256 | */
|
---|
257 | public function setStartTime($startTime)
|
---|
258 | {
|
---|
259 | $this->startTime = $startTime;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return string
|
---|
263 | */
|
---|
264 | public function getStartTime()
|
---|
265 | {
|
---|
266 | return $this->startTime;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param string
|
---|
270 | */
|
---|
271 | public function setState($state)
|
---|
272 | {
|
---|
273 | $this->state = $state;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return string
|
---|
277 | */
|
---|
278 | public function getState()
|
---|
279 | {
|
---|
280 | return $this->state;
|
---|
281 | }
|
---|
282 | /**
|
---|
283 | * @param GoogleCloudAiplatformV1StudySpec
|
---|
284 | */
|
---|
285 | public function setStudySpec(GoogleCloudAiplatformV1StudySpec $studySpec)
|
---|
286 | {
|
---|
287 | $this->studySpec = $studySpec;
|
---|
288 | }
|
---|
289 | /**
|
---|
290 | * @return GoogleCloudAiplatformV1StudySpec
|
---|
291 | */
|
---|
292 | public function getStudySpec()
|
---|
293 | {
|
---|
294 | return $this->studySpec;
|
---|
295 | }
|
---|
296 | /**
|
---|
297 | * @param GoogleCloudAiplatformV1CustomJobSpec
|
---|
298 | */
|
---|
299 | public function setTrialJobSpec(GoogleCloudAiplatformV1CustomJobSpec $trialJobSpec)
|
---|
300 | {
|
---|
301 | $this->trialJobSpec = $trialJobSpec;
|
---|
302 | }
|
---|
303 | /**
|
---|
304 | * @return GoogleCloudAiplatformV1CustomJobSpec
|
---|
305 | */
|
---|
306 | public function getTrialJobSpec()
|
---|
307 | {
|
---|
308 | return $this->trialJobSpec;
|
---|
309 | }
|
---|
310 | /**
|
---|
311 | * @param GoogleCloudAiplatformV1Trial[]
|
---|
312 | */
|
---|
313 | public function setTrials($trials)
|
---|
314 | {
|
---|
315 | $this->trials = $trials;
|
---|
316 | }
|
---|
317 | /**
|
---|
318 | * @return GoogleCloudAiplatformV1Trial[]
|
---|
319 | */
|
---|
320 | public function getTrials()
|
---|
321 | {
|
---|
322 | return $this->trials;
|
---|
323 | }
|
---|
324 | /**
|
---|
325 | * @param string
|
---|
326 | */
|
---|
327 | public function setUpdateTime($updateTime)
|
---|
328 | {
|
---|
329 | $this->updateTime = $updateTime;
|
---|
330 | }
|
---|
331 | /**
|
---|
332 | * @return string
|
---|
333 | */
|
---|
334 | public function getUpdateTime()
|
---|
335 | {
|
---|
336 | return $this->updateTime;
|
---|
337 | }
|
---|
338 | }
|
---|
339 |
|
---|
340 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
341 | class_alias(GoogleCloudAiplatformV1HyperparameterTuningJob::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob');
|
---|