source: vendor/google/apiclient-services/src/CloudMachineLearningEngine/GoogleCloudMlV1StudyConfigParameterSpec.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 6.3 KB
Line 
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\CloudMachineLearningEngine;
19
20class GoogleCloudMlV1StudyConfigParameterSpec extends \Google\Collection
21{
22 protected $collection_key = 'childParameterSpecs';
23 protected $categoricalValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec::class;
24 protected $categoricalValueSpecDataType = '';
25 protected $childParameterSpecsType = GoogleCloudMlV1StudyConfigParameterSpec::class;
26 protected $childParameterSpecsDataType = 'array';
27 protected $discreteValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec::class;
28 protected $discreteValueSpecDataType = '';
29 protected $doubleValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec::class;
30 protected $doubleValueSpecDataType = '';
31 protected $integerValueSpecType = GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec::class;
32 protected $integerValueSpecDataType = '';
33 /**
34 * @var string
35 */
36 public $parameter;
37 protected $parentCategoricalValuesType = GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec::class;
38 protected $parentCategoricalValuesDataType = '';
39 protected $parentDiscreteValuesType = GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec::class;
40 protected $parentDiscreteValuesDataType = '';
41 protected $parentIntValuesType = GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec::class;
42 protected $parentIntValuesDataType = '';
43 /**
44 * @var string
45 */
46 public $scaleType;
47 /**
48 * @var string
49 */
50 public $type;
51
52 /**
53 * @param GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
54 */
55 public function setCategoricalValueSpec(GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec $categoricalValueSpec)
56 {
57 $this->categoricalValueSpec = $categoricalValueSpec;
58 }
59 /**
60 * @return GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
61 */
62 public function getCategoricalValueSpec()
63 {
64 return $this->categoricalValueSpec;
65 }
66 /**
67 * @param GoogleCloudMlV1StudyConfigParameterSpec[]
68 */
69 public function setChildParameterSpecs($childParameterSpecs)
70 {
71 $this->childParameterSpecs = $childParameterSpecs;
72 }
73 /**
74 * @return GoogleCloudMlV1StudyConfigParameterSpec[]
75 */
76 public function getChildParameterSpecs()
77 {
78 return $this->childParameterSpecs;
79 }
80 /**
81 * @param GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
82 */
83 public function setDiscreteValueSpec(GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec $discreteValueSpec)
84 {
85 $this->discreteValueSpec = $discreteValueSpec;
86 }
87 /**
88 * @return GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
89 */
90 public function getDiscreteValueSpec()
91 {
92 return $this->discreteValueSpec;
93 }
94 /**
95 * @param GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
96 */
97 public function setDoubleValueSpec(GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec $doubleValueSpec)
98 {
99 $this->doubleValueSpec = $doubleValueSpec;
100 }
101 /**
102 * @return GoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec
103 */
104 public function getDoubleValueSpec()
105 {
106 return $this->doubleValueSpec;
107 }
108 /**
109 * @param GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
110 */
111 public function setIntegerValueSpec(GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec $integerValueSpec)
112 {
113 $this->integerValueSpec = $integerValueSpec;
114 }
115 /**
116 * @return GoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec
117 */
118 public function getIntegerValueSpec()
119 {
120 return $this->integerValueSpec;
121 }
122 /**
123 * @param string
124 */
125 public function setParameter($parameter)
126 {
127 $this->parameter = $parameter;
128 }
129 /**
130 * @return string
131 */
132 public function getParameter()
133 {
134 return $this->parameter;
135 }
136 /**
137 * @param GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
138 */
139 public function setParentCategoricalValues(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec $parentCategoricalValues)
140 {
141 $this->parentCategoricalValues = $parentCategoricalValues;
142 }
143 /**
144 * @return GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
145 */
146 public function getParentCategoricalValues()
147 {
148 return $this->parentCategoricalValues;
149 }
150 /**
151 * @param GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
152 */
153 public function setParentDiscreteValues(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec $parentDiscreteValues)
154 {
155 $this->parentDiscreteValues = $parentDiscreteValues;
156 }
157 /**
158 * @return GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
159 */
160 public function getParentDiscreteValues()
161 {
162 return $this->parentDiscreteValues;
163 }
164 /**
165 * @param GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
166 */
167 public function setParentIntValues(GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec $parentIntValues)
168 {
169 $this->parentIntValues = $parentIntValues;
170 }
171 /**
172 * @return GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
173 */
174 public function getParentIntValues()
175 {
176 return $this->parentIntValues;
177 }
178 /**
179 * @param string
180 */
181 public function setScaleType($scaleType)
182 {
183 $this->scaleType = $scaleType;
184 }
185 /**
186 * @return string
187 */
188 public function getScaleType()
189 {
190 return $this->scaleType;
191 }
192 /**
193 * @param string
194 */
195 public function setType($type)
196 {
197 $this->type = $type;
198 }
199 /**
200 * @return string
201 */
202 public function getType()
203 {
204 return $this->type;
205 }
206}
207
208// Adding a class alias for backwards compatibility with the previous class name.
209class_alias(GoogleCloudMlV1StudyConfigParameterSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigParameterSpec');
Note: See TracBrowser for help on using the repository browser.