[e3d4e0a] | 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\DiscoveryEngine;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'errorSamples';
|
---|
| 23 | protected $errorConfigType = GoogleCloudDiscoveryengineV1alphaImportErrorConfig::class;
|
---|
| 24 | protected $errorConfigDataType = '';
|
---|
| 25 | protected $errorSamplesType = GoogleRpcStatus::class;
|
---|
| 26 | protected $errorSamplesDataType = 'array';
|
---|
| 27 | public $metrics;
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $modelName;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $modelStatus;
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * @param GoogleCloudDiscoveryengineV1alphaImportErrorConfig
|
---|
| 39 | */
|
---|
| 40 | public function setErrorConfig(GoogleCloudDiscoveryengineV1alphaImportErrorConfig $errorConfig)
|
---|
| 41 | {
|
---|
| 42 | $this->errorConfig = $errorConfig;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @return GoogleCloudDiscoveryengineV1alphaImportErrorConfig
|
---|
| 46 | */
|
---|
| 47 | public function getErrorConfig()
|
---|
| 48 | {
|
---|
| 49 | return $this->errorConfig;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @param GoogleRpcStatus[]
|
---|
| 53 | */
|
---|
| 54 | public function setErrorSamples($errorSamples)
|
---|
| 55 | {
|
---|
| 56 | $this->errorSamples = $errorSamples;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @return GoogleRpcStatus[]
|
---|
| 60 | */
|
---|
| 61 | public function getErrorSamples()
|
---|
| 62 | {
|
---|
| 63 | return $this->errorSamples;
|
---|
| 64 | }
|
---|
| 65 | public function setMetrics($metrics)
|
---|
| 66 | {
|
---|
| 67 | $this->metrics = $metrics;
|
---|
| 68 | }
|
---|
| 69 | public function getMetrics()
|
---|
| 70 | {
|
---|
| 71 | return $this->metrics;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param string
|
---|
| 75 | */
|
---|
| 76 | public function setModelName($modelName)
|
---|
| 77 | {
|
---|
| 78 | $this->modelName = $modelName;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return string
|
---|
| 82 | */
|
---|
| 83 | public function getModelName()
|
---|
| 84 | {
|
---|
| 85 | return $this->modelName;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param string
|
---|
| 89 | */
|
---|
| 90 | public function setModelStatus($modelStatus)
|
---|
| 91 | {
|
---|
| 92 | $this->modelStatus = $modelStatus;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return string
|
---|
| 96 | */
|
---|
| 97 | public function getModelStatus()
|
---|
| 98 | {
|
---|
| 99 | return $this->modelStatus;
|
---|
| 100 | }
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 104 | class_alias(GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse');
|
---|