[f9c482b] | 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 XPSImageSegmentationTrainResponse extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'colorMaps';
|
---|
| 23 | protected $colorMapsType = XPSColorMap::class;
|
---|
| 24 | protected $colorMapsDataType = 'array';
|
---|
| 25 | protected $exportModelSpecType = XPSImageExportModelSpec::class;
|
---|
| 26 | protected $exportModelSpecDataType = '';
|
---|
| 27 | protected $modelArtifactSpecType = XPSImageModelArtifactSpec::class;
|
---|
| 28 | protected $modelArtifactSpecDataType = '';
|
---|
| 29 | protected $modelServingSpecType = XPSImageModelServingSpec::class;
|
---|
| 30 | protected $modelServingSpecDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $stopReason;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $trainCostNodeSeconds;
|
---|
| 39 |
|
---|
| 40 | /**
|
---|
| 41 | * @param XPSColorMap[]
|
---|
| 42 | */
|
---|
| 43 | public function setColorMaps($colorMaps)
|
---|
| 44 | {
|
---|
| 45 | $this->colorMaps = $colorMaps;
|
---|
| 46 | }
|
---|
| 47 | /**
|
---|
| 48 | * @return XPSColorMap[]
|
---|
| 49 | */
|
---|
| 50 | public function getColorMaps()
|
---|
| 51 | {
|
---|
| 52 | return $this->colorMaps;
|
---|
| 53 | }
|
---|
| 54 | /**
|
---|
| 55 | * @param XPSImageExportModelSpec
|
---|
| 56 | */
|
---|
| 57 | public function setExportModelSpec(XPSImageExportModelSpec $exportModelSpec)
|
---|
| 58 | {
|
---|
| 59 | $this->exportModelSpec = $exportModelSpec;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @return XPSImageExportModelSpec
|
---|
| 63 | */
|
---|
| 64 | public function getExportModelSpec()
|
---|
| 65 | {
|
---|
| 66 | return $this->exportModelSpec;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @param XPSImageModelArtifactSpec
|
---|
| 70 | */
|
---|
| 71 | public function setModelArtifactSpec(XPSImageModelArtifactSpec $modelArtifactSpec)
|
---|
| 72 | {
|
---|
| 73 | $this->modelArtifactSpec = $modelArtifactSpec;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @return XPSImageModelArtifactSpec
|
---|
| 77 | */
|
---|
| 78 | public function getModelArtifactSpec()
|
---|
| 79 | {
|
---|
| 80 | return $this->modelArtifactSpec;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @param XPSImageModelServingSpec
|
---|
| 84 | */
|
---|
| 85 | public function setModelServingSpec(XPSImageModelServingSpec $modelServingSpec)
|
---|
| 86 | {
|
---|
| 87 | $this->modelServingSpec = $modelServingSpec;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @return XPSImageModelServingSpec
|
---|
| 91 | */
|
---|
| 92 | public function getModelServingSpec()
|
---|
| 93 | {
|
---|
| 94 | return $this->modelServingSpec;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @param string
|
---|
| 98 | */
|
---|
| 99 | public function setStopReason($stopReason)
|
---|
| 100 | {
|
---|
| 101 | $this->stopReason = $stopReason;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return string
|
---|
| 105 | */
|
---|
| 106 | public function getStopReason()
|
---|
| 107 | {
|
---|
| 108 | return $this->stopReason;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param string
|
---|
| 112 | */
|
---|
| 113 | public function setTrainCostNodeSeconds($trainCostNodeSeconds)
|
---|
| 114 | {
|
---|
| 115 | $this->trainCostNodeSeconds = $trainCostNodeSeconds;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return string
|
---|
| 119 | */
|
---|
| 120 | public function getTrainCostNodeSeconds()
|
---|
| 121 | {
|
---|
| 122 | return $this->trainCostNodeSeconds;
|
---|
| 123 | }
|
---|
| 124 | }
|
---|
| 125 |
|
---|
| 126 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 127 | class_alias(XPSImageSegmentationTrainResponse::class, 'Google_Service_CloudNaturalLanguage_XPSImageSegmentationTrainResponse');
|
---|