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
18namespace Google\Service\Bigquery;
19
20class Model extends \Google\Collection
21{
22  protected $collection_key = 'trainingRuns';
23  /**
24   * @var string
25   */
26  public $bestTrialId;
27  /**
28   * @var string
29   */
30  public $creationTime;
31  /**
32   * @var string
33   */
34  public $defaultTrialId;
35  /**
36   * @var string
37   */
38  public $description;
39  protected $encryptionConfigurationType = EncryptionConfiguration::class;
40  protected $encryptionConfigurationDataType = '';
41  /**
42   * @var string
43   */
44  public $etag;
45  /**
46   * @var string
47   */
48  public $expirationTime;
49  protected $featureColumnsType = StandardSqlField::class;
50  protected $featureColumnsDataType = 'array';
51  /**
52   * @var string
53   */
54  public $friendlyName;
55  protected $hparamSearchSpacesType = HparamSearchSpaces::class;
56  protected $hparamSearchSpacesDataType = '';
57  protected $hparamTrialsType = HparamTuningTrial::class;
58  protected $hparamTrialsDataType = 'array';
59  protected $labelColumnsType = StandardSqlField::class;
60  protected $labelColumnsDataType = 'array';
61  /**
62   * @var string[]
63   */
64  public $labels;
65  /**
66   * @var string
67   */
68  public $lastModifiedTime;
69  /**
70   * @var string
71   */
72  public $location;
73  protected $modelReferenceType = ModelReference::class;
74  protected $modelReferenceDataType = '';
75  /**
76   * @var string
77   */
78  public $modelType;
79  /**
80   * @var string[]
81   */
82  public $optimalTrialIds;
83  protected $trainingRunsType = TrainingRun::class;
84  protected $trainingRunsDataType = 'array';
85
86  /**
87   * @param string
88   */
89  public function setBestTrialId($bestTrialId)
90  {
91    $this->bestTrialId = $bestTrialId;
92  }
93  /**
94   * @return string
95   */
96  public function getBestTrialId()
97  {
98    return $this->bestTrialId;
99  }
100  /**
101   * @param string
102   */
103  public function setCreationTime($creationTime)
104  {
105    $this->creationTime = $creationTime;
106  }
107  /**
108   * @return string
109   */
110  public function getCreationTime()
111  {
112    return $this->creationTime;
113  }
114  /**
115   * @param string
116   */
117  public function setDefaultTrialId($defaultTrialId)
118  {
119    $this->defaultTrialId = $defaultTrialId;
120  }
121  /**
122   * @return string
123   */
124  public function getDefaultTrialId()
125  {
126    return $this->defaultTrialId;
127  }
128  /**
129   * @param string
130   */
131  public function setDescription($description)
132  {
133    $this->description = $description;
134  }
135  /**
136   * @return string
137   */
138  public function getDescription()
139  {
140    return $this->description;
141  }
142  /**
143   * @param EncryptionConfiguration
144   */
145  public function setEncryptionConfiguration(EncryptionConfiguration $encryptionConfiguration)
146  {
147    $this->encryptionConfiguration = $encryptionConfiguration;
148  }
149  /**
150   * @return EncryptionConfiguration
151   */
152  public function getEncryptionConfiguration()
153  {
154    return $this->encryptionConfiguration;
155  }
156  /**
157   * @param string
158   */
159  public function setEtag($etag)
160  {
161    $this->etag = $etag;
162  }
163  /**
164   * @return string
165   */
166  public function getEtag()
167  {
168    return $this->etag;
169  }
170  /**
171   * @param string
172   */
173  public function setExpirationTime($expirationTime)
174  {
175    $this->expirationTime = $expirationTime;
176  }
177  /**
178   * @return string
179   */
180  public function getExpirationTime()
181  {
182    return $this->expirationTime;
183  }
184  /**
185   * @param StandardSqlField[]
186   */
187  public function setFeatureColumns($featureColumns)
188  {
189    $this->featureColumns = $featureColumns;
190  }
191  /**
192   * @return StandardSqlField[]
193   */
194  public function getFeatureColumns()
195  {
196    return $this->featureColumns;
197  }
198  /**
199   * @param string
200   */
201  public function setFriendlyName($friendlyName)
202  {
203    $this->friendlyName = $friendlyName;
204  }
205  /**
206   * @return string
207   */
208  public function getFriendlyName()
209  {
210    return $this->friendlyName;
211  }
212  /**
213   * @param HparamSearchSpaces
214   */
215  public function setHparamSearchSpaces(HparamSearchSpaces $hparamSearchSpaces)
216  {
217    $this->hparamSearchSpaces = $hparamSearchSpaces;
218  }
219  /**
220   * @return HparamSearchSpaces
221   */
222  public function getHparamSearchSpaces()
223  {
224    return $this->hparamSearchSpaces;
225  }
226  /**
227   * @param HparamTuningTrial[]
228   */
229  public function setHparamTrials($hparamTrials)
230  {
231    $this->hparamTrials = $hparamTrials;
232  }
233  /**
234   * @return HparamTuningTrial[]
235   */
236  public function getHparamTrials()
237  {
238    return $this->hparamTrials;
239  }
240  /**
241   * @param StandardSqlField[]
242   */
243  public function setLabelColumns($labelColumns)
244  {
245    $this->labelColumns = $labelColumns;
246  }
247  /**
248   * @return StandardSqlField[]
249   */
250  public function getLabelColumns()
251  {
252    return $this->labelColumns;
253  }
254  /**
255   * @param string[]
256   */
257  public function setLabels($labels)
258  {
259    $this->labels = $labels;
260  }
261  /**
262   * @return string[]
263   */
264  public function getLabels()
265  {
266    return $this->labels;
267  }
268  /**
269   * @param string
270   */
271  public function setLastModifiedTime($lastModifiedTime)
272  {
273    $this->lastModifiedTime = $lastModifiedTime;
274  }
275  /**
276   * @return string
277   */
278  public function getLastModifiedTime()
279  {
280    return $this->lastModifiedTime;
281  }
282  /**
283   * @param string
284   */
285  public function setLocation($location)
286  {
287    $this->location = $location;
288  }
289  /**
290   * @return string
291   */
292  public function getLocation()
293  {
294    return $this->location;
295  }
296  /**
297   * @param ModelReference
298   */
299  public function setModelReference(ModelReference $modelReference)
300  {
301    $this->modelReference = $modelReference;
302  }
303  /**
304   * @return ModelReference
305   */
306  public function getModelReference()
307  {
308    return $this->modelReference;
309  }
310  /**
311   * @param string
312   */
313  public function setModelType($modelType)
314  {
315    $this->modelType = $modelType;
316  }
317  /**
318   * @return string
319   */
320  public function getModelType()
321  {
322    return $this->modelType;
323  }
324  /**
325   * @param string[]
326   */
327  public function setOptimalTrialIds($optimalTrialIds)
328  {
329    $this->optimalTrialIds = $optimalTrialIds;
330  }
331  /**
332   * @return string[]
333   */
334  public function getOptimalTrialIds()
335  {
336    return $this->optimalTrialIds;
337  }
338  /**
339   * @param TrainingRun[]
340   */
341  public function setTrainingRuns($trainingRuns)
342  {
343    $this->trainingRuns = $trainingRuns;
344  }
345  /**
346   * @return TrainingRun[]
347   */
348  public function getTrainingRuns()
349  {
350    return $this->trainingRuns;
351  }
352}
353
354// Adding a class alias for backwards compatibility with the previous class name.
355class_alias(Model::class, 'Google_Service_Bigquery_Model');
356