Bigtable/Admin/V2/Types/Types.pm untested

filter: Statementstmt 0.0% 0 / 445 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 450 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Bigtable::Admin::V2::Types::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 'Type',
11 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type'];
12  
13 coerce 'Type',
14 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type'->new($_) };
15  
16 declare 'RepeatedType',
17 as ArrayRef[Type()];
18  
19 coerce 'RepeatedType',
20 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type'->new($_) } @$_ ] };
21  
22 declare 'MapStringType',
23 as HashRef[Type()];
24  
25 declare 'Bytes',
26 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Bytes'];
27  
28 coerce 'Bytes',
29 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Bytes'->new($_) };
30  
31 declare 'RepeatedBytes',
32 as ArrayRef[Bytes()];
33  
34 coerce 'RepeatedBytes',
35 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Bytes'->new($_) } @$_ ] };
36  
37 declare 'MapStringBytes',
38 as HashRef[Bytes()];
39  
40 declare 'Encoding',
41 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Bytes::Encoding'];
42  
43 coerce 'Encoding',
44 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Bytes::Encoding'->new($_) };
45  
46 declare 'RepeatedEncoding',
47 as ArrayRef[Encoding()];
48  
49 coerce 'RepeatedEncoding',
50 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Bytes::Encoding'->new($_) } @$_ ] };
51  
52 declare 'MapStringEncoding',
53 as HashRef[Encoding()];
54  
55 declare 'Raw',
56 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Bytes::Encoding::Raw'];
57  
58 coerce 'Raw',
59 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Bytes::Encoding::Raw'->new($_) };
60  
61 declare 'RepeatedRaw',
62 as ArrayRef[Raw()];
63  
64 coerce 'RepeatedRaw',
65 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Bytes::Encoding::Raw'->new($_) } @$_ ] };
66  
67 declare 'MapStringRaw',
68 as HashRef[Raw()];
69  
70 declare 'String',
71 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::String'];
72  
73 coerce 'String',
74 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::String'->new($_) };
75  
76 declare 'RepeatedString',
77 as ArrayRef[String()];
78  
79 coerce 'RepeatedString',
80 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::String'->new($_) } @$_ ] };
81  
82 declare 'MapStringString',
83 as HashRef[String()];
84  
85 declare 'Encoding',
86 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::String::Encoding'];
87  
88 coerce 'Encoding',
89 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::String::Encoding'->new($_) };
90  
91 declare 'RepeatedEncoding',
92 as ArrayRef[Encoding()];
93  
94 coerce 'RepeatedEncoding',
95 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::String::Encoding'->new($_) } @$_ ] };
96  
97 declare 'MapStringEncoding',
98 as HashRef[Encoding()];
99  
100 declare 'Utf8Raw',
101 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::String::Encoding::Utf8Raw'];
102  
103 coerce 'Utf8Raw',
104 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::String::Encoding::Utf8Raw'->new($_) };
105  
106 declare 'RepeatedUtf8Raw',
107 as ArrayRef[Utf8Raw()];
108  
109 coerce 'RepeatedUtf8Raw',
110 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::String::Encoding::Utf8Raw'->new($_) } @$_ ] };
111  
112 declare 'MapStringUtf8Raw',
113 as HashRef[Utf8Raw()];
114  
115 declare 'Utf8Bytes',
116 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::String::Encoding::Utf8Bytes'];
117  
118 coerce 'Utf8Bytes',
119 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::String::Encoding::Utf8Bytes'->new($_) };
120  
121 declare 'RepeatedUtf8Bytes',
122 as ArrayRef[Utf8Bytes()];
123  
124 coerce 'RepeatedUtf8Bytes',
125 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::String::Encoding::Utf8Bytes'->new($_) } @$_ ] };
126  
127 declare 'MapStringUtf8Bytes',
128 as HashRef[Utf8Bytes()];
129  
130 declare 'Int64',
131 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Int64'];
132  
133 coerce 'Int64',
134 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Int64'->new($_) };
135  
136 declare 'RepeatedInt64',
137 as ArrayRef[Int64()];
138  
139 coerce 'RepeatedInt64',
140 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Int64'->new($_) } @$_ ] };
141  
142 declare 'MapStringInt64',
143 as HashRef[Int64()];
144  
145 declare 'Encoding',
146 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding'];
147  
148 coerce 'Encoding',
149 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding'->new($_) };
150  
151 declare 'RepeatedEncoding',
152 as ArrayRef[Encoding()];
153  
154 coerce 'RepeatedEncoding',
155 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding'->new($_) } @$_ ] };
156  
157 declare 'MapStringEncoding',
158 as HashRef[Encoding()];
159  
160 declare 'BigEndianBytes',
161 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding::BigEndianBytes'];
162  
163 coerce 'BigEndianBytes',
164 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding::BigEndianBytes'->new($_) };
165  
166 declare 'RepeatedBigEndianBytes',
167 as ArrayRef[BigEndianBytes()];
168  
169 coerce 'RepeatedBigEndianBytes',
170 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding::BigEndianBytes'->new($_) } @$_ ] };
171  
172 declare 'MapStringBigEndianBytes',
173 as HashRef[BigEndianBytes()];
174  
175 declare 'OrderedCodeBytes',
176 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding::OrderedCodeBytes'];
177  
178 coerce 'OrderedCodeBytes',
179 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding::OrderedCodeBytes'->new($_) };
180  
181 declare 'RepeatedOrderedCodeBytes',
182 as ArrayRef[OrderedCodeBytes()];
183  
184 coerce 'RepeatedOrderedCodeBytes',
185 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Int64::Encoding::OrderedCodeBytes'->new($_) } @$_ ] };
186  
187 declare 'MapStringOrderedCodeBytes',
188 as HashRef[OrderedCodeBytes()];
189  
190 declare 'Bool',
191 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Bool'];
192  
193 coerce 'Bool',
194 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Bool'->new($_) };
195  
196 declare 'RepeatedBool',
197 as ArrayRef[Bool()];
198  
199 coerce 'RepeatedBool',
200 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Bool'->new($_) } @$_ ] };
201  
202 declare 'MapStringBool',
203 as HashRef[Bool()];
204  
205 declare 'Float32',
206 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Float32'];
207  
208 coerce 'Float32',
209 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Float32'->new($_) };
210  
211 declare 'RepeatedFloat32',
212 as ArrayRef[Float32()];
213  
214 coerce 'RepeatedFloat32',
215 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Float32'->new($_) } @$_ ] };
216  
217 declare 'MapStringFloat32',
218 as HashRef[Float32()];
219  
220 declare 'Float64',
221 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Float64'];
222  
223 coerce 'Float64',
224 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Float64'->new($_) };
225  
226 declare 'RepeatedFloat64',
227 as ArrayRef[Float64()];
228  
229 coerce 'RepeatedFloat64',
230 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Float64'->new($_) } @$_ ] };
231  
232 declare 'MapStringFloat64',
233 as HashRef[Float64()];
234  
235 declare 'Timestamp',
236 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Timestamp'];
237  
238 coerce 'Timestamp',
239 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Timestamp'->new($_) };
240  
241 declare 'RepeatedTimestamp',
242 as ArrayRef[Timestamp()];
243  
244 coerce 'RepeatedTimestamp',
245 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Timestamp'->new($_) } @$_ ] };
246  
247 declare 'MapStringTimestamp',
248 as HashRef[Timestamp()];
249  
250 declare 'Encoding',
251 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Timestamp::Encoding'];
252  
253 coerce 'Encoding',
254 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Timestamp::Encoding'->new($_) };
255  
256 declare 'RepeatedEncoding',
257 as ArrayRef[Encoding()];
258  
259 coerce 'RepeatedEncoding',
260 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Timestamp::Encoding'->new($_) } @$_ ] };
261  
262 declare 'MapStringEncoding',
263 as HashRef[Encoding()];
264  
265 declare 'Date',
266 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Date'];
267  
268 coerce 'Date',
269 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Date'->new($_) };
270  
271 declare 'RepeatedDate',
272 as ArrayRef[Date()];
273  
274 coerce 'RepeatedDate',
275 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Date'->new($_) } @$_ ] };
276  
277 declare 'MapStringDate',
278 as HashRef[Date()];
279  
280 declare 'Struct',
281 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Struct'];
282  
283 coerce 'Struct',
284 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Struct'->new($_) };
285  
286 declare 'RepeatedStruct',
287 as ArrayRef[Struct()];
288  
289 coerce 'RepeatedStruct',
290 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Struct'->new($_) } @$_ ] };
291  
292 declare 'MapStringStruct',
293 as HashRef[Struct()];
294  
295 declare 'Field',
296 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Struct::Field'];
297  
298 coerce 'Field',
299 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Field'->new($_) };
300  
301 declare 'RepeatedField',
302 as ArrayRef[Field()];
303  
304 coerce 'RepeatedField',
305 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Field'->new($_) } @$_ ] };
306  
307 declare 'MapStringField',
308 as HashRef[Field()];
309  
310 declare 'Encoding',
311 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding'];
312  
313 coerce 'Encoding',
314 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding'->new($_) };
315  
316 declare 'RepeatedEncoding',
317 as ArrayRef[Encoding()];
318  
319 coerce 'RepeatedEncoding',
320 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding'->new($_) } @$_ ] };
321  
322 declare 'MapStringEncoding',
323 as HashRef[Encoding()];
324  
325 declare 'Singleton',
326 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::Singleton'];
327  
328 coerce 'Singleton',
329 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::Singleton'->new($_) };
330  
331 declare 'RepeatedSingleton',
332 as ArrayRef[Singleton()];
333  
334 coerce 'RepeatedSingleton',
335 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::Singleton'->new($_) } @$_ ] };
336  
337 declare 'MapStringSingleton',
338 as HashRef[Singleton()];
339  
340 declare 'DelimitedBytes',
341 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::DelimitedBytes'];
342  
343 coerce 'DelimitedBytes',
344 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::DelimitedBytes'->new($_) };
345  
346 declare 'RepeatedDelimitedBytes',
347 as ArrayRef[DelimitedBytes()];
348  
349 coerce 'RepeatedDelimitedBytes',
350 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::DelimitedBytes'->new($_) } @$_ ] };
351  
352 declare 'MapStringDelimitedBytes',
353 as HashRef[DelimitedBytes()];
354  
355 declare 'OrderedCodeBytes',
356 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::OrderedCodeBytes'];
357  
358 coerce 'OrderedCodeBytes',
359 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::OrderedCodeBytes'->new($_) };
360  
361 declare 'RepeatedOrderedCodeBytes',
362 as ArrayRef[OrderedCodeBytes()];
363  
364 coerce 'RepeatedOrderedCodeBytes',
365 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Struct::Encoding::OrderedCodeBytes'->new($_) } @$_ ] };
366  
367 declare 'MapStringOrderedCodeBytes',
368 as HashRef[OrderedCodeBytes()];
369  
370 declare 'Proto',
371 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Proto'];
372  
373 coerce 'Proto',
374 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Proto'->new($_) };
375  
376 declare 'RepeatedProto',
377 as ArrayRef[Proto()];
378  
379 coerce 'RepeatedProto',
380 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Proto'->new($_) } @$_ ] };
381  
382 declare 'MapStringProto',
383 as HashRef[Proto()];
384  
385 declare 'Enum',
386 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Enum'];
387  
388 coerce 'Enum',
389 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Enum'->new($_) };
390  
391 declare 'RepeatedEnum',
392 as ArrayRef[Enum()];
393  
394 coerce 'RepeatedEnum',
395 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Enum'->new($_) } @$_ ] };
396  
397 declare 'MapStringEnum',
398 as HashRef[Enum()];
399  
400 declare 'Array',
401 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Array'];
402  
403 coerce 'Array',
404 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Array'->new($_) };
405  
406 declare 'RepeatedArray',
407 as ArrayRef[Array()];
408  
409 coerce 'RepeatedArray',
410 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Array'->new($_) } @$_ ] };
411  
412 declare 'MapStringArray',
413 as HashRef[Array()];
414  
415 declare 'Map',
416 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Map'];
417  
418 coerce 'Map',
419 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Map'->new($_) };
420  
421 declare 'RepeatedMap',
422 as ArrayRef[Map()];
423  
424 coerce 'RepeatedMap',
425 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Map'->new($_) } @$_ ] };
426  
427 declare 'MapStringMap',
428 as HashRef[Map()];
429  
430 declare 'Aggregate',
431 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Aggregate'];
432  
433 coerce 'Aggregate',
434 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate'->new($_) };
435  
436 declare 'RepeatedAggregate',
437 as ArrayRef[Aggregate()];
438  
439 coerce 'RepeatedAggregate',
440 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate'->new($_) } @$_ ] };
441  
442 declare 'MapStringAggregate',
443 as HashRef[Aggregate()];
444  
445 declare 'Sum',
446 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Aggregate::Sum'];
447  
448 coerce 'Sum',
449 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::Sum'->new($_) };
450  
451 declare 'RepeatedSum',
452 as ArrayRef[Sum()];
453  
454 coerce 'RepeatedSum',
455 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::Sum'->new($_) } @$_ ] };
456  
457 declare 'MapStringSum',
458 as HashRef[Sum()];
459  
460 declare 'Max',
461 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Aggregate::Max'];
462  
463 coerce 'Max',
464 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::Max'->new($_) };
465  
466 declare 'RepeatedMax',
467 as ArrayRef[Max()];
468  
469 coerce 'RepeatedMax',
470 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::Max'->new($_) } @$_ ] };
471  
472 declare 'MapStringMax',
473 as HashRef[Max()];
474  
475 declare 'Min',
476 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Aggregate::Min'];
477  
478 coerce 'Min',
479 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::Min'->new($_) };
480  
481 declare 'RepeatedMin',
482 as ArrayRef[Min()];
483  
484 coerce 'RepeatedMin',
485 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::Min'->new($_) } @$_ ] };
486  
487 declare 'MapStringMin',
488 as HashRef[Min()];
489  
490 declare 'HyperLogLogPlusPlusUniqueCount',
491 as InstanceOf['Google::Bigtable::Admin::V2::Types::Type::Aggregate::HyperLogLogPlusPlusUniqueCount'];
492  
493 coerce 'HyperLogLogPlusPlusUniqueCount',
494 from HashRef, via { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::HyperLogLogPlusPlusUniqueCount'->new($_) };
495  
496 declare 'RepeatedHyperLogLogPlusPlusUniqueCount',
497 as ArrayRef[HyperLogLogPlusPlusUniqueCount()];
498  
499 coerce 'RepeatedHyperLogLogPlusPlusUniqueCount',
500 from ArrayRef[HashRef], via { [ map { 'Google::Bigtable::Admin::V2::Types::Type::Aggregate::HyperLogLogPlusPlusUniqueCount'->new($_) } @$_ ] };
501  
502 declare 'MapStringHyperLogLogPlusPlusUniqueCount',
503 as HashRef[HyperLogLogPlusPlusUniqueCount()];
504  
505 1;
506  
507 __END__