V1/Cursor/Types.pm untested

filter: Statementstmt 0.0% 0 / 159 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 164 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::Cursor::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 'InitialCommitCursorRequest',
11 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::InitialCommitCursorRequest'];
12  
13 coerce 'InitialCommitCursorRequest',
14 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::InitialCommitCursorRequest'->new($_) };
15  
16 declare 'RepeatedInitialCommitCursorRequest',
17 as ArrayRef[InitialCommitCursorRequest()];
18  
19 coerce 'RepeatedInitialCommitCursorRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::InitialCommitCursorRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringInitialCommitCursorRequest',
23 as HashRef[InitialCommitCursorRequest()];
24  
25 declare 'InitialCommitCursorResponse',
26 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::InitialCommitCursorResponse'];
27  
28 coerce 'InitialCommitCursorResponse',
29 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::InitialCommitCursorResponse'->new($_) };
30  
31 declare 'RepeatedInitialCommitCursorResponse',
32 as ArrayRef[InitialCommitCursorResponse()];
33  
34 coerce 'RepeatedInitialCommitCursorResponse',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::InitialCommitCursorResponse'->new($_) } @$_ ] };
36  
37 declare 'MapStringInitialCommitCursorResponse',
38 as HashRef[InitialCommitCursorResponse()];
39  
40 declare 'SequencedCommitCursorRequest',
41 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::SequencedCommitCursorRequest'];
42  
43 coerce 'SequencedCommitCursorRequest',
44 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::SequencedCommitCursorRequest'->new($_) };
45  
46 declare 'RepeatedSequencedCommitCursorRequest',
47 as ArrayRef[SequencedCommitCursorRequest()];
48  
49 coerce 'RepeatedSequencedCommitCursorRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::SequencedCommitCursorRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringSequencedCommitCursorRequest',
53 as HashRef[SequencedCommitCursorRequest()];
54  
55 declare 'SequencedCommitCursorResponse',
56 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::SequencedCommitCursorResponse'];
57  
58 coerce 'SequencedCommitCursorResponse',
59 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::SequencedCommitCursorResponse'->new($_) };
60  
61 declare 'RepeatedSequencedCommitCursorResponse',
62 as ArrayRef[SequencedCommitCursorResponse()];
63  
64 coerce 'RepeatedSequencedCommitCursorResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::SequencedCommitCursorResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringSequencedCommitCursorResponse',
68 as HashRef[SequencedCommitCursorResponse()];
69  
70 declare 'StreamingCommitCursorRequest',
71 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::StreamingCommitCursorRequest'];
72  
73 coerce 'StreamingCommitCursorRequest',
74 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::StreamingCommitCursorRequest'->new($_) };
75  
76 declare 'RepeatedStreamingCommitCursorRequest',
77 as ArrayRef[StreamingCommitCursorRequest()];
78  
79 coerce 'RepeatedStreamingCommitCursorRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::StreamingCommitCursorRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringStreamingCommitCursorRequest',
83 as HashRef[StreamingCommitCursorRequest()];
84  
85 declare 'StreamingCommitCursorResponse',
86 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::StreamingCommitCursorResponse'];
87  
88 coerce 'StreamingCommitCursorResponse',
89 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::StreamingCommitCursorResponse'->new($_) };
90  
91 declare 'RepeatedStreamingCommitCursorResponse',
92 as ArrayRef[StreamingCommitCursorResponse()];
93  
94 coerce 'RepeatedStreamingCommitCursorResponse',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::StreamingCommitCursorResponse'->new($_) } @$_ ] };
96  
97 declare 'MapStringStreamingCommitCursorResponse',
98 as HashRef[StreamingCommitCursorResponse()];
99  
100 declare 'CommitCursorRequest',
101 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::CommitCursorRequest'];
102  
103 coerce 'CommitCursorRequest',
104 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::CommitCursorRequest'->new($_) };
105  
106 declare 'RepeatedCommitCursorRequest',
107 as ArrayRef[CommitCursorRequest()];
108  
109 coerce 'RepeatedCommitCursorRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::CommitCursorRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringCommitCursorRequest',
113 as HashRef[CommitCursorRequest()];
114  
115 declare 'CommitCursorResponse',
116 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::CommitCursorResponse'];
117  
118 coerce 'CommitCursorResponse',
119 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::CommitCursorResponse'->new($_) };
120  
121 declare 'RepeatedCommitCursorResponse',
122 as ArrayRef[CommitCursorResponse()];
123  
124 coerce 'RepeatedCommitCursorResponse',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::CommitCursorResponse'->new($_) } @$_ ] };
126  
127 declare 'MapStringCommitCursorResponse',
128 as HashRef[CommitCursorResponse()];
129  
130 declare 'ListPartitionCursorsRequest',
131 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::ListPartitionCursorsRequest'];
132  
133 coerce 'ListPartitionCursorsRequest',
134 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::ListPartitionCursorsRequest'->new($_) };
135  
136 declare 'RepeatedListPartitionCursorsRequest',
137 as ArrayRef[ListPartitionCursorsRequest()];
138  
139 coerce 'RepeatedListPartitionCursorsRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::ListPartitionCursorsRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringListPartitionCursorsRequest',
143 as HashRef[ListPartitionCursorsRequest()];
144  
145 declare 'PartitionCursor',
146 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::PartitionCursor'];
147  
148 coerce 'PartitionCursor',
149 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::PartitionCursor'->new($_) };
150  
151 declare 'RepeatedPartitionCursor',
152 as ArrayRef[PartitionCursor()];
153  
154 coerce 'RepeatedPartitionCursor',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::PartitionCursor'->new($_) } @$_ ] };
156  
157 declare 'MapStringPartitionCursor',
158 as HashRef[PartitionCursor()];
159  
160 declare 'ListPartitionCursorsResponse',
161 as InstanceOf['Google::Cloud::Pubsublite::V1::Cursor::ListPartitionCursorsResponse'];
162  
163 coerce 'ListPartitionCursorsResponse',
164 from HashRef, via { 'Google::Cloud::Pubsublite::V1::Cursor::ListPartitionCursorsResponse'->new($_) };
165  
166 declare 'RepeatedListPartitionCursorsResponse',
167 as ArrayRef[ListPartitionCursorsResponse()];
168  
169 coerce 'RepeatedListPartitionCursorsResponse',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Pubsublite::V1::Cursor::ListPartitionCursorsResponse'->new($_) } @$_ ] };
171  
172 declare 'MapStringListPartitionCursorsResponse',
173 as HashRef[ListPartitionCursorsResponse()];
174  
175 1;
176  
177 __END__