<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Bigquery;

class HparamSearchSpaces extends \Google\Model
{
  /**
   * @var StringHparamSearchSpace
   */
  public $activationFn;
  protected $activationFnType = StringHparamSearchSpace::class;
  protected $activationFnDataType = '';
  /**
   * @var IntHparamSearchSpace
   */
  public $batchSize;
  protected $batchSizeType = IntHparamSearchSpace::class;
  protected $batchSizeDataType = '';
  /**
   * @var StringHparamSearchSpace
   */
  public $boosterType;
  protected $boosterTypeType = StringHparamSearchSpace::class;
  protected $boosterTypeDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $colsampleBylevel;
  protected $colsampleBylevelType = DoubleHparamSearchSpace::class;
  protected $colsampleBylevelDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $colsampleBynode;
  protected $colsampleBynodeType = DoubleHparamSearchSpace::class;
  protected $colsampleBynodeDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $colsampleBytree;
  protected $colsampleBytreeType = DoubleHparamSearchSpace::class;
  protected $colsampleBytreeDataType = '';
  /**
   * @var StringHparamSearchSpace
   */
  public $dartNormalizeType;
  protected $dartNormalizeTypeType = StringHparamSearchSpace::class;
  protected $dartNormalizeTypeDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $dropout;
  protected $dropoutType = DoubleHparamSearchSpace::class;
  protected $dropoutDataType = '';
  /**
   * @var IntArrayHparamSearchSpace
   */
  public $hiddenUnits;
  protected $hiddenUnitsType = IntArrayHparamSearchSpace::class;
  protected $hiddenUnitsDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $l1Reg;
  protected $l1RegType = DoubleHparamSearchSpace::class;
  protected $l1RegDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $l2Reg;
  protected $l2RegType = DoubleHparamSearchSpace::class;
  protected $l2RegDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $learnRate;
  protected $learnRateType = DoubleHparamSearchSpace::class;
  protected $learnRateDataType = '';
  /**
   * @var IntHparamSearchSpace
   */
  public $maxTreeDepth;
  protected $maxTreeDepthType = IntHparamSearchSpace::class;
  protected $maxTreeDepthDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $minSplitLoss;
  protected $minSplitLossType = DoubleHparamSearchSpace::class;
  protected $minSplitLossDataType = '';
  /**
   * @var IntHparamSearchSpace
   */
  public $minTreeChildWeight;
  protected $minTreeChildWeightType = IntHparamSearchSpace::class;
  protected $minTreeChildWeightDataType = '';
  /**
   * @var IntHparamSearchSpace
   */
  public $numClusters;
  protected $numClustersType = IntHparamSearchSpace::class;
  protected $numClustersDataType = '';
  /**
   * @var IntHparamSearchSpace
   */
  public $numFactors;
  protected $numFactorsType = IntHparamSearchSpace::class;
  protected $numFactorsDataType = '';
  /**
   * @var IntHparamSearchSpace
   */
  public $numParallelTree;
  protected $numParallelTreeType = IntHparamSearchSpace::class;
  protected $numParallelTreeDataType = '';
  /**
   * @var StringHparamSearchSpace
   */
  public $optimizer;
  protected $optimizerType = StringHparamSearchSpace::class;
  protected $optimizerDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $subsample;
  protected $subsampleType = DoubleHparamSearchSpace::class;
  protected $subsampleDataType = '';
  /**
   * @var StringHparamSearchSpace
   */
  public $treeMethod;
  protected $treeMethodType = StringHparamSearchSpace::class;
  protected $treeMethodDataType = '';
  /**
   * @var DoubleHparamSearchSpace
   */
  public $walsAlpha;
  protected $walsAlphaType = DoubleHparamSearchSpace::class;
  protected $walsAlphaDataType = '';

  /**
   * @param StringHparamSearchSpace
   */
  public function setActivationFn(StringHparamSearchSpace $activationFn)
  {
    $this->activationFn = $activationFn;
  }
  /**
   * @return StringHparamSearchSpace
   */
  public function getActivationFn()
  {
    return $this->activationFn;
  }
  /**
   * @param IntHparamSearchSpace
   */
  public function setBatchSize(IntHparamSearchSpace $batchSize)
  {
    $this->batchSize = $batchSize;
  }
  /**
   * @return IntHparamSearchSpace
   */
  public function getBatchSize()
  {
    return $this->batchSize;
  }
  /**
   * @param StringHparamSearchSpace
   */
  public function setBoosterType(StringHparamSearchSpace $boosterType)
  {
    $this->boosterType = $boosterType;
  }
  /**
   * @return StringHparamSearchSpace
   */
  public function getBoosterType()
  {
    return $this->boosterType;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setColsampleBylevel(DoubleHparamSearchSpace $colsampleBylevel)
  {
    $this->colsampleBylevel = $colsampleBylevel;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getColsampleBylevel()
  {
    return $this->colsampleBylevel;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setColsampleBynode(DoubleHparamSearchSpace $colsampleBynode)
  {
    $this->colsampleBynode = $colsampleBynode;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getColsampleBynode()
  {
    return $this->colsampleBynode;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setColsampleBytree(DoubleHparamSearchSpace $colsampleBytree)
  {
    $this->colsampleBytree = $colsampleBytree;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getColsampleBytree()
  {
    return $this->colsampleBytree;
  }
  /**
   * @param StringHparamSearchSpace
   */
  public function setDartNormalizeType(StringHparamSearchSpace $dartNormalizeType)
  {
    $this->dartNormalizeType = $dartNormalizeType;
  }
  /**
   * @return StringHparamSearchSpace
   */
  public function getDartNormalizeType()
  {
    return $this->dartNormalizeType;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setDropout(DoubleHparamSearchSpace $dropout)
  {
    $this->dropout = $dropout;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getDropout()
  {
    return $this->dropout;
  }
  /**
   * @param IntArrayHparamSearchSpace
   */
  public function setHiddenUnits(IntArrayHparamSearchSpace $hiddenUnits)
  {
    $this->hiddenUnits = $hiddenUnits;
  }
  /**
   * @return IntArrayHparamSearchSpace
   */
  public function getHiddenUnits()
  {
    return $this->hiddenUnits;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setL1Reg(DoubleHparamSearchSpace $l1Reg)
  {
    $this->l1Reg = $l1Reg;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getL1Reg()
  {
    return $this->l1Reg;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setL2Reg(DoubleHparamSearchSpace $l2Reg)
  {
    $this->l2Reg = $l2Reg;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getL2Reg()
  {
    return $this->l2Reg;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setLearnRate(DoubleHparamSearchSpace $learnRate)
  {
    $this->learnRate = $learnRate;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getLearnRate()
  {
    return $this->learnRate;
  }
  /**
   * @param IntHparamSearchSpace
   */
  public function setMaxTreeDepth(IntHparamSearchSpace $maxTreeDepth)
  {
    $this->maxTreeDepth = $maxTreeDepth;
  }
  /**
   * @return IntHparamSearchSpace
   */
  public function getMaxTreeDepth()
  {
    return $this->maxTreeDepth;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setMinSplitLoss(DoubleHparamSearchSpace $minSplitLoss)
  {
    $this->minSplitLoss = $minSplitLoss;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getMinSplitLoss()
  {
    return $this->minSplitLoss;
  }
  /**
   * @param IntHparamSearchSpace
   */
  public function setMinTreeChildWeight(IntHparamSearchSpace $minTreeChildWeight)
  {
    $this->minTreeChildWeight = $minTreeChildWeight;
  }
  /**
   * @return IntHparamSearchSpace
   */
  public function getMinTreeChildWeight()
  {
    return $this->minTreeChildWeight;
  }
  /**
   * @param IntHparamSearchSpace
   */
  public function setNumClusters(IntHparamSearchSpace $numClusters)
  {
    $this->numClusters = $numClusters;
  }
  /**
   * @return IntHparamSearchSpace
   */
  public function getNumClusters()
  {
    return $this->numClusters;
  }
  /**
   * @param IntHparamSearchSpace
   */
  public function setNumFactors(IntHparamSearchSpace $numFactors)
  {
    $this->numFactors = $numFactors;
  }
  /**
   * @return IntHparamSearchSpace
   */
  public function getNumFactors()
  {
    return $this->numFactors;
  }
  /**
   * @param IntHparamSearchSpace
   */
  public function setNumParallelTree(IntHparamSearchSpace $numParallelTree)
  {
    $this->numParallelTree = $numParallelTree;
  }
  /**
   * @return IntHparamSearchSpace
   */
  public function getNumParallelTree()
  {
    return $this->numParallelTree;
  }
  /**
   * @param StringHparamSearchSpace
   */
  public function setOptimizer(StringHparamSearchSpace $optimizer)
  {
    $this->optimizer = $optimizer;
  }
  /**
   * @return StringHparamSearchSpace
   */
  public function getOptimizer()
  {
    return $this->optimizer;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setSubsample(DoubleHparamSearchSpace $subsample)
  {
    $this->subsample = $subsample;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getSubsample()
  {
    return $this->subsample;
  }
  /**
   * @param StringHparamSearchSpace
   */
  public function setTreeMethod(StringHparamSearchSpace $treeMethod)
  {
    $this->treeMethod = $treeMethod;
  }
  /**
   * @return StringHparamSearchSpace
   */
  public function getTreeMethod()
  {
    return $this->treeMethod;
  }
  /**
   * @param DoubleHparamSearchSpace
   */
  public function setWalsAlpha(DoubleHparamSearchSpace $walsAlpha)
  {
    $this->walsAlpha = $walsAlpha;
  }
  /**
   * @return DoubleHparamSearchSpace
   */
  public function getWalsAlpha()
  {
    return $this->walsAlpha;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HparamSearchSpaces::class, 'Google_Service_Bigquery_HparamSearchSpaces');
