[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\DataLabeling;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDatalabelingV1beta1EvaluationJobConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string[]
|
---|
| 24 | */
|
---|
| 25 | public $bigqueryImportKeys;
|
---|
| 26 | protected $boundingPolyConfigType = GoogleCloudDatalabelingV1beta1BoundingPolyConfig::class;
|
---|
| 27 | protected $boundingPolyConfigDataType = '';
|
---|
| 28 | protected $evaluationConfigType = GoogleCloudDatalabelingV1beta1EvaluationConfig::class;
|
---|
| 29 | protected $evaluationConfigDataType = '';
|
---|
| 30 | protected $evaluationJobAlertConfigType = GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig::class;
|
---|
| 31 | protected $evaluationJobAlertConfigDataType = '';
|
---|
| 32 | /**
|
---|
| 33 | * @var int
|
---|
| 34 | */
|
---|
| 35 | public $exampleCount;
|
---|
| 36 | public $exampleSamplePercentage;
|
---|
| 37 | protected $humanAnnotationConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
|
---|
| 38 | protected $humanAnnotationConfigDataType = '';
|
---|
| 39 | protected $imageClassificationConfigType = GoogleCloudDatalabelingV1beta1ImageClassificationConfig::class;
|
---|
| 40 | protected $imageClassificationConfigDataType = '';
|
---|
| 41 | protected $inputConfigType = GoogleCloudDatalabelingV1beta1InputConfig::class;
|
---|
| 42 | protected $inputConfigDataType = '';
|
---|
| 43 | protected $textClassificationConfigType = GoogleCloudDatalabelingV1beta1TextClassificationConfig::class;
|
---|
| 44 | protected $textClassificationConfigDataType = '';
|
---|
| 45 |
|
---|
| 46 | /**
|
---|
| 47 | * @param string[]
|
---|
| 48 | */
|
---|
| 49 | public function setBigqueryImportKeys($bigqueryImportKeys)
|
---|
| 50 | {
|
---|
| 51 | $this->bigqueryImportKeys = $bigqueryImportKeys;
|
---|
| 52 | }
|
---|
| 53 | /**
|
---|
| 54 | * @return string[]
|
---|
| 55 | */
|
---|
| 56 | public function getBigqueryImportKeys()
|
---|
| 57 | {
|
---|
| 58 | return $this->bigqueryImportKeys;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @param GoogleCloudDatalabelingV1beta1BoundingPolyConfig
|
---|
| 62 | */
|
---|
| 63 | public function setBoundingPolyConfig(GoogleCloudDatalabelingV1beta1BoundingPolyConfig $boundingPolyConfig)
|
---|
| 64 | {
|
---|
| 65 | $this->boundingPolyConfig = $boundingPolyConfig;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @return GoogleCloudDatalabelingV1beta1BoundingPolyConfig
|
---|
| 69 | */
|
---|
| 70 | public function getBoundingPolyConfig()
|
---|
| 71 | {
|
---|
| 72 | return $this->boundingPolyConfig;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @param GoogleCloudDatalabelingV1beta1EvaluationConfig
|
---|
| 76 | */
|
---|
| 77 | public function setEvaluationConfig(GoogleCloudDatalabelingV1beta1EvaluationConfig $evaluationConfig)
|
---|
| 78 | {
|
---|
| 79 | $this->evaluationConfig = $evaluationConfig;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return GoogleCloudDatalabelingV1beta1EvaluationConfig
|
---|
| 83 | */
|
---|
| 84 | public function getEvaluationConfig()
|
---|
| 85 | {
|
---|
| 86 | return $this->evaluationConfig;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig
|
---|
| 90 | */
|
---|
| 91 | public function setEvaluationJobAlertConfig(GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig $evaluationJobAlertConfig)
|
---|
| 92 | {
|
---|
| 93 | $this->evaluationJobAlertConfig = $evaluationJobAlertConfig;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig
|
---|
| 97 | */
|
---|
| 98 | public function getEvaluationJobAlertConfig()
|
---|
| 99 | {
|
---|
| 100 | return $this->evaluationJobAlertConfig;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param int
|
---|
| 104 | */
|
---|
| 105 | public function setExampleCount($exampleCount)
|
---|
| 106 | {
|
---|
| 107 | $this->exampleCount = $exampleCount;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return int
|
---|
| 111 | */
|
---|
| 112 | public function getExampleCount()
|
---|
| 113 | {
|
---|
| 114 | return $this->exampleCount;
|
---|
| 115 | }
|
---|
| 116 | public function setExampleSamplePercentage($exampleSamplePercentage)
|
---|
| 117 | {
|
---|
| 118 | $this->exampleSamplePercentage = $exampleSamplePercentage;
|
---|
| 119 | }
|
---|
| 120 | public function getExampleSamplePercentage()
|
---|
| 121 | {
|
---|
| 122 | return $this->exampleSamplePercentage;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
|
---|
| 126 | */
|
---|
| 127 | public function setHumanAnnotationConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $humanAnnotationConfig)
|
---|
| 128 | {
|
---|
| 129 | $this->humanAnnotationConfig = $humanAnnotationConfig;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
|
---|
| 133 | */
|
---|
| 134 | public function getHumanAnnotationConfig()
|
---|
| 135 | {
|
---|
| 136 | return $this->humanAnnotationConfig;
|
---|
| 137 | }
|
---|
| 138 | /**
|
---|
| 139 | * @param GoogleCloudDatalabelingV1beta1ImageClassificationConfig
|
---|
| 140 | */
|
---|
| 141 | public function setImageClassificationConfig(GoogleCloudDatalabelingV1beta1ImageClassificationConfig $imageClassificationConfig)
|
---|
| 142 | {
|
---|
| 143 | $this->imageClassificationConfig = $imageClassificationConfig;
|
---|
| 144 | }
|
---|
| 145 | /**
|
---|
| 146 | * @return GoogleCloudDatalabelingV1beta1ImageClassificationConfig
|
---|
| 147 | */
|
---|
| 148 | public function getImageClassificationConfig()
|
---|
| 149 | {
|
---|
| 150 | return $this->imageClassificationConfig;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @param GoogleCloudDatalabelingV1beta1InputConfig
|
---|
| 154 | */
|
---|
| 155 | public function setInputConfig(GoogleCloudDatalabelingV1beta1InputConfig $inputConfig)
|
---|
| 156 | {
|
---|
| 157 | $this->inputConfig = $inputConfig;
|
---|
| 158 | }
|
---|
| 159 | /**
|
---|
| 160 | * @return GoogleCloudDatalabelingV1beta1InputConfig
|
---|
| 161 | */
|
---|
| 162 | public function getInputConfig()
|
---|
| 163 | {
|
---|
| 164 | return $this->inputConfig;
|
---|
| 165 | }
|
---|
| 166 | /**
|
---|
| 167 | * @param GoogleCloudDatalabelingV1beta1TextClassificationConfig
|
---|
| 168 | */
|
---|
| 169 | public function setTextClassificationConfig(GoogleCloudDatalabelingV1beta1TextClassificationConfig $textClassificationConfig)
|
---|
| 170 | {
|
---|
| 171 | $this->textClassificationConfig = $textClassificationConfig;
|
---|
| 172 | }
|
---|
| 173 | /**
|
---|
| 174 | * @return GoogleCloudDatalabelingV1beta1TextClassificationConfig
|
---|
| 175 | */
|
---|
| 176 | public function getTextClassificationConfig()
|
---|
| 177 | {
|
---|
| 178 | return $this->textClassificationConfig;
|
---|
| 179 | }
|
---|
| 180 | }
|
---|
| 181 |
|
---|
| 182 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 183 | class_alias(GoogleCloudDatalabelingV1beta1EvaluationJobConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EvaluationJobConfig');
|
---|