| 1 | package Google::Cloud::Videointelligence::V1::VideoIntelligence::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 'Feature', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'LabelDetectionMode', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'Likelihood', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'AnnotateVideoRequest', | ||
| 20 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoRequest']; | ||
| 21 | |||
| 22 | coerce 'AnnotateVideoRequest', | ||
| 23 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoRequest'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedAnnotateVideoRequest', | ||
| 26 | as ArrayRef[AnnotateVideoRequest()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedAnnotateVideoRequest', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoRequest'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringAnnotateVideoRequest', | ||
| 32 | as HashRef[AnnotateVideoRequest()]; | ||
| 33 | |||
| 34 | declare 'VideoContext', | ||
| 35 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoContext']; | ||
| 36 | |||
| 37 | coerce 'VideoContext', | ||
| 38 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoContext'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedVideoContext', | ||
| 41 | as ArrayRef[VideoContext()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedVideoContext', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoContext'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringVideoContext', | ||
| 47 | as HashRef[VideoContext()]; | ||
| 48 | |||
| 49 | declare 'LabelDetectionConfig', | ||
| 50 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelDetectionConfig']; | ||
| 51 | |||
| 52 | coerce 'LabelDetectionConfig', | ||
| 53 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelDetectionConfig'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedLabelDetectionConfig', | ||
| 56 | as ArrayRef[LabelDetectionConfig()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedLabelDetectionConfig', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelDetectionConfig'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringLabelDetectionConfig', | ||
| 62 | as HashRef[LabelDetectionConfig()]; | ||
| 63 | |||
| 64 | declare 'ShotChangeDetectionConfig', | ||
| 65 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ShotChangeDetectionConfig']; | ||
| 66 | |||
| 67 | coerce 'ShotChangeDetectionConfig', | ||
| 68 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ShotChangeDetectionConfig'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedShotChangeDetectionConfig', | ||
| 71 | as ArrayRef[ShotChangeDetectionConfig()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedShotChangeDetectionConfig', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ShotChangeDetectionConfig'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringShotChangeDetectionConfig', | ||
| 77 | as HashRef[ShotChangeDetectionConfig()]; | ||
| 78 | |||
| 79 | declare 'ObjectTrackingConfig', | ||
| 80 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingConfig']; | ||
| 81 | |||
| 82 | coerce 'ObjectTrackingConfig', | ||
| 83 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingConfig'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedObjectTrackingConfig', | ||
| 86 | as ArrayRef[ObjectTrackingConfig()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedObjectTrackingConfig', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingConfig'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringObjectTrackingConfig', | ||
| 92 | as HashRef[ObjectTrackingConfig()]; | ||
| 93 | |||
| 94 | declare 'FaceDetectionConfig', | ||
| 95 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceDetectionConfig']; | ||
| 96 | |||
| 97 | coerce 'FaceDetectionConfig', | ||
| 98 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceDetectionConfig'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedFaceDetectionConfig', | ||
| 101 | as ArrayRef[FaceDetectionConfig()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedFaceDetectionConfig', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceDetectionConfig'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringFaceDetectionConfig', | ||
| 107 | as HashRef[FaceDetectionConfig()]; | ||
| 108 | |||
| 109 | declare 'PersonDetectionConfig', | ||
| 110 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::PersonDetectionConfig']; | ||
| 111 | |||
| 112 | coerce 'PersonDetectionConfig', | ||
| 113 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::PersonDetectionConfig'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedPersonDetectionConfig', | ||
| 116 | as ArrayRef[PersonDetectionConfig()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedPersonDetectionConfig', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::PersonDetectionConfig'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringPersonDetectionConfig', | ||
| 122 | as HashRef[PersonDetectionConfig()]; | ||
| 123 | |||
| 124 | declare 'ExplicitContentDetectionConfig', | ||
| 125 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentDetectionConfig']; | ||
| 126 | |||
| 127 | coerce 'ExplicitContentDetectionConfig', | ||
| 128 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentDetectionConfig'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedExplicitContentDetectionConfig', | ||
| 131 | as ArrayRef[ExplicitContentDetectionConfig()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedExplicitContentDetectionConfig', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentDetectionConfig'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringExplicitContentDetectionConfig', | ||
| 137 | as HashRef[ExplicitContentDetectionConfig()]; | ||
| 138 | |||
| 139 | declare 'TextDetectionConfig', | ||
| 140 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::TextDetectionConfig']; | ||
| 141 | |||
| 142 | coerce 'TextDetectionConfig', | ||
| 143 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextDetectionConfig'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedTextDetectionConfig', | ||
| 146 | as ArrayRef[TextDetectionConfig()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedTextDetectionConfig', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextDetectionConfig'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringTextDetectionConfig', | ||
| 152 | as HashRef[TextDetectionConfig()]; | ||
| 153 | |||
| 154 | declare 'VideoSegment', | ||
| 155 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoSegment']; | ||
| 156 | |||
| 157 | coerce 'VideoSegment', | ||
| 158 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoSegment'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedVideoSegment', | ||
| 161 | as ArrayRef[VideoSegment()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedVideoSegment', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoSegment'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringVideoSegment', | ||
| 167 | as HashRef[VideoSegment()]; | ||
| 168 | |||
| 169 | declare 'LabelSegment', | ||
| 170 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelSegment']; | ||
| 171 | |||
| 172 | coerce 'LabelSegment', | ||
| 173 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelSegment'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedLabelSegment', | ||
| 176 | as ArrayRef[LabelSegment()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedLabelSegment', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelSegment'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringLabelSegment', | ||
| 182 | as HashRef[LabelSegment()]; | ||
| 183 | |||
| 184 | declare 'LabelFrame', | ||
| 185 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelFrame']; | ||
| 186 | |||
| 187 | coerce 'LabelFrame', | ||
| 188 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelFrame'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedLabelFrame', | ||
| 191 | as ArrayRef[LabelFrame()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedLabelFrame', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelFrame'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringLabelFrame', | ||
| 197 | as HashRef[LabelFrame()]; | ||
| 198 | |||
| 199 | declare 'Entity', | ||
| 200 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::Entity']; | ||
| 201 | |||
| 202 | coerce 'Entity', | ||
| 203 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::Entity'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedEntity', | ||
| 206 | as ArrayRef[Entity()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedEntity', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::Entity'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringEntity', | ||
| 212 | as HashRef[Entity()]; | ||
| 213 | |||
| 214 | declare 'LabelAnnotation', | ||
| 215 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelAnnotation']; | ||
| 216 | |||
| 217 | coerce 'LabelAnnotation', | ||
| 218 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelAnnotation'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedLabelAnnotation', | ||
| 221 | as ArrayRef[LabelAnnotation()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedLabelAnnotation', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LabelAnnotation'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringLabelAnnotation', | ||
| 227 | as HashRef[LabelAnnotation()]; | ||
| 228 | |||
| 229 | declare 'ExplicitContentFrame', | ||
| 230 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentFrame']; | ||
| 231 | |||
| 232 | coerce 'ExplicitContentFrame', | ||
| 233 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentFrame'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedExplicitContentFrame', | ||
| 236 | as ArrayRef[ExplicitContentFrame()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedExplicitContentFrame', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentFrame'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringExplicitContentFrame', | ||
| 242 | as HashRef[ExplicitContentFrame()]; | ||
| 243 | |||
| 244 | declare 'ExplicitContentAnnotation', | ||
| 245 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentAnnotation']; | ||
| 246 | |||
| 247 | coerce 'ExplicitContentAnnotation', | ||
| 248 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentAnnotation'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedExplicitContentAnnotation', | ||
| 251 | as ArrayRef[ExplicitContentAnnotation()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedExplicitContentAnnotation', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ExplicitContentAnnotation'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringExplicitContentAnnotation', | ||
| 257 | as HashRef[ExplicitContentAnnotation()]; | ||
| 258 | |||
| 259 | declare 'NormalizedBoundingBox', | ||
| 260 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedBoundingBox']; | ||
| 261 | |||
| 262 | coerce 'NormalizedBoundingBox', | ||
| 263 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedBoundingBox'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedNormalizedBoundingBox', | ||
| 266 | as ArrayRef[NormalizedBoundingBox()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedNormalizedBoundingBox', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedBoundingBox'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringNormalizedBoundingBox', | ||
| 272 | as HashRef[NormalizedBoundingBox()]; | ||
| 273 | |||
| 274 | declare 'FaceDetectionAnnotation', | ||
| 275 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceDetectionAnnotation']; | ||
| 276 | |||
| 277 | coerce 'FaceDetectionAnnotation', | ||
| 278 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceDetectionAnnotation'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedFaceDetectionAnnotation', | ||
| 281 | as ArrayRef[FaceDetectionAnnotation()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedFaceDetectionAnnotation', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceDetectionAnnotation'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringFaceDetectionAnnotation', | ||
| 287 | as HashRef[FaceDetectionAnnotation()]; | ||
| 288 | |||
| 289 | declare 'PersonDetectionAnnotation', | ||
| 290 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::PersonDetectionAnnotation']; | ||
| 291 | |||
| 292 | coerce 'PersonDetectionAnnotation', | ||
| 293 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::PersonDetectionAnnotation'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedPersonDetectionAnnotation', | ||
| 296 | as ArrayRef[PersonDetectionAnnotation()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedPersonDetectionAnnotation', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::PersonDetectionAnnotation'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringPersonDetectionAnnotation', | ||
| 302 | as HashRef[PersonDetectionAnnotation()]; | ||
| 303 | |||
| 304 | declare 'FaceSegment', | ||
| 305 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceSegment']; | ||
| 306 | |||
| 307 | coerce 'FaceSegment', | ||
| 308 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceSegment'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedFaceSegment', | ||
| 311 | as ArrayRef[FaceSegment()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedFaceSegment', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceSegment'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringFaceSegment', | ||
| 317 | as HashRef[FaceSegment()]; | ||
| 318 | |||
| 319 | declare 'FaceFrame', | ||
| 320 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceFrame']; | ||
| 321 | |||
| 322 | coerce 'FaceFrame', | ||
| 323 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceFrame'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedFaceFrame', | ||
| 326 | as ArrayRef[FaceFrame()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedFaceFrame', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceFrame'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringFaceFrame', | ||
| 332 | as HashRef[FaceFrame()]; | ||
| 333 | |||
| 334 | declare 'FaceAnnotation', | ||
| 335 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceAnnotation']; | ||
| 336 | |||
| 337 | coerce 'FaceAnnotation', | ||
| 338 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceAnnotation'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedFaceAnnotation', | ||
| 341 | as ArrayRef[FaceAnnotation()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedFaceAnnotation', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::FaceAnnotation'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringFaceAnnotation', | ||
| 347 | as HashRef[FaceAnnotation()]; | ||
| 348 | |||
| 349 | declare 'TimestampedObject', | ||
| 350 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::TimestampedObject']; | ||
| 351 | |||
| 352 | coerce 'TimestampedObject', | ||
| 353 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TimestampedObject'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedTimestampedObject', | ||
| 356 | as ArrayRef[TimestampedObject()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedTimestampedObject', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TimestampedObject'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringTimestampedObject', | ||
| 362 | as HashRef[TimestampedObject()]; | ||
| 363 | |||
| 364 | declare 'Track', | ||
| 365 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::Track']; | ||
| 366 | |||
| 367 | coerce 'Track', | ||
| 368 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::Track'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedTrack', | ||
| 371 | as ArrayRef[Track()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedTrack', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::Track'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringTrack', | ||
| 377 | as HashRef[Track()]; | ||
| 378 | |||
| 379 | declare 'DetectedAttribute', | ||
| 380 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::DetectedAttribute']; | ||
| 381 | |||
| 382 | coerce 'DetectedAttribute', | ||
| 383 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::DetectedAttribute'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedDetectedAttribute', | ||
| 386 | as ArrayRef[DetectedAttribute()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedDetectedAttribute', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::DetectedAttribute'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringDetectedAttribute', | ||
| 392 | as HashRef[DetectedAttribute()]; | ||
| 393 | |||
| 394 | declare 'DetectedLandmark', | ||
| 395 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::DetectedLandmark']; | ||
| 396 | |||
| 397 | coerce 'DetectedLandmark', | ||
| 398 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::DetectedLandmark'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedDetectedLandmark', | ||
| 401 | as ArrayRef[DetectedLandmark()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedDetectedLandmark', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::DetectedLandmark'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringDetectedLandmark', | ||
| 407 | as HashRef[DetectedLandmark()]; | ||
| 408 | |||
| 409 | declare 'VideoAnnotationResults', | ||
| 410 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoAnnotationResults']; | ||
| 411 | |||
| 412 | coerce 'VideoAnnotationResults', | ||
| 413 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoAnnotationResults'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedVideoAnnotationResults', | ||
| 416 | as ArrayRef[VideoAnnotationResults()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedVideoAnnotationResults', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoAnnotationResults'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringVideoAnnotationResults', | ||
| 422 | as HashRef[VideoAnnotationResults()]; | ||
| 423 | |||
| 424 | declare 'AnnotateVideoResponse', | ||
| 425 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoResponse']; | ||
| 426 | |||
| 427 | coerce 'AnnotateVideoResponse', | ||
| 428 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoResponse'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedAnnotateVideoResponse', | ||
| 431 | as ArrayRef[AnnotateVideoResponse()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedAnnotateVideoResponse', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoResponse'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringAnnotateVideoResponse', | ||
| 437 | as HashRef[AnnotateVideoResponse()]; | ||
| 438 | |||
| 439 | declare 'VideoAnnotationProgress', | ||
| 440 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoAnnotationProgress']; | ||
| 441 | |||
| 442 | coerce 'VideoAnnotationProgress', | ||
| 443 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoAnnotationProgress'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedVideoAnnotationProgress', | ||
| 446 | as ArrayRef[VideoAnnotationProgress()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedVideoAnnotationProgress', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::VideoAnnotationProgress'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringVideoAnnotationProgress', | ||
| 452 | as HashRef[VideoAnnotationProgress()]; | ||
| 453 | |||
| 454 | declare 'AnnotateVideoProgress', | ||
| 455 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoProgress']; | ||
| 456 | |||
| 457 | coerce 'AnnotateVideoProgress', | ||
| 458 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoProgress'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedAnnotateVideoProgress', | ||
| 461 | as ArrayRef[AnnotateVideoProgress()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedAnnotateVideoProgress', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::AnnotateVideoProgress'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringAnnotateVideoProgress', | ||
| 467 | as HashRef[AnnotateVideoProgress()]; | ||
| 468 | |||
| 469 | declare 'SpeechTranscriptionConfig', | ||
| 470 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechTranscriptionConfig']; | ||
| 471 | |||
| 472 | coerce 'SpeechTranscriptionConfig', | ||
| 473 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechTranscriptionConfig'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedSpeechTranscriptionConfig', | ||
| 476 | as ArrayRef[SpeechTranscriptionConfig()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedSpeechTranscriptionConfig', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechTranscriptionConfig'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringSpeechTranscriptionConfig', | ||
| 482 | as HashRef[SpeechTranscriptionConfig()]; | ||
| 483 | |||
| 484 | declare 'SpeechContext', | ||
| 485 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechContext']; | ||
| 486 | |||
| 487 | coerce 'SpeechContext', | ||
| 488 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechContext'->new($_) }; | ||
| 489 | |||
| 490 | declare 'RepeatedSpeechContext', | ||
| 491 | as ArrayRef[SpeechContext()]; | ||
| 492 | |||
| 493 | coerce 'RepeatedSpeechContext', | ||
| 494 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechContext'->new($_) } @$_ ] }; | ||
| 495 | |||
| 496 | declare 'MapStringSpeechContext', | ||
| 497 | as HashRef[SpeechContext()]; | ||
| 498 | |||
| 499 | declare 'SpeechTranscription', | ||
| 500 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechTranscription']; | ||
| 501 | |||
| 502 | coerce 'SpeechTranscription', | ||
| 503 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechTranscription'->new($_) }; | ||
| 504 | |||
| 505 | declare 'RepeatedSpeechTranscription', | ||
| 506 | as ArrayRef[SpeechTranscription()]; | ||
| 507 | |||
| 508 | coerce 'RepeatedSpeechTranscription', | ||
| 509 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechTranscription'->new($_) } @$_ ] }; | ||
| 510 | |||
| 511 | declare 'MapStringSpeechTranscription', | ||
| 512 | as HashRef[SpeechTranscription()]; | ||
| 513 | |||
| 514 | declare 'SpeechRecognitionAlternative', | ||
| 515 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechRecognitionAlternative']; | ||
| 516 | |||
| 517 | coerce 'SpeechRecognitionAlternative', | ||
| 518 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechRecognitionAlternative'->new($_) }; | ||
| 519 | |||
| 520 | declare 'RepeatedSpeechRecognitionAlternative', | ||
| 521 | as ArrayRef[SpeechRecognitionAlternative()]; | ||
| 522 | |||
| 523 | coerce 'RepeatedSpeechRecognitionAlternative', | ||
| 524 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::SpeechRecognitionAlternative'->new($_) } @$_ ] }; | ||
| 525 | |||
| 526 | declare 'MapStringSpeechRecognitionAlternative', | ||
| 527 | as HashRef[SpeechRecognitionAlternative()]; | ||
| 528 | |||
| 529 | declare 'WordInfo', | ||
| 530 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::WordInfo']; | ||
| 531 | |||
| 532 | coerce 'WordInfo', | ||
| 533 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::WordInfo'->new($_) }; | ||
| 534 | |||
| 535 | declare 'RepeatedWordInfo', | ||
| 536 | as ArrayRef[WordInfo()]; | ||
| 537 | |||
| 538 | coerce 'RepeatedWordInfo', | ||
| 539 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::WordInfo'->new($_) } @$_ ] }; | ||
| 540 | |||
| 541 | declare 'MapStringWordInfo', | ||
| 542 | as HashRef[WordInfo()]; | ||
| 543 | |||
| 544 | declare 'NormalizedVertex', | ||
| 545 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedVertex']; | ||
| 546 | |||
| 547 | coerce 'NormalizedVertex', | ||
| 548 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedVertex'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedNormalizedVertex', | ||
| 551 | as ArrayRef[NormalizedVertex()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedNormalizedVertex', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedVertex'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringNormalizedVertex', | ||
| 557 | as HashRef[NormalizedVertex()]; | ||
| 558 | |||
| 559 | declare 'NormalizedBoundingPoly', | ||
| 560 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedBoundingPoly']; | ||
| 561 | |||
| 562 | coerce 'NormalizedBoundingPoly', | ||
| 563 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedBoundingPoly'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedNormalizedBoundingPoly', | ||
| 566 | as ArrayRef[NormalizedBoundingPoly()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedNormalizedBoundingPoly', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::NormalizedBoundingPoly'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringNormalizedBoundingPoly', | ||
| 572 | as HashRef[NormalizedBoundingPoly()]; | ||
| 573 | |||
| 574 | declare 'TextSegment', | ||
| 575 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::TextSegment']; | ||
| 576 | |||
| 577 | coerce 'TextSegment', | ||
| 578 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextSegment'->new($_) }; | ||
| 579 | |||
| 580 | declare 'RepeatedTextSegment', | ||
| 581 | as ArrayRef[TextSegment()]; | ||
| 582 | |||
| 583 | coerce 'RepeatedTextSegment', | ||
| 584 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextSegment'->new($_) } @$_ ] }; | ||
| 585 | |||
| 586 | declare 'MapStringTextSegment', | ||
| 587 | as HashRef[TextSegment()]; | ||
| 588 | |||
| 589 | declare 'TextFrame', | ||
| 590 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::TextFrame']; | ||
| 591 | |||
| 592 | coerce 'TextFrame', | ||
| 593 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextFrame'->new($_) }; | ||
| 594 | |||
| 595 | declare 'RepeatedTextFrame', | ||
| 596 | as ArrayRef[TextFrame()]; | ||
| 597 | |||
| 598 | coerce 'RepeatedTextFrame', | ||
| 599 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextFrame'->new($_) } @$_ ] }; | ||
| 600 | |||
| 601 | declare 'MapStringTextFrame', | ||
| 602 | as HashRef[TextFrame()]; | ||
| 603 | |||
| 604 | declare 'TextAnnotation', | ||
| 605 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::TextAnnotation']; | ||
| 606 | |||
| 607 | coerce 'TextAnnotation', | ||
| 608 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextAnnotation'->new($_) }; | ||
| 609 | |||
| 610 | declare 'RepeatedTextAnnotation', | ||
| 611 | as ArrayRef[TextAnnotation()]; | ||
| 612 | |||
| 613 | coerce 'RepeatedTextAnnotation', | ||
| 614 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::TextAnnotation'->new($_) } @$_ ] }; | ||
| 615 | |||
| 616 | declare 'MapStringTextAnnotation', | ||
| 617 | as HashRef[TextAnnotation()]; | ||
| 618 | |||
| 619 | declare 'ObjectTrackingFrame', | ||
| 620 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingFrame']; | ||
| 621 | |||
| 622 | coerce 'ObjectTrackingFrame', | ||
| 623 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingFrame'->new($_) }; | ||
| 624 | |||
| 625 | declare 'RepeatedObjectTrackingFrame', | ||
| 626 | as ArrayRef[ObjectTrackingFrame()]; | ||
| 627 | |||
| 628 | coerce 'RepeatedObjectTrackingFrame', | ||
| 629 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingFrame'->new($_) } @$_ ] }; | ||
| 630 | |||
| 631 | declare 'MapStringObjectTrackingFrame', | ||
| 632 | as HashRef[ObjectTrackingFrame()]; | ||
| 633 | |||
| 634 | declare 'ObjectTrackingAnnotation', | ||
| 635 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingAnnotation']; | ||
| 636 | |||
| 637 | coerce 'ObjectTrackingAnnotation', | ||
| 638 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingAnnotation'->new($_) }; | ||
| 639 | |||
| 640 | declare 'RepeatedObjectTrackingAnnotation', | ||
| 641 | as ArrayRef[ObjectTrackingAnnotation()]; | ||
| 642 | |||
| 643 | coerce 'RepeatedObjectTrackingAnnotation', | ||
| 644 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::ObjectTrackingAnnotation'->new($_) } @$_ ] }; | ||
| 645 | |||
| 646 | declare 'MapStringObjectTrackingAnnotation', | ||
| 647 | as HashRef[ObjectTrackingAnnotation()]; | ||
| 648 | |||
| 649 | declare 'LogoRecognitionAnnotation', | ||
| 650 | as InstanceOf['Google::Cloud::Videointelligence::V1::VideoIntelligence::LogoRecognitionAnnotation']; | ||
| 651 | |||
| 652 | coerce 'LogoRecognitionAnnotation', | ||
| 653 | from HashRef, via { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LogoRecognitionAnnotation'->new($_) }; | ||
| 654 | |||
| 655 | declare 'RepeatedLogoRecognitionAnnotation', | ||
| 656 | as ArrayRef[LogoRecognitionAnnotation()]; | ||
| 657 | |||
| 658 | coerce 'RepeatedLogoRecognitionAnnotation', | ||
| 659 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Videointelligence::V1::VideoIntelligence::LogoRecognitionAnnotation'->new($_) } @$_ ] }; | ||
| 660 | |||
| 661 | declare 'MapStringLogoRecognitionAnnotation', | ||
| 662 | as HashRef[LogoRecognitionAnnotation()]; | ||
| 663 | |||
| 664 | 1; | ||
| 665 | |||
| 666 | __END__ |