[e3d4e0a] | 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\Bigquery;
|
---|
| 19 |
|
---|
| 20 | class Model extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'transformColumns';
|
---|
| 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 $remoteModelInfoType = RemoteModelInfo::class;
|
---|
| 84 | protected $remoteModelInfoDataType = '';
|
---|
| 85 | protected $trainingRunsType = TrainingRun::class;
|
---|
| 86 | protected $trainingRunsDataType = 'array';
|
---|
| 87 | protected $transformColumnsType = TransformColumn::class;
|
---|
| 88 | protected $transformColumnsDataType = 'array';
|
---|
| 89 |
|
---|
| 90 | /**
|
---|
| 91 | * @param string
|
---|
| 92 | */
|
---|
| 93 | public function setBestTrialId($bestTrialId)
|
---|
| 94 | {
|
---|
| 95 | $this->bestTrialId = $bestTrialId;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return string
|
---|
| 99 | */
|
---|
| 100 | public function getBestTrialId()
|
---|
| 101 | {
|
---|
| 102 | return $this->bestTrialId;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param string
|
---|
| 106 | */
|
---|
| 107 | public function setCreationTime($creationTime)
|
---|
| 108 | {
|
---|
| 109 | $this->creationTime = $creationTime;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return string
|
---|
| 113 | */
|
---|
| 114 | public function getCreationTime()
|
---|
| 115 | {
|
---|
| 116 | return $this->creationTime;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param string
|
---|
| 120 | */
|
---|
| 121 | public function setDefaultTrialId($defaultTrialId)
|
---|
| 122 | {
|
---|
| 123 | $this->defaultTrialId = $defaultTrialId;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return string
|
---|
| 127 | */
|
---|
| 128 | public function getDefaultTrialId()
|
---|
| 129 | {
|
---|
| 130 | return $this->defaultTrialId;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param string
|
---|
| 134 | */
|
---|
| 135 | public function setDescription($description)
|
---|
| 136 | {
|
---|
| 137 | $this->description = $description;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return string
|
---|
| 141 | */
|
---|
| 142 | public function getDescription()
|
---|
| 143 | {
|
---|
| 144 | return $this->description;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param EncryptionConfiguration
|
---|
| 148 | */
|
---|
| 149 | public function setEncryptionConfiguration(EncryptionConfiguration $encryptionConfiguration)
|
---|
| 150 | {
|
---|
| 151 | $this->encryptionConfiguration = $encryptionConfiguration;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return EncryptionConfiguration
|
---|
| 155 | */
|
---|
| 156 | public function getEncryptionConfiguration()
|
---|
| 157 | {
|
---|
| 158 | return $this->encryptionConfiguration;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setEtag($etag)
|
---|
| 164 | {
|
---|
| 165 | $this->etag = $etag;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getEtag()
|
---|
| 171 | {
|
---|
| 172 | return $this->etag;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param string
|
---|
| 176 | */
|
---|
| 177 | public function setExpirationTime($expirationTime)
|
---|
| 178 | {
|
---|
| 179 | $this->expirationTime = $expirationTime;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return string
|
---|
| 183 | */
|
---|
| 184 | public function getExpirationTime()
|
---|
| 185 | {
|
---|
| 186 | return $this->expirationTime;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param StandardSqlField[]
|
---|
| 190 | */
|
---|
| 191 | public function setFeatureColumns($featureColumns)
|
---|
| 192 | {
|
---|
| 193 | $this->featureColumns = $featureColumns;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return StandardSqlField[]
|
---|
| 197 | */
|
---|
| 198 | public function getFeatureColumns()
|
---|
| 199 | {
|
---|
| 200 | return $this->featureColumns;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param string
|
---|
| 204 | */
|
---|
| 205 | public function setFriendlyName($friendlyName)
|
---|
| 206 | {
|
---|
| 207 | $this->friendlyName = $friendlyName;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return string
|
---|
| 211 | */
|
---|
| 212 | public function getFriendlyName()
|
---|
| 213 | {
|
---|
| 214 | return $this->friendlyName;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @param HparamSearchSpaces
|
---|
| 218 | */
|
---|
| 219 | public function setHparamSearchSpaces(HparamSearchSpaces $hparamSearchSpaces)
|
---|
| 220 | {
|
---|
| 221 | $this->hparamSearchSpaces = $hparamSearchSpaces;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @return HparamSearchSpaces
|
---|
| 225 | */
|
---|
| 226 | public function getHparamSearchSpaces()
|
---|
| 227 | {
|
---|
| 228 | return $this->hparamSearchSpaces;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @param HparamTuningTrial[]
|
---|
| 232 | */
|
---|
| 233 | public function setHparamTrials($hparamTrials)
|
---|
| 234 | {
|
---|
| 235 | $this->hparamTrials = $hparamTrials;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @return HparamTuningTrial[]
|
---|
| 239 | */
|
---|
| 240 | public function getHparamTrials()
|
---|
| 241 | {
|
---|
| 242 | return $this->hparamTrials;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @param StandardSqlField[]
|
---|
| 246 | */
|
---|
| 247 | public function setLabelColumns($labelColumns)
|
---|
| 248 | {
|
---|
| 249 | $this->labelColumns = $labelColumns;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @return StandardSqlField[]
|
---|
| 253 | */
|
---|
| 254 | public function getLabelColumns()
|
---|
| 255 | {
|
---|
| 256 | return $this->labelColumns;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @param string[]
|
---|
| 260 | */
|
---|
| 261 | public function setLabels($labels)
|
---|
| 262 | {
|
---|
| 263 | $this->labels = $labels;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @return string[]
|
---|
| 267 | */
|
---|
| 268 | public function getLabels()
|
---|
| 269 | {
|
---|
| 270 | return $this->labels;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @param string
|
---|
| 274 | */
|
---|
| 275 | public function setLastModifiedTime($lastModifiedTime)
|
---|
| 276 | {
|
---|
| 277 | $this->lastModifiedTime = $lastModifiedTime;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @return string
|
---|
| 281 | */
|
---|
| 282 | public function getLastModifiedTime()
|
---|
| 283 | {
|
---|
| 284 | return $this->lastModifiedTime;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @param string
|
---|
| 288 | */
|
---|
| 289 | public function setLocation($location)
|
---|
| 290 | {
|
---|
| 291 | $this->location = $location;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @return string
|
---|
| 295 | */
|
---|
| 296 | public function getLocation()
|
---|
| 297 | {
|
---|
| 298 | return $this->location;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @param ModelReference
|
---|
| 302 | */
|
---|
| 303 | public function setModelReference(ModelReference $modelReference)
|
---|
| 304 | {
|
---|
| 305 | $this->modelReference = $modelReference;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @return ModelReference
|
---|
| 309 | */
|
---|
| 310 | public function getModelReference()
|
---|
| 311 | {
|
---|
| 312 | return $this->modelReference;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @param string
|
---|
| 316 | */
|
---|
| 317 | public function setModelType($modelType)
|
---|
| 318 | {
|
---|
| 319 | $this->modelType = $modelType;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @return string
|
---|
| 323 | */
|
---|
| 324 | public function getModelType()
|
---|
| 325 | {
|
---|
| 326 | return $this->modelType;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @param string[]
|
---|
| 330 | */
|
---|
| 331 | public function setOptimalTrialIds($optimalTrialIds)
|
---|
| 332 | {
|
---|
| 333 | $this->optimalTrialIds = $optimalTrialIds;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @return string[]
|
---|
| 337 | */
|
---|
| 338 | public function getOptimalTrialIds()
|
---|
| 339 | {
|
---|
| 340 | return $this->optimalTrialIds;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @param RemoteModelInfo
|
---|
| 344 | */
|
---|
| 345 | public function setRemoteModelInfo(RemoteModelInfo $remoteModelInfo)
|
---|
| 346 | {
|
---|
| 347 | $this->remoteModelInfo = $remoteModelInfo;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @return RemoteModelInfo
|
---|
| 351 | */
|
---|
| 352 | public function getRemoteModelInfo()
|
---|
| 353 | {
|
---|
| 354 | return $this->remoteModelInfo;
|
---|
| 355 | }
|
---|
| 356 | /**
|
---|
| 357 | * @param TrainingRun[]
|
---|
| 358 | */
|
---|
| 359 | public function setTrainingRuns($trainingRuns)
|
---|
| 360 | {
|
---|
| 361 | $this->trainingRuns = $trainingRuns;
|
---|
| 362 | }
|
---|
| 363 | /**
|
---|
| 364 | * @return TrainingRun[]
|
---|
| 365 | */
|
---|
| 366 | public function getTrainingRuns()
|
---|
| 367 | {
|
---|
| 368 | return $this->trainingRuns;
|
---|
| 369 | }
|
---|
| 370 | /**
|
---|
| 371 | * @param TransformColumn[]
|
---|
| 372 | */
|
---|
| 373 | public function setTransformColumns($transformColumns)
|
---|
| 374 | {
|
---|
| 375 | $this->transformColumns = $transformColumns;
|
---|
| 376 | }
|
---|
| 377 | /**
|
---|
| 378 | * @return TransformColumn[]
|
---|
| 379 | */
|
---|
| 380 | public function getTransformColumns()
|
---|
| 381 | {
|
---|
| 382 | return $this->transformColumns;
|
---|
| 383 | }
|
---|
| 384 | }
|
---|
| 385 |
|
---|
| 386 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 387 | class_alias(Model::class, 'Google_Service_Bigquery_Model');
|
---|