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 GoogleCloudMlV1TrainingOutput extends \Google\Collection
21{
22  protected $collection_key = 'trials';
23  protected $builtInAlgorithmOutputType = GoogleCloudMlV1BuiltInAlgorithmOutput::class;
24  protected $builtInAlgorithmOutputDataType = '';
25  /**
26   * @var string
27   */
28  public $completedTrialCount;
29  public $consumedMLUnits;
30  /**
31   * @var string
32   */
33  public $hyperparameterMetricTag;
34  /**
35   * @var bool
36   */
37  public $isBuiltInAlgorithmJob;
38  /**
39   * @var bool
40   */
41  public $isHyperparameterTuningJob;
42  protected $trialsType = GoogleCloudMlV1HyperparameterOutput::class;
43  protected $trialsDataType = 'array';
44  /**
45   * @var string[]
46   */
47  public $webAccessUris;
48
49  /**
50   * @param GoogleCloudMlV1BuiltInAlgorithmOutput
51   */
52  public function setBuiltInAlgorithmOutput(GoogleCloudMlV1BuiltInAlgorithmOutput $builtInAlgorithmOutput)
53  {
54    $this->builtInAlgorithmOutput = $builtInAlgorithmOutput;
55  }
56  /**
57   * @return GoogleCloudMlV1BuiltInAlgorithmOutput
58   */
59  public function getBuiltInAlgorithmOutput()
60  {
61    return $this->builtInAlgorithmOutput;
62  }
63  /**
64   * @param string
65   */
66  public function setCompletedTrialCount($completedTrialCount)
67  {
68    $this->completedTrialCount = $completedTrialCount;
69  }
70  /**
71   * @return string
72   */
73  public function getCompletedTrialCount()
74  {
75    return $this->completedTrialCount;
76  }
77  public function setConsumedMLUnits($consumedMLUnits)
78  {
79    $this->consumedMLUnits = $consumedMLUnits;
80  }
81  public function getConsumedMLUnits()
82  {
83    return $this->consumedMLUnits;
84  }
85  /**
86   * @param string
87   */
88  public function setHyperparameterMetricTag($hyperparameterMetricTag)
89  {
90    $this->hyperparameterMetricTag = $hyperparameterMetricTag;
91  }
92  /**
93   * @return string
94   */
95  public function getHyperparameterMetricTag()
96  {
97    return $this->hyperparameterMetricTag;
98  }
99  /**
100   * @param bool
101   */
102  public function setIsBuiltInAlgorithmJob($isBuiltInAlgorithmJob)
103  {
104    $this->isBuiltInAlgorithmJob = $isBuiltInAlgorithmJob;
105  }
106  /**
107   * @return bool
108   */
109  public function getIsBuiltInAlgorithmJob()
110  {
111    return $this->isBuiltInAlgorithmJob;
112  }
113  /**
114   * @param bool
115   */
116  public function setIsHyperparameterTuningJob($isHyperparameterTuningJob)
117  {
118    $this->isHyperparameterTuningJob = $isHyperparameterTuningJob;
119  }
120  /**
121   * @return bool
122   */
123  public function getIsHyperparameterTuningJob()
124  {
125    return $this->isHyperparameterTuningJob;
126  }
127  /**
128   * @param GoogleCloudMlV1HyperparameterOutput[]
129   */
130  public function setTrials($trials)
131  {
132    $this->trials = $trials;
133  }
134  /**
135   * @return GoogleCloudMlV1HyperparameterOutput[]
136   */
137  public function getTrials()
138  {
139    return $this->trials;
140  }
141  /**
142   * @param string[]
143   */
144  public function setWebAccessUris($webAccessUris)
145  {
146    $this->webAccessUris = $webAccessUris;
147  }
148  /**
149   * @return string[]
150   */
151  public function getWebAccessUris()
152  {
153    return $this->webAccessUris;
154  }
155}
156
157// Adding a class alias for backwards compatibility with the previous class name.
158class_alias(GoogleCloudMlV1TrainingOutput::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput');
159