V2/CloudSpeech/Types.pm untested

filter: Statementstmt 0.0% 0 / 999 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 1004 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Speech::V2::CloudSpeech::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 'CreateRecognizerRequest',
11 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CreateRecognizerRequest'];
12  
13 coerce 'CreateRecognizerRequest',
14 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CreateRecognizerRequest'->new($_) };
15  
16 declare 'RepeatedCreateRecognizerRequest',
17 as ArrayRef[CreateRecognizerRequest()];
18  
19 coerce 'RepeatedCreateRecognizerRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CreateRecognizerRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateRecognizerRequest',
23 as HashRef[CreateRecognizerRequest()];
24  
25 declare 'OperationMetadata',
26 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::OperationMetadata'];
27  
28 coerce 'OperationMetadata',
29 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::OperationMetadata'->new($_) };
30  
31 declare 'RepeatedOperationMetadata',
32 as ArrayRef[OperationMetadata()];
33  
34 coerce 'RepeatedOperationMetadata',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::OperationMetadata'->new($_) } @$_ ] };
36  
37 declare 'MapStringOperationMetadata',
38 as HashRef[OperationMetadata()];
39  
40 declare 'ListRecognizersRequest',
41 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ListRecognizersRequest'];
42  
43 coerce 'ListRecognizersRequest',
44 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ListRecognizersRequest'->new($_) };
45  
46 declare 'RepeatedListRecognizersRequest',
47 as ArrayRef[ListRecognizersRequest()];
48  
49 coerce 'RepeatedListRecognizersRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ListRecognizersRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringListRecognizersRequest',
53 as HashRef[ListRecognizersRequest()];
54  
55 declare 'ListRecognizersResponse',
56 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ListRecognizersResponse'];
57  
58 coerce 'ListRecognizersResponse',
59 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ListRecognizersResponse'->new($_) };
60  
61 declare 'RepeatedListRecognizersResponse',
62 as ArrayRef[ListRecognizersResponse()];
63  
64 coerce 'RepeatedListRecognizersResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ListRecognizersResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringListRecognizersResponse',
68 as HashRef[ListRecognizersResponse()];
69  
70 declare 'GetRecognizerRequest',
71 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::GetRecognizerRequest'];
72  
73 coerce 'GetRecognizerRequest',
74 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::GetRecognizerRequest'->new($_) };
75  
76 declare 'RepeatedGetRecognizerRequest',
77 as ArrayRef[GetRecognizerRequest()];
78  
79 coerce 'RepeatedGetRecognizerRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::GetRecognizerRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringGetRecognizerRequest',
83 as HashRef[GetRecognizerRequest()];
84  
85 declare 'UpdateRecognizerRequest',
86 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UpdateRecognizerRequest'];
87  
88 coerce 'UpdateRecognizerRequest',
89 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UpdateRecognizerRequest'->new($_) };
90  
91 declare 'RepeatedUpdateRecognizerRequest',
92 as ArrayRef[UpdateRecognizerRequest()];
93  
94 coerce 'RepeatedUpdateRecognizerRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UpdateRecognizerRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringUpdateRecognizerRequest',
98 as HashRef[UpdateRecognizerRequest()];
99  
100 declare 'DeleteRecognizerRequest',
101 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::DeleteRecognizerRequest'];
102  
103 coerce 'DeleteRecognizerRequest',
104 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::DeleteRecognizerRequest'->new($_) };
105  
106 declare 'RepeatedDeleteRecognizerRequest',
107 as ArrayRef[DeleteRecognizerRequest()];
108  
109 coerce 'RepeatedDeleteRecognizerRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::DeleteRecognizerRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringDeleteRecognizerRequest',
113 as HashRef[DeleteRecognizerRequest()];
114  
115 declare 'UndeleteRecognizerRequest',
116 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UndeleteRecognizerRequest'];
117  
118 coerce 'UndeleteRecognizerRequest',
119 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UndeleteRecognizerRequest'->new($_) };
120  
121 declare 'RepeatedUndeleteRecognizerRequest',
122 as ArrayRef[UndeleteRecognizerRequest()];
123  
124 coerce 'RepeatedUndeleteRecognizerRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UndeleteRecognizerRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringUndeleteRecognizerRequest',
128 as HashRef[UndeleteRecognizerRequest()];
129  
130 declare 'Recognizer',
131 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::Recognizer'];
132  
133 coerce 'Recognizer',
134 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::Recognizer'->new($_) };
135  
136 declare 'RepeatedRecognizer',
137 as ArrayRef[Recognizer()];
138  
139 coerce 'RepeatedRecognizer',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::Recognizer'->new($_) } @$_ ] };
141  
142 declare 'MapStringRecognizer',
143 as HashRef[Recognizer()];
144  
145 declare 'State',
146 as (Int | Str);
147  
148 declare 'AnnotationsEntry',
149 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::Recognizer::AnnotationsEntry'];
150  
151 coerce 'AnnotationsEntry',
152 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::Recognizer::AnnotationsEntry'->new($_) };
153  
154 declare 'RepeatedAnnotationsEntry',
155 as ArrayRef[AnnotationsEntry()];
156  
157 coerce 'RepeatedAnnotationsEntry',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::Recognizer::AnnotationsEntry'->new($_) } @$_ ] };
159  
160 declare 'MapStringAnnotationsEntry',
161 as HashRef[AnnotationsEntry()];
162  
163 declare 'AutoDetectDecodingConfig',
164 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::AutoDetectDecodingConfig'];
165  
166 coerce 'AutoDetectDecodingConfig',
167 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::AutoDetectDecodingConfig'->new($_) };
168  
169 declare 'RepeatedAutoDetectDecodingConfig',
170 as ArrayRef[AutoDetectDecodingConfig()];
171  
172 coerce 'RepeatedAutoDetectDecodingConfig',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::AutoDetectDecodingConfig'->new($_) } @$_ ] };
174  
175 declare 'MapStringAutoDetectDecodingConfig',
176 as HashRef[AutoDetectDecodingConfig()];
177  
178 declare 'ExplicitDecodingConfig',
179 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ExplicitDecodingConfig'];
180  
181 coerce 'ExplicitDecodingConfig',
182 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ExplicitDecodingConfig'->new($_) };
183  
184 declare 'RepeatedExplicitDecodingConfig',
185 as ArrayRef[ExplicitDecodingConfig()];
186  
187 coerce 'RepeatedExplicitDecodingConfig',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ExplicitDecodingConfig'->new($_) } @$_ ] };
189  
190 declare 'MapStringExplicitDecodingConfig',
191 as HashRef[ExplicitDecodingConfig()];
192  
193 declare 'AudioEncoding',
194 as (Int | Str);
195  
196 declare 'SpeakerDiarizationConfig',
197 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::SpeakerDiarizationConfig'];
198  
199 coerce 'SpeakerDiarizationConfig',
200 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::SpeakerDiarizationConfig'->new($_) };
201  
202 declare 'RepeatedSpeakerDiarizationConfig',
203 as ArrayRef[SpeakerDiarizationConfig()];
204  
205 coerce 'RepeatedSpeakerDiarizationConfig',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::SpeakerDiarizationConfig'->new($_) } @$_ ] };
207  
208 declare 'MapStringSpeakerDiarizationConfig',
209 as HashRef[SpeakerDiarizationConfig()];
210  
211 declare 'CustomPromptConfig',
212 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CustomPromptConfig'];
213  
214 coerce 'CustomPromptConfig',
215 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CustomPromptConfig'->new($_) };
216  
217 declare 'RepeatedCustomPromptConfig',
218 as ArrayRef[CustomPromptConfig()];
219  
220 coerce 'RepeatedCustomPromptConfig',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CustomPromptConfig'->new($_) } @$_ ] };
222  
223 declare 'MapStringCustomPromptConfig',
224 as HashRef[CustomPromptConfig()];
225  
226 declare 'RecognitionFeatures',
227 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::RecognitionFeatures'];
228  
229 coerce 'RecognitionFeatures',
230 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionFeatures'->new($_) };
231  
232 declare 'RepeatedRecognitionFeatures',
233 as ArrayRef[RecognitionFeatures()];
234  
235 coerce 'RepeatedRecognitionFeatures',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionFeatures'->new($_) } @$_ ] };
237  
238 declare 'MapStringRecognitionFeatures',
239 as HashRef[RecognitionFeatures()];
240  
241 declare 'MultiChannelMode',
242 as (Int | Str);
243  
244 declare 'TranscriptNormalization',
245 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::TranscriptNormalization'];
246  
247 coerce 'TranscriptNormalization',
248 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::TranscriptNormalization'->new($_) };
249  
250 declare 'RepeatedTranscriptNormalization',
251 as ArrayRef[TranscriptNormalization()];
252  
253 coerce 'RepeatedTranscriptNormalization',
254 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::TranscriptNormalization'->new($_) } @$_ ] };
255  
256 declare 'MapStringTranscriptNormalization',
257 as HashRef[TranscriptNormalization()];
258  
259 declare 'Entry',
260 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::TranscriptNormalization::Entry'];
261  
262 coerce 'Entry',
263 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::TranscriptNormalization::Entry'->new($_) };
264  
265 declare 'RepeatedEntry',
266 as ArrayRef[Entry()];
267  
268 coerce 'RepeatedEntry',
269 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::TranscriptNormalization::Entry'->new($_) } @$_ ] };
270  
271 declare 'MapStringEntry',
272 as HashRef[Entry()];
273  
274 declare 'TranslationConfig',
275 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::TranslationConfig'];
276  
277 coerce 'TranslationConfig',
278 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::TranslationConfig'->new($_) };
279  
280 declare 'RepeatedTranslationConfig',
281 as ArrayRef[TranslationConfig()];
282  
283 coerce 'RepeatedTranslationConfig',
284 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::TranslationConfig'->new($_) } @$_ ] };
285  
286 declare 'MapStringTranslationConfig',
287 as HashRef[TranslationConfig()];
288  
289 declare 'SpeechAdaptation',
290 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::SpeechAdaptation'];
291  
292 coerce 'SpeechAdaptation',
293 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechAdaptation'->new($_) };
294  
295 declare 'RepeatedSpeechAdaptation',
296 as ArrayRef[SpeechAdaptation()];
297  
298 coerce 'RepeatedSpeechAdaptation',
299 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechAdaptation'->new($_) } @$_ ] };
300  
301 declare 'MapStringSpeechAdaptation',
302 as HashRef[SpeechAdaptation()];
303  
304 declare 'AdaptationPhraseSet',
305 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::SpeechAdaptation::AdaptationPhraseSet'];
306  
307 coerce 'AdaptationPhraseSet',
308 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechAdaptation::AdaptationPhraseSet'->new($_) };
309  
310 declare 'RepeatedAdaptationPhraseSet',
311 as ArrayRef[AdaptationPhraseSet()];
312  
313 coerce 'RepeatedAdaptationPhraseSet',
314 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechAdaptation::AdaptationPhraseSet'->new($_) } @$_ ] };
315  
316 declare 'MapStringAdaptationPhraseSet',
317 as HashRef[AdaptationPhraseSet()];
318  
319 declare 'DenoiserConfig',
320 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::DenoiserConfig'];
321  
322 coerce 'DenoiserConfig',
323 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::DenoiserConfig'->new($_) };
324  
325 declare 'RepeatedDenoiserConfig',
326 as ArrayRef[DenoiserConfig()];
327  
328 coerce 'RepeatedDenoiserConfig',
329 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::DenoiserConfig'->new($_) } @$_ ] };
330  
331 declare 'MapStringDenoiserConfig',
332 as HashRef[DenoiserConfig()];
333  
334 declare 'RecognitionConfig',
335 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::RecognitionConfig'];
336  
337 coerce 'RecognitionConfig',
338 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionConfig'->new($_) };
339  
340 declare 'RepeatedRecognitionConfig',
341 as ArrayRef[RecognitionConfig()];
342  
343 coerce 'RepeatedRecognitionConfig',
344 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionConfig'->new($_) } @$_ ] };
345  
346 declare 'MapStringRecognitionConfig',
347 as HashRef[RecognitionConfig()];
348  
349 declare 'RecognizeRequest',
350 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::RecognizeRequest'];
351  
352 coerce 'RecognizeRequest',
353 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::RecognizeRequest'->new($_) };
354  
355 declare 'RepeatedRecognizeRequest',
356 as ArrayRef[RecognizeRequest()];
357  
358 coerce 'RepeatedRecognizeRequest',
359 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::RecognizeRequest'->new($_) } @$_ ] };
360  
361 declare 'MapStringRecognizeRequest',
362 as HashRef[RecognizeRequest()];
363  
364 declare 'RecognitionResponseMetadata',
365 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::RecognitionResponseMetadata'];
366  
367 coerce 'RecognitionResponseMetadata',
368 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionResponseMetadata'->new($_) };
369  
370 declare 'RepeatedRecognitionResponseMetadata',
371 as ArrayRef[RecognitionResponseMetadata()];
372  
373 coerce 'RepeatedRecognitionResponseMetadata',
374 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionResponseMetadata'->new($_) } @$_ ] };
375  
376 declare 'MapStringRecognitionResponseMetadata',
377 as HashRef[RecognitionResponseMetadata()];
378  
379 declare 'SpeechRecognitionAlternative',
380 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::SpeechRecognitionAlternative'];
381  
382 coerce 'SpeechRecognitionAlternative',
383 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechRecognitionAlternative'->new($_) };
384  
385 declare 'RepeatedSpeechRecognitionAlternative',
386 as ArrayRef[SpeechRecognitionAlternative()];
387  
388 coerce 'RepeatedSpeechRecognitionAlternative',
389 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechRecognitionAlternative'->new($_) } @$_ ] };
390  
391 declare 'MapStringSpeechRecognitionAlternative',
392 as HashRef[SpeechRecognitionAlternative()];
393  
394 declare 'WordInfo',
395 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::WordInfo'];
396  
397 coerce 'WordInfo',
398 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::WordInfo'->new($_) };
399  
400 declare 'RepeatedWordInfo',
401 as ArrayRef[WordInfo()];
402  
403 coerce 'RepeatedWordInfo',
404 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::WordInfo'->new($_) } @$_ ] };
405  
406 declare 'MapStringWordInfo',
407 as HashRef[WordInfo()];
408  
409 declare 'SpeechRecognitionResult',
410 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::SpeechRecognitionResult'];
411  
412 coerce 'SpeechRecognitionResult',
413 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechRecognitionResult'->new($_) };
414  
415 declare 'RepeatedSpeechRecognitionResult',
416 as ArrayRef[SpeechRecognitionResult()];
417  
418 coerce 'RepeatedSpeechRecognitionResult',
419 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::SpeechRecognitionResult'->new($_) } @$_ ] };
420  
421 declare 'MapStringSpeechRecognitionResult',
422 as HashRef[SpeechRecognitionResult()];
423  
424 declare 'RecognizeResponse',
425 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::RecognizeResponse'];
426  
427 coerce 'RecognizeResponse',
428 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::RecognizeResponse'->new($_) };
429  
430 declare 'RepeatedRecognizeResponse',
431 as ArrayRef[RecognizeResponse()];
432  
433 coerce 'RepeatedRecognizeResponse',
434 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::RecognizeResponse'->new($_) } @$_ ] };
435  
436 declare 'MapStringRecognizeResponse',
437 as HashRef[RecognizeResponse()];
438  
439 declare 'StreamingRecognitionFeatures',
440 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionFeatures'];
441  
442 coerce 'StreamingRecognitionFeatures',
443 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionFeatures'->new($_) };
444  
445 declare 'RepeatedStreamingRecognitionFeatures',
446 as ArrayRef[StreamingRecognitionFeatures()];
447  
448 coerce 'RepeatedStreamingRecognitionFeatures',
449 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionFeatures'->new($_) } @$_ ] };
450  
451 declare 'MapStringStreamingRecognitionFeatures',
452 as HashRef[StreamingRecognitionFeatures()];
453  
454 declare 'EndpointingSensitivity',
455 as (Int | Str);
456  
457 declare 'VoiceActivityTimeout',
458 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionFeatures::VoiceActivityTimeout'];
459  
460 coerce 'VoiceActivityTimeout',
461 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionFeatures::VoiceActivityTimeout'->new($_) };
462  
463 declare 'RepeatedVoiceActivityTimeout',
464 as ArrayRef[VoiceActivityTimeout()];
465  
466 coerce 'RepeatedVoiceActivityTimeout',
467 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionFeatures::VoiceActivityTimeout'->new($_) } @$_ ] };
468  
469 declare 'MapStringVoiceActivityTimeout',
470 as HashRef[VoiceActivityTimeout()];
471  
472 declare 'StreamingRecognitionConfig',
473 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionConfig'];
474  
475 coerce 'StreamingRecognitionConfig',
476 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionConfig'->new($_) };
477  
478 declare 'RepeatedStreamingRecognitionConfig',
479 as ArrayRef[StreamingRecognitionConfig()];
480  
481 coerce 'RepeatedStreamingRecognitionConfig',
482 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionConfig'->new($_) } @$_ ] };
483  
484 declare 'MapStringStreamingRecognitionConfig',
485 as HashRef[StreamingRecognitionConfig()];
486  
487 declare 'StreamingRecognizeRequest',
488 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognizeRequest'];
489  
490 coerce 'StreamingRecognizeRequest',
491 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognizeRequest'->new($_) };
492  
493 declare 'RepeatedStreamingRecognizeRequest',
494 as ArrayRef[StreamingRecognizeRequest()];
495  
496 coerce 'RepeatedStreamingRecognizeRequest',
497 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognizeRequest'->new($_) } @$_ ] };
498  
499 declare 'MapStringStreamingRecognizeRequest',
500 as HashRef[StreamingRecognizeRequest()];
501  
502 declare 'BatchRecognizeRequest',
503 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeRequest'];
504  
505 coerce 'BatchRecognizeRequest',
506 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeRequest'->new($_) };
507  
508 declare 'RepeatedBatchRecognizeRequest',
509 as ArrayRef[BatchRecognizeRequest()];
510  
511 coerce 'RepeatedBatchRecognizeRequest',
512 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeRequest'->new($_) } @$_ ] };
513  
514 declare 'MapStringBatchRecognizeRequest',
515 as HashRef[BatchRecognizeRequest()];
516  
517 declare 'ProcessingStrategy',
518 as (Int | Str);
519  
520 declare 'GcsOutputConfig',
521 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::GcsOutputConfig'];
522  
523 coerce 'GcsOutputConfig',
524 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::GcsOutputConfig'->new($_) };
525  
526 declare 'RepeatedGcsOutputConfig',
527 as ArrayRef[GcsOutputConfig()];
528  
529 coerce 'RepeatedGcsOutputConfig',
530 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::GcsOutputConfig'->new($_) } @$_ ] };
531  
532 declare 'MapStringGcsOutputConfig',
533 as HashRef[GcsOutputConfig()];
534  
535 declare 'InlineOutputConfig',
536 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::InlineOutputConfig'];
537  
538 coerce 'InlineOutputConfig',
539 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::InlineOutputConfig'->new($_) };
540  
541 declare 'RepeatedInlineOutputConfig',
542 as ArrayRef[InlineOutputConfig()];
543  
544 coerce 'RepeatedInlineOutputConfig',
545 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::InlineOutputConfig'->new($_) } @$_ ] };
546  
547 declare 'MapStringInlineOutputConfig',
548 as HashRef[InlineOutputConfig()];
549  
550 declare 'NativeOutputFileFormatConfig',
551 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::NativeOutputFileFormatConfig'];
552  
553 coerce 'NativeOutputFileFormatConfig',
554 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::NativeOutputFileFormatConfig'->new($_) };
555  
556 declare 'RepeatedNativeOutputFileFormatConfig',
557 as ArrayRef[NativeOutputFileFormatConfig()];
558  
559 coerce 'RepeatedNativeOutputFileFormatConfig',
560 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::NativeOutputFileFormatConfig'->new($_) } @$_ ] };
561  
562 declare 'MapStringNativeOutputFileFormatConfig',
563 as HashRef[NativeOutputFileFormatConfig()];
564  
565 declare 'VttOutputFileFormatConfig',
566 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::VttOutputFileFormatConfig'];
567  
568 coerce 'VttOutputFileFormatConfig',
569 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::VttOutputFileFormatConfig'->new($_) };
570  
571 declare 'RepeatedVttOutputFileFormatConfig',
572 as ArrayRef[VttOutputFileFormatConfig()];
573  
574 coerce 'RepeatedVttOutputFileFormatConfig',
575 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::VttOutputFileFormatConfig'->new($_) } @$_ ] };
576  
577 declare 'MapStringVttOutputFileFormatConfig',
578 as HashRef[VttOutputFileFormatConfig()];
579  
580 declare 'SrtOutputFileFormatConfig',
581 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::SrtOutputFileFormatConfig'];
582  
583 coerce 'SrtOutputFileFormatConfig',
584 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::SrtOutputFileFormatConfig'->new($_) };
585  
586 declare 'RepeatedSrtOutputFileFormatConfig',
587 as ArrayRef[SrtOutputFileFormatConfig()];
588  
589 coerce 'RepeatedSrtOutputFileFormatConfig',
590 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::SrtOutputFileFormatConfig'->new($_) } @$_ ] };
591  
592 declare 'MapStringSrtOutputFileFormatConfig',
593 as HashRef[SrtOutputFileFormatConfig()];
594  
595 declare 'OutputFormatConfig',
596 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::OutputFormatConfig'];
597  
598 coerce 'OutputFormatConfig',
599 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::OutputFormatConfig'->new($_) };
600  
601 declare 'RepeatedOutputFormatConfig',
602 as ArrayRef[OutputFormatConfig()];
603  
604 coerce 'RepeatedOutputFormatConfig',
605 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::OutputFormatConfig'->new($_) } @$_ ] };
606  
607 declare 'MapStringOutputFormatConfig',
608 as HashRef[OutputFormatConfig()];
609  
610 declare 'RecognitionOutputConfig',
611 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::RecognitionOutputConfig'];
612  
613 coerce 'RecognitionOutputConfig',
614 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionOutputConfig'->new($_) };
615  
616 declare 'RepeatedRecognitionOutputConfig',
617 as ArrayRef[RecognitionOutputConfig()];
618  
619 coerce 'RepeatedRecognitionOutputConfig',
620 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::RecognitionOutputConfig'->new($_) } @$_ ] };
621  
622 declare 'MapStringRecognitionOutputConfig',
623 as HashRef[RecognitionOutputConfig()];
624  
625 declare 'BatchRecognizeResponse',
626 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResponse'];
627  
628 coerce 'BatchRecognizeResponse',
629 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResponse'->new($_) };
630  
631 declare 'RepeatedBatchRecognizeResponse',
632 as ArrayRef[BatchRecognizeResponse()];
633  
634 coerce 'RepeatedBatchRecognizeResponse',
635 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResponse'->new($_) } @$_ ] };
636  
637 declare 'MapStringBatchRecognizeResponse',
638 as HashRef[BatchRecognizeResponse()];
639  
640 declare 'ResultsEntry',
641 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResponse::ResultsEntry'];
642  
643 coerce 'ResultsEntry',
644 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResponse::ResultsEntry'->new($_) };
645  
646 declare 'RepeatedResultsEntry',
647 as ArrayRef[ResultsEntry()];
648  
649 coerce 'RepeatedResultsEntry',
650 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResponse::ResultsEntry'->new($_) } @$_ ] };
651  
652 declare 'MapStringResultsEntry',
653 as HashRef[ResultsEntry()];
654  
655 declare 'BatchRecognizeResults',
656 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResults'];
657  
658 coerce 'BatchRecognizeResults',
659 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResults'->new($_) };
660  
661 declare 'RepeatedBatchRecognizeResults',
662 as ArrayRef[BatchRecognizeResults()];
663  
664 coerce 'RepeatedBatchRecognizeResults',
665 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeResults'->new($_) } @$_ ] };
666  
667 declare 'MapStringBatchRecognizeResults',
668 as HashRef[BatchRecognizeResults()];
669  
670 declare 'CloudStorageResult',
671 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CloudStorageResult'];
672  
673 coerce 'CloudStorageResult',
674 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CloudStorageResult'->new($_) };
675  
676 declare 'RepeatedCloudStorageResult',
677 as ArrayRef[CloudStorageResult()];
678  
679 coerce 'RepeatedCloudStorageResult',
680 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CloudStorageResult'->new($_) } @$_ ] };
681  
682 declare 'MapStringCloudStorageResult',
683 as HashRef[CloudStorageResult()];
684  
685 declare 'InlineResult',
686 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::InlineResult'];
687  
688 coerce 'InlineResult',
689 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::InlineResult'->new($_) };
690  
691 declare 'RepeatedInlineResult',
692 as ArrayRef[InlineResult()];
693  
694 coerce 'RepeatedInlineResult',
695 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::InlineResult'->new($_) } @$_ ] };
696  
697 declare 'MapStringInlineResult',
698 as HashRef[InlineResult()];
699  
700 declare 'BatchRecognizeFileResult',
701 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeFileResult'];
702  
703 coerce 'BatchRecognizeFileResult',
704 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeFileResult'->new($_) };
705  
706 declare 'RepeatedBatchRecognizeFileResult',
707 as ArrayRef[BatchRecognizeFileResult()];
708  
709 coerce 'RepeatedBatchRecognizeFileResult',
710 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeFileResult'->new($_) } @$_ ] };
711  
712 declare 'MapStringBatchRecognizeFileResult',
713 as HashRef[BatchRecognizeFileResult()];
714  
715 declare 'BatchRecognizeTranscriptionMetadata',
716 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeTranscriptionMetadata'];
717  
718 coerce 'BatchRecognizeTranscriptionMetadata',
719 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeTranscriptionMetadata'->new($_) };
720  
721 declare 'RepeatedBatchRecognizeTranscriptionMetadata',
722 as ArrayRef[BatchRecognizeTranscriptionMetadata()];
723  
724 coerce 'RepeatedBatchRecognizeTranscriptionMetadata',
725 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeTranscriptionMetadata'->new($_) } @$_ ] };
726  
727 declare 'MapStringBatchRecognizeTranscriptionMetadata',
728 as HashRef[BatchRecognizeTranscriptionMetadata()];
729  
730 declare 'BatchRecognizeMetadata',
731 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeMetadata'];
732  
733 coerce 'BatchRecognizeMetadata',
734 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeMetadata'->new($_) };
735  
736 declare 'RepeatedBatchRecognizeMetadata',
737 as ArrayRef[BatchRecognizeMetadata()];
738  
739 coerce 'RepeatedBatchRecognizeMetadata',
740 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeMetadata'->new($_) } @$_ ] };
741  
742 declare 'MapStringBatchRecognizeMetadata',
743 as HashRef[BatchRecognizeMetadata()];
744  
745 declare 'TranscriptionMetadataEntry',
746 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeMetadata::TranscriptionMetadataEntry'];
747  
748 coerce 'TranscriptionMetadataEntry',
749 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeMetadata::TranscriptionMetadataEntry'->new($_) };
750  
751 declare 'RepeatedTranscriptionMetadataEntry',
752 as ArrayRef[TranscriptionMetadataEntry()];
753  
754 coerce 'RepeatedTranscriptionMetadataEntry',
755 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeMetadata::TranscriptionMetadataEntry'->new($_) } @$_ ] };
756  
757 declare 'MapStringTranscriptionMetadataEntry',
758 as HashRef[TranscriptionMetadataEntry()];
759  
760 declare 'BatchRecognizeFileMetadata',
761 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeFileMetadata'];
762  
763 coerce 'BatchRecognizeFileMetadata',
764 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeFileMetadata'->new($_) };
765  
766 declare 'RepeatedBatchRecognizeFileMetadata',
767 as ArrayRef[BatchRecognizeFileMetadata()];
768  
769 coerce 'RepeatedBatchRecognizeFileMetadata',
770 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::BatchRecognizeFileMetadata'->new($_) } @$_ ] };
771  
772 declare 'MapStringBatchRecognizeFileMetadata',
773 as HashRef[BatchRecognizeFileMetadata()];
774  
775 declare 'StreamingRecognitionResult',
776 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionResult'];
777  
778 coerce 'StreamingRecognitionResult',
779 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionResult'->new($_) };
780  
781 declare 'RepeatedStreamingRecognitionResult',
782 as ArrayRef[StreamingRecognitionResult()];
783  
784 coerce 'RepeatedStreamingRecognitionResult',
785 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognitionResult'->new($_) } @$_ ] };
786  
787 declare 'MapStringStreamingRecognitionResult',
788 as HashRef[StreamingRecognitionResult()];
789  
790 declare 'StreamingRecognizeResponse',
791 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognizeResponse'];
792  
793 coerce 'StreamingRecognizeResponse',
794 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognizeResponse'->new($_) };
795  
796 declare 'RepeatedStreamingRecognizeResponse',
797 as ArrayRef[StreamingRecognizeResponse()];
798  
799 coerce 'RepeatedStreamingRecognizeResponse',
800 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::StreamingRecognizeResponse'->new($_) } @$_ ] };
801  
802 declare 'MapStringStreamingRecognizeResponse',
803 as HashRef[StreamingRecognizeResponse()];
804  
805 declare 'SpeechEventType',
806 as (Int | Str);
807  
808 declare 'Config',
809 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::Config'];
810  
811 coerce 'Config',
812 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::Config'->new($_) };
813  
814 declare 'RepeatedConfig',
815 as ArrayRef[Config()];
816  
817 coerce 'RepeatedConfig',
818 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::Config'->new($_) } @$_ ] };
819  
820 declare 'MapStringConfig',
821 as HashRef[Config()];
822  
823 declare 'GetConfigRequest',
824 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::GetConfigRequest'];
825  
826 coerce 'GetConfigRequest',
827 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::GetConfigRequest'->new($_) };
828  
829 declare 'RepeatedGetConfigRequest',
830 as ArrayRef[GetConfigRequest()];
831  
832 coerce 'RepeatedGetConfigRequest',
833 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::GetConfigRequest'->new($_) } @$_ ] };
834  
835 declare 'MapStringGetConfigRequest',
836 as HashRef[GetConfigRequest()];
837  
838 declare 'UpdateConfigRequest',
839 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UpdateConfigRequest'];
840  
841 coerce 'UpdateConfigRequest',
842 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UpdateConfigRequest'->new($_) };
843  
844 declare 'RepeatedUpdateConfigRequest',
845 as ArrayRef[UpdateConfigRequest()];
846  
847 coerce 'RepeatedUpdateConfigRequest',
848 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UpdateConfigRequest'->new($_) } @$_ ] };
849  
850 declare 'MapStringUpdateConfigRequest',
851 as HashRef[UpdateConfigRequest()];
852  
853 declare 'CustomClass',
854 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CustomClass'];
855  
856 coerce 'CustomClass',
857 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CustomClass'->new($_) };
858  
859 declare 'RepeatedCustomClass',
860 as ArrayRef[CustomClass()];
861  
862 coerce 'RepeatedCustomClass',
863 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CustomClass'->new($_) } @$_ ] };
864  
865 declare 'MapStringCustomClass',
866 as HashRef[CustomClass()];
867  
868 declare 'State',
869 as (Int | Str);
870  
871 declare 'ClassItem',
872 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CustomClass::ClassItem'];
873  
874 coerce 'ClassItem',
875 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CustomClass::ClassItem'->new($_) };
876  
877 declare 'RepeatedClassItem',
878 as ArrayRef[ClassItem()];
879  
880 coerce 'RepeatedClassItem',
881 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CustomClass::ClassItem'->new($_) } @$_ ] };
882  
883 declare 'MapStringClassItem',
884 as HashRef[ClassItem()];
885  
886 declare 'AnnotationsEntry',
887 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CustomClass::AnnotationsEntry'];
888  
889 coerce 'AnnotationsEntry',
890 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CustomClass::AnnotationsEntry'->new($_) };
891  
892 declare 'RepeatedAnnotationsEntry',
893 as ArrayRef[AnnotationsEntry()];
894  
895 coerce 'RepeatedAnnotationsEntry',
896 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CustomClass::AnnotationsEntry'->new($_) } @$_ ] };
897  
898 declare 'MapStringAnnotationsEntry',
899 as HashRef[AnnotationsEntry()];
900  
901 declare 'PhraseSet',
902 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::PhraseSet'];
903  
904 coerce 'PhraseSet',
905 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::PhraseSet'->new($_) };
906  
907 declare 'RepeatedPhraseSet',
908 as ArrayRef[PhraseSet()];
909  
910 coerce 'RepeatedPhraseSet',
911 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::PhraseSet'->new($_) } @$_ ] };
912  
913 declare 'MapStringPhraseSet',
914 as HashRef[PhraseSet()];
915  
916 declare 'State',
917 as (Int | Str);
918  
919 declare 'Phrase',
920 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::PhraseSet::Phrase'];
921  
922 coerce 'Phrase',
923 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::PhraseSet::Phrase'->new($_) };
924  
925 declare 'RepeatedPhrase',
926 as ArrayRef[Phrase()];
927  
928 coerce 'RepeatedPhrase',
929 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::PhraseSet::Phrase'->new($_) } @$_ ] };
930  
931 declare 'MapStringPhrase',
932 as HashRef[Phrase()];
933  
934 declare 'AnnotationsEntry',
935 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::PhraseSet::AnnotationsEntry'];
936  
937 coerce 'AnnotationsEntry',
938 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::PhraseSet::AnnotationsEntry'->new($_) };
939  
940 declare 'RepeatedAnnotationsEntry',
941 as ArrayRef[AnnotationsEntry()];
942  
943 coerce 'RepeatedAnnotationsEntry',
944 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::PhraseSet::AnnotationsEntry'->new($_) } @$_ ] };
945  
946 declare 'MapStringAnnotationsEntry',
947 as HashRef[AnnotationsEntry()];
948  
949 declare 'CreateCustomClassRequest',
950 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CreateCustomClassRequest'];
951  
952 coerce 'CreateCustomClassRequest',
953 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CreateCustomClassRequest'->new($_) };
954  
955 declare 'RepeatedCreateCustomClassRequest',
956 as ArrayRef[CreateCustomClassRequest()];
957  
958 coerce 'RepeatedCreateCustomClassRequest',
959 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CreateCustomClassRequest'->new($_) } @$_ ] };
960  
961 declare 'MapStringCreateCustomClassRequest',
962 as HashRef[CreateCustomClassRequest()];
963  
964 declare 'ListCustomClassesRequest',
965 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ListCustomClassesRequest'];
966  
967 coerce 'ListCustomClassesRequest',
968 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ListCustomClassesRequest'->new($_) };
969  
970 declare 'RepeatedListCustomClassesRequest',
971 as ArrayRef[ListCustomClassesRequest()];
972  
973 coerce 'RepeatedListCustomClassesRequest',
974 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ListCustomClassesRequest'->new($_) } @$_ ] };
975  
976 declare 'MapStringListCustomClassesRequest',
977 as HashRef[ListCustomClassesRequest()];
978  
979 declare 'ListCustomClassesResponse',
980 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ListCustomClassesResponse'];
981  
982 coerce 'ListCustomClassesResponse',
983 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ListCustomClassesResponse'->new($_) };
984  
985 declare 'RepeatedListCustomClassesResponse',
986 as ArrayRef[ListCustomClassesResponse()];
987  
988 coerce 'RepeatedListCustomClassesResponse',
989 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ListCustomClassesResponse'->new($_) } @$_ ] };
990  
991 declare 'MapStringListCustomClassesResponse',
992 as HashRef[ListCustomClassesResponse()];
993  
994 declare 'GetCustomClassRequest',
995 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::GetCustomClassRequest'];
996  
997 coerce 'GetCustomClassRequest',
998 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::GetCustomClassRequest'->new($_) };
999  
1000 declare 'RepeatedGetCustomClassRequest',
1001 as ArrayRef[GetCustomClassRequest()];
1002  
1003 coerce 'RepeatedGetCustomClassRequest',
1004 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::GetCustomClassRequest'->new($_) } @$_ ] };
1005  
1006 declare 'MapStringGetCustomClassRequest',
1007 as HashRef[GetCustomClassRequest()];
1008  
1009 declare 'UpdateCustomClassRequest',
1010 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UpdateCustomClassRequest'];
1011  
1012 coerce 'UpdateCustomClassRequest',
1013 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UpdateCustomClassRequest'->new($_) };
1014  
1015 declare 'RepeatedUpdateCustomClassRequest',
1016 as ArrayRef[UpdateCustomClassRequest()];
1017  
1018 coerce 'RepeatedUpdateCustomClassRequest',
1019 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UpdateCustomClassRequest'->new($_) } @$_ ] };
1020  
1021 declare 'MapStringUpdateCustomClassRequest',
1022 as HashRef[UpdateCustomClassRequest()];
1023  
1024 declare 'DeleteCustomClassRequest',
1025 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::DeleteCustomClassRequest'];
1026  
1027 coerce 'DeleteCustomClassRequest',
1028 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::DeleteCustomClassRequest'->new($_) };
1029  
1030 declare 'RepeatedDeleteCustomClassRequest',
1031 as ArrayRef[DeleteCustomClassRequest()];
1032  
1033 coerce 'RepeatedDeleteCustomClassRequest',
1034 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::DeleteCustomClassRequest'->new($_) } @$_ ] };
1035  
1036 declare 'MapStringDeleteCustomClassRequest',
1037 as HashRef[DeleteCustomClassRequest()];
1038  
1039 declare 'UndeleteCustomClassRequest',
1040 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UndeleteCustomClassRequest'];
1041  
1042 coerce 'UndeleteCustomClassRequest',
1043 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UndeleteCustomClassRequest'->new($_) };
1044  
1045 declare 'RepeatedUndeleteCustomClassRequest',
1046 as ArrayRef[UndeleteCustomClassRequest()];
1047  
1048 coerce 'RepeatedUndeleteCustomClassRequest',
1049 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UndeleteCustomClassRequest'->new($_) } @$_ ] };
1050  
1051 declare 'MapStringUndeleteCustomClassRequest',
1052 as HashRef[UndeleteCustomClassRequest()];
1053  
1054 declare 'CreatePhraseSetRequest',
1055 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::CreatePhraseSetRequest'];
1056  
1057 coerce 'CreatePhraseSetRequest',
1058 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::CreatePhraseSetRequest'->new($_) };
1059  
1060 declare 'RepeatedCreatePhraseSetRequest',
1061 as ArrayRef[CreatePhraseSetRequest()];
1062  
1063 coerce 'RepeatedCreatePhraseSetRequest',
1064 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::CreatePhraseSetRequest'->new($_) } @$_ ] };
1065  
1066 declare 'MapStringCreatePhraseSetRequest',
1067 as HashRef[CreatePhraseSetRequest()];
1068  
1069 declare 'ListPhraseSetsRequest',
1070 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ListPhraseSetsRequest'];
1071  
1072 coerce 'ListPhraseSetsRequest',
1073 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ListPhraseSetsRequest'->new($_) };
1074  
1075 declare 'RepeatedListPhraseSetsRequest',
1076 as ArrayRef[ListPhraseSetsRequest()];
1077  
1078 coerce 'RepeatedListPhraseSetsRequest',
1079 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ListPhraseSetsRequest'->new($_) } @$_ ] };
1080  
1081 declare 'MapStringListPhraseSetsRequest',
1082 as HashRef[ListPhraseSetsRequest()];
1083  
1084 declare 'ListPhraseSetsResponse',
1085 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::ListPhraseSetsResponse'];
1086  
1087 coerce 'ListPhraseSetsResponse',
1088 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::ListPhraseSetsResponse'->new($_) };
1089  
1090 declare 'RepeatedListPhraseSetsResponse',
1091 as ArrayRef[ListPhraseSetsResponse()];
1092  
1093 coerce 'RepeatedListPhraseSetsResponse',
1094 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::ListPhraseSetsResponse'->new($_) } @$_ ] };
1095  
1096 declare 'MapStringListPhraseSetsResponse',
1097 as HashRef[ListPhraseSetsResponse()];
1098  
1099 declare 'GetPhraseSetRequest',
1100 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::GetPhraseSetRequest'];
1101  
1102 coerce 'GetPhraseSetRequest',
1103 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::GetPhraseSetRequest'->new($_) };
1104  
1105 declare 'RepeatedGetPhraseSetRequest',
1106 as ArrayRef[GetPhraseSetRequest()];
1107  
1108 coerce 'RepeatedGetPhraseSetRequest',
1109 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::GetPhraseSetRequest'->new($_) } @$_ ] };
1110  
1111 declare 'MapStringGetPhraseSetRequest',
1112 as HashRef[GetPhraseSetRequest()];
1113  
1114 declare 'UpdatePhraseSetRequest',
1115 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UpdatePhraseSetRequest'];
1116  
1117 coerce 'UpdatePhraseSetRequest',
1118 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UpdatePhraseSetRequest'->new($_) };
1119  
1120 declare 'RepeatedUpdatePhraseSetRequest',
1121 as ArrayRef[UpdatePhraseSetRequest()];
1122  
1123 coerce 'RepeatedUpdatePhraseSetRequest',
1124 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UpdatePhraseSetRequest'->new($_) } @$_ ] };
1125  
1126 declare 'MapStringUpdatePhraseSetRequest',
1127 as HashRef[UpdatePhraseSetRequest()];
1128  
1129 declare 'DeletePhraseSetRequest',
1130 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::DeletePhraseSetRequest'];
1131  
1132 coerce 'DeletePhraseSetRequest',
1133 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::DeletePhraseSetRequest'->new($_) };
1134  
1135 declare 'RepeatedDeletePhraseSetRequest',
1136 as ArrayRef[DeletePhraseSetRequest()];
1137  
1138 coerce 'RepeatedDeletePhraseSetRequest',
1139 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::DeletePhraseSetRequest'->new($_) } @$_ ] };
1140  
1141 declare 'MapStringDeletePhraseSetRequest',
1142 as HashRef[DeletePhraseSetRequest()];
1143  
1144 declare 'UndeletePhraseSetRequest',
1145 as InstanceOf['Google::Cloud::Speech::V2::CloudSpeech::UndeletePhraseSetRequest'];
1146  
1147 coerce 'UndeletePhraseSetRequest',
1148 from HashRef, via { 'Google::Cloud::Speech::V2::CloudSpeech::UndeletePhraseSetRequest'->new($_) };
1149  
1150 declare 'RepeatedUndeletePhraseSetRequest',
1151 as ArrayRef[UndeletePhraseSetRequest()];
1152  
1153 coerce 'RepeatedUndeletePhraseSetRequest',
1154 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::CloudSpeech::UndeletePhraseSetRequest'->new($_) } @$_ ] };
1155  
1156 declare 'MapStringUndeletePhraseSetRequest',
1157 as HashRef[UndeletePhraseSetRequest()];
1158  
1159 1;
1160  
1161 __END__