V1/StreamingService/Types.pm untested

filter: Statementstmt 0.0% 0 / 277 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 282 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::Visionai::V1::StreamingService::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 'LeaseType',
11 as (Int | Str);
12  
13 declare 'ReceiveEventsRequest',
14 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsRequest'];
15  
16 coerce 'ReceiveEventsRequest',
17 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsRequest'->new($_) };
18  
19 declare 'RepeatedReceiveEventsRequest',
20 as ArrayRef[ReceiveEventsRequest()];
21  
22 coerce 'RepeatedReceiveEventsRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringReceiveEventsRequest',
26 as HashRef[ReceiveEventsRequest()];
27  
28 declare 'SetupRequest',
29 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsRequest::SetupRequest'];
30  
31 coerce 'SetupRequest',
32 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsRequest::SetupRequest'->new($_) };
33  
34 declare 'RepeatedSetupRequest',
35 as ArrayRef[SetupRequest()];
36  
37 coerce 'RepeatedSetupRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsRequest::SetupRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringSetupRequest',
41 as HashRef[SetupRequest()];
42  
43 declare 'EventUpdate',
44 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::EventUpdate'];
45  
46 coerce 'EventUpdate',
47 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::EventUpdate'->new($_) };
48  
49 declare 'RepeatedEventUpdate',
50 as ArrayRef[EventUpdate()];
51  
52 coerce 'RepeatedEventUpdate',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::EventUpdate'->new($_) } @$_ ] };
54  
55 declare 'MapStringEventUpdate',
56 as HashRef[EventUpdate()];
57  
58 declare 'ReceiveEventsControlResponse',
59 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsControlResponse'];
60  
61 coerce 'ReceiveEventsControlResponse',
62 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsControlResponse'->new($_) };
63  
64 declare 'RepeatedReceiveEventsControlResponse',
65 as ArrayRef[ReceiveEventsControlResponse()];
66  
67 coerce 'RepeatedReceiveEventsControlResponse',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsControlResponse'->new($_) } @$_ ] };
69  
70 declare 'MapStringReceiveEventsControlResponse',
71 as HashRef[ReceiveEventsControlResponse()];
72  
73 declare 'ReceiveEventsResponse',
74 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsResponse'];
75  
76 coerce 'ReceiveEventsResponse',
77 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsResponse'->new($_) };
78  
79 declare 'RepeatedReceiveEventsResponse',
80 as ArrayRef[ReceiveEventsResponse()];
81  
82 coerce 'RepeatedReceiveEventsResponse',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceiveEventsResponse'->new($_) } @$_ ] };
84  
85 declare 'MapStringReceiveEventsResponse',
86 as HashRef[ReceiveEventsResponse()];
87  
88 declare 'Lease',
89 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::Lease'];
90  
91 coerce 'Lease',
92 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::Lease'->new($_) };
93  
94 declare 'RepeatedLease',
95 as ArrayRef[Lease()];
96  
97 coerce 'RepeatedLease',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::Lease'->new($_) } @$_ ] };
99  
100 declare 'MapStringLease',
101 as HashRef[Lease()];
102  
103 declare 'AcquireLeaseRequest',
104 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::AcquireLeaseRequest'];
105  
106 coerce 'AcquireLeaseRequest',
107 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::AcquireLeaseRequest'->new($_) };
108  
109 declare 'RepeatedAcquireLeaseRequest',
110 as ArrayRef[AcquireLeaseRequest()];
111  
112 coerce 'RepeatedAcquireLeaseRequest',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::AcquireLeaseRequest'->new($_) } @$_ ] };
114  
115 declare 'MapStringAcquireLeaseRequest',
116 as HashRef[AcquireLeaseRequest()];
117  
118 declare 'RenewLeaseRequest',
119 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::RenewLeaseRequest'];
120  
121 coerce 'RenewLeaseRequest',
122 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::RenewLeaseRequest'->new($_) };
123  
124 declare 'RepeatedRenewLeaseRequest',
125 as ArrayRef[RenewLeaseRequest()];
126  
127 coerce 'RepeatedRenewLeaseRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::RenewLeaseRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringRenewLeaseRequest',
131 as HashRef[RenewLeaseRequest()];
132  
133 declare 'ReleaseLeaseRequest',
134 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReleaseLeaseRequest'];
135  
136 coerce 'ReleaseLeaseRequest',
137 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReleaseLeaseRequest'->new($_) };
138  
139 declare 'RepeatedReleaseLeaseRequest',
140 as ArrayRef[ReleaseLeaseRequest()];
141  
142 coerce 'RepeatedReleaseLeaseRequest',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReleaseLeaseRequest'->new($_) } @$_ ] };
144  
145 declare 'MapStringReleaseLeaseRequest',
146 as HashRef[ReleaseLeaseRequest()];
147  
148 declare 'ReleaseLeaseResponse',
149 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReleaseLeaseResponse'];
150  
151 coerce 'ReleaseLeaseResponse',
152 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReleaseLeaseResponse'->new($_) };
153  
154 declare 'RepeatedReleaseLeaseResponse',
155 as ArrayRef[ReleaseLeaseResponse()];
156  
157 coerce 'RepeatedReleaseLeaseResponse',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReleaseLeaseResponse'->new($_) } @$_ ] };
159  
160 declare 'MapStringReleaseLeaseResponse',
161 as HashRef[ReleaseLeaseResponse()];
162  
163 declare 'RequestMetadata',
164 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::RequestMetadata'];
165  
166 coerce 'RequestMetadata',
167 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::RequestMetadata'->new($_) };
168  
169 declare 'RepeatedRequestMetadata',
170 as ArrayRef[RequestMetadata()];
171  
172 coerce 'RepeatedRequestMetadata',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::RequestMetadata'->new($_) } @$_ ] };
174  
175 declare 'MapStringRequestMetadata',
176 as HashRef[RequestMetadata()];
177  
178 declare 'SendPacketsRequest',
179 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::SendPacketsRequest'];
180  
181 coerce 'SendPacketsRequest',
182 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::SendPacketsRequest'->new($_) };
183  
184 declare 'RepeatedSendPacketsRequest',
185 as ArrayRef[SendPacketsRequest()];
186  
187 coerce 'RepeatedSendPacketsRequest',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::SendPacketsRequest'->new($_) } @$_ ] };
189  
190 declare 'MapStringSendPacketsRequest',
191 as HashRef[SendPacketsRequest()];
192  
193 declare 'SendPacketsResponse',
194 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::SendPacketsResponse'];
195  
196 coerce 'SendPacketsResponse',
197 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::SendPacketsResponse'->new($_) };
198  
199 declare 'RepeatedSendPacketsResponse',
200 as ArrayRef[SendPacketsResponse()];
201  
202 coerce 'RepeatedSendPacketsResponse',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::SendPacketsResponse'->new($_) } @$_ ] };
204  
205 declare 'MapStringSendPacketsResponse',
206 as HashRef[SendPacketsResponse()];
207  
208 declare 'ReceivePacketsRequest',
209 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsRequest'];
210  
211 coerce 'ReceivePacketsRequest',
212 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsRequest'->new($_) };
213  
214 declare 'RepeatedReceivePacketsRequest',
215 as ArrayRef[ReceivePacketsRequest()];
216  
217 coerce 'RepeatedReceivePacketsRequest',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsRequest'->new($_) } @$_ ] };
219  
220 declare 'MapStringReceivePacketsRequest',
221 as HashRef[ReceivePacketsRequest()];
222  
223 declare 'SetupRequest',
224 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsRequest::SetupRequest'];
225  
226 coerce 'SetupRequest',
227 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsRequest::SetupRequest'->new($_) };
228  
229 declare 'RepeatedSetupRequest',
230 as ArrayRef[SetupRequest()];
231  
232 coerce 'RepeatedSetupRequest',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsRequest::SetupRequest'->new($_) } @$_ ] };
234  
235 declare 'MapStringSetupRequest',
236 as HashRef[SetupRequest()];
237  
238 declare 'ReceivePacketsControlResponse',
239 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsControlResponse'];
240  
241 coerce 'ReceivePacketsControlResponse',
242 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsControlResponse'->new($_) };
243  
244 declare 'RepeatedReceivePacketsControlResponse',
245 as ArrayRef[ReceivePacketsControlResponse()];
246  
247 coerce 'RepeatedReceivePacketsControlResponse',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsControlResponse'->new($_) } @$_ ] };
249  
250 declare 'MapStringReceivePacketsControlResponse',
251 as HashRef[ReceivePacketsControlResponse()];
252  
253 declare 'ReceivePacketsResponse',
254 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsResponse'];
255  
256 coerce 'ReceivePacketsResponse',
257 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsResponse'->new($_) };
258  
259 declare 'RepeatedReceivePacketsResponse',
260 as ArrayRef[ReceivePacketsResponse()];
261  
262 coerce 'RepeatedReceivePacketsResponse',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ReceivePacketsResponse'->new($_) } @$_ ] };
264  
265 declare 'MapStringReceivePacketsResponse',
266 as HashRef[ReceivePacketsResponse()];
267  
268 declare 'EagerMode',
269 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::EagerMode'];
270  
271 coerce 'EagerMode',
272 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::EagerMode'->new($_) };
273  
274 declare 'RepeatedEagerMode',
275 as ArrayRef[EagerMode()];
276  
277 coerce 'RepeatedEagerMode',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::EagerMode'->new($_) } @$_ ] };
279  
280 declare 'MapStringEagerMode',
281 as HashRef[EagerMode()];
282  
283 declare 'ControlledMode',
284 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::ControlledMode'];
285  
286 coerce 'ControlledMode',
287 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::ControlledMode'->new($_) };
288  
289 declare 'RepeatedControlledMode',
290 as ArrayRef[ControlledMode()];
291  
292 coerce 'RepeatedControlledMode',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::ControlledMode'->new($_) } @$_ ] };
294  
295 declare 'MapStringControlledMode',
296 as HashRef[ControlledMode()];
297  
298 declare 'CommitRequest',
299 as InstanceOf['Google::Cloud::Visionai::V1::StreamingService::CommitRequest'];
300  
301 coerce 'CommitRequest',
302 from HashRef, via { 'Google::Cloud::Visionai::V1::StreamingService::CommitRequest'->new($_) };
303  
304 declare 'RepeatedCommitRequest',
305 as ArrayRef[CommitRequest()];
306  
307 coerce 'RepeatedCommitRequest',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::StreamingService::CommitRequest'->new($_) } @$_ ] };
309  
310 declare 'MapStringCommitRequest',
311 as HashRef[CommitRequest()];
312  
313 1;
314  
315 __END__