V1/Subscriber/Types.pm untested

filter: Statementstmt 0.0% 0 / 173 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 178 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::Pubsublite::V1::Subscriber::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 'InitialSubscribeRequest',
11 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::InitialSubscribeRequest'];
12  
13 coerce 'InitialSubscribeRequest',
14 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::InitialSubscribeRequest'->new($_) };
15  
16 declare 'RepeatedInitialSubscribeRequest',
17 as ArrayRef[InitialSubscribeRequest()];
18  
19 coerce 'RepeatedInitialSubscribeRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::InitialSubscribeRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringInitialSubscribeRequest',
23 as HashRef[InitialSubscribeRequest()];
24  
25 declare 'InitialSubscribeResponse',
26 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::InitialSubscribeResponse'];
27  
28 coerce 'InitialSubscribeResponse',
29 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::InitialSubscribeResponse'->new($_) };
30  
31 declare 'RepeatedInitialSubscribeResponse',
32 as ArrayRef[InitialSubscribeResponse()];
33  
34 coerce 'RepeatedInitialSubscribeResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::InitialSubscribeResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringInitialSubscribeResponse',
38 as HashRef[InitialSubscribeResponse()];
39  
40 declare 'SeekRequest',
41 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::SeekRequest'];
42  
43 coerce 'SeekRequest',
44 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::SeekRequest'->new($_) };
45  
46 declare 'RepeatedSeekRequest',
47 as ArrayRef[SeekRequest()];
48  
49 coerce 'RepeatedSeekRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::SeekRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringSeekRequest',
53 as HashRef[SeekRequest()];
54  
55 declare 'NamedTarget',
56 as (Int | Str);
57  
58 declare 'SeekResponse',
59 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::SeekResponse'];
60  
61 coerce 'SeekResponse',
62 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::SeekResponse'->new($_) };
63  
64 declare 'RepeatedSeekResponse',
65 as ArrayRef[SeekResponse()];
66  
67 coerce 'RepeatedSeekResponse',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::SeekResponse'->new($_) } @$_ ] };
69  
70 declare 'MapStringSeekResponse',
71 as HashRef[SeekResponse()];
72  
73 declare 'FlowControlRequest',
74 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::FlowControlRequest'];
75  
76 coerce 'FlowControlRequest',
77 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::FlowControlRequest'->new($_) };
78  
79 declare 'RepeatedFlowControlRequest',
80 as ArrayRef[FlowControlRequest()];
81  
82 coerce 'RepeatedFlowControlRequest',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::FlowControlRequest'->new($_) } @$_ ] };
84  
85 declare 'MapStringFlowControlRequest',
86 as HashRef[FlowControlRequest()];
87  
88 declare 'SubscribeRequest',
89 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::SubscribeRequest'];
90  
91 coerce 'SubscribeRequest',
92 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::SubscribeRequest'->new($_) };
93  
94 declare 'RepeatedSubscribeRequest',
95 as ArrayRef[SubscribeRequest()];
96  
97 coerce 'RepeatedSubscribeRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::SubscribeRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringSubscribeRequest',
101 as HashRef[SubscribeRequest()];
102  
103 declare 'MessageResponse',
104 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::MessageResponse'];
105  
106 coerce 'MessageResponse',
107 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::MessageResponse'->new($_) };
108  
109 declare 'RepeatedMessageResponse',
110 as ArrayRef[MessageResponse()];
111  
112 coerce 'RepeatedMessageResponse',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::MessageResponse'->new($_) } @$_ ] };
114  
115 declare 'MapStringMessageResponse',
116 as HashRef[MessageResponse()];
117  
118 declare 'SubscribeResponse',
119 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::SubscribeResponse'];
120  
121 coerce 'SubscribeResponse',
122 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::SubscribeResponse'->new($_) };
123  
124 declare 'RepeatedSubscribeResponse',
125 as ArrayRef[SubscribeResponse()];
126  
127 coerce 'RepeatedSubscribeResponse',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::SubscribeResponse'->new($_) } @$_ ] };
129  
130 declare 'MapStringSubscribeResponse',
131 as HashRef[SubscribeResponse()];
132  
133 declare 'InitialPartitionAssignmentRequest',
134 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::InitialPartitionAssignmentRequest'];
135  
136 coerce 'InitialPartitionAssignmentRequest',
137 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::InitialPartitionAssignmentRequest'->new($_) };
138  
139 declare 'RepeatedInitialPartitionAssignmentRequest',
140 as ArrayRef[InitialPartitionAssignmentRequest()];
141  
142 coerce 'RepeatedInitialPartitionAssignmentRequest',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::InitialPartitionAssignmentRequest'->new($_) } @$_ ] };
144  
145 declare 'MapStringInitialPartitionAssignmentRequest',
146 as HashRef[InitialPartitionAssignmentRequest()];
147  
148 declare 'PartitionAssignment',
149 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignment'];
150  
151 coerce 'PartitionAssignment',
152 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignment'->new($_) };
153  
154 declare 'RepeatedPartitionAssignment',
155 as ArrayRef[PartitionAssignment()];
156  
157 coerce 'RepeatedPartitionAssignment',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignment'->new($_) } @$_ ] };
159  
160 declare 'MapStringPartitionAssignment',
161 as HashRef[PartitionAssignment()];
162  
163 declare 'PartitionAssignmentAck',
164 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignmentAck'];
165  
166 coerce 'PartitionAssignmentAck',
167 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignmentAck'->new($_) };
168  
169 declare 'RepeatedPartitionAssignmentAck',
170 as ArrayRef[PartitionAssignmentAck()];
171  
172 coerce 'RepeatedPartitionAssignmentAck',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignmentAck'->new($_) } @$_ ] };
174  
175 declare 'MapStringPartitionAssignmentAck',
176 as HashRef[PartitionAssignmentAck()];
177  
178 declare 'PartitionAssignmentRequest',
179 as InstanceOf['Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignmentRequest'];
180  
181 coerce 'PartitionAssignmentRequest',
182 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignmentRequest'->new($_) };
183  
184 declare 'RepeatedPartitionAssignmentRequest',
185 as ArrayRef[PartitionAssignmentRequest()];
186  
187 coerce 'RepeatedPartitionAssignmentRequest',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Subscriber::PartitionAssignmentRequest'->new($_) } @$_ ] };
189  
190 declare 'MapStringPartitionAssignmentRequest',
191 as HashRef[PartitionAssignmentRequest()];
192  
193 1;
194  
195 __END__