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\CloudNaturalLanguage;
|
---|
19 |
|
---|
20 | class XPSTrainResponse extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'explanationConfigs';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $deployedModelSizeBytes;
|
---|
27 | protected $errorAnalysisConfigsType = XPSVisionErrorAnalysisConfig::class;
|
---|
28 | protected $errorAnalysisConfigsDataType = 'array';
|
---|
29 | protected $evaluatedExampleSetType = XPSExampleSet::class;
|
---|
30 | protected $evaluatedExampleSetDataType = '';
|
---|
31 | protected $evaluationMetricsSetType = XPSEvaluationMetricsSet::class;
|
---|
32 | protected $evaluationMetricsSetDataType = '';
|
---|
33 | protected $explanationConfigsType = XPSResponseExplanationSpec::class;
|
---|
34 | protected $explanationConfigsDataType = 'array';
|
---|
35 | protected $imageClassificationTrainRespType = XPSImageClassificationTrainResponse::class;
|
---|
36 | protected $imageClassificationTrainRespDataType = '';
|
---|
37 | protected $imageObjectDetectionTrainRespType = XPSImageObjectDetectionModelSpec::class;
|
---|
38 | protected $imageObjectDetectionTrainRespDataType = '';
|
---|
39 | protected $imageSegmentationTrainRespType = XPSImageSegmentationTrainResponse::class;
|
---|
40 | protected $imageSegmentationTrainRespDataType = '';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $modelToken;
|
---|
45 | protected $speechTrainRespType = XPSSpeechModelSpec::class;
|
---|
46 | protected $speechTrainRespDataType = '';
|
---|
47 | protected $tablesTrainRespType = XPSTablesTrainResponse::class;
|
---|
48 | protected $tablesTrainRespDataType = '';
|
---|
49 | protected $textToSpeechTrainRespType = XPSTextToSpeechTrainResponse::class;
|
---|
50 | protected $textToSpeechTrainRespDataType = '';
|
---|
51 | protected $textTrainRespType = XPSTextTrainResponse::class;
|
---|
52 | protected $textTrainRespDataType = '';
|
---|
53 | protected $translationTrainRespType = XPSTranslationTrainResponse::class;
|
---|
54 | protected $translationTrainRespDataType = '';
|
---|
55 | protected $videoActionRecognitionTrainRespType = XPSVideoActionRecognitionTrainResponse::class;
|
---|
56 | protected $videoActionRecognitionTrainRespDataType = '';
|
---|
57 | protected $videoClassificationTrainRespType = XPSVideoClassificationTrainResponse::class;
|
---|
58 | protected $videoClassificationTrainRespDataType = '';
|
---|
59 | protected $videoObjectTrackingTrainRespType = XPSVideoObjectTrackingTrainResponse::class;
|
---|
60 | protected $videoObjectTrackingTrainRespDataType = '';
|
---|
61 |
|
---|
62 | /**
|
---|
63 | * @param string
|
---|
64 | */
|
---|
65 | public function setDeployedModelSizeBytes($deployedModelSizeBytes)
|
---|
66 | {
|
---|
67 | $this->deployedModelSizeBytes = $deployedModelSizeBytes;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return string
|
---|
71 | */
|
---|
72 | public function getDeployedModelSizeBytes()
|
---|
73 | {
|
---|
74 | return $this->deployedModelSizeBytes;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param XPSVisionErrorAnalysisConfig[]
|
---|
78 | */
|
---|
79 | public function setErrorAnalysisConfigs($errorAnalysisConfigs)
|
---|
80 | {
|
---|
81 | $this->errorAnalysisConfigs = $errorAnalysisConfigs;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return XPSVisionErrorAnalysisConfig[]
|
---|
85 | */
|
---|
86 | public function getErrorAnalysisConfigs()
|
---|
87 | {
|
---|
88 | return $this->errorAnalysisConfigs;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param XPSExampleSet
|
---|
92 | */
|
---|
93 | public function setEvaluatedExampleSet(XPSExampleSet $evaluatedExampleSet)
|
---|
94 | {
|
---|
95 | $this->evaluatedExampleSet = $evaluatedExampleSet;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return XPSExampleSet
|
---|
99 | */
|
---|
100 | public function getEvaluatedExampleSet()
|
---|
101 | {
|
---|
102 | return $this->evaluatedExampleSet;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param XPSEvaluationMetricsSet
|
---|
106 | */
|
---|
107 | public function setEvaluationMetricsSet(XPSEvaluationMetricsSet $evaluationMetricsSet)
|
---|
108 | {
|
---|
109 | $this->evaluationMetricsSet = $evaluationMetricsSet;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return XPSEvaluationMetricsSet
|
---|
113 | */
|
---|
114 | public function getEvaluationMetricsSet()
|
---|
115 | {
|
---|
116 | return $this->evaluationMetricsSet;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param XPSResponseExplanationSpec[]
|
---|
120 | */
|
---|
121 | public function setExplanationConfigs($explanationConfigs)
|
---|
122 | {
|
---|
123 | $this->explanationConfigs = $explanationConfigs;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return XPSResponseExplanationSpec[]
|
---|
127 | */
|
---|
128 | public function getExplanationConfigs()
|
---|
129 | {
|
---|
130 | return $this->explanationConfigs;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param XPSImageClassificationTrainResponse
|
---|
134 | */
|
---|
135 | public function setImageClassificationTrainResp(XPSImageClassificationTrainResponse $imageClassificationTrainResp)
|
---|
136 | {
|
---|
137 | $this->imageClassificationTrainResp = $imageClassificationTrainResp;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return XPSImageClassificationTrainResponse
|
---|
141 | */
|
---|
142 | public function getImageClassificationTrainResp()
|
---|
143 | {
|
---|
144 | return $this->imageClassificationTrainResp;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param XPSImageObjectDetectionModelSpec
|
---|
148 | */
|
---|
149 | public function setImageObjectDetectionTrainResp(XPSImageObjectDetectionModelSpec $imageObjectDetectionTrainResp)
|
---|
150 | {
|
---|
151 | $this->imageObjectDetectionTrainResp = $imageObjectDetectionTrainResp;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return XPSImageObjectDetectionModelSpec
|
---|
155 | */
|
---|
156 | public function getImageObjectDetectionTrainResp()
|
---|
157 | {
|
---|
158 | return $this->imageObjectDetectionTrainResp;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param XPSImageSegmentationTrainResponse
|
---|
162 | */
|
---|
163 | public function setImageSegmentationTrainResp(XPSImageSegmentationTrainResponse $imageSegmentationTrainResp)
|
---|
164 | {
|
---|
165 | $this->imageSegmentationTrainResp = $imageSegmentationTrainResp;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return XPSImageSegmentationTrainResponse
|
---|
169 | */
|
---|
170 | public function getImageSegmentationTrainResp()
|
---|
171 | {
|
---|
172 | return $this->imageSegmentationTrainResp;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string
|
---|
176 | */
|
---|
177 | public function setModelToken($modelToken)
|
---|
178 | {
|
---|
179 | $this->modelToken = $modelToken;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string
|
---|
183 | */
|
---|
184 | public function getModelToken()
|
---|
185 | {
|
---|
186 | return $this->modelToken;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param XPSSpeechModelSpec
|
---|
190 | */
|
---|
191 | public function setSpeechTrainResp(XPSSpeechModelSpec $speechTrainResp)
|
---|
192 | {
|
---|
193 | $this->speechTrainResp = $speechTrainResp;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return XPSSpeechModelSpec
|
---|
197 | */
|
---|
198 | public function getSpeechTrainResp()
|
---|
199 | {
|
---|
200 | return $this->speechTrainResp;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param XPSTablesTrainResponse
|
---|
204 | */
|
---|
205 | public function setTablesTrainResp(XPSTablesTrainResponse $tablesTrainResp)
|
---|
206 | {
|
---|
207 | $this->tablesTrainResp = $tablesTrainResp;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return XPSTablesTrainResponse
|
---|
211 | */
|
---|
212 | public function getTablesTrainResp()
|
---|
213 | {
|
---|
214 | return $this->tablesTrainResp;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param XPSTextToSpeechTrainResponse
|
---|
218 | */
|
---|
219 | public function setTextToSpeechTrainResp(XPSTextToSpeechTrainResponse $textToSpeechTrainResp)
|
---|
220 | {
|
---|
221 | $this->textToSpeechTrainResp = $textToSpeechTrainResp;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return XPSTextToSpeechTrainResponse
|
---|
225 | */
|
---|
226 | public function getTextToSpeechTrainResp()
|
---|
227 | {
|
---|
228 | return $this->textToSpeechTrainResp;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param XPSTextTrainResponse
|
---|
232 | */
|
---|
233 | public function setTextTrainResp(XPSTextTrainResponse $textTrainResp)
|
---|
234 | {
|
---|
235 | $this->textTrainResp = $textTrainResp;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return XPSTextTrainResponse
|
---|
239 | */
|
---|
240 | public function getTextTrainResp()
|
---|
241 | {
|
---|
242 | return $this->textTrainResp;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param XPSTranslationTrainResponse
|
---|
246 | */
|
---|
247 | public function setTranslationTrainResp(XPSTranslationTrainResponse $translationTrainResp)
|
---|
248 | {
|
---|
249 | $this->translationTrainResp = $translationTrainResp;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return XPSTranslationTrainResponse
|
---|
253 | */
|
---|
254 | public function getTranslationTrainResp()
|
---|
255 | {
|
---|
256 | return $this->translationTrainResp;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param XPSVideoActionRecognitionTrainResponse
|
---|
260 | */
|
---|
261 | public function setVideoActionRecognitionTrainResp(XPSVideoActionRecognitionTrainResponse $videoActionRecognitionTrainResp)
|
---|
262 | {
|
---|
263 | $this->videoActionRecognitionTrainResp = $videoActionRecognitionTrainResp;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return XPSVideoActionRecognitionTrainResponse
|
---|
267 | */
|
---|
268 | public function getVideoActionRecognitionTrainResp()
|
---|
269 | {
|
---|
270 | return $this->videoActionRecognitionTrainResp;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param XPSVideoClassificationTrainResponse
|
---|
274 | */
|
---|
275 | public function setVideoClassificationTrainResp(XPSVideoClassificationTrainResponse $videoClassificationTrainResp)
|
---|
276 | {
|
---|
277 | $this->videoClassificationTrainResp = $videoClassificationTrainResp;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return XPSVideoClassificationTrainResponse
|
---|
281 | */
|
---|
282 | public function getVideoClassificationTrainResp()
|
---|
283 | {
|
---|
284 | return $this->videoClassificationTrainResp;
|
---|
285 | }
|
---|
286 | /**
|
---|
287 | * @param XPSVideoObjectTrackingTrainResponse
|
---|
288 | */
|
---|
289 | public function setVideoObjectTrackingTrainResp(XPSVideoObjectTrackingTrainResponse $videoObjectTrackingTrainResp)
|
---|
290 | {
|
---|
291 | $this->videoObjectTrackingTrainResp = $videoObjectTrackingTrainResp;
|
---|
292 | }
|
---|
293 | /**
|
---|
294 | * @return XPSVideoObjectTrackingTrainResponse
|
---|
295 | */
|
---|
296 | public function getVideoObjectTrackingTrainResp()
|
---|
297 | {
|
---|
298 | return $this->videoObjectTrackingTrainResp;
|
---|
299 | }
|
---|
300 | }
|
---|
301 |
|
---|
302 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
303 | class_alias(XPSTrainResponse::class, 'Google_Service_CloudNaturalLanguage_XPSTrainResponse');
|
---|