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 GoogleCloudAiplatformV1TuningJob extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $baseModel;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $createTime;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $description;
|
---|
34 | protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
|
---|
35 | protected $encryptionSpecDataType = '';
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $endTime;
|
---|
40 | protected $errorType = GoogleRpcStatus::class;
|
---|
41 | protected $errorDataType = '';
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $experiment;
|
---|
46 | /**
|
---|
47 | * @var string[]
|
---|
48 | */
|
---|
49 | public $labels;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $name;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $serviceAccount;
|
---|
58 | /**
|
---|
59 | * @var string
|
---|
60 | */
|
---|
61 | public $startTime;
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $state;
|
---|
66 | protected $supervisedTuningSpecType = GoogleCloudAiplatformV1SupervisedTuningSpec::class;
|
---|
67 | protected $supervisedTuningSpecDataType = '';
|
---|
68 | protected $tunedModelType = GoogleCloudAiplatformV1TunedModel::class;
|
---|
69 | protected $tunedModelDataType = '';
|
---|
70 | /**
|
---|
71 | * @var string
|
---|
72 | */
|
---|
73 | public $tunedModelDisplayName;
|
---|
74 | protected $tuningDataStatsType = GoogleCloudAiplatformV1TuningDataStats::class;
|
---|
75 | protected $tuningDataStatsDataType = '';
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $updateTime;
|
---|
80 |
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setBaseModel($baseModel)
|
---|
85 | {
|
---|
86 | $this->baseModel = $baseModel;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getBaseModel()
|
---|
92 | {
|
---|
93 | return $this->baseModel;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param string
|
---|
97 | */
|
---|
98 | public function setCreateTime($createTime)
|
---|
99 | {
|
---|
100 | $this->createTime = $createTime;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return string
|
---|
104 | */
|
---|
105 | public function getCreateTime()
|
---|
106 | {
|
---|
107 | return $this->createTime;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setDescription($description)
|
---|
113 | {
|
---|
114 | $this->description = $description;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getDescription()
|
---|
120 | {
|
---|
121 | return $this->description;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param GoogleCloudAiplatformV1EncryptionSpec
|
---|
125 | */
|
---|
126 | public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
|
---|
127 | {
|
---|
128 | $this->encryptionSpec = $encryptionSpec;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return GoogleCloudAiplatformV1EncryptionSpec
|
---|
132 | */
|
---|
133 | public function getEncryptionSpec()
|
---|
134 | {
|
---|
135 | return $this->encryptionSpec;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setEndTime($endTime)
|
---|
141 | {
|
---|
142 | $this->endTime = $endTime;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getEndTime()
|
---|
148 | {
|
---|
149 | return $this->endTime;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param GoogleRpcStatus
|
---|
153 | */
|
---|
154 | public function setError(GoogleRpcStatus $error)
|
---|
155 | {
|
---|
156 | $this->error = $error;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return GoogleRpcStatus
|
---|
160 | */
|
---|
161 | public function getError()
|
---|
162 | {
|
---|
163 | return $this->error;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param string
|
---|
167 | */
|
---|
168 | public function setExperiment($experiment)
|
---|
169 | {
|
---|
170 | $this->experiment = $experiment;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return string
|
---|
174 | */
|
---|
175 | public function getExperiment()
|
---|
176 | {
|
---|
177 | return $this->experiment;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string[]
|
---|
181 | */
|
---|
182 | public function setLabels($labels)
|
---|
183 | {
|
---|
184 | $this->labels = $labels;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string[]
|
---|
188 | */
|
---|
189 | public function getLabels()
|
---|
190 | {
|
---|
191 | return $this->labels;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string
|
---|
195 | */
|
---|
196 | public function setName($name)
|
---|
197 | {
|
---|
198 | $this->name = $name;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string
|
---|
202 | */
|
---|
203 | public function getName()
|
---|
204 | {
|
---|
205 | return $this->name;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param string
|
---|
209 | */
|
---|
210 | public function setServiceAccount($serviceAccount)
|
---|
211 | {
|
---|
212 | $this->serviceAccount = $serviceAccount;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return string
|
---|
216 | */
|
---|
217 | public function getServiceAccount()
|
---|
218 | {
|
---|
219 | return $this->serviceAccount;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setStartTime($startTime)
|
---|
225 | {
|
---|
226 | $this->startTime = $startTime;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getStartTime()
|
---|
232 | {
|
---|
233 | return $this->startTime;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string
|
---|
237 | */
|
---|
238 | public function setState($state)
|
---|
239 | {
|
---|
240 | $this->state = $state;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string
|
---|
244 | */
|
---|
245 | public function getState()
|
---|
246 | {
|
---|
247 | return $this->state;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param GoogleCloudAiplatformV1SupervisedTuningSpec
|
---|
251 | */
|
---|
252 | public function setSupervisedTuningSpec(GoogleCloudAiplatformV1SupervisedTuningSpec $supervisedTuningSpec)
|
---|
253 | {
|
---|
254 | $this->supervisedTuningSpec = $supervisedTuningSpec;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return GoogleCloudAiplatformV1SupervisedTuningSpec
|
---|
258 | */
|
---|
259 | public function getSupervisedTuningSpec()
|
---|
260 | {
|
---|
261 | return $this->supervisedTuningSpec;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param GoogleCloudAiplatformV1TunedModel
|
---|
265 | */
|
---|
266 | public function setTunedModel(GoogleCloudAiplatformV1TunedModel $tunedModel)
|
---|
267 | {
|
---|
268 | $this->tunedModel = $tunedModel;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return GoogleCloudAiplatformV1TunedModel
|
---|
272 | */
|
---|
273 | public function getTunedModel()
|
---|
274 | {
|
---|
275 | return $this->tunedModel;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param string
|
---|
279 | */
|
---|
280 | public function setTunedModelDisplayName($tunedModelDisplayName)
|
---|
281 | {
|
---|
282 | $this->tunedModelDisplayName = $tunedModelDisplayName;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return string
|
---|
286 | */
|
---|
287 | public function getTunedModelDisplayName()
|
---|
288 | {
|
---|
289 | return $this->tunedModelDisplayName;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param GoogleCloudAiplatformV1TuningDataStats
|
---|
293 | */
|
---|
294 | public function setTuningDataStats(GoogleCloudAiplatformV1TuningDataStats $tuningDataStats)
|
---|
295 | {
|
---|
296 | $this->tuningDataStats = $tuningDataStats;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return GoogleCloudAiplatformV1TuningDataStats
|
---|
300 | */
|
---|
301 | public function getTuningDataStats()
|
---|
302 | {
|
---|
303 | return $this->tuningDataStats;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @param string
|
---|
307 | */
|
---|
308 | public function setUpdateTime($updateTime)
|
---|
309 | {
|
---|
310 | $this->updateTime = $updateTime;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @return string
|
---|
314 | */
|
---|
315 | public function getUpdateTime()
|
---|
316 | {
|
---|
317 | return $this->updateTime;
|
---|
318 | }
|
---|
319 | }
|
---|
320 |
|
---|
321 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
322 | class_alias(GoogleCloudAiplatformV1TuningJob::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1TuningJob');
|
---|