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\DataLabeling; 19 20class GoogleCloudDatalabelingV1beta1AnnotatedDataset extends \Google\Collection 21{ 22 protected $collection_key = 'blockingResources'; 23 /** 24 * @var string 25 */ 26 public $annotationSource; 27 /** 28 * @var string 29 */ 30 public $annotationType; 31 /** 32 * @var string[] 33 */ 34 public $blockingResources; 35 /** 36 * @var string 37 */ 38 public $completedExampleCount; 39 /** 40 * @var string 41 */ 42 public $createTime; 43 /** 44 * @var string 45 */ 46 public $description; 47 /** 48 * @var string 49 */ 50 public $displayName; 51 /** 52 * @var string 53 */ 54 public $exampleCount; 55 protected $labelStatsType = GoogleCloudDatalabelingV1beta1LabelStats::class; 56 protected $labelStatsDataType = ''; 57 protected $metadataType = GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata::class; 58 protected $metadataDataType = ''; 59 /** 60 * @var string 61 */ 62 public $name; 63 64 /** 65 * @param string 66 */ 67 public function setAnnotationSource($annotationSource) 68 { 69 $this->annotationSource = $annotationSource; 70 } 71 /** 72 * @return string 73 */ 74 public function getAnnotationSource() 75 { 76 return $this->annotationSource; 77 } 78 /** 79 * @param string 80 */ 81 public function setAnnotationType($annotationType) 82 { 83 $this->annotationType = $annotationType; 84 } 85 /** 86 * @return string 87 */ 88 public function getAnnotationType() 89 { 90 return $this->annotationType; 91 } 92 /** 93 * @param string[] 94 */ 95 public function setBlockingResources($blockingResources) 96 { 97 $this->blockingResources = $blockingResources; 98 } 99 /** 100 * @return string[] 101 */ 102 public function getBlockingResources() 103 { 104 return $this->blockingResources; 105 } 106 /** 107 * @param string 108 */ 109 public function setCompletedExampleCount($completedExampleCount) 110 { 111 $this->completedExampleCount = $completedExampleCount; 112 } 113 /** 114 * @return string 115 */ 116 public function getCompletedExampleCount() 117 { 118 return $this->completedExampleCount; 119 } 120 /** 121 * @param string 122 */ 123 public function setCreateTime($createTime) 124 { 125 $this->createTime = $createTime; 126 } 127 /** 128 * @return string 129 */ 130 public function getCreateTime() 131 { 132 return $this->createTime; 133 } 134 /** 135 * @param string 136 */ 137 public function setDescription($description) 138 { 139 $this->description = $description; 140 } 141 /** 142 * @return string 143 */ 144 public function getDescription() 145 { 146 return $this->description; 147 } 148 /** 149 * @param string 150 */ 151 public function setDisplayName($displayName) 152 { 153 $this->displayName = $displayName; 154 } 155 /** 156 * @return string 157 */ 158 public function getDisplayName() 159 { 160 return $this->displayName; 161 } 162 /** 163 * @param string 164 */ 165 public function setExampleCount($exampleCount) 166 { 167 $this->exampleCount = $exampleCount; 168 } 169 /** 170 * @return string 171 */ 172 public function getExampleCount() 173 { 174 return $this->exampleCount; 175 } 176 /** 177 * @param GoogleCloudDatalabelingV1beta1LabelStats 178 */ 179 public function setLabelStats(GoogleCloudDatalabelingV1beta1LabelStats $labelStats) 180 { 181 $this->labelStats = $labelStats; 182 } 183 /** 184 * @return GoogleCloudDatalabelingV1beta1LabelStats 185 */ 186 public function getLabelStats() 187 { 188 return $this->labelStats; 189 } 190 /** 191 * @param GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata 192 */ 193 public function setMetadata(GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata $metadata) 194 { 195 $this->metadata = $metadata; 196 } 197 /** 198 * @return GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata 199 */ 200 public function getMetadata() 201 { 202 return $this->metadata; 203 } 204 /** 205 * @param string 206 */ 207 public function setName($name) 208 { 209 $this->name = $name; 210 } 211 /** 212 * @return string 213 */ 214 public function getName() 215 { 216 return $this->name; 217 } 218} 219 220// Adding a class alias for backwards compatibility with the previous class name. 221class_alias(GoogleCloudDatalabelingV1beta1AnnotatedDataset::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotatedDataset'); 222