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 EvaluationMetrics extends \Google\Model 21{ 22 protected $arimaForecastingMetricsType = ArimaForecastingMetrics::class; 23 protected $arimaForecastingMetricsDataType = ''; 24 protected $binaryClassificationMetricsType = BinaryClassificationMetrics::class; 25 protected $binaryClassificationMetricsDataType = ''; 26 protected $clusteringMetricsType = ClusteringMetrics::class; 27 protected $clusteringMetricsDataType = ''; 28 protected $dimensionalityReductionMetricsType = DimensionalityReductionMetrics::class; 29 protected $dimensionalityReductionMetricsDataType = ''; 30 protected $multiClassClassificationMetricsType = MultiClassClassificationMetrics::class; 31 protected $multiClassClassificationMetricsDataType = ''; 32 protected $rankingMetricsType = RankingMetrics::class; 33 protected $rankingMetricsDataType = ''; 34 protected $regressionMetricsType = RegressionMetrics::class; 35 protected $regressionMetricsDataType = ''; 36 37 /** 38 * @param ArimaForecastingMetrics 39 */ 40 public function setArimaForecastingMetrics(ArimaForecastingMetrics $arimaForecastingMetrics) 41 { 42 $this->arimaForecastingMetrics = $arimaForecastingMetrics; 43 } 44 /** 45 * @return ArimaForecastingMetrics 46 */ 47 public function getArimaForecastingMetrics() 48 { 49 return $this->arimaForecastingMetrics; 50 } 51 /** 52 * @param BinaryClassificationMetrics 53 */ 54 public function setBinaryClassificationMetrics(BinaryClassificationMetrics $binaryClassificationMetrics) 55 { 56 $this->binaryClassificationMetrics = $binaryClassificationMetrics; 57 } 58 /** 59 * @return BinaryClassificationMetrics 60 */ 61 public function getBinaryClassificationMetrics() 62 { 63 return $this->binaryClassificationMetrics; 64 } 65 /** 66 * @param ClusteringMetrics 67 */ 68 public function setClusteringMetrics(ClusteringMetrics $clusteringMetrics) 69 { 70 $this->clusteringMetrics = $clusteringMetrics; 71 } 72 /** 73 * @return ClusteringMetrics 74 */ 75 public function getClusteringMetrics() 76 { 77 return $this->clusteringMetrics; 78 } 79 /** 80 * @param DimensionalityReductionMetrics 81 */ 82 public function setDimensionalityReductionMetrics(DimensionalityReductionMetrics $dimensionalityReductionMetrics) 83 { 84 $this->dimensionalityReductionMetrics = $dimensionalityReductionMetrics; 85 } 86 /** 87 * @return DimensionalityReductionMetrics 88 */ 89 public function getDimensionalityReductionMetrics() 90 { 91 return $this->dimensionalityReductionMetrics; 92 } 93 /** 94 * @param MultiClassClassificationMetrics 95 */ 96 public function setMultiClassClassificationMetrics(MultiClassClassificationMetrics $multiClassClassificationMetrics) 97 { 98 $this->multiClassClassificationMetrics = $multiClassClassificationMetrics; 99 } 100 /** 101 * @return MultiClassClassificationMetrics 102 */ 103 public function getMultiClassClassificationMetrics() 104 { 105 return $this->multiClassClassificationMetrics; 106 } 107 /** 108 * @param RankingMetrics 109 */ 110 public function setRankingMetrics(RankingMetrics $rankingMetrics) 111 { 112 $this->rankingMetrics = $rankingMetrics; 113 } 114 /** 115 * @return RankingMetrics 116 */ 117 public function getRankingMetrics() 118 { 119 return $this->rankingMetrics; 120 } 121 /** 122 * @param RegressionMetrics 123 */ 124 public function setRegressionMetrics(RegressionMetrics $regressionMetrics) 125 { 126 $this->regressionMetrics = $regressionMetrics; 127 } 128 /** 129 * @return RegressionMetrics 130 */ 131 public function getRegressionMetrics() 132 { 133 return $this->regressionMetrics; 134 } 135} 136 137// Adding a class alias for backwards compatibility with the previous class name. 138class_alias(EvaluationMetrics::class, 'Google_Service_Bigquery_EvaluationMetrics'); 139