| 1 | package Google::Cloud::Visionai::V1::Annotations::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'StreamAnnotationType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'PersonalProtectiveEquipmentDetectionOutput', | ||
| 14 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput']; | ||
| 15 | |||
| 16 | coerce 'PersonalProtectiveEquipmentDetectionOutput', | ||
| 17 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedPersonalProtectiveEquipmentDetectionOutput', | ||
| 20 | as ArrayRef[PersonalProtectiveEquipmentDetectionOutput()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedPersonalProtectiveEquipmentDetectionOutput', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringPersonalProtectiveEquipmentDetectionOutput', | ||
| 26 | as HashRef[PersonalProtectiveEquipmentDetectionOutput()]; | ||
| 27 | |||
| 28 | declare 'PersonEntity', | ||
| 29 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PersonEntity']; | ||
| 30 | |||
| 31 | coerce 'PersonEntity', | ||
| 32 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PersonEntity'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedPersonEntity', | ||
| 35 | as ArrayRef[PersonEntity()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedPersonEntity', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PersonEntity'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringPersonEntity', | ||
| 41 | as HashRef[PersonEntity()]; | ||
| 42 | |||
| 43 | declare 'PPEEntity', | ||
| 44 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PPEEntity']; | ||
| 45 | |||
| 46 | coerce 'PPEEntity', | ||
| 47 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PPEEntity'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedPPEEntity', | ||
| 50 | as ArrayRef[PPEEntity()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedPPEEntity', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PPEEntity'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringPPEEntity', | ||
| 56 | as HashRef[PPEEntity()]; | ||
| 57 | |||
| 58 | declare 'NormalizedBoundingBox', | ||
| 59 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox']; | ||
| 60 | |||
| 61 | coerce 'NormalizedBoundingBox', | ||
| 62 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedNormalizedBoundingBox', | ||
| 65 | as ArrayRef[NormalizedBoundingBox()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedNormalizedBoundingBox', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringNormalizedBoundingBox', | ||
| 71 | as HashRef[NormalizedBoundingBox()]; | ||
| 72 | |||
| 73 | declare 'PersonIdentifiedBox', | ||
| 74 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox']; | ||
| 75 | |||
| 76 | coerce 'PersonIdentifiedBox', | ||
| 77 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedPersonIdentifiedBox', | ||
| 80 | as ArrayRef[PersonIdentifiedBox()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedPersonIdentifiedBox', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PersonIdentifiedBox'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringPersonIdentifiedBox', | ||
| 86 | as HashRef[PersonIdentifiedBox()]; | ||
| 87 | |||
| 88 | declare 'PPEIdentifiedBox', | ||
| 89 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox']; | ||
| 90 | |||
| 91 | coerce 'PPEIdentifiedBox', | ||
| 92 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedPPEIdentifiedBox', | ||
| 95 | as ArrayRef[PPEIdentifiedBox()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedPPEIdentifiedBox', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::PPEIdentifiedBox'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringPPEIdentifiedBox', | ||
| 101 | as HashRef[PPEIdentifiedBox()]; | ||
| 102 | |||
| 103 | declare 'DetectedPerson', | ||
| 104 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::DetectedPerson']; | ||
| 105 | |||
| 106 | coerce 'DetectedPerson', | ||
| 107 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::DetectedPerson'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedDetectedPerson', | ||
| 110 | as ArrayRef[DetectedPerson()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedDetectedPerson', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::PersonalProtectiveEquipmentDetectionOutput::DetectedPerson'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringDetectedPerson', | ||
| 116 | as HashRef[DetectedPerson()]; | ||
| 117 | |||
| 118 | declare 'ObjectDetectionPredictionResult', | ||
| 119 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult']; | ||
| 120 | |||
| 121 | coerce 'ObjectDetectionPredictionResult', | ||
| 122 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedObjectDetectionPredictionResult', | ||
| 125 | as ArrayRef[ObjectDetectionPredictionResult()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedObjectDetectionPredictionResult', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringObjectDetectionPredictionResult', | ||
| 131 | as HashRef[ObjectDetectionPredictionResult()]; | ||
| 132 | |||
| 133 | declare 'Entity', | ||
| 134 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::Entity']; | ||
| 135 | |||
| 136 | coerce 'Entity', | ||
| 137 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::Entity'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedEntity', | ||
| 140 | as ArrayRef[Entity()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedEntity', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::Entity'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringEntity', | ||
| 146 | as HashRef[Entity()]; | ||
| 147 | |||
| 148 | declare 'IdentifiedBox', | ||
| 149 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::IdentifiedBox']; | ||
| 150 | |||
| 151 | coerce 'IdentifiedBox', | ||
| 152 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::IdentifiedBox'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedIdentifiedBox', | ||
| 155 | as ArrayRef[IdentifiedBox()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedIdentifiedBox', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::IdentifiedBox'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringIdentifiedBox', | ||
| 161 | as HashRef[IdentifiedBox()]; | ||
| 162 | |||
| 163 | declare 'NormalizedBoundingBox', | ||
| 164 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::IdentifiedBox::NormalizedBoundingBox']; | ||
| 165 | |||
| 166 | coerce 'NormalizedBoundingBox', | ||
| 167 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::IdentifiedBox::NormalizedBoundingBox'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedNormalizedBoundingBox', | ||
| 170 | as ArrayRef[NormalizedBoundingBox()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedNormalizedBoundingBox', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ObjectDetectionPredictionResult::IdentifiedBox::NormalizedBoundingBox'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringNormalizedBoundingBox', | ||
| 176 | as HashRef[NormalizedBoundingBox()]; | ||
| 177 | |||
| 178 | declare 'ImageObjectDetectionPredictionResult', | ||
| 179 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ImageObjectDetectionPredictionResult']; | ||
| 180 | |||
| 181 | coerce 'ImageObjectDetectionPredictionResult', | ||
| 182 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ImageObjectDetectionPredictionResult'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedImageObjectDetectionPredictionResult', | ||
| 185 | as ArrayRef[ImageObjectDetectionPredictionResult()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedImageObjectDetectionPredictionResult', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ImageObjectDetectionPredictionResult'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringImageObjectDetectionPredictionResult', | ||
| 191 | as HashRef[ImageObjectDetectionPredictionResult()]; | ||
| 192 | |||
| 193 | declare 'ClassificationPredictionResult', | ||
| 194 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ClassificationPredictionResult']; | ||
| 195 | |||
| 196 | coerce 'ClassificationPredictionResult', | ||
| 197 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ClassificationPredictionResult'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedClassificationPredictionResult', | ||
| 200 | as ArrayRef[ClassificationPredictionResult()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedClassificationPredictionResult', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ClassificationPredictionResult'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringClassificationPredictionResult', | ||
| 206 | as HashRef[ClassificationPredictionResult()]; | ||
| 207 | |||
| 208 | declare 'ImageSegmentationPredictionResult', | ||
| 209 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::ImageSegmentationPredictionResult']; | ||
| 210 | |||
| 211 | coerce 'ImageSegmentationPredictionResult', | ||
| 212 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::ImageSegmentationPredictionResult'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedImageSegmentationPredictionResult', | ||
| 215 | as ArrayRef[ImageSegmentationPredictionResult()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedImageSegmentationPredictionResult', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::ImageSegmentationPredictionResult'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringImageSegmentationPredictionResult', | ||
| 221 | as HashRef[ImageSegmentationPredictionResult()]; | ||
| 222 | |||
| 223 | declare 'VideoActionRecognitionPredictionResult', | ||
| 224 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoActionRecognitionPredictionResult']; | ||
| 225 | |||
| 226 | coerce 'VideoActionRecognitionPredictionResult', | ||
| 227 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoActionRecognitionPredictionResult'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedVideoActionRecognitionPredictionResult', | ||
| 230 | as ArrayRef[VideoActionRecognitionPredictionResult()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedVideoActionRecognitionPredictionResult', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoActionRecognitionPredictionResult'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringVideoActionRecognitionPredictionResult', | ||
| 236 | as HashRef[VideoActionRecognitionPredictionResult()]; | ||
| 237 | |||
| 238 | declare 'IdentifiedAction', | ||
| 239 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoActionRecognitionPredictionResult::IdentifiedAction']; | ||
| 240 | |||
| 241 | coerce 'IdentifiedAction', | ||
| 242 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoActionRecognitionPredictionResult::IdentifiedAction'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedIdentifiedAction', | ||
| 245 | as ArrayRef[IdentifiedAction()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedIdentifiedAction', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoActionRecognitionPredictionResult::IdentifiedAction'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringIdentifiedAction', | ||
| 251 | as HashRef[IdentifiedAction()]; | ||
| 252 | |||
| 253 | declare 'VideoObjectTrackingPredictionResult', | ||
| 254 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult']; | ||
| 255 | |||
| 256 | coerce 'VideoObjectTrackingPredictionResult', | ||
| 257 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedVideoObjectTrackingPredictionResult', | ||
| 260 | as ArrayRef[VideoObjectTrackingPredictionResult()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedVideoObjectTrackingPredictionResult', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringVideoObjectTrackingPredictionResult', | ||
| 266 | as HashRef[VideoObjectTrackingPredictionResult()]; | ||
| 267 | |||
| 268 | declare 'BoundingBox', | ||
| 269 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult::BoundingBox']; | ||
| 270 | |||
| 271 | coerce 'BoundingBox', | ||
| 272 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult::BoundingBox'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedBoundingBox', | ||
| 275 | as ArrayRef[BoundingBox()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedBoundingBox', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult::BoundingBox'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringBoundingBox', | ||
| 281 | as HashRef[BoundingBox()]; | ||
| 282 | |||
| 283 | declare 'DetectedObject', | ||
| 284 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult::DetectedObject']; | ||
| 285 | |||
| 286 | coerce 'DetectedObject', | ||
| 287 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult::DetectedObject'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedDetectedObject', | ||
| 290 | as ArrayRef[DetectedObject()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedDetectedObject', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoObjectTrackingPredictionResult::DetectedObject'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringDetectedObject', | ||
| 296 | as HashRef[DetectedObject()]; | ||
| 297 | |||
| 298 | declare 'VideoClassificationPredictionResult', | ||
| 299 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoClassificationPredictionResult']; | ||
| 300 | |||
| 301 | coerce 'VideoClassificationPredictionResult', | ||
| 302 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoClassificationPredictionResult'->new($_) }; | ||
| 303 | |||
| 304 | declare 'RepeatedVideoClassificationPredictionResult', | ||
| 305 | as ArrayRef[VideoClassificationPredictionResult()]; | ||
| 306 | |||
| 307 | coerce 'RepeatedVideoClassificationPredictionResult', | ||
| 308 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoClassificationPredictionResult'->new($_) } @$_ ] }; | ||
| 309 | |||
| 310 | declare 'MapStringVideoClassificationPredictionResult', | ||
| 311 | as HashRef[VideoClassificationPredictionResult()]; | ||
| 312 | |||
| 313 | declare 'IdentifiedClassification', | ||
| 314 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::VideoClassificationPredictionResult::IdentifiedClassification']; | ||
| 315 | |||
| 316 | coerce 'IdentifiedClassification', | ||
| 317 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::VideoClassificationPredictionResult::IdentifiedClassification'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedIdentifiedClassification', | ||
| 320 | as ArrayRef[IdentifiedClassification()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedIdentifiedClassification', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::VideoClassificationPredictionResult::IdentifiedClassification'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringIdentifiedClassification', | ||
| 326 | as HashRef[IdentifiedClassification()]; | ||
| 327 | |||
| 328 | declare 'OccupancyCountingPredictionResult', | ||
| 329 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult']; | ||
| 330 | |||
| 331 | coerce 'OccupancyCountingPredictionResult', | ||
| 332 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedOccupancyCountingPredictionResult', | ||
| 335 | as ArrayRef[OccupancyCountingPredictionResult()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedOccupancyCountingPredictionResult', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringOccupancyCountingPredictionResult', | ||
| 341 | as HashRef[OccupancyCountingPredictionResult()]; | ||
| 342 | |||
| 343 | declare 'Entity', | ||
| 344 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Entity']; | ||
| 345 | |||
| 346 | coerce 'Entity', | ||
| 347 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Entity'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedEntity', | ||
| 350 | as ArrayRef[Entity()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedEntity', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Entity'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringEntity', | ||
| 356 | as HashRef[Entity()]; | ||
| 357 | |||
| 358 | declare 'IdentifiedBox', | ||
| 359 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::IdentifiedBox']; | ||
| 360 | |||
| 361 | coerce 'IdentifiedBox', | ||
| 362 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::IdentifiedBox'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedIdentifiedBox', | ||
| 365 | as ArrayRef[IdentifiedBox()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedIdentifiedBox', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::IdentifiedBox'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringIdentifiedBox', | ||
| 371 | as HashRef[IdentifiedBox()]; | ||
| 372 | |||
| 373 | declare 'NormalizedBoundingBox', | ||
| 374 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox']; | ||
| 375 | |||
| 376 | coerce 'NormalizedBoundingBox', | ||
| 377 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedNormalizedBoundingBox', | ||
| 380 | as ArrayRef[NormalizedBoundingBox()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedNormalizedBoundingBox', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringNormalizedBoundingBox', | ||
| 386 | as HashRef[NormalizedBoundingBox()]; | ||
| 387 | |||
| 388 | declare 'Stats', | ||
| 389 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats']; | ||
| 390 | |||
| 391 | coerce 'Stats', | ||
| 392 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedStats', | ||
| 395 | as ArrayRef[Stats()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedStats', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringStats', | ||
| 401 | as HashRef[Stats()]; | ||
| 402 | |||
| 403 | declare 'ObjectCount', | ||
| 404 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::ObjectCount']; | ||
| 405 | |||
| 406 | coerce 'ObjectCount', | ||
| 407 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::ObjectCount'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedObjectCount', | ||
| 410 | as ArrayRef[ObjectCount()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedObjectCount', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::ObjectCount'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringObjectCount', | ||
| 416 | as HashRef[ObjectCount()]; | ||
| 417 | |||
| 418 | declare 'AccumulatedObjectCount', | ||
| 419 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount']; | ||
| 420 | |||
| 421 | coerce 'AccumulatedObjectCount', | ||
| 422 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedAccumulatedObjectCount', | ||
| 425 | as ArrayRef[AccumulatedObjectCount()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedAccumulatedObjectCount', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::AccumulatedObjectCount'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringAccumulatedObjectCount', | ||
| 431 | as HashRef[AccumulatedObjectCount()]; | ||
| 432 | |||
| 433 | declare 'CrossingLineCount', | ||
| 434 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::CrossingLineCount']; | ||
| 435 | |||
| 436 | coerce 'CrossingLineCount', | ||
| 437 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::CrossingLineCount'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedCrossingLineCount', | ||
| 440 | as ArrayRef[CrossingLineCount()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedCrossingLineCount', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::CrossingLineCount'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringCrossingLineCount', | ||
| 446 | as HashRef[CrossingLineCount()]; | ||
| 447 | |||
| 448 | declare 'ActiveZoneCount', | ||
| 449 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::ActiveZoneCount']; | ||
| 450 | |||
| 451 | coerce 'ActiveZoneCount', | ||
| 452 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::ActiveZoneCount'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedActiveZoneCount', | ||
| 455 | as ArrayRef[ActiveZoneCount()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedActiveZoneCount', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::Stats::ActiveZoneCount'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringActiveZoneCount', | ||
| 461 | as HashRef[ActiveZoneCount()]; | ||
| 462 | |||
| 463 | declare 'TrackInfo', | ||
| 464 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::TrackInfo']; | ||
| 465 | |||
| 466 | coerce 'TrackInfo', | ||
| 467 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::TrackInfo'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedTrackInfo', | ||
| 470 | as ArrayRef[TrackInfo()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedTrackInfo', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::TrackInfo'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringTrackInfo', | ||
| 476 | as HashRef[TrackInfo()]; | ||
| 477 | |||
| 478 | declare 'DwellTimeInfo', | ||
| 479 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::DwellTimeInfo']; | ||
| 480 | |||
| 481 | coerce 'DwellTimeInfo', | ||
| 482 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::DwellTimeInfo'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedDwellTimeInfo', | ||
| 485 | as ArrayRef[DwellTimeInfo()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedDwellTimeInfo', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::OccupancyCountingPredictionResult::DwellTimeInfo'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringDwellTimeInfo', | ||
| 491 | as HashRef[DwellTimeInfo()]; | ||
| 492 | |||
| 493 | declare 'StreamAnnotation', | ||
| 494 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::StreamAnnotation']; | ||
| 495 | |||
| 496 | coerce 'StreamAnnotation', | ||
| 497 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::StreamAnnotation'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedStreamAnnotation', | ||
| 500 | as ArrayRef[StreamAnnotation()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedStreamAnnotation', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::StreamAnnotation'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringStreamAnnotation', | ||
| 506 | as HashRef[StreamAnnotation()]; | ||
| 507 | |||
| 508 | declare 'StreamAnnotations', | ||
| 509 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::StreamAnnotations']; | ||
| 510 | |||
| 511 | coerce 'StreamAnnotations', | ||
| 512 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::StreamAnnotations'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedStreamAnnotations', | ||
| 515 | as ArrayRef[StreamAnnotations()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedStreamAnnotations', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::StreamAnnotations'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringStreamAnnotations', | ||
| 521 | as HashRef[StreamAnnotations()]; | ||
| 522 | |||
| 523 | declare 'NormalizedPolygon', | ||
| 524 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::NormalizedPolygon']; | ||
| 525 | |||
| 526 | coerce 'NormalizedPolygon', | ||
| 527 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::NormalizedPolygon'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedNormalizedPolygon', | ||
| 530 | as ArrayRef[NormalizedPolygon()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedNormalizedPolygon', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::NormalizedPolygon'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringNormalizedPolygon', | ||
| 536 | as HashRef[NormalizedPolygon()]; | ||
| 537 | |||
| 538 | declare 'NormalizedPolyline', | ||
| 539 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::NormalizedPolyline']; | ||
| 540 | |||
| 541 | coerce 'NormalizedPolyline', | ||
| 542 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::NormalizedPolyline'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedNormalizedPolyline', | ||
| 545 | as ArrayRef[NormalizedPolyline()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedNormalizedPolyline', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::NormalizedPolyline'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringNormalizedPolyline', | ||
| 551 | as HashRef[NormalizedPolyline()]; | ||
| 552 | |||
| 553 | declare 'NormalizedVertex', | ||
| 554 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::NormalizedVertex']; | ||
| 555 | |||
| 556 | coerce 'NormalizedVertex', | ||
| 557 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::NormalizedVertex'->new($_) }; | ||
| 558 | |||
| 559 | declare 'RepeatedNormalizedVertex', | ||
| 560 | as ArrayRef[NormalizedVertex()]; | ||
| 561 | |||
| 562 | coerce 'RepeatedNormalizedVertex', | ||
| 563 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::NormalizedVertex'->new($_) } @$_ ] }; | ||
| 564 | |||
| 565 | declare 'MapStringNormalizedVertex', | ||
| 566 | as HashRef[NormalizedVertex()]; | ||
| 567 | |||
| 568 | declare 'AppPlatformMetadata', | ||
| 569 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::AppPlatformMetadata']; | ||
| 570 | |||
| 571 | coerce 'AppPlatformMetadata', | ||
| 572 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformMetadata'->new($_) }; | ||
| 573 | |||
| 574 | declare 'RepeatedAppPlatformMetadata', | ||
| 575 | as ArrayRef[AppPlatformMetadata()]; | ||
| 576 | |||
| 577 | coerce 'RepeatedAppPlatformMetadata', | ||
| 578 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformMetadata'->new($_) } @$_ ] }; | ||
| 579 | |||
| 580 | declare 'MapStringAppPlatformMetadata', | ||
| 581 | as HashRef[AppPlatformMetadata()]; | ||
| 582 | |||
| 583 | declare 'AppPlatformCloudFunctionRequest', | ||
| 584 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionRequest']; | ||
| 585 | |||
| 586 | coerce 'AppPlatformCloudFunctionRequest', | ||
| 587 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionRequest'->new($_) }; | ||
| 588 | |||
| 589 | declare 'RepeatedAppPlatformCloudFunctionRequest', | ||
| 590 | as ArrayRef[AppPlatformCloudFunctionRequest()]; | ||
| 591 | |||
| 592 | coerce 'RepeatedAppPlatformCloudFunctionRequest', | ||
| 593 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionRequest'->new($_) } @$_ ] }; | ||
| 594 | |||
| 595 | declare 'MapStringAppPlatformCloudFunctionRequest', | ||
| 596 | as HashRef[AppPlatformCloudFunctionRequest()]; | ||
| 597 | |||
| 598 | declare 'StructedInputAnnotation', | ||
| 599 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionRequest::StructedInputAnnotation']; | ||
| 600 | |||
| 601 | coerce 'StructedInputAnnotation', | ||
| 602 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionRequest::StructedInputAnnotation'->new($_) }; | ||
| 603 | |||
| 604 | declare 'RepeatedStructedInputAnnotation', | ||
| 605 | as ArrayRef[StructedInputAnnotation()]; | ||
| 606 | |||
| 607 | coerce 'RepeatedStructedInputAnnotation', | ||
| 608 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionRequest::StructedInputAnnotation'->new($_) } @$_ ] }; | ||
| 609 | |||
| 610 | declare 'MapStringStructedInputAnnotation', | ||
| 611 | as HashRef[StructedInputAnnotation()]; | ||
| 612 | |||
| 613 | declare 'AppPlatformCloudFunctionResponse', | ||
| 614 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionResponse']; | ||
| 615 | |||
| 616 | coerce 'AppPlatformCloudFunctionResponse', | ||
| 617 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionResponse'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedAppPlatformCloudFunctionResponse', | ||
| 620 | as ArrayRef[AppPlatformCloudFunctionResponse()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedAppPlatformCloudFunctionResponse', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionResponse'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringAppPlatformCloudFunctionResponse', | ||
| 626 | as HashRef[AppPlatformCloudFunctionResponse()]; | ||
| 627 | |||
| 628 | declare 'StructedOutputAnnotation', | ||
| 629 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionResponse::StructedOutputAnnotation']; | ||
| 630 | |||
| 631 | coerce 'StructedOutputAnnotation', | ||
| 632 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionResponse::StructedOutputAnnotation'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedStructedOutputAnnotation', | ||
| 635 | as ArrayRef[StructedOutputAnnotation()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedStructedOutputAnnotation', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformCloudFunctionResponse::StructedOutputAnnotation'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringStructedOutputAnnotation', | ||
| 641 | as HashRef[StructedOutputAnnotation()]; | ||
| 642 | |||
| 643 | declare 'AppPlatformEventBody', | ||
| 644 | as InstanceOf['Google::Cloud::Visionai::V1::Annotations::AppPlatformEventBody']; | ||
| 645 | |||
| 646 | coerce 'AppPlatformEventBody', | ||
| 647 | from HashRef, via { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformEventBody'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedAppPlatformEventBody', | ||
| 650 | as ArrayRef[AppPlatformEventBody()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedAppPlatformEventBody', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Annotations::AppPlatformEventBody'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringAppPlatformEventBody', | ||
| 656 | as HashRef[AppPlatformEventBody()]; | ||
| 657 | |||
| 658 | 1; | ||
| 659 | |||
| 660 | __END__ |