Translation/V3/TranslationService/Types.pm untested

filter: Statementstmt 0.0% 0 / 801 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 806 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::Translation::V3::TranslationService::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 'TransliterationConfig',
11 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TransliterationConfig'];
12  
13 coerce 'TransliterationConfig',
14 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TransliterationConfig'->new($_) };
15  
16 declare 'RepeatedTransliterationConfig',
17 as ArrayRef[TransliterationConfig()];
18  
19 coerce 'RepeatedTransliterationConfig',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TransliterationConfig'->new($_) } @$_ ] };
21  
22 declare 'MapStringTransliterationConfig',
23 as HashRef[TransliterationConfig()];
24  
25 declare 'TranslateTextRequest',
26 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateTextRequest'];
27  
28 coerce 'TranslateTextRequest',
29 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextRequest'->new($_) };
30  
31 declare 'RepeatedTranslateTextRequest',
32 as ArrayRef[TranslateTextRequest()];
33  
34 coerce 'RepeatedTranslateTextRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringTranslateTextRequest',
38 as HashRef[TranslateTextRequest()];
39  
40 declare 'LabelsEntry',
41 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateTextRequest::LabelsEntry'];
42  
43 coerce 'LabelsEntry',
44 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextRequest::LabelsEntry'->new($_) };
45  
46 declare 'RepeatedLabelsEntry',
47 as ArrayRef[LabelsEntry()];
48  
49 coerce 'RepeatedLabelsEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextRequest::LabelsEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringLabelsEntry',
53 as HashRef[LabelsEntry()];
54  
55 declare 'TranslateTextResponse',
56 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateTextResponse'];
57  
58 coerce 'TranslateTextResponse',
59 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextResponse'->new($_) };
60  
61 declare 'RepeatedTranslateTextResponse',
62 as ArrayRef[TranslateTextResponse()];
63  
64 coerce 'RepeatedTranslateTextResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringTranslateTextResponse',
68 as HashRef[TranslateTextResponse()];
69  
70 declare 'Translation',
71 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::Translation'];
72  
73 coerce 'Translation',
74 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::Translation'->new($_) };
75  
76 declare 'RepeatedTranslation',
77 as ArrayRef[Translation()];
78  
79 coerce 'RepeatedTranslation',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::Translation'->new($_) } @$_ ] };
81  
82 declare 'MapStringTranslation',
83 as HashRef[Translation()];
84  
85 declare 'RomanizeTextRequest',
86 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::RomanizeTextRequest'];
87  
88 coerce 'RomanizeTextRequest',
89 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::RomanizeTextRequest'->new($_) };
90  
91 declare 'RepeatedRomanizeTextRequest',
92 as ArrayRef[RomanizeTextRequest()];
93  
94 coerce 'RepeatedRomanizeTextRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::RomanizeTextRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringRomanizeTextRequest',
98 as HashRef[RomanizeTextRequest()];
99  
100 declare 'Romanization',
101 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::Romanization'];
102  
103 coerce 'Romanization',
104 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::Romanization'->new($_) };
105  
106 declare 'RepeatedRomanization',
107 as ArrayRef[Romanization()];
108  
109 coerce 'RepeatedRomanization',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::Romanization'->new($_) } @$_ ] };
111  
112 declare 'MapStringRomanization',
113 as HashRef[Romanization()];
114  
115 declare 'RomanizeTextResponse',
116 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::RomanizeTextResponse'];
117  
118 coerce 'RomanizeTextResponse',
119 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::RomanizeTextResponse'->new($_) };
120  
121 declare 'RepeatedRomanizeTextResponse',
122 as ArrayRef[RomanizeTextResponse()];
123  
124 coerce 'RepeatedRomanizeTextResponse',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::RomanizeTextResponse'->new($_) } @$_ ] };
126  
127 declare 'MapStringRomanizeTextResponse',
128 as HashRef[RomanizeTextResponse()];
129  
130 declare 'DetectLanguageRequest',
131 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DetectLanguageRequest'];
132  
133 coerce 'DetectLanguageRequest',
134 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DetectLanguageRequest'->new($_) };
135  
136 declare 'RepeatedDetectLanguageRequest',
137 as ArrayRef[DetectLanguageRequest()];
138  
139 coerce 'RepeatedDetectLanguageRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DetectLanguageRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringDetectLanguageRequest',
143 as HashRef[DetectLanguageRequest()];
144  
145 declare 'LabelsEntry',
146 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DetectLanguageRequest::LabelsEntry'];
147  
148 coerce 'LabelsEntry',
149 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DetectLanguageRequest::LabelsEntry'->new($_) };
150  
151 declare 'RepeatedLabelsEntry',
152 as ArrayRef[LabelsEntry()];
153  
154 coerce 'RepeatedLabelsEntry',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DetectLanguageRequest::LabelsEntry'->new($_) } @$_ ] };
156  
157 declare 'MapStringLabelsEntry',
158 as HashRef[LabelsEntry()];
159  
160 declare 'DetectedLanguage',
161 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DetectedLanguage'];
162  
163 coerce 'DetectedLanguage',
164 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DetectedLanguage'->new($_) };
165  
166 declare 'RepeatedDetectedLanguage',
167 as ArrayRef[DetectedLanguage()];
168  
169 coerce 'RepeatedDetectedLanguage',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DetectedLanguage'->new($_) } @$_ ] };
171  
172 declare 'MapStringDetectedLanguage',
173 as HashRef[DetectedLanguage()];
174  
175 declare 'DetectLanguageResponse',
176 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DetectLanguageResponse'];
177  
178 coerce 'DetectLanguageResponse',
179 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DetectLanguageResponse'->new($_) };
180  
181 declare 'RepeatedDetectLanguageResponse',
182 as ArrayRef[DetectLanguageResponse()];
183  
184 coerce 'RepeatedDetectLanguageResponse',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DetectLanguageResponse'->new($_) } @$_ ] };
186  
187 declare 'MapStringDetectLanguageResponse',
188 as HashRef[DetectLanguageResponse()];
189  
190 declare 'GetSupportedLanguagesRequest',
191 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::GetSupportedLanguagesRequest'];
192  
193 coerce 'GetSupportedLanguagesRequest',
194 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::GetSupportedLanguagesRequest'->new($_) };
195  
196 declare 'RepeatedGetSupportedLanguagesRequest',
197 as ArrayRef[GetSupportedLanguagesRequest()];
198  
199 coerce 'RepeatedGetSupportedLanguagesRequest',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::GetSupportedLanguagesRequest'->new($_) } @$_ ] };
201  
202 declare 'MapStringGetSupportedLanguagesRequest',
203 as HashRef[GetSupportedLanguagesRequest()];
204  
205 declare 'SupportedLanguages',
206 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::SupportedLanguages'];
207  
208 coerce 'SupportedLanguages',
209 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::SupportedLanguages'->new($_) };
210  
211 declare 'RepeatedSupportedLanguages',
212 as ArrayRef[SupportedLanguages()];
213  
214 coerce 'RepeatedSupportedLanguages',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::SupportedLanguages'->new($_) } @$_ ] };
216  
217 declare 'MapStringSupportedLanguages',
218 as HashRef[SupportedLanguages()];
219  
220 declare 'SupportedLanguage',
221 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::SupportedLanguage'];
222  
223 coerce 'SupportedLanguage',
224 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::SupportedLanguage'->new($_) };
225  
226 declare 'RepeatedSupportedLanguage',
227 as ArrayRef[SupportedLanguage()];
228  
229 coerce 'RepeatedSupportedLanguage',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::SupportedLanguage'->new($_) } @$_ ] };
231  
232 declare 'MapStringSupportedLanguage',
233 as HashRef[SupportedLanguage()];
234  
235 declare 'GcsSource',
236 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::GcsSource'];
237  
238 coerce 'GcsSource',
239 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::GcsSource'->new($_) };
240  
241 declare 'RepeatedGcsSource',
242 as ArrayRef[GcsSource()];
243  
244 coerce 'RepeatedGcsSource',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::GcsSource'->new($_) } @$_ ] };
246  
247 declare 'MapStringGcsSource',
248 as HashRef[GcsSource()];
249  
250 declare 'InputConfig',
251 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::InputConfig'];
252  
253 coerce 'InputConfig',
254 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::InputConfig'->new($_) };
255  
256 declare 'RepeatedInputConfig',
257 as ArrayRef[InputConfig()];
258  
259 coerce 'RepeatedInputConfig',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::InputConfig'->new($_) } @$_ ] };
261  
262 declare 'MapStringInputConfig',
263 as HashRef[InputConfig()];
264  
265 declare 'GcsDestination',
266 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::GcsDestination'];
267  
268 coerce 'GcsDestination',
269 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::GcsDestination'->new($_) };
270  
271 declare 'RepeatedGcsDestination',
272 as ArrayRef[GcsDestination()];
273  
274 coerce 'RepeatedGcsDestination',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::GcsDestination'->new($_) } @$_ ] };
276  
277 declare 'MapStringGcsDestination',
278 as HashRef[GcsDestination()];
279  
280 declare 'OutputConfig',
281 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::OutputConfig'];
282  
283 coerce 'OutputConfig',
284 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::OutputConfig'->new($_) };
285  
286 declare 'RepeatedOutputConfig',
287 as ArrayRef[OutputConfig()];
288  
289 coerce 'RepeatedOutputConfig',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::OutputConfig'->new($_) } @$_ ] };
291  
292 declare 'MapStringOutputConfig',
293 as HashRef[OutputConfig()];
294  
295 declare 'DocumentInputConfig',
296 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DocumentInputConfig'];
297  
298 coerce 'DocumentInputConfig',
299 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DocumentInputConfig'->new($_) };
300  
301 declare 'RepeatedDocumentInputConfig',
302 as ArrayRef[DocumentInputConfig()];
303  
304 coerce 'RepeatedDocumentInputConfig',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DocumentInputConfig'->new($_) } @$_ ] };
306  
307 declare 'MapStringDocumentInputConfig',
308 as HashRef[DocumentInputConfig()];
309  
310 declare 'DocumentOutputConfig',
311 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DocumentOutputConfig'];
312  
313 coerce 'DocumentOutputConfig',
314 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DocumentOutputConfig'->new($_) };
315  
316 declare 'RepeatedDocumentOutputConfig',
317 as ArrayRef[DocumentOutputConfig()];
318  
319 coerce 'RepeatedDocumentOutputConfig',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DocumentOutputConfig'->new($_) } @$_ ] };
321  
322 declare 'MapStringDocumentOutputConfig',
323 as HashRef[DocumentOutputConfig()];
324  
325 declare 'TranslateDocumentRequest',
326 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateDocumentRequest'];
327  
328 coerce 'TranslateDocumentRequest',
329 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateDocumentRequest'->new($_) };
330  
331 declare 'RepeatedTranslateDocumentRequest',
332 as ArrayRef[TranslateDocumentRequest()];
333  
334 coerce 'RepeatedTranslateDocumentRequest',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateDocumentRequest'->new($_) } @$_ ] };
336  
337 declare 'MapStringTranslateDocumentRequest',
338 as HashRef[TranslateDocumentRequest()];
339  
340 declare 'LabelsEntry',
341 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateDocumentRequest::LabelsEntry'];
342  
343 coerce 'LabelsEntry',
344 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateDocumentRequest::LabelsEntry'->new($_) };
345  
346 declare 'RepeatedLabelsEntry',
347 as ArrayRef[LabelsEntry()];
348  
349 coerce 'RepeatedLabelsEntry',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateDocumentRequest::LabelsEntry'->new($_) } @$_ ] };
351  
352 declare 'MapStringLabelsEntry',
353 as HashRef[LabelsEntry()];
354  
355 declare 'DocumentTranslation',
356 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DocumentTranslation'];
357  
358 coerce 'DocumentTranslation',
359 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DocumentTranslation'->new($_) };
360  
361 declare 'RepeatedDocumentTranslation',
362 as ArrayRef[DocumentTranslation()];
363  
364 coerce 'RepeatedDocumentTranslation',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DocumentTranslation'->new($_) } @$_ ] };
366  
367 declare 'MapStringDocumentTranslation',
368 as HashRef[DocumentTranslation()];
369  
370 declare 'TranslateDocumentResponse',
371 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateDocumentResponse'];
372  
373 coerce 'TranslateDocumentResponse',
374 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateDocumentResponse'->new($_) };
375  
376 declare 'RepeatedTranslateDocumentResponse',
377 as ArrayRef[TranslateDocumentResponse()];
378  
379 coerce 'RepeatedTranslateDocumentResponse',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateDocumentResponse'->new($_) } @$_ ] };
381  
382 declare 'MapStringTranslateDocumentResponse',
383 as HashRef[TranslateDocumentResponse()];
384  
385 declare 'BatchTranslateTextRequest',
386 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest'];
387  
388 coerce 'BatchTranslateTextRequest',
389 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest'->new($_) };
390  
391 declare 'RepeatedBatchTranslateTextRequest',
392 as ArrayRef[BatchTranslateTextRequest()];
393  
394 coerce 'RepeatedBatchTranslateTextRequest',
395 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest'->new($_) } @$_ ] };
396  
397 declare 'MapStringBatchTranslateTextRequest',
398 as HashRef[BatchTranslateTextRequest()];
399  
400 declare 'ModelsEntry',
401 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::ModelsEntry'];
402  
403 coerce 'ModelsEntry',
404 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::ModelsEntry'->new($_) };
405  
406 declare 'RepeatedModelsEntry',
407 as ArrayRef[ModelsEntry()];
408  
409 coerce 'RepeatedModelsEntry',
410 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::ModelsEntry'->new($_) } @$_ ] };
411  
412 declare 'MapStringModelsEntry',
413 as HashRef[ModelsEntry()];
414  
415 declare 'GlossariesEntry',
416 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::GlossariesEntry'];
417  
418 coerce 'GlossariesEntry',
419 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::GlossariesEntry'->new($_) };
420  
421 declare 'RepeatedGlossariesEntry',
422 as ArrayRef[GlossariesEntry()];
423  
424 coerce 'RepeatedGlossariesEntry',
425 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::GlossariesEntry'->new($_) } @$_ ] };
426  
427 declare 'MapStringGlossariesEntry',
428 as HashRef[GlossariesEntry()];
429  
430 declare 'LabelsEntry',
431 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::LabelsEntry'];
432  
433 coerce 'LabelsEntry',
434 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::LabelsEntry'->new($_) };
435  
436 declare 'RepeatedLabelsEntry',
437 as ArrayRef[LabelsEntry()];
438  
439 coerce 'RepeatedLabelsEntry',
440 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateTextRequest::LabelsEntry'->new($_) } @$_ ] };
441  
442 declare 'MapStringLabelsEntry',
443 as HashRef[LabelsEntry()];
444  
445 declare 'BatchTranslateMetadata',
446 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateMetadata'];
447  
448 coerce 'BatchTranslateMetadata',
449 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateMetadata'->new($_) };
450  
451 declare 'RepeatedBatchTranslateMetadata',
452 as ArrayRef[BatchTranslateMetadata()];
453  
454 coerce 'RepeatedBatchTranslateMetadata',
455 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateMetadata'->new($_) } @$_ ] };
456  
457 declare 'MapStringBatchTranslateMetadata',
458 as HashRef[BatchTranslateMetadata()];
459  
460 declare 'State',
461 as (Int | Str);
462  
463 declare 'BatchTranslateResponse',
464 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateResponse'];
465  
466 coerce 'BatchTranslateResponse',
467 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateResponse'->new($_) };
468  
469 declare 'RepeatedBatchTranslateResponse',
470 as ArrayRef[BatchTranslateResponse()];
471  
472 coerce 'RepeatedBatchTranslateResponse',
473 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateResponse'->new($_) } @$_ ] };
474  
475 declare 'MapStringBatchTranslateResponse',
476 as HashRef[BatchTranslateResponse()];
477  
478 declare 'GlossaryInputConfig',
479 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::GlossaryInputConfig'];
480  
481 coerce 'GlossaryInputConfig',
482 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::GlossaryInputConfig'->new($_) };
483  
484 declare 'RepeatedGlossaryInputConfig',
485 as ArrayRef[GlossaryInputConfig()];
486  
487 coerce 'RepeatedGlossaryInputConfig',
488 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::GlossaryInputConfig'->new($_) } @$_ ] };
489  
490 declare 'MapStringGlossaryInputConfig',
491 as HashRef[GlossaryInputConfig()];
492  
493 declare 'Glossary',
494 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::Glossary'];
495  
496 coerce 'Glossary',
497 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::Glossary'->new($_) };
498  
499 declare 'RepeatedGlossary',
500 as ArrayRef[Glossary()];
501  
502 coerce 'RepeatedGlossary',
503 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::Glossary'->new($_) } @$_ ] };
504  
505 declare 'MapStringGlossary',
506 as HashRef[Glossary()];
507  
508 declare 'LanguageCodePair',
509 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::Glossary::LanguageCodePair'];
510  
511 coerce 'LanguageCodePair',
512 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::Glossary::LanguageCodePair'->new($_) };
513  
514 declare 'RepeatedLanguageCodePair',
515 as ArrayRef[LanguageCodePair()];
516  
517 coerce 'RepeatedLanguageCodePair',
518 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::Glossary::LanguageCodePair'->new($_) } @$_ ] };
519  
520 declare 'MapStringLanguageCodePair',
521 as HashRef[LanguageCodePair()];
522  
523 declare 'LanguageCodesSet',
524 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::Glossary::LanguageCodesSet'];
525  
526 coerce 'LanguageCodesSet',
527 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::Glossary::LanguageCodesSet'->new($_) };
528  
529 declare 'RepeatedLanguageCodesSet',
530 as ArrayRef[LanguageCodesSet()];
531  
532 coerce 'RepeatedLanguageCodesSet',
533 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::Glossary::LanguageCodesSet'->new($_) } @$_ ] };
534  
535 declare 'MapStringLanguageCodesSet',
536 as HashRef[LanguageCodesSet()];
537  
538 declare 'CreateGlossaryRequest',
539 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::CreateGlossaryRequest'];
540  
541 coerce 'CreateGlossaryRequest',
542 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::CreateGlossaryRequest'->new($_) };
543  
544 declare 'RepeatedCreateGlossaryRequest',
545 as ArrayRef[CreateGlossaryRequest()];
546  
547 coerce 'RepeatedCreateGlossaryRequest',
548 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::CreateGlossaryRequest'->new($_) } @$_ ] };
549  
550 declare 'MapStringCreateGlossaryRequest',
551 as HashRef[CreateGlossaryRequest()];
552  
553 declare 'UpdateGlossaryRequest',
554 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryRequest'];
555  
556 coerce 'UpdateGlossaryRequest',
557 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryRequest'->new($_) };
558  
559 declare 'RepeatedUpdateGlossaryRequest',
560 as ArrayRef[UpdateGlossaryRequest()];
561  
562 coerce 'RepeatedUpdateGlossaryRequest',
563 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryRequest'->new($_) } @$_ ] };
564  
565 declare 'MapStringUpdateGlossaryRequest',
566 as HashRef[UpdateGlossaryRequest()];
567  
568 declare 'GetGlossaryRequest',
569 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::GetGlossaryRequest'];
570  
571 coerce 'GetGlossaryRequest',
572 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::GetGlossaryRequest'->new($_) };
573  
574 declare 'RepeatedGetGlossaryRequest',
575 as ArrayRef[GetGlossaryRequest()];
576  
577 coerce 'RepeatedGetGlossaryRequest',
578 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::GetGlossaryRequest'->new($_) } @$_ ] };
579  
580 declare 'MapStringGetGlossaryRequest',
581 as HashRef[GetGlossaryRequest()];
582  
583 declare 'DeleteGlossaryRequest',
584 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryRequest'];
585  
586 coerce 'DeleteGlossaryRequest',
587 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryRequest'->new($_) };
588  
589 declare 'RepeatedDeleteGlossaryRequest',
590 as ArrayRef[DeleteGlossaryRequest()];
591  
592 coerce 'RepeatedDeleteGlossaryRequest',
593 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryRequest'->new($_) } @$_ ] };
594  
595 declare 'MapStringDeleteGlossaryRequest',
596 as HashRef[DeleteGlossaryRequest()];
597  
598 declare 'ListGlossariesRequest',
599 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::ListGlossariesRequest'];
600  
601 coerce 'ListGlossariesRequest',
602 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::ListGlossariesRequest'->new($_) };
603  
604 declare 'RepeatedListGlossariesRequest',
605 as ArrayRef[ListGlossariesRequest()];
606  
607 coerce 'RepeatedListGlossariesRequest',
608 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::ListGlossariesRequest'->new($_) } @$_ ] };
609  
610 declare 'MapStringListGlossariesRequest',
611 as HashRef[ListGlossariesRequest()];
612  
613 declare 'ListGlossariesResponse',
614 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::ListGlossariesResponse'];
615  
616 coerce 'ListGlossariesResponse',
617 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::ListGlossariesResponse'->new($_) };
618  
619 declare 'RepeatedListGlossariesResponse',
620 as ArrayRef[ListGlossariesResponse()];
621  
622 coerce 'RepeatedListGlossariesResponse',
623 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::ListGlossariesResponse'->new($_) } @$_ ] };
624  
625 declare 'MapStringListGlossariesResponse',
626 as HashRef[ListGlossariesResponse()];
627  
628 declare 'GetGlossaryEntryRequest',
629 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::GetGlossaryEntryRequest'];
630  
631 coerce 'GetGlossaryEntryRequest',
632 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::GetGlossaryEntryRequest'->new($_) };
633  
634 declare 'RepeatedGetGlossaryEntryRequest',
635 as ArrayRef[GetGlossaryEntryRequest()];
636  
637 coerce 'RepeatedGetGlossaryEntryRequest',
638 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::GetGlossaryEntryRequest'->new($_) } @$_ ] };
639  
640 declare 'MapStringGetGlossaryEntryRequest',
641 as HashRef[GetGlossaryEntryRequest()];
642  
643 declare 'DeleteGlossaryEntryRequest',
644 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryEntryRequest'];
645  
646 coerce 'DeleteGlossaryEntryRequest',
647 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryEntryRequest'->new($_) };
648  
649 declare 'RepeatedDeleteGlossaryEntryRequest',
650 as ArrayRef[DeleteGlossaryEntryRequest()];
651  
652 coerce 'RepeatedDeleteGlossaryEntryRequest',
653 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryEntryRequest'->new($_) } @$_ ] };
654  
655 declare 'MapStringDeleteGlossaryEntryRequest',
656 as HashRef[DeleteGlossaryEntryRequest()];
657  
658 declare 'ListGlossaryEntriesRequest',
659 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::ListGlossaryEntriesRequest'];
660  
661 coerce 'ListGlossaryEntriesRequest',
662 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::ListGlossaryEntriesRequest'->new($_) };
663  
664 declare 'RepeatedListGlossaryEntriesRequest',
665 as ArrayRef[ListGlossaryEntriesRequest()];
666  
667 coerce 'RepeatedListGlossaryEntriesRequest',
668 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::ListGlossaryEntriesRequest'->new($_) } @$_ ] };
669  
670 declare 'MapStringListGlossaryEntriesRequest',
671 as HashRef[ListGlossaryEntriesRequest()];
672  
673 declare 'ListGlossaryEntriesResponse',
674 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::ListGlossaryEntriesResponse'];
675  
676 coerce 'ListGlossaryEntriesResponse',
677 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::ListGlossaryEntriesResponse'->new($_) };
678  
679 declare 'RepeatedListGlossaryEntriesResponse',
680 as ArrayRef[ListGlossaryEntriesResponse()];
681  
682 coerce 'RepeatedListGlossaryEntriesResponse',
683 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::ListGlossaryEntriesResponse'->new($_) } @$_ ] };
684  
685 declare 'MapStringListGlossaryEntriesResponse',
686 as HashRef[ListGlossaryEntriesResponse()];
687  
688 declare 'CreateGlossaryEntryRequest',
689 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::CreateGlossaryEntryRequest'];
690  
691 coerce 'CreateGlossaryEntryRequest',
692 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::CreateGlossaryEntryRequest'->new($_) };
693  
694 declare 'RepeatedCreateGlossaryEntryRequest',
695 as ArrayRef[CreateGlossaryEntryRequest()];
696  
697 coerce 'RepeatedCreateGlossaryEntryRequest',
698 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::CreateGlossaryEntryRequest'->new($_) } @$_ ] };
699  
700 declare 'MapStringCreateGlossaryEntryRequest',
701 as HashRef[CreateGlossaryEntryRequest()];
702  
703 declare 'UpdateGlossaryEntryRequest',
704 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryEntryRequest'];
705  
706 coerce 'UpdateGlossaryEntryRequest',
707 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryEntryRequest'->new($_) };
708  
709 declare 'RepeatedUpdateGlossaryEntryRequest',
710 as ArrayRef[UpdateGlossaryEntryRequest()];
711  
712 coerce 'RepeatedUpdateGlossaryEntryRequest',
713 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryEntryRequest'->new($_) } @$_ ] };
714  
715 declare 'MapStringUpdateGlossaryEntryRequest',
716 as HashRef[UpdateGlossaryEntryRequest()];
717  
718 declare 'CreateGlossaryMetadata',
719 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::CreateGlossaryMetadata'];
720  
721 coerce 'CreateGlossaryMetadata',
722 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::CreateGlossaryMetadata'->new($_) };
723  
724 declare 'RepeatedCreateGlossaryMetadata',
725 as ArrayRef[CreateGlossaryMetadata()];
726  
727 coerce 'RepeatedCreateGlossaryMetadata',
728 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::CreateGlossaryMetadata'->new($_) } @$_ ] };
729  
730 declare 'MapStringCreateGlossaryMetadata',
731 as HashRef[CreateGlossaryMetadata()];
732  
733 declare 'State',
734 as (Int | Str);
735  
736 declare 'UpdateGlossaryMetadata',
737 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryMetadata'];
738  
739 coerce 'UpdateGlossaryMetadata',
740 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryMetadata'->new($_) };
741  
742 declare 'RepeatedUpdateGlossaryMetadata',
743 as ArrayRef[UpdateGlossaryMetadata()];
744  
745 coerce 'RepeatedUpdateGlossaryMetadata',
746 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::UpdateGlossaryMetadata'->new($_) } @$_ ] };
747  
748 declare 'MapStringUpdateGlossaryMetadata',
749 as HashRef[UpdateGlossaryMetadata()];
750  
751 declare 'State',
752 as (Int | Str);
753  
754 declare 'DeleteGlossaryMetadata',
755 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryMetadata'];
756  
757 coerce 'DeleteGlossaryMetadata',
758 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryMetadata'->new($_) };
759  
760 declare 'RepeatedDeleteGlossaryMetadata',
761 as ArrayRef[DeleteGlossaryMetadata()];
762  
763 coerce 'RepeatedDeleteGlossaryMetadata',
764 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryMetadata'->new($_) } @$_ ] };
765  
766 declare 'MapStringDeleteGlossaryMetadata',
767 as HashRef[DeleteGlossaryMetadata()];
768  
769 declare 'State',
770 as (Int | Str);
771  
772 declare 'DeleteGlossaryResponse',
773 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryResponse'];
774  
775 coerce 'DeleteGlossaryResponse',
776 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryResponse'->new($_) };
777  
778 declare 'RepeatedDeleteGlossaryResponse',
779 as ArrayRef[DeleteGlossaryResponse()];
780  
781 coerce 'RepeatedDeleteGlossaryResponse',
782 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::DeleteGlossaryResponse'->new($_) } @$_ ] };
783  
784 declare 'MapStringDeleteGlossaryResponse',
785 as HashRef[DeleteGlossaryResponse()];
786  
787 declare 'BatchTranslateDocumentRequest',
788 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest'];
789  
790 coerce 'BatchTranslateDocumentRequest',
791 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest'->new($_) };
792  
793 declare 'RepeatedBatchTranslateDocumentRequest',
794 as ArrayRef[BatchTranslateDocumentRequest()];
795  
796 coerce 'RepeatedBatchTranslateDocumentRequest',
797 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest'->new($_) } @$_ ] };
798  
799 declare 'MapStringBatchTranslateDocumentRequest',
800 as HashRef[BatchTranslateDocumentRequest()];
801  
802 declare 'ModelsEntry',
803 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::ModelsEntry'];
804  
805 coerce 'ModelsEntry',
806 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::ModelsEntry'->new($_) };
807  
808 declare 'RepeatedModelsEntry',
809 as ArrayRef[ModelsEntry()];
810  
811 coerce 'RepeatedModelsEntry',
812 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::ModelsEntry'->new($_) } @$_ ] };
813  
814 declare 'MapStringModelsEntry',
815 as HashRef[ModelsEntry()];
816  
817 declare 'GlossariesEntry',
818 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::GlossariesEntry'];
819  
820 coerce 'GlossariesEntry',
821 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::GlossariesEntry'->new($_) };
822  
823 declare 'RepeatedGlossariesEntry',
824 as ArrayRef[GlossariesEntry()];
825  
826 coerce 'RepeatedGlossariesEntry',
827 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::GlossariesEntry'->new($_) } @$_ ] };
828  
829 declare 'MapStringGlossariesEntry',
830 as HashRef[GlossariesEntry()];
831  
832 declare 'FormatConversionsEntry',
833 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::FormatConversionsEntry'];
834  
835 coerce 'FormatConversionsEntry',
836 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::FormatConversionsEntry'->new($_) };
837  
838 declare 'RepeatedFormatConversionsEntry',
839 as ArrayRef[FormatConversionsEntry()];
840  
841 coerce 'RepeatedFormatConversionsEntry',
842 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentRequest::FormatConversionsEntry'->new($_) } @$_ ] };
843  
844 declare 'MapStringFormatConversionsEntry',
845 as HashRef[FormatConversionsEntry()];
846  
847 declare 'BatchDocumentInputConfig',
848 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchDocumentInputConfig'];
849  
850 coerce 'BatchDocumentInputConfig',
851 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchDocumentInputConfig'->new($_) };
852  
853 declare 'RepeatedBatchDocumentInputConfig',
854 as ArrayRef[BatchDocumentInputConfig()];
855  
856 coerce 'RepeatedBatchDocumentInputConfig',
857 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchDocumentInputConfig'->new($_) } @$_ ] };
858  
859 declare 'MapStringBatchDocumentInputConfig',
860 as HashRef[BatchDocumentInputConfig()];
861  
862 declare 'BatchDocumentOutputConfig',
863 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchDocumentOutputConfig'];
864  
865 coerce 'BatchDocumentOutputConfig',
866 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchDocumentOutputConfig'->new($_) };
867  
868 declare 'RepeatedBatchDocumentOutputConfig',
869 as ArrayRef[BatchDocumentOutputConfig()];
870  
871 coerce 'RepeatedBatchDocumentOutputConfig',
872 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchDocumentOutputConfig'->new($_) } @$_ ] };
873  
874 declare 'MapStringBatchDocumentOutputConfig',
875 as HashRef[BatchDocumentOutputConfig()];
876  
877 declare 'BatchTranslateDocumentResponse',
878 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentResponse'];
879  
880 coerce 'BatchTranslateDocumentResponse',
881 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentResponse'->new($_) };
882  
883 declare 'RepeatedBatchTranslateDocumentResponse',
884 as ArrayRef[BatchTranslateDocumentResponse()];
885  
886 coerce 'RepeatedBatchTranslateDocumentResponse',
887 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentResponse'->new($_) } @$_ ] };
888  
889 declare 'MapStringBatchTranslateDocumentResponse',
890 as HashRef[BatchTranslateDocumentResponse()];
891  
892 declare 'BatchTranslateDocumentMetadata',
893 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentMetadata'];
894  
895 coerce 'BatchTranslateDocumentMetadata',
896 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentMetadata'->new($_) };
897  
898 declare 'RepeatedBatchTranslateDocumentMetadata',
899 as ArrayRef[BatchTranslateDocumentMetadata()];
900  
901 coerce 'RepeatedBatchTranslateDocumentMetadata',
902 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::BatchTranslateDocumentMetadata'->new($_) } @$_ ] };
903  
904 declare 'MapStringBatchTranslateDocumentMetadata',
905 as HashRef[BatchTranslateDocumentMetadata()];
906  
907 declare 'State',
908 as (Int | Str);
909  
910 declare 'TranslateTextGlossaryConfig',
911 as InstanceOf['Google::Cloud::Translation::V3::TranslationService::TranslateTextGlossaryConfig'];
912  
913 coerce 'TranslateTextGlossaryConfig',
914 from HashRef, via { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextGlossaryConfig'->new($_) };
915  
916 declare 'RepeatedTranslateTextGlossaryConfig',
917 as ArrayRef[TranslateTextGlossaryConfig()];
918  
919 coerce 'RepeatedTranslateTextGlossaryConfig',
920 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Translation::V3::TranslationService::TranslateTextGlossaryConfig'->new($_) } @$_ ] };
921  
922 declare 'MapStringTranslateTextGlossaryConfig',
923 as HashRef[TranslateTextGlossaryConfig()];
924  
925 1;
926  
927 __END__