Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: generated/googleapis/test/servicemanagement/v1_test.dart

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.servicemanagement.v1.test; 1 library googleapis.servicemanagement.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 checkAdvice(api.Advice o) { 65 checkAdvice(api.Advice o) {
66 buildCounterAdvice++; 66 buildCounterAdvice++;
67 if (buildCounterAdvice < 3) { 67 if (buildCounterAdvice < 3) {
68 unittest.expect(o.description, unittest.equals('foo')); 68 unittest.expect(o.description, unittest.equals('foo'));
69 } 69 }
70 buildCounterAdvice--; 70 buildCounterAdvice--;
71 } 71 }
72 72
73 buildUnnamed1220() { 73 buildUnnamed1246() {
74 var o = new core.List<api.Method>(); 74 var o = new core.List<api.Method>();
75 o.add(buildMethod()); 75 o.add(buildMethod());
76 o.add(buildMethod()); 76 o.add(buildMethod());
77 return o; 77 return o;
78 } 78 }
79 79
80 checkUnnamed1220(core.List<api.Method> o) { 80 checkUnnamed1246(core.List<api.Method> o) {
81 unittest.expect(o, unittest.hasLength(2)); 81 unittest.expect(o, unittest.hasLength(2));
82 checkMethod(o[0]); 82 checkMethod(o[0]);
83 checkMethod(o[1]); 83 checkMethod(o[1]);
84 } 84 }
85 85
86 buildUnnamed1221() { 86 buildUnnamed1247() {
87 var o = new core.List<api.Mixin>(); 87 var o = new core.List<api.Mixin>();
88 o.add(buildMixin()); 88 o.add(buildMixin());
89 o.add(buildMixin()); 89 o.add(buildMixin());
90 return o; 90 return o;
91 } 91 }
92 92
93 checkUnnamed1221(core.List<api.Mixin> o) { 93 checkUnnamed1247(core.List<api.Mixin> o) {
94 unittest.expect(o, unittest.hasLength(2)); 94 unittest.expect(o, unittest.hasLength(2));
95 checkMixin(o[0]); 95 checkMixin(o[0]);
96 checkMixin(o[1]); 96 checkMixin(o[1]);
97 } 97 }
98 98
99 buildUnnamed1222() { 99 buildUnnamed1248() {
100 var o = new core.List<api.Option>(); 100 var o = new core.List<api.Option>();
101 o.add(buildOption()); 101 o.add(buildOption());
102 o.add(buildOption()); 102 o.add(buildOption());
103 return o; 103 return o;
104 } 104 }
105 105
106 checkUnnamed1222(core.List<api.Option> o) { 106 checkUnnamed1248(core.List<api.Option> o) {
107 unittest.expect(o, unittest.hasLength(2)); 107 unittest.expect(o, unittest.hasLength(2));
108 checkOption(o[0]); 108 checkOption(o[0]);
109 checkOption(o[1]); 109 checkOption(o[1]);
110 } 110 }
111 111
112 core.int buildCounterApi = 0; 112 core.int buildCounterApi = 0;
113 buildApi() { 113 buildApi() {
114 var o = new api.Api(); 114 var o = new api.Api();
115 buildCounterApi++; 115 buildCounterApi++;
116 if (buildCounterApi < 3) { 116 if (buildCounterApi < 3) {
117 o.methods = buildUnnamed1220(); 117 o.methods = buildUnnamed1246();
118 o.mixins = buildUnnamed1221(); 118 o.mixins = buildUnnamed1247();
119 o.name = "foo"; 119 o.name = "foo";
120 o.options = buildUnnamed1222(); 120 o.options = buildUnnamed1248();
121 o.sourceContext = buildSourceContext(); 121 o.sourceContext = buildSourceContext();
122 o.syntax = "foo"; 122 o.syntax = "foo";
123 o.version = "foo"; 123 o.version = "foo";
124 } 124 }
125 buildCounterApi--; 125 buildCounterApi--;
126 return o; 126 return o;
127 } 127 }
128 128
129 checkApi(api.Api o) { 129 checkApi(api.Api o) {
130 buildCounterApi++; 130 buildCounterApi++;
131 if (buildCounterApi < 3) { 131 if (buildCounterApi < 3) {
132 checkUnnamed1220(o.methods); 132 checkUnnamed1246(o.methods);
133 checkUnnamed1221(o.mixins); 133 checkUnnamed1247(o.mixins);
134 unittest.expect(o.name, unittest.equals('foo')); 134 unittest.expect(o.name, unittest.equals('foo'));
135 checkUnnamed1222(o.options); 135 checkUnnamed1248(o.options);
136 checkSourceContext(o.sourceContext); 136 checkSourceContext(o.sourceContext);
137 unittest.expect(o.syntax, unittest.equals('foo')); 137 unittest.expect(o.syntax, unittest.equals('foo'));
138 unittest.expect(o.version, unittest.equals('foo')); 138 unittest.expect(o.version, unittest.equals('foo'));
139 } 139 }
140 buildCounterApi--; 140 buildCounterApi--;
141 } 141 }
142 142
143 buildUnnamed1223() { 143 buildUnnamed1249() {
144 var o = new core.List<core.String>(); 144 var o = new core.List<core.String>();
145 o.add("foo"); 145 o.add("foo");
146 o.add("foo"); 146 o.add("foo");
147 return o; 147 return o;
148 } 148 }
149 149
150 checkUnnamed1223(core.List<core.String> o) { 150 checkUnnamed1249(core.List<core.String> o) {
151 unittest.expect(o, unittest.hasLength(2)); 151 unittest.expect(o, unittest.hasLength(2));
152 unittest.expect(o[0], unittest.equals('foo')); 152 unittest.expect(o[0], unittest.equals('foo'));
153 unittest.expect(o[1], unittest.equals('foo')); 153 unittest.expect(o[1], unittest.equals('foo'));
154 } 154 }
155 155
156 core.int buildCounterAuditConfig = 0; 156 core.int buildCounterAuditConfig = 0;
157 buildAuditConfig() { 157 buildAuditConfig() {
158 var o = new api.AuditConfig(); 158 var o = new api.AuditConfig();
159 buildCounterAuditConfig++; 159 buildCounterAuditConfig++;
160 if (buildCounterAuditConfig < 3) { 160 if (buildCounterAuditConfig < 3) {
161 o.exemptedMembers = buildUnnamed1223(); 161 o.exemptedMembers = buildUnnamed1249();
162 o.service = "foo"; 162 o.service = "foo";
163 } 163 }
164 buildCounterAuditConfig--; 164 buildCounterAuditConfig--;
165 return o; 165 return o;
166 } 166 }
167 167
168 checkAuditConfig(api.AuditConfig o) { 168 checkAuditConfig(api.AuditConfig o) {
169 buildCounterAuditConfig++; 169 buildCounterAuditConfig++;
170 if (buildCounterAuditConfig < 3) { 170 if (buildCounterAuditConfig < 3) {
171 checkUnnamed1223(o.exemptedMembers); 171 checkUnnamed1249(o.exemptedMembers);
172 unittest.expect(o.service, unittest.equals('foo')); 172 unittest.expect(o.service, unittest.equals('foo'));
173 } 173 }
174 buildCounterAuditConfig--; 174 buildCounterAuditConfig--;
175 } 175 }
176 176
177 core.int buildCounterAuthProvider = 0; 177 core.int buildCounterAuthProvider = 0;
178 buildAuthProvider() { 178 buildAuthProvider() {
179 var o = new api.AuthProvider(); 179 var o = new api.AuthProvider();
180 buildCounterAuthProvider++; 180 buildCounterAuthProvider++;
181 if (buildCounterAuthProvider < 3) { 181 if (buildCounterAuthProvider < 3) {
182 o.audiences = "foo";
182 o.id = "foo"; 183 o.id = "foo";
183 o.issuer = "foo"; 184 o.issuer = "foo";
184 o.jwksUri = "foo"; 185 o.jwksUri = "foo";
185 } 186 }
186 buildCounterAuthProvider--; 187 buildCounterAuthProvider--;
187 return o; 188 return o;
188 } 189 }
189 190
190 checkAuthProvider(api.AuthProvider o) { 191 checkAuthProvider(api.AuthProvider o) {
191 buildCounterAuthProvider++; 192 buildCounterAuthProvider++;
192 if (buildCounterAuthProvider < 3) { 193 if (buildCounterAuthProvider < 3) {
194 unittest.expect(o.audiences, unittest.equals('foo'));
193 unittest.expect(o.id, unittest.equals('foo')); 195 unittest.expect(o.id, unittest.equals('foo'));
194 unittest.expect(o.issuer, unittest.equals('foo')); 196 unittest.expect(o.issuer, unittest.equals('foo'));
195 unittest.expect(o.jwksUri, unittest.equals('foo')); 197 unittest.expect(o.jwksUri, unittest.equals('foo'));
196 } 198 }
197 buildCounterAuthProvider--; 199 buildCounterAuthProvider--;
198 } 200 }
199 201
200 core.int buildCounterAuthRequirement = 0; 202 core.int buildCounterAuthRequirement = 0;
201 buildAuthRequirement() { 203 buildAuthRequirement() {
202 var o = new api.AuthRequirement(); 204 var o = new api.AuthRequirement();
203 buildCounterAuthRequirement++; 205 buildCounterAuthRequirement++;
204 if (buildCounterAuthRequirement < 3) { 206 if (buildCounterAuthRequirement < 3) {
205 o.audiences = "foo"; 207 o.audiences = "foo";
206 o.providerId = "foo"; 208 o.providerId = "foo";
207 } 209 }
208 buildCounterAuthRequirement--; 210 buildCounterAuthRequirement--;
209 return o; 211 return o;
210 } 212 }
211 213
212 checkAuthRequirement(api.AuthRequirement o) { 214 checkAuthRequirement(api.AuthRequirement o) {
213 buildCounterAuthRequirement++; 215 buildCounterAuthRequirement++;
214 if (buildCounterAuthRequirement < 3) { 216 if (buildCounterAuthRequirement < 3) {
215 unittest.expect(o.audiences, unittest.equals('foo')); 217 unittest.expect(o.audiences, unittest.equals('foo'));
216 unittest.expect(o.providerId, unittest.equals('foo')); 218 unittest.expect(o.providerId, unittest.equals('foo'));
217 } 219 }
218 buildCounterAuthRequirement--; 220 buildCounterAuthRequirement--;
219 } 221 }
220 222
221 buildUnnamed1224() { 223 buildUnnamed1250() {
222 var o = new core.List<api.AuthProvider>(); 224 var o = new core.List<api.AuthProvider>();
223 o.add(buildAuthProvider()); 225 o.add(buildAuthProvider());
224 o.add(buildAuthProvider()); 226 o.add(buildAuthProvider());
225 return o; 227 return o;
226 } 228 }
227 229
228 checkUnnamed1224(core.List<api.AuthProvider> o) { 230 checkUnnamed1250(core.List<api.AuthProvider> o) {
229 unittest.expect(o, unittest.hasLength(2)); 231 unittest.expect(o, unittest.hasLength(2));
230 checkAuthProvider(o[0]); 232 checkAuthProvider(o[0]);
231 checkAuthProvider(o[1]); 233 checkAuthProvider(o[1]);
232 } 234 }
233 235
234 buildUnnamed1225() { 236 buildUnnamed1251() {
235 var o = new core.List<api.AuthenticationRule>(); 237 var o = new core.List<api.AuthenticationRule>();
236 o.add(buildAuthenticationRule()); 238 o.add(buildAuthenticationRule());
237 o.add(buildAuthenticationRule()); 239 o.add(buildAuthenticationRule());
238 return o; 240 return o;
239 } 241 }
240 242
241 checkUnnamed1225(core.List<api.AuthenticationRule> o) { 243 checkUnnamed1251(core.List<api.AuthenticationRule> o) {
242 unittest.expect(o, unittest.hasLength(2)); 244 unittest.expect(o, unittest.hasLength(2));
243 checkAuthenticationRule(o[0]); 245 checkAuthenticationRule(o[0]);
244 checkAuthenticationRule(o[1]); 246 checkAuthenticationRule(o[1]);
245 } 247 }
246 248
247 core.int buildCounterAuthentication = 0; 249 core.int buildCounterAuthentication = 0;
248 buildAuthentication() { 250 buildAuthentication() {
249 var o = new api.Authentication(); 251 var o = new api.Authentication();
250 buildCounterAuthentication++; 252 buildCounterAuthentication++;
251 if (buildCounterAuthentication < 3) { 253 if (buildCounterAuthentication < 3) {
252 o.providers = buildUnnamed1224(); 254 o.providers = buildUnnamed1250();
253 o.rules = buildUnnamed1225(); 255 o.rules = buildUnnamed1251();
254 } 256 }
255 buildCounterAuthentication--; 257 buildCounterAuthentication--;
256 return o; 258 return o;
257 } 259 }
258 260
259 checkAuthentication(api.Authentication o) { 261 checkAuthentication(api.Authentication o) {
260 buildCounterAuthentication++; 262 buildCounterAuthentication++;
261 if (buildCounterAuthentication < 3) { 263 if (buildCounterAuthentication < 3) {
262 checkUnnamed1224(o.providers); 264 checkUnnamed1250(o.providers);
263 checkUnnamed1225(o.rules); 265 checkUnnamed1251(o.rules);
264 } 266 }
265 buildCounterAuthentication--; 267 buildCounterAuthentication--;
266 } 268 }
267 269
268 buildUnnamed1226() { 270 buildUnnamed1252() {
269 var o = new core.List<api.AuthRequirement>(); 271 var o = new core.List<api.AuthRequirement>();
270 o.add(buildAuthRequirement()); 272 o.add(buildAuthRequirement());
271 o.add(buildAuthRequirement()); 273 o.add(buildAuthRequirement());
272 return o; 274 return o;
273 } 275 }
274 276
275 checkUnnamed1226(core.List<api.AuthRequirement> o) { 277 checkUnnamed1252(core.List<api.AuthRequirement> o) {
276 unittest.expect(o, unittest.hasLength(2)); 278 unittest.expect(o, unittest.hasLength(2));
277 checkAuthRequirement(o[0]); 279 checkAuthRequirement(o[0]);
278 checkAuthRequirement(o[1]); 280 checkAuthRequirement(o[1]);
279 } 281 }
280 282
281 core.int buildCounterAuthenticationRule = 0; 283 core.int buildCounterAuthenticationRule = 0;
282 buildAuthenticationRule() { 284 buildAuthenticationRule() {
283 var o = new api.AuthenticationRule(); 285 var o = new api.AuthenticationRule();
284 buildCounterAuthenticationRule++; 286 buildCounterAuthenticationRule++;
285 if (buildCounterAuthenticationRule < 3) { 287 if (buildCounterAuthenticationRule < 3) {
286 o.allowWithoutCredential = true; 288 o.allowWithoutCredential = true;
287 o.oauth = buildOAuthRequirements(); 289 o.oauth = buildOAuthRequirements();
288 o.requirements = buildUnnamed1226(); 290 o.requirements = buildUnnamed1252();
289 o.selector = "foo"; 291 o.selector = "foo";
290 } 292 }
291 buildCounterAuthenticationRule--; 293 buildCounterAuthenticationRule--;
292 return o; 294 return o;
293 } 295 }
294 296
295 checkAuthenticationRule(api.AuthenticationRule o) { 297 checkAuthenticationRule(api.AuthenticationRule o) {
296 buildCounterAuthenticationRule++; 298 buildCounterAuthenticationRule++;
297 if (buildCounterAuthenticationRule < 3) { 299 if (buildCounterAuthenticationRule < 3) {
298 unittest.expect(o.allowWithoutCredential, unittest.isTrue); 300 unittest.expect(o.allowWithoutCredential, unittest.isTrue);
299 checkOAuthRequirements(o.oauth); 301 checkOAuthRequirements(o.oauth);
300 checkUnnamed1226(o.requirements); 302 checkUnnamed1252(o.requirements);
301 unittest.expect(o.selector, unittest.equals('foo')); 303 unittest.expect(o.selector, unittest.equals('foo'));
302 } 304 }
303 buildCounterAuthenticationRule--; 305 buildCounterAuthenticationRule--;
304 } 306 }
305 307
306 buildUnnamed1227() { 308 buildUnnamed1253() {
307 var o = new core.List<api.BackendRule>(); 309 var o = new core.List<api.BackendRule>();
308 o.add(buildBackendRule()); 310 o.add(buildBackendRule());
309 o.add(buildBackendRule()); 311 o.add(buildBackendRule());
310 return o; 312 return o;
311 } 313 }
312 314
313 checkUnnamed1227(core.List<api.BackendRule> o) { 315 checkUnnamed1253(core.List<api.BackendRule> o) {
314 unittest.expect(o, unittest.hasLength(2)); 316 unittest.expect(o, unittest.hasLength(2));
315 checkBackendRule(o[0]); 317 checkBackendRule(o[0]);
316 checkBackendRule(o[1]); 318 checkBackendRule(o[1]);
317 } 319 }
318 320
319 core.int buildCounterBackend = 0; 321 core.int buildCounterBackend = 0;
320 buildBackend() { 322 buildBackend() {
321 var o = new api.Backend(); 323 var o = new api.Backend();
322 buildCounterBackend++; 324 buildCounterBackend++;
323 if (buildCounterBackend < 3) { 325 if (buildCounterBackend < 3) {
324 o.rules = buildUnnamed1227(); 326 o.rules = buildUnnamed1253();
325 } 327 }
326 buildCounterBackend--; 328 buildCounterBackend--;
327 return o; 329 return o;
328 } 330 }
329 331
330 checkBackend(api.Backend o) { 332 checkBackend(api.Backend o) {
331 buildCounterBackend++; 333 buildCounterBackend++;
332 if (buildCounterBackend < 3) { 334 if (buildCounterBackend < 3) {
333 checkUnnamed1227(o.rules); 335 checkUnnamed1253(o.rules);
334 } 336 }
335 buildCounterBackend--; 337 buildCounterBackend--;
336 } 338 }
337 339
338 core.int buildCounterBackendRule = 0; 340 core.int buildCounterBackendRule = 0;
339 buildBackendRule() { 341 buildBackendRule() {
340 var o = new api.BackendRule(); 342 var o = new api.BackendRule();
341 buildCounterBackendRule++; 343 buildCounterBackendRule++;
342 if (buildCounterBackendRule < 3) { 344 if (buildCounterBackendRule < 3) {
343 o.address = "foo"; 345 o.address = "foo";
344 o.deadline = 42.0; 346 o.deadline = 42.0;
345 o.selector = "foo"; 347 o.selector = "foo";
346 } 348 }
347 buildCounterBackendRule--; 349 buildCounterBackendRule--;
348 return o; 350 return o;
349 } 351 }
350 352
351 checkBackendRule(api.BackendRule o) { 353 checkBackendRule(api.BackendRule o) {
352 buildCounterBackendRule++; 354 buildCounterBackendRule++;
353 if (buildCounterBackendRule < 3) { 355 if (buildCounterBackendRule < 3) {
354 unittest.expect(o.address, unittest.equals('foo')); 356 unittest.expect(o.address, unittest.equals('foo'));
355 unittest.expect(o.deadline, unittest.equals(42.0)); 357 unittest.expect(o.deadline, unittest.equals(42.0));
356 unittest.expect(o.selector, unittest.equals('foo')); 358 unittest.expect(o.selector, unittest.equals('foo'));
357 } 359 }
358 buildCounterBackendRule--; 360 buildCounterBackendRule--;
359 } 361 }
360 362
361 buildUnnamed1228() { 363 buildUnnamed1254() {
362 var o = new core.List<core.String>(); 364 var o = new core.List<core.String>();
363 o.add("foo"); 365 o.add("foo");
364 o.add("foo"); 366 o.add("foo");
365 return o; 367 return o;
366 } 368 }
367 369
368 checkUnnamed1228(core.List<core.String> o) { 370 checkUnnamed1254(core.List<core.String> o) {
369 unittest.expect(o, unittest.hasLength(2)); 371 unittest.expect(o, unittest.hasLength(2));
370 unittest.expect(o[0], unittest.equals('foo')); 372 unittest.expect(o[0], unittest.equals('foo'));
371 unittest.expect(o[1], unittest.equals('foo')); 373 unittest.expect(o[1], unittest.equals('foo'));
372 } 374 }
373 375
374 core.int buildCounterBinding = 0; 376 core.int buildCounterBinding = 0;
375 buildBinding() { 377 buildBinding() {
376 var o = new api.Binding(); 378 var o = new api.Binding();
377 buildCounterBinding++; 379 buildCounterBinding++;
378 if (buildCounterBinding < 3) { 380 if (buildCounterBinding < 3) {
379 o.members = buildUnnamed1228(); 381 o.members = buildUnnamed1254();
380 o.role = "foo"; 382 o.role = "foo";
381 } 383 }
382 buildCounterBinding--; 384 buildCounterBinding--;
383 return o; 385 return o;
384 } 386 }
385 387
386 checkBinding(api.Binding o) { 388 checkBinding(api.Binding o) {
387 buildCounterBinding++; 389 buildCounterBinding++;
388 if (buildCounterBinding < 3) { 390 if (buildCounterBinding < 3) {
389 checkUnnamed1228(o.members); 391 checkUnnamed1254(o.members);
390 unittest.expect(o.role, unittest.equals('foo')); 392 unittest.expect(o.role, unittest.equals('foo'));
391 } 393 }
392 buildCounterBinding--; 394 buildCounterBinding--;
393 } 395 }
394 396
395 buildUnnamed1229() { 397 buildUnnamed1255() {
396 var o = new core.List<api.ConfigChange>(); 398 var o = new core.List<api.ConfigChange>();
397 o.add(buildConfigChange()); 399 o.add(buildConfigChange());
398 o.add(buildConfigChange()); 400 o.add(buildConfigChange());
399 return o; 401 return o;
400 } 402 }
401 403
402 checkUnnamed1229(core.List<api.ConfigChange> o) { 404 checkUnnamed1255(core.List<api.ConfigChange> o) {
403 unittest.expect(o, unittest.hasLength(2)); 405 unittest.expect(o, unittest.hasLength(2));
404 checkConfigChange(o[0]); 406 checkConfigChange(o[0]);
405 checkConfigChange(o[1]); 407 checkConfigChange(o[1]);
406 } 408 }
407 409
408 core.int buildCounterChangeReport = 0; 410 core.int buildCounterChangeReport = 0;
409 buildChangeReport() { 411 buildChangeReport() {
410 var o = new api.ChangeReport(); 412 var o = new api.ChangeReport();
411 buildCounterChangeReport++; 413 buildCounterChangeReport++;
412 if (buildCounterChangeReport < 3) { 414 if (buildCounterChangeReport < 3) {
413 o.configChanges = buildUnnamed1229(); 415 o.configChanges = buildUnnamed1255();
414 } 416 }
415 buildCounterChangeReport--; 417 buildCounterChangeReport--;
416 return o; 418 return o;
417 } 419 }
418 420
419 checkChangeReport(api.ChangeReport o) { 421 checkChangeReport(api.ChangeReport o) {
420 buildCounterChangeReport++; 422 buildCounterChangeReport++;
421 if (buildCounterChangeReport < 3) { 423 if (buildCounterChangeReport < 3) {
422 checkUnnamed1229(o.configChanges); 424 checkUnnamed1255(o.configChanges);
423 } 425 }
424 buildCounterChangeReport--; 426 buildCounterChangeReport--;
425 } 427 }
426 428
427 core.int buildCounterCloudAuditOptions = 0; 429 core.int buildCounterCloudAuditOptions = 0;
428 buildCloudAuditOptions() { 430 buildCloudAuditOptions() {
429 var o = new api.CloudAuditOptions(); 431 var o = new api.CloudAuditOptions();
430 buildCounterCloudAuditOptions++; 432 buildCounterCloudAuditOptions++;
431 if (buildCounterCloudAuditOptions < 3) { 433 if (buildCounterCloudAuditOptions < 3) {
432 } 434 }
433 buildCounterCloudAuditOptions--; 435 buildCounterCloudAuditOptions--;
434 return o; 436 return o;
435 } 437 }
436 438
437 checkCloudAuditOptions(api.CloudAuditOptions o) { 439 checkCloudAuditOptions(api.CloudAuditOptions o) {
438 buildCounterCloudAuditOptions++; 440 buildCounterCloudAuditOptions++;
439 if (buildCounterCloudAuditOptions < 3) { 441 if (buildCounterCloudAuditOptions < 3) {
440 } 442 }
441 buildCounterCloudAuditOptions--; 443 buildCounterCloudAuditOptions--;
442 } 444 }
443 445
444 buildUnnamed1230() { 446 buildUnnamed1256() {
445 var o = new core.List<core.String>(); 447 var o = new core.List<core.String>();
446 o.add("foo"); 448 o.add("foo");
447 o.add("foo"); 449 o.add("foo");
448 return o; 450 return o;
449 } 451 }
450 452
451 checkUnnamed1230(core.List<core.String> o) { 453 checkUnnamed1256(core.List<core.String> o) {
452 unittest.expect(o, unittest.hasLength(2)); 454 unittest.expect(o, unittest.hasLength(2));
453 unittest.expect(o[0], unittest.equals('foo')); 455 unittest.expect(o[0], unittest.equals('foo'));
454 unittest.expect(o[1], unittest.equals('foo')); 456 unittest.expect(o[1], unittest.equals('foo'));
455 } 457 }
456 458
457 core.int buildCounterCondition = 0; 459 core.int buildCounterCondition = 0;
458 buildCondition() { 460 buildCondition() {
459 var o = new api.Condition(); 461 var o = new api.Condition();
460 buildCounterCondition++; 462 buildCounterCondition++;
461 if (buildCounterCondition < 3) { 463 if (buildCounterCondition < 3) {
462 o.iam = "foo"; 464 o.iam = "foo";
463 o.op = "foo"; 465 o.op = "foo";
464 o.svc = "foo"; 466 o.svc = "foo";
465 o.sys = "foo"; 467 o.sys = "foo";
466 o.value = "foo"; 468 o.value = "foo";
467 o.values = buildUnnamed1230(); 469 o.values = buildUnnamed1256();
468 } 470 }
469 buildCounterCondition--; 471 buildCounterCondition--;
470 return o; 472 return o;
471 } 473 }
472 474
473 checkCondition(api.Condition o) { 475 checkCondition(api.Condition o) {
474 buildCounterCondition++; 476 buildCounterCondition++;
475 if (buildCounterCondition < 3) { 477 if (buildCounterCondition < 3) {
476 unittest.expect(o.iam, unittest.equals('foo')); 478 unittest.expect(o.iam, unittest.equals('foo'));
477 unittest.expect(o.op, unittest.equals('foo')); 479 unittest.expect(o.op, unittest.equals('foo'));
478 unittest.expect(o.svc, unittest.equals('foo')); 480 unittest.expect(o.svc, unittest.equals('foo'));
479 unittest.expect(o.sys, unittest.equals('foo')); 481 unittest.expect(o.sys, unittest.equals('foo'));
480 unittest.expect(o.value, unittest.equals('foo')); 482 unittest.expect(o.value, unittest.equals('foo'));
481 checkUnnamed1230(o.values); 483 checkUnnamed1256(o.values);
482 } 484 }
483 buildCounterCondition--; 485 buildCounterCondition--;
484 } 486 }
485 487
486 buildUnnamed1231() { 488 buildUnnamed1257() {
487 var o = new core.List<api.Advice>(); 489 var o = new core.List<api.Advice>();
488 o.add(buildAdvice()); 490 o.add(buildAdvice());
489 o.add(buildAdvice()); 491 o.add(buildAdvice());
490 return o; 492 return o;
491 } 493 }
492 494
493 checkUnnamed1231(core.List<api.Advice> o) { 495 checkUnnamed1257(core.List<api.Advice> o) {
494 unittest.expect(o, unittest.hasLength(2)); 496 unittest.expect(o, unittest.hasLength(2));
495 checkAdvice(o[0]); 497 checkAdvice(o[0]);
496 checkAdvice(o[1]); 498 checkAdvice(o[1]);
497 } 499 }
498 500
499 core.int buildCounterConfigChange = 0; 501 core.int buildCounterConfigChange = 0;
500 buildConfigChange() { 502 buildConfigChange() {
501 var o = new api.ConfigChange(); 503 var o = new api.ConfigChange();
502 buildCounterConfigChange++; 504 buildCounterConfigChange++;
503 if (buildCounterConfigChange < 3) { 505 if (buildCounterConfigChange < 3) {
504 o.advices = buildUnnamed1231(); 506 o.advices = buildUnnamed1257();
505 o.changeType = "foo"; 507 o.changeType = "foo";
506 o.element = "foo"; 508 o.element = "foo";
507 o.newValue = "foo"; 509 o.newValue = "foo";
508 o.oldValue = "foo"; 510 o.oldValue = "foo";
509 } 511 }
510 buildCounterConfigChange--; 512 buildCounterConfigChange--;
511 return o; 513 return o;
512 } 514 }
513 515
514 checkConfigChange(api.ConfigChange o) { 516 checkConfigChange(api.ConfigChange o) {
515 buildCounterConfigChange++; 517 buildCounterConfigChange++;
516 if (buildCounterConfigChange < 3) { 518 if (buildCounterConfigChange < 3) {
517 checkUnnamed1231(o.advices); 519 checkUnnamed1257(o.advices);
518 unittest.expect(o.changeType, unittest.equals('foo')); 520 unittest.expect(o.changeType, unittest.equals('foo'));
519 unittest.expect(o.element, unittest.equals('foo')); 521 unittest.expect(o.element, unittest.equals('foo'));
520 unittest.expect(o.newValue, unittest.equals('foo')); 522 unittest.expect(o.newValue, unittest.equals('foo'));
521 unittest.expect(o.oldValue, unittest.equals('foo')); 523 unittest.expect(o.oldValue, unittest.equals('foo'));
522 } 524 }
523 buildCounterConfigChange--; 525 buildCounterConfigChange--;
524 } 526 }
525 527
526 core.int buildCounterConfigFile = 0; 528 core.int buildCounterConfigFile = 0;
527 buildConfigFile() { 529 buildConfigFile() {
(...skipping 30 matching lines...) Expand all
558 } 560 }
559 561
560 checkConfigRef(api.ConfigRef o) { 562 checkConfigRef(api.ConfigRef o) {
561 buildCounterConfigRef++; 563 buildCounterConfigRef++;
562 if (buildCounterConfigRef < 3) { 564 if (buildCounterConfigRef < 3) {
563 unittest.expect(o.name, unittest.equals('foo')); 565 unittest.expect(o.name, unittest.equals('foo'));
564 } 566 }
565 buildCounterConfigRef--; 567 buildCounterConfigRef--;
566 } 568 }
567 569
568 buildUnnamed1232() { 570 buildUnnamed1258() {
569 var o = new core.List<api.ConfigFile>(); 571 var o = new core.List<api.ConfigFile>();
570 o.add(buildConfigFile()); 572 o.add(buildConfigFile());
571 o.add(buildConfigFile()); 573 o.add(buildConfigFile());
572 return o; 574 return o;
573 } 575 }
574 576
575 checkUnnamed1232(core.List<api.ConfigFile> o) { 577 checkUnnamed1258(core.List<api.ConfigFile> o) {
576 unittest.expect(o, unittest.hasLength(2)); 578 unittest.expect(o, unittest.hasLength(2));
577 checkConfigFile(o[0]); 579 checkConfigFile(o[0]);
578 checkConfigFile(o[1]); 580 checkConfigFile(o[1]);
579 } 581 }
580 582
581 core.int buildCounterConfigSource = 0; 583 core.int buildCounterConfigSource = 0;
582 buildConfigSource() { 584 buildConfigSource() {
583 var o = new api.ConfigSource(); 585 var o = new api.ConfigSource();
584 buildCounterConfigSource++; 586 buildCounterConfigSource++;
585 if (buildCounterConfigSource < 3) { 587 if (buildCounterConfigSource < 3) {
586 o.files = buildUnnamed1232(); 588 o.files = buildUnnamed1258();
587 o.id = "foo"; 589 o.id = "foo";
588 } 590 }
589 buildCounterConfigSource--; 591 buildCounterConfigSource--;
590 return o; 592 return o;
591 } 593 }
592 594
593 checkConfigSource(api.ConfigSource o) { 595 checkConfigSource(api.ConfigSource o) {
594 buildCounterConfigSource++; 596 buildCounterConfigSource++;
595 if (buildCounterConfigSource < 3) { 597 if (buildCounterConfigSource < 3) {
596 checkUnnamed1232(o.files); 598 checkUnnamed1258(o.files);
597 unittest.expect(o.id, unittest.equals('foo')); 599 unittest.expect(o.id, unittest.equals('foo'));
598 } 600 }
599 buildCounterConfigSource--; 601 buildCounterConfigSource--;
600 } 602 }
601 603
602 buildUnnamed1233() { 604 buildUnnamed1259() {
603 var o = new core.List<api.ContextRule>(); 605 var o = new core.List<api.ContextRule>();
604 o.add(buildContextRule()); 606 o.add(buildContextRule());
605 o.add(buildContextRule()); 607 o.add(buildContextRule());
606 return o; 608 return o;
607 } 609 }
608 610
609 checkUnnamed1233(core.List<api.ContextRule> o) { 611 checkUnnamed1259(core.List<api.ContextRule> o) {
610 unittest.expect(o, unittest.hasLength(2)); 612 unittest.expect(o, unittest.hasLength(2));
611 checkContextRule(o[0]); 613 checkContextRule(o[0]);
612 checkContextRule(o[1]); 614 checkContextRule(o[1]);
613 } 615 }
614 616
615 core.int buildCounterContext = 0; 617 core.int buildCounterContext = 0;
616 buildContext() { 618 buildContext() {
617 var o = new api.Context(); 619 var o = new api.Context();
618 buildCounterContext++; 620 buildCounterContext++;
619 if (buildCounterContext < 3) { 621 if (buildCounterContext < 3) {
620 o.rules = buildUnnamed1233(); 622 o.rules = buildUnnamed1259();
621 } 623 }
622 buildCounterContext--; 624 buildCounterContext--;
623 return o; 625 return o;
624 } 626 }
625 627
626 checkContext(api.Context o) { 628 checkContext(api.Context o) {
627 buildCounterContext++; 629 buildCounterContext++;
628 if (buildCounterContext < 3) { 630 if (buildCounterContext < 3) {
629 checkUnnamed1233(o.rules); 631 checkUnnamed1259(o.rules);
630 } 632 }
631 buildCounterContext--; 633 buildCounterContext--;
632 } 634 }
633 635
634 buildUnnamed1234() { 636 buildUnnamed1260() {
635 var o = new core.List<core.String>(); 637 var o = new core.List<core.String>();
636 o.add("foo"); 638 o.add("foo");
637 o.add("foo"); 639 o.add("foo");
638 return o; 640 return o;
639 } 641 }
640 642
641 checkUnnamed1234(core.List<core.String> o) { 643 checkUnnamed1260(core.List<core.String> o) {
642 unittest.expect(o, unittest.hasLength(2)); 644 unittest.expect(o, unittest.hasLength(2));
643 unittest.expect(o[0], unittest.equals('foo')); 645 unittest.expect(o[0], unittest.equals('foo'));
644 unittest.expect(o[1], unittest.equals('foo')); 646 unittest.expect(o[1], unittest.equals('foo'));
645 } 647 }
646 648
647 buildUnnamed1235() { 649 buildUnnamed1261() {
648 var o = new core.List<core.String>(); 650 var o = new core.List<core.String>();
649 o.add("foo"); 651 o.add("foo");
650 o.add("foo"); 652 o.add("foo");
651 return o; 653 return o;
652 } 654 }
653 655
654 checkUnnamed1235(core.List<core.String> o) { 656 checkUnnamed1261(core.List<core.String> o) {
655 unittest.expect(o, unittest.hasLength(2)); 657 unittest.expect(o, unittest.hasLength(2));
656 unittest.expect(o[0], unittest.equals('foo')); 658 unittest.expect(o[0], unittest.equals('foo'));
657 unittest.expect(o[1], unittest.equals('foo')); 659 unittest.expect(o[1], unittest.equals('foo'));
658 } 660 }
659 661
660 core.int buildCounterContextRule = 0; 662 core.int buildCounterContextRule = 0;
661 buildContextRule() { 663 buildContextRule() {
662 var o = new api.ContextRule(); 664 var o = new api.ContextRule();
663 buildCounterContextRule++; 665 buildCounterContextRule++;
664 if (buildCounterContextRule < 3) { 666 if (buildCounterContextRule < 3) {
665 o.provided = buildUnnamed1234(); 667 o.provided = buildUnnamed1260();
666 o.requested = buildUnnamed1235(); 668 o.requested = buildUnnamed1261();
667 o.selector = "foo"; 669 o.selector = "foo";
668 } 670 }
669 buildCounterContextRule--; 671 buildCounterContextRule--;
670 return o; 672 return o;
671 } 673 }
672 674
673 checkContextRule(api.ContextRule o) { 675 checkContextRule(api.ContextRule o) {
674 buildCounterContextRule++; 676 buildCounterContextRule++;
675 if (buildCounterContextRule < 3) { 677 if (buildCounterContextRule < 3) {
676 checkUnnamed1234(o.provided); 678 checkUnnamed1260(o.provided);
677 checkUnnamed1235(o.requested); 679 checkUnnamed1261(o.requested);
678 unittest.expect(o.selector, unittest.equals('foo')); 680 unittest.expect(o.selector, unittest.equals('foo'));
679 } 681 }
680 buildCounterContextRule--; 682 buildCounterContextRule--;
681 } 683 }
682 684
683 core.int buildCounterControl = 0; 685 core.int buildCounterControl = 0;
684 buildControl() { 686 buildControl() {
685 var o = new api.Control(); 687 var o = new api.Control();
686 buildCounterControl++; 688 buildCounterControl++;
687 if (buildCounterControl < 3) { 689 if (buildCounterControl < 3) {
(...skipping 25 matching lines...) Expand all
713 715
714 checkCounterOptions(api.CounterOptions o) { 716 checkCounterOptions(api.CounterOptions o) {
715 buildCounterCounterOptions++; 717 buildCounterCounterOptions++;
716 if (buildCounterCounterOptions < 3) { 718 if (buildCounterCounterOptions < 3) {
717 unittest.expect(o.field, unittest.equals('foo')); 719 unittest.expect(o.field, unittest.equals('foo'));
718 unittest.expect(o.metric, unittest.equals('foo')); 720 unittest.expect(o.metric, unittest.equals('foo'));
719 } 721 }
720 buildCounterCounterOptions--; 722 buildCounterCounterOptions--;
721 } 723 }
722 724
723 buildUnnamed1236() { 725 buildUnnamed1262() {
724 var o = new core.List<api.CustomErrorRule>(); 726 var o = new core.List<api.CustomErrorRule>();
725 o.add(buildCustomErrorRule()); 727 o.add(buildCustomErrorRule());
726 o.add(buildCustomErrorRule()); 728 o.add(buildCustomErrorRule());
727 return o; 729 return o;
728 } 730 }
729 731
730 checkUnnamed1236(core.List<api.CustomErrorRule> o) { 732 checkUnnamed1262(core.List<api.CustomErrorRule> o) {
731 unittest.expect(o, unittest.hasLength(2)); 733 unittest.expect(o, unittest.hasLength(2));
732 checkCustomErrorRule(o[0]); 734 checkCustomErrorRule(o[0]);
733 checkCustomErrorRule(o[1]); 735 checkCustomErrorRule(o[1]);
734 } 736 }
735 737
736 buildUnnamed1237() { 738 buildUnnamed1263() {
737 var o = new core.List<core.String>(); 739 var o = new core.List<core.String>();
738 o.add("foo"); 740 o.add("foo");
739 o.add("foo"); 741 o.add("foo");
740 return o; 742 return o;
741 } 743 }
742 744
743 checkUnnamed1237(core.List<core.String> o) { 745 checkUnnamed1263(core.List<core.String> o) {
744 unittest.expect(o, unittest.hasLength(2)); 746 unittest.expect(o, unittest.hasLength(2));
745 unittest.expect(o[0], unittest.equals('foo')); 747 unittest.expect(o[0], unittest.equals('foo'));
746 unittest.expect(o[1], unittest.equals('foo')); 748 unittest.expect(o[1], unittest.equals('foo'));
747 } 749 }
748 750
749 core.int buildCounterCustomError = 0; 751 core.int buildCounterCustomError = 0;
750 buildCustomError() { 752 buildCustomError() {
751 var o = new api.CustomError(); 753 var o = new api.CustomError();
752 buildCounterCustomError++; 754 buildCounterCustomError++;
753 if (buildCounterCustomError < 3) { 755 if (buildCounterCustomError < 3) {
754 o.rules = buildUnnamed1236(); 756 o.rules = buildUnnamed1262();
755 o.types = buildUnnamed1237(); 757 o.types = buildUnnamed1263();
756 } 758 }
757 buildCounterCustomError--; 759 buildCounterCustomError--;
758 return o; 760 return o;
759 } 761 }
760 762
761 checkCustomError(api.CustomError o) { 763 checkCustomError(api.CustomError o) {
762 buildCounterCustomError++; 764 buildCounterCustomError++;
763 if (buildCounterCustomError < 3) { 765 if (buildCounterCustomError < 3) {
764 checkUnnamed1236(o.rules); 766 checkUnnamed1262(o.rules);
765 checkUnnamed1237(o.types); 767 checkUnnamed1263(o.types);
766 } 768 }
767 buildCounterCustomError--; 769 buildCounterCustomError--;
768 } 770 }
769 771
770 core.int buildCounterCustomErrorRule = 0; 772 core.int buildCounterCustomErrorRule = 0;
771 buildCustomErrorRule() { 773 buildCustomErrorRule() {
772 var o = new api.CustomErrorRule(); 774 var o = new api.CustomErrorRule();
773 buildCounterCustomErrorRule++; 775 buildCounterCustomErrorRule++;
774 if (buildCounterCustomErrorRule < 3) { 776 if (buildCounterCustomErrorRule < 3) {
775 o.isErrorType = true; 777 o.isErrorType = true;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 } 880 }
879 881
880 checkDisableServiceRequest(api.DisableServiceRequest o) { 882 checkDisableServiceRequest(api.DisableServiceRequest o) {
881 buildCounterDisableServiceRequest++; 883 buildCounterDisableServiceRequest++;
882 if (buildCounterDisableServiceRequest < 3) { 884 if (buildCounterDisableServiceRequest < 3) {
883 unittest.expect(o.consumerId, unittest.equals('foo')); 885 unittest.expect(o.consumerId, unittest.equals('foo'));
884 } 886 }
885 buildCounterDisableServiceRequest--; 887 buildCounterDisableServiceRequest--;
886 } 888 }
887 889
888 buildUnnamed1238() { 890 buildUnnamed1264() {
889 var o = new core.List<api.Page>(); 891 var o = new core.List<api.Page>();
890 o.add(buildPage()); 892 o.add(buildPage());
891 o.add(buildPage()); 893 o.add(buildPage());
892 return o; 894 return o;
893 } 895 }
894 896
895 checkUnnamed1238(core.List<api.Page> o) { 897 checkUnnamed1264(core.List<api.Page> o) {
896 unittest.expect(o, unittest.hasLength(2)); 898 unittest.expect(o, unittest.hasLength(2));
897 checkPage(o[0]); 899 checkPage(o[0]);
898 checkPage(o[1]); 900 checkPage(o[1]);
899 } 901 }
900 902
901 buildUnnamed1239() { 903 buildUnnamed1265() {
902 var o = new core.List<api.DocumentationRule>(); 904 var o = new core.List<api.DocumentationRule>();
903 o.add(buildDocumentationRule()); 905 o.add(buildDocumentationRule());
904 o.add(buildDocumentationRule()); 906 o.add(buildDocumentationRule());
905 return o; 907 return o;
906 } 908 }
907 909
908 checkUnnamed1239(core.List<api.DocumentationRule> o) { 910 checkUnnamed1265(core.List<api.DocumentationRule> o) {
909 unittest.expect(o, unittest.hasLength(2)); 911 unittest.expect(o, unittest.hasLength(2));
910 checkDocumentationRule(o[0]); 912 checkDocumentationRule(o[0]);
911 checkDocumentationRule(o[1]); 913 checkDocumentationRule(o[1]);
912 } 914 }
913 915
914 core.int buildCounterDocumentation = 0; 916 core.int buildCounterDocumentation = 0;
915 buildDocumentation() { 917 buildDocumentation() {
916 var o = new api.Documentation(); 918 var o = new api.Documentation();
917 buildCounterDocumentation++; 919 buildCounterDocumentation++;
918 if (buildCounterDocumentation < 3) { 920 if (buildCounterDocumentation < 3) {
919 o.documentationRootUrl = "foo"; 921 o.documentationRootUrl = "foo";
920 o.overview = "foo"; 922 o.overview = "foo";
921 o.pages = buildUnnamed1238(); 923 o.pages = buildUnnamed1264();
922 o.rules = buildUnnamed1239(); 924 o.rules = buildUnnamed1265();
923 o.summary = "foo"; 925 o.summary = "foo";
924 } 926 }
925 buildCounterDocumentation--; 927 buildCounterDocumentation--;
926 return o; 928 return o;
927 } 929 }
928 930
929 checkDocumentation(api.Documentation o) { 931 checkDocumentation(api.Documentation o) {
930 buildCounterDocumentation++; 932 buildCounterDocumentation++;
931 if (buildCounterDocumentation < 3) { 933 if (buildCounterDocumentation < 3) {
932 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); 934 unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
933 unittest.expect(o.overview, unittest.equals('foo')); 935 unittest.expect(o.overview, unittest.equals('foo'));
934 checkUnnamed1238(o.pages); 936 checkUnnamed1264(o.pages);
935 checkUnnamed1239(o.rules); 937 checkUnnamed1265(o.rules);
936 unittest.expect(o.summary, unittest.equals('foo')); 938 unittest.expect(o.summary, unittest.equals('foo'));
937 } 939 }
938 buildCounterDocumentation--; 940 buildCounterDocumentation--;
939 } 941 }
940 942
941 core.int buildCounterDocumentationRule = 0; 943 core.int buildCounterDocumentationRule = 0;
942 buildDocumentationRule() { 944 buildDocumentationRule() {
943 var o = new api.DocumentationRule(); 945 var o = new api.DocumentationRule();
944 buildCounterDocumentationRule++; 946 buildCounterDocumentationRule++;
945 if (buildCounterDocumentationRule < 3) { 947 if (buildCounterDocumentationRule < 3) {
(...skipping 27 matching lines...) Expand all
973 } 975 }
974 976
975 checkEnableServiceRequest(api.EnableServiceRequest o) { 977 checkEnableServiceRequest(api.EnableServiceRequest o) {
976 buildCounterEnableServiceRequest++; 978 buildCounterEnableServiceRequest++;
977 if (buildCounterEnableServiceRequest < 3) { 979 if (buildCounterEnableServiceRequest < 3) {
978 unittest.expect(o.consumerId, unittest.equals('foo')); 980 unittest.expect(o.consumerId, unittest.equals('foo'));
979 } 981 }
980 buildCounterEnableServiceRequest--; 982 buildCounterEnableServiceRequest--;
981 } 983 }
982 984
983 buildUnnamed1240() { 985 buildUnnamed1266() {
984 var o = new core.List<core.String>(); 986 var o = new core.List<core.String>();
985 o.add("foo"); 987 o.add("foo");
986 o.add("foo"); 988 o.add("foo");
987 return o; 989 return o;
988 } 990 }
989 991
990 checkUnnamed1240(core.List<core.String> o) { 992 checkUnnamed1266(core.List<core.String> o) {
991 unittest.expect(o, unittest.hasLength(2)); 993 unittest.expect(o, unittest.hasLength(2));
992 unittest.expect(o[0], unittest.equals('foo')); 994 unittest.expect(o[0], unittest.equals('foo'));
993 unittest.expect(o[1], unittest.equals('foo')); 995 unittest.expect(o[1], unittest.equals('foo'));
994 } 996 }
995 997
996 buildUnnamed1241() { 998 buildUnnamed1267() {
997 var o = new core.List<core.String>(); 999 var o = new core.List<core.String>();
998 o.add("foo"); 1000 o.add("foo");
999 o.add("foo"); 1001 o.add("foo");
1000 return o; 1002 return o;
1001 } 1003 }
1002 1004
1003 checkUnnamed1241(core.List<core.String> o) { 1005 checkUnnamed1267(core.List<core.String> o) {
1004 unittest.expect(o, unittest.hasLength(2)); 1006 unittest.expect(o, unittest.hasLength(2));
1005 unittest.expect(o[0], unittest.equals('foo')); 1007 unittest.expect(o[0], unittest.equals('foo'));
1006 unittest.expect(o[1], unittest.equals('foo')); 1008 unittest.expect(o[1], unittest.equals('foo'));
1007 } 1009 }
1008 1010
1009 buildUnnamed1242() { 1011 buildUnnamed1268() {
1010 var o = new core.List<core.String>(); 1012 var o = new core.List<core.String>();
1011 o.add("foo"); 1013 o.add("foo");
1012 o.add("foo"); 1014 o.add("foo");
1013 return o; 1015 return o;
1014 } 1016 }
1015 1017
1016 checkUnnamed1242(core.List<core.String> o) { 1018 checkUnnamed1268(core.List<core.String> o) {
1017 unittest.expect(o, unittest.hasLength(2)); 1019 unittest.expect(o, unittest.hasLength(2));
1018 unittest.expect(o[0], unittest.equals('foo')); 1020 unittest.expect(o[0], unittest.equals('foo'));
1019 unittest.expect(o[1], unittest.equals('foo')); 1021 unittest.expect(o[1], unittest.equals('foo'));
1020 } 1022 }
1021 1023
1022 core.int buildCounterEndpoint = 0; 1024 core.int buildCounterEndpoint = 0;
1023 buildEndpoint() { 1025 buildEndpoint() {
1024 var o = new api.Endpoint(); 1026 var o = new api.Endpoint();
1025 buildCounterEndpoint++; 1027 buildCounterEndpoint++;
1026 if (buildCounterEndpoint < 3) { 1028 if (buildCounterEndpoint < 3) {
1027 o.aliases = buildUnnamed1240(); 1029 o.aliases = buildUnnamed1266();
1028 o.allowCors = true; 1030 o.allowCors = true;
1029 o.apis = buildUnnamed1241(); 1031 o.apis = buildUnnamed1267();
1030 o.features = buildUnnamed1242(); 1032 o.features = buildUnnamed1268();
1031 o.name = "foo"; 1033 o.name = "foo";
1032 } 1034 }
1033 buildCounterEndpoint--; 1035 buildCounterEndpoint--;
1034 return o; 1036 return o;
1035 } 1037 }
1036 1038
1037 checkEndpoint(api.Endpoint o) { 1039 checkEndpoint(api.Endpoint o) {
1038 buildCounterEndpoint++; 1040 buildCounterEndpoint++;
1039 if (buildCounterEndpoint < 3) { 1041 if (buildCounterEndpoint < 3) {
1040 checkUnnamed1240(o.aliases); 1042 checkUnnamed1266(o.aliases);
1041 unittest.expect(o.allowCors, unittest.isTrue); 1043 unittest.expect(o.allowCors, unittest.isTrue);
1042 checkUnnamed1241(o.apis); 1044 checkUnnamed1267(o.apis);
1043 checkUnnamed1242(o.features); 1045 checkUnnamed1268(o.features);
1044 unittest.expect(o.name, unittest.equals('foo')); 1046 unittest.expect(o.name, unittest.equals('foo'));
1045 } 1047 }
1046 buildCounterEndpoint--; 1048 buildCounterEndpoint--;
1047 } 1049 }
1048 1050
1049 buildUnnamed1243() { 1051 buildUnnamed1269() {
1050 var o = new core.List<api.EnumValue>(); 1052 var o = new core.List<api.EnumValue>();
1051 o.add(buildEnumValue()); 1053 o.add(buildEnumValue());
1052 o.add(buildEnumValue()); 1054 o.add(buildEnumValue());
1053 return o; 1055 return o;
1054 } 1056 }
1055 1057
1056 checkUnnamed1243(core.List<api.EnumValue> o) { 1058 checkUnnamed1269(core.List<api.EnumValue> o) {
1057 unittest.expect(o, unittest.hasLength(2)); 1059 unittest.expect(o, unittest.hasLength(2));
1058 checkEnumValue(o[0]); 1060 checkEnumValue(o[0]);
1059 checkEnumValue(o[1]); 1061 checkEnumValue(o[1]);
1060 } 1062 }
1061 1063
1062 buildUnnamed1244() { 1064 buildUnnamed1270() {
1063 var o = new core.List<api.Option>(); 1065 var o = new core.List<api.Option>();
1064 o.add(buildOption()); 1066 o.add(buildOption());
1065 o.add(buildOption()); 1067 o.add(buildOption());
1066 return o; 1068 return o;
1067 } 1069 }
1068 1070
1069 checkUnnamed1244(core.List<api.Option> o) { 1071 checkUnnamed1270(core.List<api.Option> o) {
1070 unittest.expect(o, unittest.hasLength(2)); 1072 unittest.expect(o, unittest.hasLength(2));
1071 checkOption(o[0]); 1073 checkOption(o[0]);
1072 checkOption(o[1]); 1074 checkOption(o[1]);
1073 } 1075 }
1074 1076
1075 core.int buildCounterEnum = 0; 1077 core.int buildCounterEnum = 0;
1076 buildEnum() { 1078 buildEnum() {
1077 var o = new api.Enum(); 1079 var o = new api.Enum();
1078 buildCounterEnum++; 1080 buildCounterEnum++;
1079 if (buildCounterEnum < 3) { 1081 if (buildCounterEnum < 3) {
1080 o.enumvalue = buildUnnamed1243(); 1082 o.enumvalue = buildUnnamed1269();
1081 o.name = "foo"; 1083 o.name = "foo";
1082 o.options = buildUnnamed1244(); 1084 o.options = buildUnnamed1270();
1083 o.sourceContext = buildSourceContext(); 1085 o.sourceContext = buildSourceContext();
1084 o.syntax = "foo"; 1086 o.syntax = "foo";
1085 } 1087 }
1086 buildCounterEnum--; 1088 buildCounterEnum--;
1087 return o; 1089 return o;
1088 } 1090 }
1089 1091
1090 checkEnum(api.Enum o) { 1092 checkEnum(api.Enum o) {
1091 buildCounterEnum++; 1093 buildCounterEnum++;
1092 if (buildCounterEnum < 3) { 1094 if (buildCounterEnum < 3) {
1093 checkUnnamed1243(o.enumvalue); 1095 checkUnnamed1269(o.enumvalue);
1094 unittest.expect(o.name, unittest.equals('foo')); 1096 unittest.expect(o.name, unittest.equals('foo'));
1095 checkUnnamed1244(o.options); 1097 checkUnnamed1270(o.options);
1096 checkSourceContext(o.sourceContext); 1098 checkSourceContext(o.sourceContext);
1097 unittest.expect(o.syntax, unittest.equals('foo')); 1099 unittest.expect(o.syntax, unittest.equals('foo'));
1098 } 1100 }
1099 buildCounterEnum--; 1101 buildCounterEnum--;
1100 } 1102 }
1101 1103
1102 buildUnnamed1245() { 1104 buildUnnamed1271() {
1103 var o = new core.List<api.Option>(); 1105 var o = new core.List<api.Option>();
1104 o.add(buildOption()); 1106 o.add(buildOption());
1105 o.add(buildOption()); 1107 o.add(buildOption());
1106 return o; 1108 return o;
1107 } 1109 }
1108 1110
1109 checkUnnamed1245(core.List<api.Option> o) { 1111 checkUnnamed1271(core.List<api.Option> o) {
1110 unittest.expect(o, unittest.hasLength(2)); 1112 unittest.expect(o, unittest.hasLength(2));
1111 checkOption(o[0]); 1113 checkOption(o[0]);
1112 checkOption(o[1]); 1114 checkOption(o[1]);
1113 } 1115 }
1114 1116
1115 core.int buildCounterEnumValue = 0; 1117 core.int buildCounterEnumValue = 0;
1116 buildEnumValue() { 1118 buildEnumValue() {
1117 var o = new api.EnumValue(); 1119 var o = new api.EnumValue();
1118 buildCounterEnumValue++; 1120 buildCounterEnumValue++;
1119 if (buildCounterEnumValue < 3) { 1121 if (buildCounterEnumValue < 3) {
1120 o.name = "foo"; 1122 o.name = "foo";
1121 o.number = 42; 1123 o.number = 42;
1122 o.options = buildUnnamed1245(); 1124 o.options = buildUnnamed1271();
1123 } 1125 }
1124 buildCounterEnumValue--; 1126 buildCounterEnumValue--;
1125 return o; 1127 return o;
1126 } 1128 }
1127 1129
1128 checkEnumValue(api.EnumValue o) { 1130 checkEnumValue(api.EnumValue o) {
1129 buildCounterEnumValue++; 1131 buildCounterEnumValue++;
1130 if (buildCounterEnumValue < 3) { 1132 if (buildCounterEnumValue < 3) {
1131 unittest.expect(o.name, unittest.equals('foo')); 1133 unittest.expect(o.name, unittest.equals('foo'));
1132 unittest.expect(o.number, unittest.equals(42)); 1134 unittest.expect(o.number, unittest.equals(42));
1133 checkUnnamed1245(o.options); 1135 checkUnnamed1271(o.options);
1134 } 1136 }
1135 buildCounterEnumValue--; 1137 buildCounterEnumValue--;
1136 } 1138 }
1137 1139
1138 buildUnnamed1246() { 1140 buildUnnamed1272() {
1139 var o = new core.List<api.Option>(); 1141 var o = new core.List<api.Option>();
1140 o.add(buildOption()); 1142 o.add(buildOption());
1141 o.add(buildOption()); 1143 o.add(buildOption());
1142 return o; 1144 return o;
1143 } 1145 }
1144 1146
1145 checkUnnamed1246(core.List<api.Option> o) { 1147 checkUnnamed1272(core.List<api.Option> o) {
1146 unittest.expect(o, unittest.hasLength(2)); 1148 unittest.expect(o, unittest.hasLength(2));
1147 checkOption(o[0]); 1149 checkOption(o[0]);
1148 checkOption(o[1]); 1150 checkOption(o[1]);
1149 } 1151 }
1150 1152
1151 core.int buildCounterField = 0; 1153 core.int buildCounterField = 0;
1152 buildField() { 1154 buildField() {
1153 var o = new api.Field(); 1155 var o = new api.Field();
1154 buildCounterField++; 1156 buildCounterField++;
1155 if (buildCounterField < 3) { 1157 if (buildCounterField < 3) {
1156 o.cardinality = "foo"; 1158 o.cardinality = "foo";
1157 o.defaultValue = "foo"; 1159 o.defaultValue = "foo";
1158 o.jsonName = "foo"; 1160 o.jsonName = "foo";
1159 o.kind = "foo"; 1161 o.kind = "foo";
1160 o.name = "foo"; 1162 o.name = "foo";
1161 o.number = 42; 1163 o.number = 42;
1162 o.oneofIndex = 42; 1164 o.oneofIndex = 42;
1163 o.options = buildUnnamed1246(); 1165 o.options = buildUnnamed1272();
1164 o.packed = true; 1166 o.packed = true;
1165 o.typeUrl = "foo"; 1167 o.typeUrl = "foo";
1166 } 1168 }
1167 buildCounterField--; 1169 buildCounterField--;
1168 return o; 1170 return o;
1169 } 1171 }
1170 1172
1171 checkField(api.Field o) { 1173 checkField(api.Field o) {
1172 buildCounterField++; 1174 buildCounterField++;
1173 if (buildCounterField < 3) { 1175 if (buildCounterField < 3) {
1174 unittest.expect(o.cardinality, unittest.equals('foo')); 1176 unittest.expect(o.cardinality, unittest.equals('foo'));
1175 unittest.expect(o.defaultValue, unittest.equals('foo')); 1177 unittest.expect(o.defaultValue, unittest.equals('foo'));
1176 unittest.expect(o.jsonName, unittest.equals('foo')); 1178 unittest.expect(o.jsonName, unittest.equals('foo'));
1177 unittest.expect(o.kind, unittest.equals('foo')); 1179 unittest.expect(o.kind, unittest.equals('foo'));
1178 unittest.expect(o.name, unittest.equals('foo')); 1180 unittest.expect(o.name, unittest.equals('foo'));
1179 unittest.expect(o.number, unittest.equals(42)); 1181 unittest.expect(o.number, unittest.equals(42));
1180 unittest.expect(o.oneofIndex, unittest.equals(42)); 1182 unittest.expect(o.oneofIndex, unittest.equals(42));
1181 checkUnnamed1246(o.options); 1183 checkUnnamed1272(o.options);
1182 unittest.expect(o.packed, unittest.isTrue); 1184 unittest.expect(o.packed, unittest.isTrue);
1183 unittest.expect(o.typeUrl, unittest.equals('foo')); 1185 unittest.expect(o.typeUrl, unittest.equals('foo'));
1184 } 1186 }
1185 buildCounterField--; 1187 buildCounterField--;
1186 } 1188 }
1187 1189
1188 buildUnnamed1247() { 1190 buildUnnamed1273() {
1189 var o = new core.Map<core.String, core.Object>(); 1191 var o = new core.Map<core.String, core.Object>();
1190 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1192 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1191 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1193 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1192 return o; 1194 return o;
1193 } 1195 }
1194 1196
1195 checkUnnamed1247(core.Map<core.String, core.Object> o) { 1197 checkUnnamed1273(core.Map<core.String, core.Object> o) {
1196 unittest.expect(o, unittest.hasLength(2)); 1198 unittest.expect(o, unittest.hasLength(2));
1197 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); 1199 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
1198 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); 1200 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
1199 } 1201 }
1200 1202
1201 buildUnnamed1248() { 1203 buildUnnamed1274() {
1202 var o = new core.Map<core.String, core.Object>(); 1204 var o = new core.Map<core.String, core.Object>();
1203 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1205 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1204 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1206 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1205 return o; 1207 return o;
1206 } 1208 }
1207 1209
1208 checkUnnamed1248(core.Map<core.String, core.Object> o) { 1210 checkUnnamed1274(core.Map<core.String, core.Object> o) {
1209 unittest.expect(o, unittest.hasLength(2)); 1211 unittest.expect(o, unittest.hasLength(2));
1210 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); 1212 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
1211 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); 1213 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
1212 } 1214 }
1213 1215
1214 core.int buildCounterGenerateConfigReportRequest = 0; 1216 core.int buildCounterGenerateConfigReportRequest = 0;
1215 buildGenerateConfigReportRequest() { 1217 buildGenerateConfigReportRequest() {
1216 var o = new api.GenerateConfigReportRequest(); 1218 var o = new api.GenerateConfigReportRequest();
1217 buildCounterGenerateConfigReportRequest++; 1219 buildCounterGenerateConfigReportRequest++;
1218 if (buildCounterGenerateConfigReportRequest < 3) { 1220 if (buildCounterGenerateConfigReportRequest < 3) {
1219 o.newConfig = buildUnnamed1247(); 1221 o.newConfig = buildUnnamed1273();
1220 o.oldConfig = buildUnnamed1248(); 1222 o.oldConfig = buildUnnamed1274();
1221 } 1223 }
1222 buildCounterGenerateConfigReportRequest--; 1224 buildCounterGenerateConfigReportRequest--;
1223 return o; 1225 return o;
1224 } 1226 }
1225 1227
1226 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { 1228 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
1227 buildCounterGenerateConfigReportRequest++; 1229 buildCounterGenerateConfigReportRequest++;
1228 if (buildCounterGenerateConfigReportRequest < 3) { 1230 if (buildCounterGenerateConfigReportRequest < 3) {
1229 checkUnnamed1247(o.newConfig); 1231 checkUnnamed1273(o.newConfig);
1230 checkUnnamed1248(o.oldConfig); 1232 checkUnnamed1274(o.oldConfig);
1231 } 1233 }
1232 buildCounterGenerateConfigReportRequest--; 1234 buildCounterGenerateConfigReportRequest--;
1233 } 1235 }
1234 1236
1235 buildUnnamed1249() { 1237 buildUnnamed1275() {
1236 var o = new core.List<api.ChangeReport>(); 1238 var o = new core.List<api.ChangeReport>();
1237 o.add(buildChangeReport()); 1239 o.add(buildChangeReport());
1238 o.add(buildChangeReport()); 1240 o.add(buildChangeReport());
1239 return o; 1241 return o;
1240 } 1242 }
1241 1243
1242 checkUnnamed1249(core.List<api.ChangeReport> o) { 1244 checkUnnamed1275(core.List<api.ChangeReport> o) {
1243 unittest.expect(o, unittest.hasLength(2)); 1245 unittest.expect(o, unittest.hasLength(2));
1244 checkChangeReport(o[0]); 1246 checkChangeReport(o[0]);
1245 checkChangeReport(o[1]); 1247 checkChangeReport(o[1]);
1246 } 1248 }
1247 1249
1248 buildUnnamed1250() { 1250 buildUnnamed1276() {
1249 var o = new core.List<api.Diagnostic>(); 1251 var o = new core.List<api.Diagnostic>();
1250 o.add(buildDiagnostic()); 1252 o.add(buildDiagnostic());
1251 o.add(buildDiagnostic()); 1253 o.add(buildDiagnostic());
1252 return o; 1254 return o;
1253 } 1255 }
1254 1256
1255 checkUnnamed1250(core.List<api.Diagnostic> o) { 1257 checkUnnamed1276(core.List<api.Diagnostic> o) {
1256 unittest.expect(o, unittest.hasLength(2)); 1258 unittest.expect(o, unittest.hasLength(2));
1257 checkDiagnostic(o[0]); 1259 checkDiagnostic(o[0]);
1258 checkDiagnostic(o[1]); 1260 checkDiagnostic(o[1]);
1259 } 1261 }
1260 1262
1261 core.int buildCounterGenerateConfigReportResponse = 0; 1263 core.int buildCounterGenerateConfigReportResponse = 0;
1262 buildGenerateConfigReportResponse() { 1264 buildGenerateConfigReportResponse() {
1263 var o = new api.GenerateConfigReportResponse(); 1265 var o = new api.GenerateConfigReportResponse();
1264 buildCounterGenerateConfigReportResponse++; 1266 buildCounterGenerateConfigReportResponse++;
1265 if (buildCounterGenerateConfigReportResponse < 3) { 1267 if (buildCounterGenerateConfigReportResponse < 3) {
1266 o.changeReports = buildUnnamed1249(); 1268 o.changeReports = buildUnnamed1275();
1267 o.diagnostics = buildUnnamed1250(); 1269 o.diagnostics = buildUnnamed1276();
1268 o.id = "foo"; 1270 o.id = "foo";
1269 o.serviceName = "foo"; 1271 o.serviceName = "foo";
1270 } 1272 }
1271 buildCounterGenerateConfigReportResponse--; 1273 buildCounterGenerateConfigReportResponse--;
1272 return o; 1274 return o;
1273 } 1275 }
1274 1276
1275 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { 1277 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
1276 buildCounterGenerateConfigReportResponse++; 1278 buildCounterGenerateConfigReportResponse++;
1277 if (buildCounterGenerateConfigReportResponse < 3) { 1279 if (buildCounterGenerateConfigReportResponse < 3) {
1278 checkUnnamed1249(o.changeReports); 1280 checkUnnamed1275(o.changeReports);
1279 checkUnnamed1250(o.diagnostics); 1281 checkUnnamed1276(o.diagnostics);
1280 unittest.expect(o.id, unittest.equals('foo')); 1282 unittest.expect(o.id, unittest.equals('foo'));
1281 unittest.expect(o.serviceName, unittest.equals('foo')); 1283 unittest.expect(o.serviceName, unittest.equals('foo'));
1282 } 1284 }
1283 buildCounterGenerateConfigReportResponse--; 1285 buildCounterGenerateConfigReportResponse--;
1284 } 1286 }
1285 1287
1286 core.int buildCounterGetIamPolicyRequest = 0; 1288 core.int buildCounterGetIamPolicyRequest = 0;
1287 buildGetIamPolicyRequest() { 1289 buildGetIamPolicyRequest() {
1288 var o = new api.GetIamPolicyRequest(); 1290 var o = new api.GetIamPolicyRequest();
1289 buildCounterGetIamPolicyRequest++; 1291 buildCounterGetIamPolicyRequest++;
1290 if (buildCounterGetIamPolicyRequest < 3) { 1292 if (buildCounterGetIamPolicyRequest < 3) {
1291 } 1293 }
1292 buildCounterGetIamPolicyRequest--; 1294 buildCounterGetIamPolicyRequest--;
1293 return o; 1295 return o;
1294 } 1296 }
1295 1297
1296 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { 1298 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
1297 buildCounterGetIamPolicyRequest++; 1299 buildCounterGetIamPolicyRequest++;
1298 if (buildCounterGetIamPolicyRequest < 3) { 1300 if (buildCounterGetIamPolicyRequest < 3) {
1299 } 1301 }
1300 buildCounterGetIamPolicyRequest--; 1302 buildCounterGetIamPolicyRequest--;
1301 } 1303 }
1302 1304
1303 buildUnnamed1251() { 1305 buildUnnamed1277() {
1304 var o = new core.List<api.HttpRule>(); 1306 var o = new core.List<api.HttpRule>();
1305 o.add(buildHttpRule()); 1307 o.add(buildHttpRule());
1306 o.add(buildHttpRule()); 1308 o.add(buildHttpRule());
1307 return o; 1309 return o;
1308 } 1310 }
1309 1311
1310 checkUnnamed1251(core.List<api.HttpRule> o) { 1312 checkUnnamed1277(core.List<api.HttpRule> o) {
1311 unittest.expect(o, unittest.hasLength(2)); 1313 unittest.expect(o, unittest.hasLength(2));
1312 checkHttpRule(o[0]); 1314 checkHttpRule(o[0]);
1313 checkHttpRule(o[1]); 1315 checkHttpRule(o[1]);
1314 } 1316 }
1315 1317
1316 core.int buildCounterHttp = 0; 1318 core.int buildCounterHttp = 0;
1317 buildHttp() { 1319 buildHttp() {
1318 var o = new api.Http(); 1320 var o = new api.Http();
1319 buildCounterHttp++; 1321 buildCounterHttp++;
1320 if (buildCounterHttp < 3) { 1322 if (buildCounterHttp < 3) {
1321 o.rules = buildUnnamed1251(); 1323 o.rules = buildUnnamed1277();
1322 } 1324 }
1323 buildCounterHttp--; 1325 buildCounterHttp--;
1324 return o; 1326 return o;
1325 } 1327 }
1326 1328
1327 checkHttp(api.Http o) { 1329 checkHttp(api.Http o) {
1328 buildCounterHttp++; 1330 buildCounterHttp++;
1329 if (buildCounterHttp < 3) { 1331 if (buildCounterHttp < 3) {
1330 checkUnnamed1251(o.rules); 1332 checkUnnamed1277(o.rules);
1331 } 1333 }
1332 buildCounterHttp--; 1334 buildCounterHttp--;
1333 } 1335 }
1334 1336
1335 buildUnnamed1252() { 1337 buildUnnamed1278() {
1336 var o = new core.List<api.HttpRule>(); 1338 var o = new core.List<api.HttpRule>();
1337 o.add(buildHttpRule()); 1339 o.add(buildHttpRule());
1338 o.add(buildHttpRule()); 1340 o.add(buildHttpRule());
1339 return o; 1341 return o;
1340 } 1342 }
1341 1343
1342 checkUnnamed1252(core.List<api.HttpRule> o) { 1344 checkUnnamed1278(core.List<api.HttpRule> o) {
1343 unittest.expect(o, unittest.hasLength(2)); 1345 unittest.expect(o, unittest.hasLength(2));
1344 checkHttpRule(o[0]); 1346 checkHttpRule(o[0]);
1345 checkHttpRule(o[1]); 1347 checkHttpRule(o[1]);
1346 } 1348 }
1347 1349
1348 core.int buildCounterHttpRule = 0; 1350 core.int buildCounterHttpRule = 0;
1349 buildHttpRule() { 1351 buildHttpRule() {
1350 var o = new api.HttpRule(); 1352 var o = new api.HttpRule();
1351 buildCounterHttpRule++; 1353 buildCounterHttpRule++;
1352 if (buildCounterHttpRule < 3) { 1354 if (buildCounterHttpRule < 3) {
1353 o.additionalBindings = buildUnnamed1252(); 1355 o.additionalBindings = buildUnnamed1278();
1354 o.body = "foo"; 1356 o.body = "foo";
1355 o.custom = buildCustomHttpPattern(); 1357 o.custom = buildCustomHttpPattern();
1356 o.delete = "foo"; 1358 o.delete = "foo";
1357 o.get = "foo"; 1359 o.get = "foo";
1358 o.mediaDownload = buildMediaDownload(); 1360 o.mediaDownload = buildMediaDownload();
1359 o.mediaUpload = buildMediaUpload(); 1361 o.mediaUpload = buildMediaUpload();
1360 o.patch = "foo"; 1362 o.patch = "foo";
1361 o.post = "foo"; 1363 o.post = "foo";
1362 o.put = "foo"; 1364 o.put = "foo";
1363 o.responseBody = "foo"; 1365 o.responseBody = "foo";
1364 o.selector = "foo"; 1366 o.selector = "foo";
1365 } 1367 }
1366 buildCounterHttpRule--; 1368 buildCounterHttpRule--;
1367 return o; 1369 return o;
1368 } 1370 }
1369 1371
1370 checkHttpRule(api.HttpRule o) { 1372 checkHttpRule(api.HttpRule o) {
1371 buildCounterHttpRule++; 1373 buildCounterHttpRule++;
1372 if (buildCounterHttpRule < 3) { 1374 if (buildCounterHttpRule < 3) {
1373 checkUnnamed1252(o.additionalBindings); 1375 checkUnnamed1278(o.additionalBindings);
1374 unittest.expect(o.body, unittest.equals('foo')); 1376 unittest.expect(o.body, unittest.equals('foo'));
1375 checkCustomHttpPattern(o.custom); 1377 checkCustomHttpPattern(o.custom);
1376 unittest.expect(o.delete, unittest.equals('foo')); 1378 unittest.expect(o.delete, unittest.equals('foo'));
1377 unittest.expect(o.get, unittest.equals('foo')); 1379 unittest.expect(o.get, unittest.equals('foo'));
1378 checkMediaDownload(o.mediaDownload); 1380 checkMediaDownload(o.mediaDownload);
1379 checkMediaUpload(o.mediaUpload); 1381 checkMediaUpload(o.mediaUpload);
1380 unittest.expect(o.patch, unittest.equals('foo')); 1382 unittest.expect(o.patch, unittest.equals('foo'));
1381 unittest.expect(o.post, unittest.equals('foo')); 1383 unittest.expect(o.post, unittest.equals('foo'));
1382 unittest.expect(o.put, unittest.equals('foo')); 1384 unittest.expect(o.put, unittest.equals('foo'));
1383 unittest.expect(o.responseBody, unittest.equals('foo')); 1385 unittest.expect(o.responseBody, unittest.equals('foo'));
(...skipping 18 matching lines...) Expand all
1402 checkLabelDescriptor(api.LabelDescriptor o) { 1404 checkLabelDescriptor(api.LabelDescriptor o) {
1403 buildCounterLabelDescriptor++; 1405 buildCounterLabelDescriptor++;
1404 if (buildCounterLabelDescriptor < 3) { 1406 if (buildCounterLabelDescriptor < 3) {
1405 unittest.expect(o.description, unittest.equals('foo')); 1407 unittest.expect(o.description, unittest.equals('foo'));
1406 unittest.expect(o.key, unittest.equals('foo')); 1408 unittest.expect(o.key, unittest.equals('foo'));
1407 unittest.expect(o.valueType, unittest.equals('foo')); 1409 unittest.expect(o.valueType, unittest.equals('foo'));
1408 } 1410 }
1409 buildCounterLabelDescriptor--; 1411 buildCounterLabelDescriptor--;
1410 } 1412 }
1411 1413
1412 buildUnnamed1253() { 1414 buildUnnamed1279() {
1413 var o = new core.List<api.Service>(); 1415 var o = new core.List<api.Service>();
1414 o.add(buildService()); 1416 o.add(buildService());
1415 o.add(buildService()); 1417 o.add(buildService());
1416 return o; 1418 return o;
1417 } 1419 }
1418 1420
1419 checkUnnamed1253(core.List<api.Service> o) { 1421 checkUnnamed1279(core.List<api.Service> o) {
1420 unittest.expect(o, unittest.hasLength(2)); 1422 unittest.expect(o, unittest.hasLength(2));
1421 checkService(o[0]); 1423 checkService(o[0]);
1422 checkService(o[1]); 1424 checkService(o[1]);
1423 } 1425 }
1424 1426
1425 core.int buildCounterListServiceConfigsResponse = 0; 1427 core.int buildCounterListServiceConfigsResponse = 0;
1426 buildListServiceConfigsResponse() { 1428 buildListServiceConfigsResponse() {
1427 var o = new api.ListServiceConfigsResponse(); 1429 var o = new api.ListServiceConfigsResponse();
1428 buildCounterListServiceConfigsResponse++; 1430 buildCounterListServiceConfigsResponse++;
1429 if (buildCounterListServiceConfigsResponse < 3) { 1431 if (buildCounterListServiceConfigsResponse < 3) {
1430 o.nextPageToken = "foo"; 1432 o.nextPageToken = "foo";
1431 o.serviceConfigs = buildUnnamed1253(); 1433 o.serviceConfigs = buildUnnamed1279();
1432 } 1434 }
1433 buildCounterListServiceConfigsResponse--; 1435 buildCounterListServiceConfigsResponse--;
1434 return o; 1436 return o;
1435 } 1437 }
1436 1438
1437 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { 1439 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) {
1438 buildCounterListServiceConfigsResponse++; 1440 buildCounterListServiceConfigsResponse++;
1439 if (buildCounterListServiceConfigsResponse < 3) { 1441 if (buildCounterListServiceConfigsResponse < 3) {
1440 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1442 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1441 checkUnnamed1253(o.serviceConfigs); 1443 checkUnnamed1279(o.serviceConfigs);
1442 } 1444 }
1443 buildCounterListServiceConfigsResponse--; 1445 buildCounterListServiceConfigsResponse--;
1444 } 1446 }
1445 1447
1446 buildUnnamed1254() { 1448 buildUnnamed1280() {
1447 var o = new core.List<api.Rollout>(); 1449 var o = new core.List<api.Rollout>();
1448 o.add(buildRollout()); 1450 o.add(buildRollout());
1449 o.add(buildRollout()); 1451 o.add(buildRollout());
1450 return o; 1452 return o;
1451 } 1453 }
1452 1454
1453 checkUnnamed1254(core.List<api.Rollout> o) { 1455 checkUnnamed1280(core.List<api.Rollout> o) {
1454 unittest.expect(o, unittest.hasLength(2)); 1456 unittest.expect(o, unittest.hasLength(2));
1455 checkRollout(o[0]); 1457 checkRollout(o[0]);
1456 checkRollout(o[1]); 1458 checkRollout(o[1]);
1457 } 1459 }
1458 1460
1459 core.int buildCounterListServiceRolloutsResponse = 0; 1461 core.int buildCounterListServiceRolloutsResponse = 0;
1460 buildListServiceRolloutsResponse() { 1462 buildListServiceRolloutsResponse() {
1461 var o = new api.ListServiceRolloutsResponse(); 1463 var o = new api.ListServiceRolloutsResponse();
1462 buildCounterListServiceRolloutsResponse++; 1464 buildCounterListServiceRolloutsResponse++;
1463 if (buildCounterListServiceRolloutsResponse < 3) { 1465 if (buildCounterListServiceRolloutsResponse < 3) {
1464 o.nextPageToken = "foo"; 1466 o.nextPageToken = "foo";
1465 o.rollouts = buildUnnamed1254(); 1467 o.rollouts = buildUnnamed1280();
1466 } 1468 }
1467 buildCounterListServiceRolloutsResponse--; 1469 buildCounterListServiceRolloutsResponse--;
1468 return o; 1470 return o;
1469 } 1471 }
1470 1472
1471 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { 1473 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) {
1472 buildCounterListServiceRolloutsResponse++; 1474 buildCounterListServiceRolloutsResponse++;
1473 if (buildCounterListServiceRolloutsResponse < 3) { 1475 if (buildCounterListServiceRolloutsResponse < 3) {
1474 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1476 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1475 checkUnnamed1254(o.rollouts); 1477 checkUnnamed1280(o.rollouts);
1476 } 1478 }
1477 buildCounterListServiceRolloutsResponse--; 1479 buildCounterListServiceRolloutsResponse--;
1478 } 1480 }
1479 1481
1480 buildUnnamed1255() { 1482 buildUnnamed1281() {
1481 var o = new core.List<api.ManagedService>(); 1483 var o = new core.List<api.ManagedService>();
1482 o.add(buildManagedService()); 1484 o.add(buildManagedService());
1483 o.add(buildManagedService()); 1485 o.add(buildManagedService());
1484 return o; 1486 return o;
1485 } 1487 }
1486 1488
1487 checkUnnamed1255(core.List<api.ManagedService> o) { 1489 checkUnnamed1281(core.List<api.ManagedService> o) {
1488 unittest.expect(o, unittest.hasLength(2)); 1490 unittest.expect(o, unittest.hasLength(2));
1489 checkManagedService(o[0]); 1491 checkManagedService(o[0]);
1490 checkManagedService(o[1]); 1492 checkManagedService(o[1]);
1491 } 1493 }
1492 1494
1493 core.int buildCounterListServicesResponse = 0; 1495 core.int buildCounterListServicesResponse = 0;
1494 buildListServicesResponse() { 1496 buildListServicesResponse() {
1495 var o = new api.ListServicesResponse(); 1497 var o = new api.ListServicesResponse();
1496 buildCounterListServicesResponse++; 1498 buildCounterListServicesResponse++;
1497 if (buildCounterListServicesResponse < 3) { 1499 if (buildCounterListServicesResponse < 3) {
1498 o.nextPageToken = "foo"; 1500 o.nextPageToken = "foo";
1499 o.services = buildUnnamed1255(); 1501 o.services = buildUnnamed1281();
1500 } 1502 }
1501 buildCounterListServicesResponse--; 1503 buildCounterListServicesResponse--;
1502 return o; 1504 return o;
1503 } 1505 }
1504 1506
1505 checkListServicesResponse(api.ListServicesResponse o) { 1507 checkListServicesResponse(api.ListServicesResponse o) {
1506 buildCounterListServicesResponse++; 1508 buildCounterListServicesResponse++;
1507 if (buildCounterListServicesResponse < 3) { 1509 if (buildCounterListServicesResponse < 3) {
1508 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1510 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1509 checkUnnamed1255(o.services); 1511 checkUnnamed1281(o.services);
1510 } 1512 }
1511 buildCounterListServicesResponse--; 1513 buildCounterListServicesResponse--;
1512 } 1514 }
1513 1515
1514 core.int buildCounterLogConfig = 0; 1516 core.int buildCounterLogConfig = 0;
1515 buildLogConfig() { 1517 buildLogConfig() {
1516 var o = new api.LogConfig(); 1518 var o = new api.LogConfig();
1517 buildCounterLogConfig++; 1519 buildCounterLogConfig++;
1518 if (buildCounterLogConfig < 3) { 1520 if (buildCounterLogConfig < 3) {
1519 o.cloudAudit = buildCloudAuditOptions(); 1521 o.cloudAudit = buildCloudAuditOptions();
1520 o.counter = buildCounterOptions(); 1522 o.counter = buildCounterOptions();
1521 o.dataAccess = buildDataAccessOptions(); 1523 o.dataAccess = buildDataAccessOptions();
1522 } 1524 }
1523 buildCounterLogConfig--; 1525 buildCounterLogConfig--;
1524 return o; 1526 return o;
1525 } 1527 }
1526 1528
1527 checkLogConfig(api.LogConfig o) { 1529 checkLogConfig(api.LogConfig o) {
1528 buildCounterLogConfig++; 1530 buildCounterLogConfig++;
1529 if (buildCounterLogConfig < 3) { 1531 if (buildCounterLogConfig < 3) {
1530 checkCloudAuditOptions(o.cloudAudit); 1532 checkCloudAuditOptions(o.cloudAudit);
1531 checkCounterOptions(o.counter); 1533 checkCounterOptions(o.counter);
1532 checkDataAccessOptions(o.dataAccess); 1534 checkDataAccessOptions(o.dataAccess);
1533 } 1535 }
1534 buildCounterLogConfig--; 1536 buildCounterLogConfig--;
1535 } 1537 }
1536 1538
1537 buildUnnamed1256() { 1539 buildUnnamed1282() {
1538 var o = new core.List<api.LabelDescriptor>(); 1540 var o = new core.List<api.LabelDescriptor>();
1539 o.add(buildLabelDescriptor()); 1541 o.add(buildLabelDescriptor());
1540 o.add(buildLabelDescriptor()); 1542 o.add(buildLabelDescriptor());
1541 return o; 1543 return o;
1542 } 1544 }
1543 1545
1544 checkUnnamed1256(core.List<api.LabelDescriptor> o) { 1546 checkUnnamed1282(core.List<api.LabelDescriptor> o) {
1545 unittest.expect(o, unittest.hasLength(2)); 1547 unittest.expect(o, unittest.hasLength(2));
1546 checkLabelDescriptor(o[0]); 1548 checkLabelDescriptor(o[0]);
1547 checkLabelDescriptor(o[1]); 1549 checkLabelDescriptor(o[1]);
1548 } 1550 }
1549 1551
1550 core.int buildCounterLogDescriptor = 0; 1552 core.int buildCounterLogDescriptor = 0;
1551 buildLogDescriptor() { 1553 buildLogDescriptor() {
1552 var o = new api.LogDescriptor(); 1554 var o = new api.LogDescriptor();
1553 buildCounterLogDescriptor++; 1555 buildCounterLogDescriptor++;
1554 if (buildCounterLogDescriptor < 3) { 1556 if (buildCounterLogDescriptor < 3) {
1555 o.description = "foo"; 1557 o.description = "foo";
1556 o.displayName = "foo"; 1558 o.displayName = "foo";
1557 o.labels = buildUnnamed1256(); 1559 o.labels = buildUnnamed1282();
1558 o.name = "foo"; 1560 o.name = "foo";
1559 } 1561 }
1560 buildCounterLogDescriptor--; 1562 buildCounterLogDescriptor--;
1561 return o; 1563 return o;
1562 } 1564 }
1563 1565
1564 checkLogDescriptor(api.LogDescriptor o) { 1566 checkLogDescriptor(api.LogDescriptor o) {
1565 buildCounterLogDescriptor++; 1567 buildCounterLogDescriptor++;
1566 if (buildCounterLogDescriptor < 3) { 1568 if (buildCounterLogDescriptor < 3) {
1567 unittest.expect(o.description, unittest.equals('foo')); 1569 unittest.expect(o.description, unittest.equals('foo'));
1568 unittest.expect(o.displayName, unittest.equals('foo')); 1570 unittest.expect(o.displayName, unittest.equals('foo'));
1569 checkUnnamed1256(o.labels); 1571 checkUnnamed1282(o.labels);
1570 unittest.expect(o.name, unittest.equals('foo')); 1572 unittest.expect(o.name, unittest.equals('foo'));
1571 } 1573 }
1572 buildCounterLogDescriptor--; 1574 buildCounterLogDescriptor--;
1573 } 1575 }
1574 1576
1575 buildUnnamed1257() { 1577 buildUnnamed1283() {
1576 var o = new core.List<api.LoggingDestination>(); 1578 var o = new core.List<api.LoggingDestination>();
1577 o.add(buildLoggingDestination()); 1579 o.add(buildLoggingDestination());
1578 o.add(buildLoggingDestination()); 1580 o.add(buildLoggingDestination());
1579 return o; 1581 return o;
1580 } 1582 }
1581 1583
1582 checkUnnamed1257(core.List<api.LoggingDestination> o) { 1584 checkUnnamed1283(core.List<api.LoggingDestination> o) {
1583 unittest.expect(o, unittest.hasLength(2)); 1585 unittest.expect(o, unittest.hasLength(2));
1584 checkLoggingDestination(o[0]); 1586 checkLoggingDestination(o[0]);
1585 checkLoggingDestination(o[1]); 1587 checkLoggingDestination(o[1]);
1586 } 1588 }
1587 1589
1588 buildUnnamed1258() { 1590 buildUnnamed1284() {
1589 var o = new core.List<api.LoggingDestination>(); 1591 var o = new core.List<api.LoggingDestination>();
1590 o.add(buildLoggingDestination()); 1592 o.add(buildLoggingDestination());
1591 o.add(buildLoggingDestination()); 1593 o.add(buildLoggingDestination());
1592 return o; 1594 return o;
1593 } 1595 }
1594 1596
1595 checkUnnamed1258(core.List<api.LoggingDestination> o) { 1597 checkUnnamed1284(core.List<api.LoggingDestination> o) {
1596 unittest.expect(o, unittest.hasLength(2)); 1598 unittest.expect(o, unittest.hasLength(2));
1597 checkLoggingDestination(o[0]); 1599 checkLoggingDestination(o[0]);
1598 checkLoggingDestination(o[1]); 1600 checkLoggingDestination(o[1]);
1599 } 1601 }
1600 1602
1601 core.int buildCounterLogging = 0; 1603 core.int buildCounterLogging = 0;
1602 buildLogging() { 1604 buildLogging() {
1603 var o = new api.Logging(); 1605 var o = new api.Logging();
1604 buildCounterLogging++; 1606 buildCounterLogging++;
1605 if (buildCounterLogging < 3) { 1607 if (buildCounterLogging < 3) {
1606 o.consumerDestinations = buildUnnamed1257(); 1608 o.consumerDestinations = buildUnnamed1283();
1607 o.producerDestinations = buildUnnamed1258(); 1609 o.producerDestinations = buildUnnamed1284();
1608 } 1610 }
1609 buildCounterLogging--; 1611 buildCounterLogging--;
1610 return o; 1612 return o;
1611 } 1613 }
1612 1614
1613 checkLogging(api.Logging o) { 1615 checkLogging(api.Logging o) {
1614 buildCounterLogging++; 1616 buildCounterLogging++;
1615 if (buildCounterLogging < 3) { 1617 if (buildCounterLogging < 3) {
1616 checkUnnamed1257(o.consumerDestinations); 1618 checkUnnamed1283(o.consumerDestinations);
1617 checkUnnamed1258(o.producerDestinations); 1619 checkUnnamed1284(o.producerDestinations);
1618 } 1620 }
1619 buildCounterLogging--; 1621 buildCounterLogging--;
1620 } 1622 }
1621 1623
1622 buildUnnamed1259() { 1624 buildUnnamed1285() {
1623 var o = new core.List<core.String>(); 1625 var o = new core.List<core.String>();
1624 o.add("foo"); 1626 o.add("foo");
1625 o.add("foo"); 1627 o.add("foo");
1626 return o; 1628 return o;
1627 } 1629 }
1628 1630
1629 checkUnnamed1259(core.List<core.String> o) { 1631 checkUnnamed1285(core.List<core.String> o) {
1630 unittest.expect(o, unittest.hasLength(2)); 1632 unittest.expect(o, unittest.hasLength(2));
1631 unittest.expect(o[0], unittest.equals('foo')); 1633 unittest.expect(o[0], unittest.equals('foo'));
1632 unittest.expect(o[1], unittest.equals('foo')); 1634 unittest.expect(o[1], unittest.equals('foo'));
1633 } 1635 }
1634 1636
1635 core.int buildCounterLoggingDestination = 0; 1637 core.int buildCounterLoggingDestination = 0;
1636 buildLoggingDestination() { 1638 buildLoggingDestination() {
1637 var o = new api.LoggingDestination(); 1639 var o = new api.LoggingDestination();
1638 buildCounterLoggingDestination++; 1640 buildCounterLoggingDestination++;
1639 if (buildCounterLoggingDestination < 3) { 1641 if (buildCounterLoggingDestination < 3) {
1640 o.logs = buildUnnamed1259(); 1642 o.logs = buildUnnamed1285();
1641 o.monitoredResource = "foo"; 1643 o.monitoredResource = "foo";
1642 } 1644 }
1643 buildCounterLoggingDestination--; 1645 buildCounterLoggingDestination--;
1644 return o; 1646 return o;
1645 } 1647 }
1646 1648
1647 checkLoggingDestination(api.LoggingDestination o) { 1649 checkLoggingDestination(api.LoggingDestination o) {
1648 buildCounterLoggingDestination++; 1650 buildCounterLoggingDestination++;
1649 if (buildCounterLoggingDestination < 3) { 1651 if (buildCounterLoggingDestination < 3) {
1650 checkUnnamed1259(o.logs); 1652 checkUnnamed1285(o.logs);
1651 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1653 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1652 } 1654 }
1653 buildCounterLoggingDestination--; 1655 buildCounterLoggingDestination--;
1654 } 1656 }
1655 1657
1656 core.int buildCounterManagedService = 0; 1658 core.int buildCounterManagedService = 0;
1657 buildManagedService() { 1659 buildManagedService() {
1658 var o = new api.ManagedService(); 1660 var o = new api.ManagedService();
1659 buildCounterManagedService++; 1661 buildCounterManagedService++;
1660 if (buildCounterManagedService < 3) { 1662 if (buildCounterManagedService < 3) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1705 } 1707 }
1706 1708
1707 checkMediaUpload(api.MediaUpload o) { 1709 checkMediaUpload(api.MediaUpload o) {
1708 buildCounterMediaUpload++; 1710 buildCounterMediaUpload++;
1709 if (buildCounterMediaUpload < 3) { 1711 if (buildCounterMediaUpload < 3) {
1710 unittest.expect(o.enabled, unittest.isTrue); 1712 unittest.expect(o.enabled, unittest.isTrue);
1711 } 1713 }
1712 buildCounterMediaUpload--; 1714 buildCounterMediaUpload--;
1713 } 1715 }
1714 1716
1715 buildUnnamed1260() { 1717 buildUnnamed1286() {
1716 var o = new core.List<api.Option>(); 1718 var o = new core.List<api.Option>();
1717 o.add(buildOption()); 1719 o.add(buildOption());
1718 o.add(buildOption()); 1720 o.add(buildOption());
1719 return o; 1721 return o;
1720 } 1722 }
1721 1723
1722 checkUnnamed1260(core.List<api.Option> o) { 1724 checkUnnamed1286(core.List<api.Option> o) {
1723 unittest.expect(o, unittest.hasLength(2)); 1725 unittest.expect(o, unittest.hasLength(2));
1724 checkOption(o[0]); 1726 checkOption(o[0]);
1725 checkOption(o[1]); 1727 checkOption(o[1]);
1726 } 1728 }
1727 1729
1728 core.int buildCounterMethod = 0; 1730 core.int buildCounterMethod = 0;
1729 buildMethod() { 1731 buildMethod() {
1730 var o = new api.Method(); 1732 var o = new api.Method();
1731 buildCounterMethod++; 1733 buildCounterMethod++;
1732 if (buildCounterMethod < 3) { 1734 if (buildCounterMethod < 3) {
1733 o.name = "foo"; 1735 o.name = "foo";
1734 o.options = buildUnnamed1260(); 1736 o.options = buildUnnamed1286();
1735 o.requestStreaming = true; 1737 o.requestStreaming = true;
1736 o.requestTypeUrl = "foo"; 1738 o.requestTypeUrl = "foo";
1737 o.responseStreaming = true; 1739 o.responseStreaming = true;
1738 o.responseTypeUrl = "foo"; 1740 o.responseTypeUrl = "foo";
1739 o.syntax = "foo"; 1741 o.syntax = "foo";
1740 } 1742 }
1741 buildCounterMethod--; 1743 buildCounterMethod--;
1742 return o; 1744 return o;
1743 } 1745 }
1744 1746
1745 checkMethod(api.Method o) { 1747 checkMethod(api.Method o) {
1746 buildCounterMethod++; 1748 buildCounterMethod++;
1747 if (buildCounterMethod < 3) { 1749 if (buildCounterMethod < 3) {
1748 unittest.expect(o.name, unittest.equals('foo')); 1750 unittest.expect(o.name, unittest.equals('foo'));
1749 checkUnnamed1260(o.options); 1751 checkUnnamed1286(o.options);
1750 unittest.expect(o.requestStreaming, unittest.isTrue); 1752 unittest.expect(o.requestStreaming, unittest.isTrue);
1751 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); 1753 unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
1752 unittest.expect(o.responseStreaming, unittest.isTrue); 1754 unittest.expect(o.responseStreaming, unittest.isTrue);
1753 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); 1755 unittest.expect(o.responseTypeUrl, unittest.equals('foo'));
1754 unittest.expect(o.syntax, unittest.equals('foo')); 1756 unittest.expect(o.syntax, unittest.equals('foo'));
1755 } 1757 }
1756 buildCounterMethod--; 1758 buildCounterMethod--;
1757 } 1759 }
1758 1760
1759 buildUnnamed1261() { 1761 buildUnnamed1287() {
1760 var o = new core.List<api.LabelDescriptor>(); 1762 var o = new core.List<api.LabelDescriptor>();
1761 o.add(buildLabelDescriptor()); 1763 o.add(buildLabelDescriptor());
1762 o.add(buildLabelDescriptor()); 1764 o.add(buildLabelDescriptor());
1763 return o; 1765 return o;
1764 } 1766 }
1765 1767
1766 checkUnnamed1261(core.List<api.LabelDescriptor> o) { 1768 checkUnnamed1287(core.List<api.LabelDescriptor> o) {
1767 unittest.expect(o, unittest.hasLength(2)); 1769 unittest.expect(o, unittest.hasLength(2));
1768 checkLabelDescriptor(o[0]); 1770 checkLabelDescriptor(o[0]);
1769 checkLabelDescriptor(o[1]); 1771 checkLabelDescriptor(o[1]);
1770 } 1772 }
1771 1773
1772 core.int buildCounterMetricDescriptor = 0; 1774 core.int buildCounterMetricDescriptor = 0;
1773 buildMetricDescriptor() { 1775 buildMetricDescriptor() {
1774 var o = new api.MetricDescriptor(); 1776 var o = new api.MetricDescriptor();
1775 buildCounterMetricDescriptor++; 1777 buildCounterMetricDescriptor++;
1776 if (buildCounterMetricDescriptor < 3) { 1778 if (buildCounterMetricDescriptor < 3) {
1777 o.description = "foo"; 1779 o.description = "foo";
1778 o.displayName = "foo"; 1780 o.displayName = "foo";
1779 o.labels = buildUnnamed1261(); 1781 o.labels = buildUnnamed1287();
1780 o.metricKind = "foo"; 1782 o.metricKind = "foo";
1781 o.name = "foo"; 1783 o.name = "foo";
1782 o.type = "foo"; 1784 o.type = "foo";
1783 o.unit = "foo"; 1785 o.unit = "foo";
1784 o.valueType = "foo"; 1786 o.valueType = "foo";
1785 } 1787 }
1786 buildCounterMetricDescriptor--; 1788 buildCounterMetricDescriptor--;
1787 return o; 1789 return o;
1788 } 1790 }
1789 1791
1790 checkMetricDescriptor(api.MetricDescriptor o) { 1792 checkMetricDescriptor(api.MetricDescriptor o) {
1791 buildCounterMetricDescriptor++; 1793 buildCounterMetricDescriptor++;
1792 if (buildCounterMetricDescriptor < 3) { 1794 if (buildCounterMetricDescriptor < 3) {
1793 unittest.expect(o.description, unittest.equals('foo')); 1795 unittest.expect(o.description, unittest.equals('foo'));
1794 unittest.expect(o.displayName, unittest.equals('foo')); 1796 unittest.expect(o.displayName, unittest.equals('foo'));
1795 checkUnnamed1261(o.labels); 1797 checkUnnamed1287(o.labels);
1796 unittest.expect(o.metricKind, unittest.equals('foo')); 1798 unittest.expect(o.metricKind, unittest.equals('foo'));
1797 unittest.expect(o.name, unittest.equals('foo')); 1799 unittest.expect(o.name, unittest.equals('foo'));
1798 unittest.expect(o.type, unittest.equals('foo')); 1800 unittest.expect(o.type, unittest.equals('foo'));
1799 unittest.expect(o.unit, unittest.equals('foo')); 1801 unittest.expect(o.unit, unittest.equals('foo'));
1800 unittest.expect(o.valueType, unittest.equals('foo')); 1802 unittest.expect(o.valueType, unittest.equals('foo'));
1801 } 1803 }
1802 buildCounterMetricDescriptor--; 1804 buildCounterMetricDescriptor--;
1803 } 1805 }
1804 1806
1805 core.int buildCounterMixin = 0; 1807 core.int buildCounterMixin = 0;
(...skipping 10 matching lines...) Expand all
1816 1818
1817 checkMixin(api.Mixin o) { 1819 checkMixin(api.Mixin o) {
1818 buildCounterMixin++; 1820 buildCounterMixin++;
1819 if (buildCounterMixin < 3) { 1821 if (buildCounterMixin < 3) {
1820 unittest.expect(o.name, unittest.equals('foo')); 1822 unittest.expect(o.name, unittest.equals('foo'));
1821 unittest.expect(o.root, unittest.equals('foo')); 1823 unittest.expect(o.root, unittest.equals('foo'));
1822 } 1824 }
1823 buildCounterMixin--; 1825 buildCounterMixin--;
1824 } 1826 }
1825 1827
1826 buildUnnamed1262() { 1828 buildUnnamed1288() {
1827 var o = new core.List<api.LabelDescriptor>(); 1829 var o = new core.List<api.LabelDescriptor>();
1828 o.add(buildLabelDescriptor()); 1830 o.add(buildLabelDescriptor());
1829 o.add(buildLabelDescriptor()); 1831 o.add(buildLabelDescriptor());
1830 return o; 1832 return o;
1831 } 1833 }
1832 1834
1833 checkUnnamed1262(core.List<api.LabelDescriptor> o) { 1835 checkUnnamed1288(core.List<api.LabelDescriptor> o) {
1834 unittest.expect(o, unittest.hasLength(2)); 1836 unittest.expect(o, unittest.hasLength(2));
1835 checkLabelDescriptor(o[0]); 1837 checkLabelDescriptor(o[0]);
1836 checkLabelDescriptor(o[1]); 1838 checkLabelDescriptor(o[1]);
1837 } 1839 }
1838 1840
1839 core.int buildCounterMonitoredResourceDescriptor = 0; 1841 core.int buildCounterMonitoredResourceDescriptor = 0;
1840 buildMonitoredResourceDescriptor() { 1842 buildMonitoredResourceDescriptor() {
1841 var o = new api.MonitoredResourceDescriptor(); 1843 var o = new api.MonitoredResourceDescriptor();
1842 buildCounterMonitoredResourceDescriptor++; 1844 buildCounterMonitoredResourceDescriptor++;
1843 if (buildCounterMonitoredResourceDescriptor < 3) { 1845 if (buildCounterMonitoredResourceDescriptor < 3) {
1844 o.description = "foo"; 1846 o.description = "foo";
1845 o.displayName = "foo"; 1847 o.displayName = "foo";
1846 o.labels = buildUnnamed1262(); 1848 o.labels = buildUnnamed1288();
1847 o.name = "foo"; 1849 o.name = "foo";
1848 o.type = "foo"; 1850 o.type = "foo";
1849 } 1851 }
1850 buildCounterMonitoredResourceDescriptor--; 1852 buildCounterMonitoredResourceDescriptor--;
1851 return o; 1853 return o;
1852 } 1854 }
1853 1855
1854 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { 1856 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
1855 buildCounterMonitoredResourceDescriptor++; 1857 buildCounterMonitoredResourceDescriptor++;
1856 if (buildCounterMonitoredResourceDescriptor < 3) { 1858 if (buildCounterMonitoredResourceDescriptor < 3) {
1857 unittest.expect(o.description, unittest.equals('foo')); 1859 unittest.expect(o.description, unittest.equals('foo'));
1858 unittest.expect(o.displayName, unittest.equals('foo')); 1860 unittest.expect(o.displayName, unittest.equals('foo'));
1859 checkUnnamed1262(o.labels); 1861 checkUnnamed1288(o.labels);
1860 unittest.expect(o.name, unittest.equals('foo')); 1862 unittest.expect(o.name, unittest.equals('foo'));
1861 unittest.expect(o.type, unittest.equals('foo')); 1863 unittest.expect(o.type, unittest.equals('foo'));
1862 } 1864 }
1863 buildCounterMonitoredResourceDescriptor--; 1865 buildCounterMonitoredResourceDescriptor--;
1864 } 1866 }
1865 1867
1866 buildUnnamed1263() { 1868 buildUnnamed1289() {
1867 var o = new core.List<api.MonitoringDestination>(); 1869 var o = new core.List<api.MonitoringDestination>();
1868 o.add(buildMonitoringDestination()); 1870 o.add(buildMonitoringDestination());
1869 o.add(buildMonitoringDestination()); 1871 o.add(buildMonitoringDestination());
1870 return o; 1872 return o;
1871 } 1873 }
1872 1874
1873 checkUnnamed1263(core.List<api.MonitoringDestination> o) { 1875 checkUnnamed1289(core.List<api.MonitoringDestination> o) {
1874 unittest.expect(o, unittest.hasLength(2)); 1876 unittest.expect(o, unittest.hasLength(2));
1875 checkMonitoringDestination(o[0]); 1877 checkMonitoringDestination(o[0]);
1876 checkMonitoringDestination(o[1]); 1878 checkMonitoringDestination(o[1]);
1877 } 1879 }
1878 1880
1879 buildUnnamed1264() { 1881 buildUnnamed1290() {
1880 var o = new core.List<api.MonitoringDestination>(); 1882 var o = new core.List<api.MonitoringDestination>();
1881 o.add(buildMonitoringDestination()); 1883 o.add(buildMonitoringDestination());
1882 o.add(buildMonitoringDestination()); 1884 o.add(buildMonitoringDestination());
1883 return o; 1885 return o;
1884 } 1886 }
1885 1887
1886 checkUnnamed1264(core.List<api.MonitoringDestination> o) { 1888 checkUnnamed1290(core.List<api.MonitoringDestination> o) {
1887 unittest.expect(o, unittest.hasLength(2)); 1889 unittest.expect(o, unittest.hasLength(2));
1888 checkMonitoringDestination(o[0]); 1890 checkMonitoringDestination(o[0]);
1889 checkMonitoringDestination(o[1]); 1891 checkMonitoringDestination(o[1]);
1890 } 1892 }
1891 1893
1892 core.int buildCounterMonitoring = 0; 1894 core.int buildCounterMonitoring = 0;
1893 buildMonitoring() { 1895 buildMonitoring() {
1894 var o = new api.Monitoring(); 1896 var o = new api.Monitoring();
1895 buildCounterMonitoring++; 1897 buildCounterMonitoring++;
1896 if (buildCounterMonitoring < 3) { 1898 if (buildCounterMonitoring < 3) {
1897 o.consumerDestinations = buildUnnamed1263(); 1899 o.consumerDestinations = buildUnnamed1289();
1898 o.producerDestinations = buildUnnamed1264(); 1900 o.producerDestinations = buildUnnamed1290();
1899 } 1901 }
1900 buildCounterMonitoring--; 1902 buildCounterMonitoring--;
1901 return o; 1903 return o;
1902 } 1904 }
1903 1905
1904 checkMonitoring(api.Monitoring o) { 1906 checkMonitoring(api.Monitoring o) {
1905 buildCounterMonitoring++; 1907 buildCounterMonitoring++;
1906 if (buildCounterMonitoring < 3) { 1908 if (buildCounterMonitoring < 3) {
1907 checkUnnamed1263(o.consumerDestinations); 1909 checkUnnamed1289(o.consumerDestinations);
1908 checkUnnamed1264(o.producerDestinations); 1910 checkUnnamed1290(o.producerDestinations);
1909 } 1911 }
1910 buildCounterMonitoring--; 1912 buildCounterMonitoring--;
1911 } 1913 }
1912 1914
1913 buildUnnamed1265() { 1915 buildUnnamed1291() {
1914 var o = new core.List<core.String>(); 1916 var o = new core.List<core.String>();
1915 o.add("foo"); 1917 o.add("foo");
1916 o.add("foo"); 1918 o.add("foo");
1917 return o; 1919 return o;
1918 } 1920 }
1919 1921
1920 checkUnnamed1265(core.List<core.String> o) { 1922 checkUnnamed1291(core.List<core.String> o) {
1921 unittest.expect(o, unittest.hasLength(2)); 1923 unittest.expect(o, unittest.hasLength(2));
1922 unittest.expect(o[0], unittest.equals('foo')); 1924 unittest.expect(o[0], unittest.equals('foo'));
1923 unittest.expect(o[1], unittest.equals('foo')); 1925 unittest.expect(o[1], unittest.equals('foo'));
1924 } 1926 }
1925 1927
1926 core.int buildCounterMonitoringDestination = 0; 1928 core.int buildCounterMonitoringDestination = 0;
1927 buildMonitoringDestination() { 1929 buildMonitoringDestination() {
1928 var o = new api.MonitoringDestination(); 1930 var o = new api.MonitoringDestination();
1929 buildCounterMonitoringDestination++; 1931 buildCounterMonitoringDestination++;
1930 if (buildCounterMonitoringDestination < 3) { 1932 if (buildCounterMonitoringDestination < 3) {
1931 o.metrics = buildUnnamed1265(); 1933 o.metrics = buildUnnamed1291();
1932 o.monitoredResource = "foo"; 1934 o.monitoredResource = "foo";
1933 } 1935 }
1934 buildCounterMonitoringDestination--; 1936 buildCounterMonitoringDestination--;
1935 return o; 1937 return o;
1936 } 1938 }
1937 1939
1938 checkMonitoringDestination(api.MonitoringDestination o) { 1940 checkMonitoringDestination(api.MonitoringDestination o) {
1939 buildCounterMonitoringDestination++; 1941 buildCounterMonitoringDestination++;
1940 if (buildCounterMonitoringDestination < 3) { 1942 if (buildCounterMonitoringDestination < 3) {
1941 checkUnnamed1265(o.metrics); 1943 checkUnnamed1291(o.metrics);
1942 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1944 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1943 } 1945 }
1944 buildCounterMonitoringDestination--; 1946 buildCounterMonitoringDestination--;
1945 } 1947 }
1946 1948
1947 core.int buildCounterOAuthRequirements = 0; 1949 core.int buildCounterOAuthRequirements = 0;
1948 buildOAuthRequirements() { 1950 buildOAuthRequirements() {
1949 var o = new api.OAuthRequirements(); 1951 var o = new api.OAuthRequirements();
1950 buildCounterOAuthRequirements++; 1952 buildCounterOAuthRequirements++;
1951 if (buildCounterOAuthRequirements < 3) { 1953 if (buildCounterOAuthRequirements < 3) {
1952 o.canonicalScopes = "foo"; 1954 o.canonicalScopes = "foo";
1953 } 1955 }
1954 buildCounterOAuthRequirements--; 1956 buildCounterOAuthRequirements--;
1955 return o; 1957 return o;
1956 } 1958 }
1957 1959
1958 checkOAuthRequirements(api.OAuthRequirements o) { 1960 checkOAuthRequirements(api.OAuthRequirements o) {
1959 buildCounterOAuthRequirements++; 1961 buildCounterOAuthRequirements++;
1960 if (buildCounterOAuthRequirements < 3) { 1962 if (buildCounterOAuthRequirements < 3) {
1961 unittest.expect(o.canonicalScopes, unittest.equals('foo')); 1963 unittest.expect(o.canonicalScopes, unittest.equals('foo'));
1962 } 1964 }
1963 buildCounterOAuthRequirements--; 1965 buildCounterOAuthRequirements--;
1964 } 1966 }
1965 1967
1966 buildUnnamed1266() { 1968 buildUnnamed1292() {
1967 var o = new core.Map<core.String, core.Object>(); 1969 var o = new core.Map<core.String, core.Object>();
1968 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1970 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1969 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1971 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1970 return o; 1972 return o;
1971 } 1973 }
1972 1974
1973 checkUnnamed1266(core.Map<core.String, core.Object> o) { 1975 checkUnnamed1292(core.Map<core.String, core.Object> o) {
1974 unittest.expect(o, unittest.hasLength(2)); 1976 unittest.expect(o, unittest.hasLength(2));
1975 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); 1977 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
1976 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); 1978 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
1977 } 1979 }
1978 1980
1979 buildUnnamed1267() { 1981 buildUnnamed1293() {
1980 var o = new core.Map<core.String, core.Object>(); 1982 var o = new core.Map<core.String, core.Object>();
1981 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1983 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1982 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1984 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1983 return o; 1985 return o;
1984 } 1986 }
1985 1987
1986 checkUnnamed1267(core.Map<core.String, core.Object> o) { 1988 checkUnnamed1293(core.Map<core.String, core.Object> o) {
1987 unittest.expect(o, unittest.hasLength(2)); 1989 unittest.expect(o, unittest.hasLength(2));
1988 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); 1990 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
1989 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); 1991 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
1990 } 1992 }
1991 1993
1992 core.int buildCounterOperation = 0; 1994 core.int buildCounterOperation = 0;
1993 buildOperation() { 1995 buildOperation() {
1994 var o = new api.Operation(); 1996 var o = new api.Operation();
1995 buildCounterOperation++; 1997 buildCounterOperation++;
1996 if (buildCounterOperation < 3) { 1998 if (buildCounterOperation < 3) {
1997 o.done = true; 1999 o.done = true;
1998 o.error = buildStatus(); 2000 o.error = buildStatus();
1999 o.metadata = buildUnnamed1266(); 2001 o.metadata = buildUnnamed1292();
2000 o.name = "foo"; 2002 o.name = "foo";
2001 o.response = buildUnnamed1267(); 2003 o.response = buildUnnamed1293();
2002 } 2004 }
2003 buildCounterOperation--; 2005 buildCounterOperation--;
2004 return o; 2006 return o;
2005 } 2007 }
2006 2008
2007 checkOperation(api.Operation o) { 2009 checkOperation(api.Operation o) {
2008 buildCounterOperation++; 2010 buildCounterOperation++;
2009 if (buildCounterOperation < 3) { 2011 if (buildCounterOperation < 3) {
2010 unittest.expect(o.done, unittest.isTrue); 2012 unittest.expect(o.done, unittest.isTrue);
2011 checkStatus(o.error); 2013 checkStatus(o.error);
2012 checkUnnamed1266(o.metadata); 2014 checkUnnamed1292(o.metadata);
2013 unittest.expect(o.name, unittest.equals('foo')); 2015 unittest.expect(o.name, unittest.equals('foo'));
2014 checkUnnamed1267(o.response); 2016 checkUnnamed1293(o.response);
2015 } 2017 }
2016 buildCounterOperation--; 2018 buildCounterOperation--;
2017 } 2019 }
2018 2020
2019 buildUnnamed1268() { 2021 buildUnnamed1294() {
2020 var o = new core.List<core.String>(); 2022 var o = new core.List<core.String>();
2021 o.add("foo"); 2023 o.add("foo");
2022 o.add("foo"); 2024 o.add("foo");
2023 return o; 2025 return o;
2024 } 2026 }
2025 2027
2026 checkUnnamed1268(core.List<core.String> o) { 2028 checkUnnamed1294(core.List<core.String> o) {
2027 unittest.expect(o, unittest.hasLength(2)); 2029 unittest.expect(o, unittest.hasLength(2));
2028 unittest.expect(o[0], unittest.equals('foo')); 2030 unittest.expect(o[0], unittest.equals('foo'));
2029 unittest.expect(o[1], unittest.equals('foo')); 2031 unittest.expect(o[1], unittest.equals('foo'));
2030 } 2032 }
2031 2033
2032 buildUnnamed1269() { 2034 buildUnnamed1295() {
2033 var o = new core.List<api.Step>(); 2035 var o = new core.List<api.Step>();
2034 o.add(buildStep()); 2036 o.add(buildStep());
2035 o.add(buildStep()); 2037 o.add(buildStep());
2036 return o; 2038 return o;
2037 } 2039 }
2038 2040
2039 checkUnnamed1269(core.List<api.Step> o) { 2041 checkUnnamed1295(core.List<api.Step> o) {
2040 unittest.expect(o, unittest.hasLength(2)); 2042 unittest.expect(o, unittest.hasLength(2));
2041 checkStep(o[0]); 2043 checkStep(o[0]);
2042 checkStep(o[1]); 2044 checkStep(o[1]);
2043 } 2045 }
2044 2046
2045 core.int buildCounterOperationMetadata = 0; 2047 core.int buildCounterOperationMetadata = 0;
2046 buildOperationMetadata() { 2048 buildOperationMetadata() {
2047 var o = new api.OperationMetadata(); 2049 var o = new api.OperationMetadata();
2048 buildCounterOperationMetadata++; 2050 buildCounterOperationMetadata++;
2049 if (buildCounterOperationMetadata < 3) { 2051 if (buildCounterOperationMetadata < 3) {
2050 o.progressPercentage = 42; 2052 o.progressPercentage = 42;
2051 o.resourceNames = buildUnnamed1268(); 2053 o.resourceNames = buildUnnamed1294();
2052 o.startTime = "foo"; 2054 o.startTime = "foo";
2053 o.steps = buildUnnamed1269(); 2055 o.steps = buildUnnamed1295();
2054 } 2056 }
2055 buildCounterOperationMetadata--; 2057 buildCounterOperationMetadata--;
2056 return o; 2058 return o;
2057 } 2059 }
2058 2060
2059 checkOperationMetadata(api.OperationMetadata o) { 2061 checkOperationMetadata(api.OperationMetadata o) {
2060 buildCounterOperationMetadata++; 2062 buildCounterOperationMetadata++;
2061 if (buildCounterOperationMetadata < 3) { 2063 if (buildCounterOperationMetadata < 3) {
2062 unittest.expect(o.progressPercentage, unittest.equals(42)); 2064 unittest.expect(o.progressPercentage, unittest.equals(42));
2063 checkUnnamed1268(o.resourceNames); 2065 checkUnnamed1294(o.resourceNames);
2064 unittest.expect(o.startTime, unittest.equals('foo')); 2066 unittest.expect(o.startTime, unittest.equals('foo'));
2065 checkUnnamed1269(o.steps); 2067 checkUnnamed1295(o.steps);
2066 } 2068 }
2067 buildCounterOperationMetadata--; 2069 buildCounterOperationMetadata--;
2068 } 2070 }
2069 2071
2070 buildUnnamed1270() { 2072 buildUnnamed1296() {
2071 var o = new core.Map<core.String, core.Object>(); 2073 var o = new core.Map<core.String, core.Object>();
2072 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2074 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2073 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2075 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2074 return o; 2076 return o;
2075 } 2077 }
2076 2078
2077 checkUnnamed1270(core.Map<core.String, core.Object> o) { 2079 checkUnnamed1296(core.Map<core.String, core.Object> o) {
2078 unittest.expect(o, unittest.hasLength(2)); 2080 unittest.expect(o, unittest.hasLength(2));
2079 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo')); 2081 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
2080 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo')); 2082 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo'));
2081 } 2083 }
2082 2084
2083 core.int buildCounterOption = 0; 2085 core.int buildCounterOption = 0;
2084 buildOption() { 2086 buildOption() {
2085 var o = new api.Option(); 2087 var o = new api.Option();
2086 buildCounterOption++; 2088 buildCounterOption++;
2087 if (buildCounterOption < 3) { 2089 if (buildCounterOption < 3) {
2088 o.name = "foo"; 2090 o.name = "foo";
2089 o.value = buildUnnamed1270(); 2091 o.value = buildUnnamed1296();
2090 } 2092 }
2091 buildCounterOption--; 2093 buildCounterOption--;
2092 return o; 2094 return o;
2093 } 2095 }
2094 2096
2095 checkOption(api.Option o) { 2097 checkOption(api.Option o) {
2096 buildCounterOption++; 2098 buildCounterOption++;
2097 if (buildCounterOption < 3) { 2099 if (buildCounterOption < 3) {
2098 unittest.expect(o.name, unittest.equals('foo')); 2100 unittest.expect(o.name, unittest.equals('foo'));
2099 checkUnnamed1270(o.value); 2101 checkUnnamed1296(o.value);
2100 } 2102 }
2101 buildCounterOption--; 2103 buildCounterOption--;
2102 } 2104 }
2103 2105
2104 buildUnnamed1271() { 2106 buildUnnamed1297() {
2105 var o = new core.List<api.Page>(); 2107 var o = new core.List<api.Page>();
2106 o.add(buildPage()); 2108 o.add(buildPage());
2107 o.add(buildPage()); 2109 o.add(buildPage());
2108 return o; 2110 return o;
2109 } 2111 }
2110 2112
2111 checkUnnamed1271(core.List<api.Page> o) { 2113 checkUnnamed1297(core.List<api.Page> o) {
2112 unittest.expect(o, unittest.hasLength(2)); 2114 unittest.expect(o, unittest.hasLength(2));
2113 checkPage(o[0]); 2115 checkPage(o[0]);
2114 checkPage(o[1]); 2116 checkPage(o[1]);
2115 } 2117 }
2116 2118
2117 core.int buildCounterPage = 0; 2119 core.int buildCounterPage = 0;
2118 buildPage() { 2120 buildPage() {
2119 var o = new api.Page(); 2121 var o = new api.Page();
2120 buildCounterPage++; 2122 buildCounterPage++;
2121 if (buildCounterPage < 3) { 2123 if (buildCounterPage < 3) {
2122 o.content = "foo"; 2124 o.content = "foo";
2123 o.name = "foo"; 2125 o.name = "foo";
2124 o.subpages = buildUnnamed1271(); 2126 o.subpages = buildUnnamed1297();
2125 } 2127 }
2126 buildCounterPage--; 2128 buildCounterPage--;
2127 return o; 2129 return o;
2128 } 2130 }
2129 2131
2130 checkPage(api.Page o) { 2132 checkPage(api.Page o) {
2131 buildCounterPage++; 2133 buildCounterPage++;
2132 if (buildCounterPage < 3) { 2134 if (buildCounterPage < 3) {
2133 unittest.expect(o.content, unittest.equals('foo')); 2135 unittest.expect(o.content, unittest.equals('foo'));
2134 unittest.expect(o.name, unittest.equals('foo')); 2136 unittest.expect(o.name, unittest.equals('foo'));
2135 checkUnnamed1271(o.subpages); 2137 checkUnnamed1297(o.subpages);
2136 } 2138 }
2137 buildCounterPage--; 2139 buildCounterPage--;
2138 } 2140 }
2139 2141
2140 buildUnnamed1272() { 2142 buildUnnamed1298() {
2141 var o = new core.List<api.AuditConfig>(); 2143 var o = new core.List<api.AuditConfig>();
2142 o.add(buildAuditConfig()); 2144 o.add(buildAuditConfig());
2143 o.add(buildAuditConfig()); 2145 o.add(buildAuditConfig());
2144 return o; 2146 return o;
2145 } 2147 }
2146 2148
2147 checkUnnamed1272(core.List<api.AuditConfig> o) { 2149 checkUnnamed1298(core.List<api.AuditConfig> o) {
2148 unittest.expect(o, unittest.hasLength(2)); 2150 unittest.expect(o, unittest.hasLength(2));
2149 checkAuditConfig(o[0]); 2151 checkAuditConfig(o[0]);
2150 checkAuditConfig(o[1]); 2152 checkAuditConfig(o[1]);
2151 } 2153 }
2152 2154
2153 buildUnnamed1273() { 2155 buildUnnamed1299() {
2154 var o = new core.List<api.Binding>(); 2156 var o = new core.List<api.Binding>();
2155 o.add(buildBinding()); 2157 o.add(buildBinding());
2156 o.add(buildBinding()); 2158 o.add(buildBinding());
2157 return o; 2159 return o;
2158 } 2160 }
2159 2161
2160 checkUnnamed1273(core.List<api.Binding> o) { 2162 checkUnnamed1299(core.List<api.Binding> o) {
2161 unittest.expect(o, unittest.hasLength(2)); 2163 unittest.expect(o, unittest.hasLength(2));
2162 checkBinding(o[0]); 2164 checkBinding(o[0]);
2163 checkBinding(o[1]); 2165 checkBinding(o[1]);
2164 } 2166 }
2165 2167
2166 buildUnnamed1274() { 2168 buildUnnamed1300() {
2167 var o = new core.List<api.Rule>(); 2169 var o = new core.List<api.Rule>();
2168 o.add(buildRule()); 2170 o.add(buildRule());
2169 o.add(buildRule()); 2171 o.add(buildRule());
2170 return o; 2172 return o;
2171 } 2173 }
2172 2174
2173 checkUnnamed1274(core.List<api.Rule> o) { 2175 checkUnnamed1300(core.List<api.Rule> o) {
2174 unittest.expect(o, unittest.hasLength(2)); 2176 unittest.expect(o, unittest.hasLength(2));
2175 checkRule(o[0]); 2177 checkRule(o[0]);
2176 checkRule(o[1]); 2178 checkRule(o[1]);
2177 } 2179 }
2178 2180
2179 core.int buildCounterPolicy = 0; 2181 core.int buildCounterPolicy = 0;
2180 buildPolicy() { 2182 buildPolicy() {
2181 var o = new api.Policy(); 2183 var o = new api.Policy();
2182 buildCounterPolicy++; 2184 buildCounterPolicy++;
2183 if (buildCounterPolicy < 3) { 2185 if (buildCounterPolicy < 3) {
2184 o.auditConfigs = buildUnnamed1272(); 2186 o.auditConfigs = buildUnnamed1298();
2185 o.bindings = buildUnnamed1273(); 2187 o.bindings = buildUnnamed1299();
2186 o.etag = "foo"; 2188 o.etag = "foo";
2187 o.iamOwned = true; 2189 o.iamOwned = true;
2188 o.rules = buildUnnamed1274(); 2190 o.rules = buildUnnamed1300();
2189 o.version = 42; 2191 o.version = 42;
2190 } 2192 }
2191 buildCounterPolicy--; 2193 buildCounterPolicy--;
2192 return o; 2194 return o;
2193 } 2195 }
2194 2196
2195 checkPolicy(api.Policy o) { 2197 checkPolicy(api.Policy o) {
2196 buildCounterPolicy++; 2198 buildCounterPolicy++;
2197 if (buildCounterPolicy < 3) { 2199 if (buildCounterPolicy < 3) {
2198 checkUnnamed1272(o.auditConfigs); 2200 checkUnnamed1298(o.auditConfigs);
2199 checkUnnamed1273(o.bindings); 2201 checkUnnamed1299(o.bindings);
2200 unittest.expect(o.etag, unittest.equals('foo')); 2202 unittest.expect(o.etag, unittest.equals('foo'));
2201 unittest.expect(o.iamOwned, unittest.isTrue); 2203 unittest.expect(o.iamOwned, unittest.isTrue);
2202 checkUnnamed1274(o.rules); 2204 checkUnnamed1300(o.rules);
2203 unittest.expect(o.version, unittest.equals(42)); 2205 unittest.expect(o.version, unittest.equals(42));
2204 } 2206 }
2205 buildCounterPolicy--; 2207 buildCounterPolicy--;
2206 } 2208 }
2207 2209
2208 core.int buildCounterRollout = 0; 2210 core.int buildCounterRollout = 0;
2209 buildRollout() { 2211 buildRollout() {
2210 var o = new api.Rollout(); 2212 var o = new api.Rollout();
2211 buildCounterRollout++; 2213 buildCounterRollout++;
2212 if (buildCounterRollout < 3) { 2214 if (buildCounterRollout < 3) {
(...skipping 16 matching lines...) Expand all
2229 unittest.expect(o.createdBy, unittest.equals('foo')); 2231 unittest.expect(o.createdBy, unittest.equals('foo'));
2230 checkDeleteServiceStrategy(o.deleteServiceStrategy); 2232 checkDeleteServiceStrategy(o.deleteServiceStrategy);
2231 unittest.expect(o.rolloutId, unittest.equals('foo')); 2233 unittest.expect(o.rolloutId, unittest.equals('foo'));
2232 unittest.expect(o.serviceName, unittest.equals('foo')); 2234 unittest.expect(o.serviceName, unittest.equals('foo'));
2233 unittest.expect(o.status, unittest.equals('foo')); 2235 unittest.expect(o.status, unittest.equals('foo'));
2234 checkTrafficPercentStrategy(o.trafficPercentStrategy); 2236 checkTrafficPercentStrategy(o.trafficPercentStrategy);
2235 } 2237 }
2236 buildCounterRollout--; 2238 buildCounterRollout--;
2237 } 2239 }
2238 2240
2239 buildUnnamed1275() { 2241 buildUnnamed1301() {
2240 var o = new core.List<api.Condition>(); 2242 var o = new core.List<api.Condition>();
2241 o.add(buildCondition()); 2243 o.add(buildCondition());
2242 o.add(buildCondition()); 2244 o.add(buildCondition());
2243 return o; 2245 return o;
2244 } 2246 }
2245 2247
2246 checkUnnamed1275(core.List<api.Condition> o) { 2248 checkUnnamed1301(core.List<api.Condition> o) {
2247 unittest.expect(o, unittest.hasLength(2)); 2249 unittest.expect(o, unittest.hasLength(2));
2248 checkCondition(o[0]); 2250 checkCondition(o[0]);
2249 checkCondition(o[1]); 2251 checkCondition(o[1]);
2250 } 2252 }
2251 2253
2252 buildUnnamed1276() { 2254 buildUnnamed1302() {
2253 var o = new core.List<core.String>(); 2255 var o = new core.List<core.String>();
2254 o.add("foo"); 2256 o.add("foo");
2255 o.add("foo"); 2257 o.add("foo");
2256 return o; 2258 return o;
2257 } 2259 }
2258 2260
2259 checkUnnamed1276(core.List<core.String> o) { 2261 checkUnnamed1302(core.List<core.String> o) {
2260 unittest.expect(o, unittest.hasLength(2)); 2262 unittest.expect(o, unittest.hasLength(2));
2261 unittest.expect(o[0], unittest.equals('foo')); 2263 unittest.expect(o[0], unittest.equals('foo'));
2262 unittest.expect(o[1], unittest.equals('foo')); 2264 unittest.expect(o[1], unittest.equals('foo'));
2263 } 2265 }
2264 2266
2265 buildUnnamed1277() { 2267 buildUnnamed1303() {
2266 var o = new core.List<api.LogConfig>(); 2268 var o = new core.List<api.LogConfig>();
2267 o.add(buildLogConfig()); 2269 o.add(buildLogConfig());
2268 o.add(buildLogConfig()); 2270 o.add(buildLogConfig());
2269 return o; 2271 return o;
2270 } 2272 }
2271 2273
2272 checkUnnamed1277(core.List<api.LogConfig> o) { 2274 checkUnnamed1303(core.List<api.LogConfig> o) {
2273 unittest.expect(o, unittest.hasLength(2)); 2275 unittest.expect(o, unittest.hasLength(2));
2274 checkLogConfig(o[0]); 2276 checkLogConfig(o[0]);
2275 checkLogConfig(o[1]); 2277 checkLogConfig(o[1]);
2276 } 2278 }
2277 2279
2278 buildUnnamed1278() { 2280 buildUnnamed1304() {
2279 var o = new core.List<core.String>(); 2281 var o = new core.List<core.String>();
2280 o.add("foo"); 2282 o.add("foo");
2281 o.add("foo"); 2283 o.add("foo");
2282 return o; 2284 return o;
2283 } 2285 }
2284 2286
2285 checkUnnamed1278(core.List<core.String> o) { 2287 checkUnnamed1304(core.List<core.String> o) {
2286 unittest.expect(o, unittest.hasLength(2)); 2288 unittest.expect(o, unittest.hasLength(2));
2287 unittest.expect(o[0], unittest.equals('foo')); 2289 unittest.expect(o[0], unittest.equals('foo'));
2288 unittest.expect(o[1], unittest.equals('foo')); 2290 unittest.expect(o[1], unittest.equals('foo'));
2289 } 2291 }
2290 2292
2291 buildUnnamed1279() { 2293 buildUnnamed1305() {
2292 var o = new core.List<core.String>(); 2294 var o = new core.List<core.String>();
2293 o.add("foo"); 2295 o.add("foo");
2294 o.add("foo"); 2296 o.add("foo");
2295 return o; 2297 return o;
2296 } 2298 }
2297 2299
2298 checkUnnamed1279(core.List<core.String> o) { 2300 checkUnnamed1305(core.List<core.String> o) {
2299 unittest.expect(o, unittest.hasLength(2)); 2301 unittest.expect(o, unittest.hasLength(2));
2300 unittest.expect(o[0], unittest.equals('foo')); 2302 unittest.expect(o[0], unittest.equals('foo'));
2301 unittest.expect(o[1], unittest.equals('foo')); 2303 unittest.expect(o[1], unittest.equals('foo'));
2302 } 2304 }
2303 2305
2304 core.int buildCounterRule = 0; 2306 core.int buildCounterRule = 0;
2305 buildRule() { 2307 buildRule() {
2306 var o = new api.Rule(); 2308 var o = new api.Rule();
2307 buildCounterRule++; 2309 buildCounterRule++;
2308 if (buildCounterRule < 3) { 2310 if (buildCounterRule < 3) {
2309 o.action = "foo"; 2311 o.action = "foo";
2310 o.conditions = buildUnnamed1275(); 2312 o.conditions = buildUnnamed1301();
2311 o.description = "foo"; 2313 o.description = "foo";
2312 o.in_ = buildUnnamed1276(); 2314 o.in_ = buildUnnamed1302();
2313 o.logConfig = buildUnnamed1277(); 2315 o.logConfig = buildUnnamed1303();
2314 o.notIn = buildUnnamed1278(); 2316 o.notIn = buildUnnamed1304();
2315 o.permissions = buildUnnamed1279(); 2317 o.permissions = buildUnnamed1305();
2316 } 2318 }
2317 buildCounterRule--; 2319 buildCounterRule--;
2318 return o; 2320 return o;
2319 } 2321 }
2320 2322
2321 checkRule(api.Rule o) { 2323 checkRule(api.Rule o) {
2322 buildCounterRule++; 2324 buildCounterRule++;
2323 if (buildCounterRule < 3) { 2325 if (buildCounterRule < 3) {
2324 unittest.expect(o.action, unittest.equals('foo')); 2326 unittest.expect(o.action, unittest.equals('foo'));
2325 checkUnnamed1275(o.conditions); 2327 checkUnnamed1301(o.conditions);
2326 unittest.expect(o.description, unittest.equals('foo')); 2328 unittest.expect(o.description, unittest.equals('foo'));
2327 checkUnnamed1276(o.in_); 2329 checkUnnamed1302(o.in_);
2328 checkUnnamed1277(o.logConfig); 2330 checkUnnamed1303(o.logConfig);
2329 checkUnnamed1278(o.notIn); 2331 checkUnnamed1304(o.notIn);
2330 checkUnnamed1279(o.permissions); 2332 checkUnnamed1305(o.permissions);
2331 } 2333 }
2332 buildCounterRule--; 2334 buildCounterRule--;
2333 } 2335 }
2334 2336
2335 buildUnnamed1280() { 2337 buildUnnamed1306() {
2336 var o = new core.List<api.Api>(); 2338 var o = new core.List<api.Api>();
2337 o.add(buildApi()); 2339 o.add(buildApi());
2338 o.add(buildApi()); 2340 o.add(buildApi());
2339 return o; 2341 return o;
2340 } 2342 }
2341 2343
2342 checkUnnamed1280(core.List<api.Api> o) { 2344 checkUnnamed1306(core.List<api.Api> o) {
2343 unittest.expect(o, unittest.hasLength(2)); 2345 unittest.expect(o, unittest.hasLength(2));
2344 checkApi(o[0]); 2346 checkApi(o[0]);
2345 checkApi(o[1]); 2347 checkApi(o[1]);
2346 } 2348 }
2347 2349
2348 buildUnnamed1281() { 2350 buildUnnamed1307() {
2349 var o = new core.List<api.Endpoint>(); 2351 var o = new core.List<api.Endpoint>();
2350 o.add(buildEndpoint()); 2352 o.add(buildEndpoint());
2351 o.add(buildEndpoint()); 2353 o.add(buildEndpoint());
2352 return o; 2354 return o;
2353 } 2355 }
2354 2356
2355 checkUnnamed1281(core.List<api.Endpoint> o) { 2357 checkUnnamed1307(core.List<api.Endpoint> o) {
2356 unittest.expect(o, unittest.hasLength(2)); 2358 unittest.expect(o, unittest.hasLength(2));
2357 checkEndpoint(o[0]); 2359 checkEndpoint(o[0]);
2358 checkEndpoint(o[1]); 2360 checkEndpoint(o[1]);
2359 } 2361 }
2360 2362
2361 buildUnnamed1282() { 2363 buildUnnamed1308() {
2362 var o = new core.List<api.Enum>(); 2364 var o = new core.List<api.Enum>();
2363 o.add(buildEnum()); 2365 o.add(buildEnum());
2364 o.add(buildEnum()); 2366 o.add(buildEnum());
2365 return o; 2367 return o;
2366 } 2368 }
2367 2369
2368 checkUnnamed1282(core.List<api.Enum> o) { 2370 checkUnnamed1308(core.List<api.Enum> o) {
2369 unittest.expect(o, unittest.hasLength(2)); 2371 unittest.expect(o, unittest.hasLength(2));
2370 checkEnum(o[0]); 2372 checkEnum(o[0]);
2371 checkEnum(o[1]); 2373 checkEnum(o[1]);
2372 } 2374 }
2373 2375
2374 buildUnnamed1283() { 2376 buildUnnamed1309() {
2375 var o = new core.List<api.LogDescriptor>(); 2377 var o = new core.List<api.LogDescriptor>();
2376 o.add(buildLogDescriptor()); 2378 o.add(buildLogDescriptor());
2377 o.add(buildLogDescriptor()); 2379 o.add(buildLogDescriptor());
2378 return o; 2380 return o;
2379 } 2381 }
2380 2382
2381 checkUnnamed1283(core.List<api.LogDescriptor> o) { 2383 checkUnnamed1309(core.List<api.LogDescriptor> o) {
2382 unittest.expect(o, unittest.hasLength(2)); 2384 unittest.expect(o, unittest.hasLength(2));
2383 checkLogDescriptor(o[0]); 2385 checkLogDescriptor(o[0]);
2384 checkLogDescriptor(o[1]); 2386 checkLogDescriptor(o[1]);
2385 } 2387 }
2386 2388
2387 buildUnnamed1284() { 2389 buildUnnamed1310() {
2388 var o = new core.List<api.MetricDescriptor>(); 2390 var o = new core.List<api.MetricDescriptor>();
2389 o.add(buildMetricDescriptor()); 2391 o.add(buildMetricDescriptor());
2390 o.add(buildMetricDescriptor()); 2392 o.add(buildMetricDescriptor());
2391 return o; 2393 return o;
2392 } 2394 }
2393 2395
2394 checkUnnamed1284(core.List<api.MetricDescriptor> o) { 2396 checkUnnamed1310(core.List<api.MetricDescriptor> o) {
2395 unittest.expect(o, unittest.hasLength(2)); 2397 unittest.expect(o, unittest.hasLength(2));
2396 checkMetricDescriptor(o[0]); 2398 checkMetricDescriptor(o[0]);
2397 checkMetricDescriptor(o[1]); 2399 checkMetricDescriptor(o[1]);
2398 } 2400 }
2399 2401
2400 buildUnnamed1285() { 2402 buildUnnamed1311() {
2401 var o = new core.List<api.MonitoredResourceDescriptor>(); 2403 var o = new core.List<api.MonitoredResourceDescriptor>();
2402 o.add(buildMonitoredResourceDescriptor()); 2404 o.add(buildMonitoredResourceDescriptor());
2403 o.add(buildMonitoredResourceDescriptor()); 2405 o.add(buildMonitoredResourceDescriptor());
2404 return o; 2406 return o;
2405 } 2407 }
2406 2408
2407 checkUnnamed1285(core.List<api.MonitoredResourceDescriptor> o) { 2409 checkUnnamed1311(core.List<api.MonitoredResourceDescriptor> o) {
2408 unittest.expect(o, unittest.hasLength(2)); 2410 unittest.expect(o, unittest.hasLength(2));
2409 checkMonitoredResourceDescriptor(o[0]); 2411 checkMonitoredResourceDescriptor(o[0]);
2410 checkMonitoredResourceDescriptor(o[1]); 2412 checkMonitoredResourceDescriptor(o[1]);
2411 } 2413 }
2412 2414
2413 buildUnnamed1286() { 2415 buildUnnamed1312() {
2414 var o = new core.List<api.Type>(); 2416 var o = new core.List<api.Type>();
2415 o.add(buildType()); 2417 o.add(buildType());
2416 o.add(buildType()); 2418 o.add(buildType());
2417 return o; 2419 return o;
2418 } 2420 }
2419 2421
2420 checkUnnamed1286(core.List<api.Type> o) { 2422 checkUnnamed1312(core.List<api.Type> o) {
2421 unittest.expect(o, unittest.hasLength(2)); 2423 unittest.expect(o, unittest.hasLength(2));
2422 checkType(o[0]); 2424 checkType(o[0]);
2423 checkType(o[1]); 2425 checkType(o[1]);
2424 } 2426 }
2425 2427
2426 buildUnnamed1287() { 2428 buildUnnamed1313() {
2427 var o = new core.List<api.Type>(); 2429 var o = new core.List<api.Type>();
2428 o.add(buildType()); 2430 o.add(buildType());
2429 o.add(buildType()); 2431 o.add(buildType());
2430 return o; 2432 return o;
2431 } 2433 }
2432 2434
2433 checkUnnamed1287(core.List<api.Type> o) { 2435 checkUnnamed1313(core.List<api.Type> o) {
2434 unittest.expect(o, unittest.hasLength(2)); 2436 unittest.expect(o, unittest.hasLength(2));
2435 checkType(o[0]); 2437 checkType(o[0]);
2436 checkType(o[1]); 2438 checkType(o[1]);
2437 } 2439 }
2438 2440
2439 core.int buildCounterService = 0; 2441 core.int buildCounterService = 0;
2440 buildService() { 2442 buildService() {
2441 var o = new api.Service(); 2443 var o = new api.Service();
2442 buildCounterService++; 2444 buildCounterService++;
2443 if (buildCounterService < 3) { 2445 if (buildCounterService < 3) {
2444 o.apis = buildUnnamed1280(); 2446 o.apis = buildUnnamed1306();
2445 o.authentication = buildAuthentication(); 2447 o.authentication = buildAuthentication();
2446 o.backend = buildBackend(); 2448 o.backend = buildBackend();
2447 o.configVersion = 42; 2449 o.configVersion = 42;
2448 o.context = buildContext(); 2450 o.context = buildContext();
2449 o.control = buildControl(); 2451 o.control = buildControl();
2450 o.customError = buildCustomError(); 2452 o.customError = buildCustomError();
2451 o.documentation = buildDocumentation(); 2453 o.documentation = buildDocumentation();
2452 o.endpoints = buildUnnamed1281(); 2454 o.endpoints = buildUnnamed1307();
2453 o.enums = buildUnnamed1282(); 2455 o.enums = buildUnnamed1308();
2454 o.http = buildHttp(); 2456 o.http = buildHttp();
2455 o.id = "foo"; 2457 o.id = "foo";
2456 o.logging = buildLogging(); 2458 o.logging = buildLogging();
2457 o.logs = buildUnnamed1283(); 2459 o.logs = buildUnnamed1309();
2458 o.metrics = buildUnnamed1284(); 2460 o.metrics = buildUnnamed1310();
2459 o.monitoredResources = buildUnnamed1285(); 2461 o.monitoredResources = buildUnnamed1311();
2460 o.monitoring = buildMonitoring(); 2462 o.monitoring = buildMonitoring();
2461 o.name = "foo"; 2463 o.name = "foo";
2462 o.producerProjectId = "foo"; 2464 o.producerProjectId = "foo";
2463 o.systemParameters = buildSystemParameters(); 2465 o.systemParameters = buildSystemParameters();
2464 o.systemTypes = buildUnnamed1286(); 2466 o.systemTypes = buildUnnamed1312();
2465 o.title = "foo"; 2467 o.title = "foo";
2466 o.types = buildUnnamed1287(); 2468 o.types = buildUnnamed1313();
2467 o.usage = buildUsage(); 2469 o.usage = buildUsage();
2468 o.visibility = buildVisibility(); 2470 o.visibility = buildVisibility();
2469 } 2471 }
2470 buildCounterService--; 2472 buildCounterService--;
2471 return o; 2473 return o;
2472 } 2474 }
2473 2475
2474 checkService(api.Service o) { 2476 checkService(api.Service o) {
2475 buildCounterService++; 2477 buildCounterService++;
2476 if (buildCounterService < 3) { 2478 if (buildCounterService < 3) {
2477 checkUnnamed1280(o.apis); 2479 checkUnnamed1306(o.apis);
2478 checkAuthentication(o.authentication); 2480 checkAuthentication(o.authentication);
2479 checkBackend(o.backend); 2481 checkBackend(o.backend);
2480 unittest.expect(o.configVersion, unittest.equals(42)); 2482 unittest.expect(o.configVersion, unittest.equals(42));
2481 checkContext(o.context); 2483 checkContext(o.context);
2482 checkControl(o.control); 2484 checkControl(o.control);
2483 checkCustomError(o.customError); 2485 checkCustomError(o.customError);
2484 checkDocumentation(o.documentation); 2486 checkDocumentation(o.documentation);
2485 checkUnnamed1281(o.endpoints); 2487 checkUnnamed1307(o.endpoints);
2486 checkUnnamed1282(o.enums); 2488 checkUnnamed1308(o.enums);
2487 checkHttp(o.http); 2489 checkHttp(o.http);
2488 unittest.expect(o.id, unittest.equals('foo')); 2490 unittest.expect(o.id, unittest.equals('foo'));
2489 checkLogging(o.logging); 2491 checkLogging(o.logging);
2490 checkUnnamed1283(o.logs); 2492 checkUnnamed1309(o.logs);
2491 checkUnnamed1284(o.metrics); 2493 checkUnnamed1310(o.metrics);
2492 checkUnnamed1285(o.monitoredResources); 2494 checkUnnamed1311(o.monitoredResources);
2493 checkMonitoring(o.monitoring); 2495 checkMonitoring(o.monitoring);
2494 unittest.expect(o.name, unittest.equals('foo')); 2496 unittest.expect(o.name, unittest.equals('foo'));
2495 unittest.expect(o.producerProjectId, unittest.equals('foo')); 2497 unittest.expect(o.producerProjectId, unittest.equals('foo'));
2496 checkSystemParameters(o.systemParameters); 2498 checkSystemParameters(o.systemParameters);
2497 checkUnnamed1286(o.systemTypes); 2499 checkUnnamed1312(o.systemTypes);
2498 unittest.expect(o.title, unittest.equals('foo')); 2500 unittest.expect(o.title, unittest.equals('foo'));
2499 checkUnnamed1287(o.types); 2501 checkUnnamed1313(o.types);
2500 checkUsage(o.usage); 2502 checkUsage(o.usage);
2501 checkVisibility(o.visibility); 2503 checkVisibility(o.visibility);
2502 } 2504 }
2503 buildCounterService--; 2505 buildCounterService--;
2504 } 2506 }
2505 2507
2506 core.int buildCounterSetIamPolicyRequest = 0; 2508 core.int buildCounterSetIamPolicyRequest = 0;
2507 buildSetIamPolicyRequest() { 2509 buildSetIamPolicyRequest() {
2508 var o = new api.SetIamPolicyRequest(); 2510 var o = new api.SetIamPolicyRequest();
2509 buildCounterSetIamPolicyRequest++; 2511 buildCounterSetIamPolicyRequest++;
(...skipping 24 matching lines...) Expand all
2534 } 2536 }
2535 2537
2536 checkSourceContext(api.SourceContext o) { 2538 checkSourceContext(api.SourceContext o) {
2537 buildCounterSourceContext++; 2539 buildCounterSourceContext++;
2538 if (buildCounterSourceContext < 3) { 2540 if (buildCounterSourceContext < 3) {
2539 unittest.expect(o.fileName, unittest.equals('foo')); 2541 unittest.expect(o.fileName, unittest.equals('foo'));
2540 } 2542 }
2541 buildCounterSourceContext--; 2543 buildCounterSourceContext--;
2542 } 2544 }
2543 2545
2544 buildUnnamed1288() { 2546 buildUnnamed1314() {
2545 var o = new core.Map<core.String, core.Object>(); 2547 var o = new core.Map<core.String, core.Object>();
2546 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2548 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2547 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2549 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2548 return o; 2550 return o;
2549 } 2551 }
2550 2552
2551 checkUnnamed1288(core.Map<core.String, core.Object> o) { 2553 checkUnnamed1314(core.Map<core.String, core.Object> o) {
2552 unittest.expect(o, unittest.hasLength(2)); 2554 unittest.expect(o, unittest.hasLength(2));
2553 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest .expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri ng"], unittest.equals('foo')); 2555 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest .expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri ng"], unittest.equals('foo'));
2554 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest .expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri ng"], unittest.equals('foo')); 2556 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest .expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri ng"], unittest.equals('foo'));
2555 } 2557 }
2556 2558
2557 buildUnnamed1289() { 2559 buildUnnamed1315() {
2558 var o = new core.List<core.Map<core.String, core.Object>>(); 2560 var o = new core.List<core.Map<core.String, core.Object>>();
2559 o.add(buildUnnamed1288()); 2561 o.add(buildUnnamed1314());
2560 o.add(buildUnnamed1288()); 2562 o.add(buildUnnamed1314());
2561 return o; 2563 return o;
2562 } 2564 }
2563 2565
2564 checkUnnamed1289(core.List<core.Map<core.String, core.Object>> o) { 2566 checkUnnamed1315(core.List<core.Map<core.String, core.Object>> o) {
2565 unittest.expect(o, unittest.hasLength(2)); 2567 unittest.expect(o, unittest.hasLength(2));
2566 checkUnnamed1288(o[0]); 2568 checkUnnamed1314(o[0]);
2567 checkUnnamed1288(o[1]); 2569 checkUnnamed1314(o[1]);
2568 } 2570 }
2569 2571
2570 core.int buildCounterStatus = 0; 2572 core.int buildCounterStatus = 0;
2571 buildStatus() { 2573 buildStatus() {
2572 var o = new api.Status(); 2574 var o = new api.Status();
2573 buildCounterStatus++; 2575 buildCounterStatus++;
2574 if (buildCounterStatus < 3) { 2576 if (buildCounterStatus < 3) {
2575 o.code = 42; 2577 o.code = 42;
2576 o.details = buildUnnamed1289(); 2578 o.details = buildUnnamed1315();
2577 o.message = "foo"; 2579 o.message = "foo";
2578 } 2580 }
2579 buildCounterStatus--; 2581 buildCounterStatus--;
2580 return o; 2582 return o;
2581 } 2583 }
2582 2584
2583 checkStatus(api.Status o) { 2585 checkStatus(api.Status o) {
2584 buildCounterStatus++; 2586 buildCounterStatus++;
2585 if (buildCounterStatus < 3) { 2587 if (buildCounterStatus < 3) {
2586 unittest.expect(o.code, unittest.equals(42)); 2588 unittest.expect(o.code, unittest.equals(42));
2587 checkUnnamed1289(o.details); 2589 checkUnnamed1315(o.details);
2588 unittest.expect(o.message, unittest.equals('foo')); 2590 unittest.expect(o.message, unittest.equals('foo'));
2589 } 2591 }
2590 buildCounterStatus--; 2592 buildCounterStatus--;
2591 } 2593 }
2592 2594
2593 core.int buildCounterStep = 0; 2595 core.int buildCounterStep = 0;
2594 buildStep() { 2596 buildStep() {
2595 var o = new api.Step(); 2597 var o = new api.Step();
2596 buildCounterStep++; 2598 buildCounterStep++;
2597 if (buildCounterStep < 3) { 2599 if (buildCounterStep < 3) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 checkSystemParameter(api.SystemParameter o) { 2669 checkSystemParameter(api.SystemParameter o) {
2668 buildCounterSystemParameter++; 2670 buildCounterSystemParameter++;
2669 if (buildCounterSystemParameter < 3) { 2671 if (buildCounterSystemParameter < 3) {
2670 unittest.expect(o.httpHeader, unittest.equals('foo')); 2672 unittest.expect(o.httpHeader, unittest.equals('foo'));
2671 unittest.expect(o.name, unittest.equals('foo')); 2673 unittest.expect(o.name, unittest.equals('foo'));
2672 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); 2674 unittest.expect(o.urlQueryParameter, unittest.equals('foo'));
2673 } 2675 }
2674 buildCounterSystemParameter--; 2676 buildCounterSystemParameter--;
2675 } 2677 }
2676 2678
2677 buildUnnamed1290() { 2679 buildUnnamed1316() {
2678 var o = new core.List<api.SystemParameter>(); 2680 var o = new core.List<api.SystemParameter>();
2679 o.add(buildSystemParameter()); 2681 o.add(buildSystemParameter());
2680 o.add(buildSystemParameter()); 2682 o.add(buildSystemParameter());
2681 return o; 2683 return o;
2682 } 2684 }
2683 2685
2684 checkUnnamed1290(core.List<api.SystemParameter> o) { 2686 checkUnnamed1316(core.List<api.SystemParameter> o) {
2685 unittest.expect(o, unittest.hasLength(2)); 2687 unittest.expect(o, unittest.hasLength(2));
2686 checkSystemParameter(o[0]); 2688 checkSystemParameter(o[0]);
2687 checkSystemParameter(o[1]); 2689 checkSystemParameter(o[1]);
2688 } 2690 }
2689 2691
2690 core.int buildCounterSystemParameterRule = 0; 2692 core.int buildCounterSystemParameterRule = 0;
2691 buildSystemParameterRule() { 2693 buildSystemParameterRule() {
2692 var o = new api.SystemParameterRule(); 2694 var o = new api.SystemParameterRule();
2693 buildCounterSystemParameterRule++; 2695 buildCounterSystemParameterRule++;
2694 if (buildCounterSystemParameterRule < 3) { 2696 if (buildCounterSystemParameterRule < 3) {
2695 o.parameters = buildUnnamed1290(); 2697 o.parameters = buildUnnamed1316();
2696 o.selector = "foo"; 2698 o.selector = "foo";
2697 } 2699 }
2698 buildCounterSystemParameterRule--; 2700 buildCounterSystemParameterRule--;
2699 return o; 2701 return o;
2700 } 2702 }
2701 2703
2702 checkSystemParameterRule(api.SystemParameterRule o) { 2704 checkSystemParameterRule(api.SystemParameterRule o) {
2703 buildCounterSystemParameterRule++; 2705 buildCounterSystemParameterRule++;
2704 if (buildCounterSystemParameterRule < 3) { 2706 if (buildCounterSystemParameterRule < 3) {
2705 checkUnnamed1290(o.parameters); 2707 checkUnnamed1316(o.parameters);
2706 unittest.expect(o.selector, unittest.equals('foo')); 2708 unittest.expect(o.selector, unittest.equals('foo'));
2707 } 2709 }
2708 buildCounterSystemParameterRule--; 2710 buildCounterSystemParameterRule--;
2709 } 2711 }
2710 2712
2711 buildUnnamed1291() { 2713 buildUnnamed1317() {
2712 var o = new core.List<api.SystemParameterRule>(); 2714 var o = new core.List<api.SystemParameterRule>();
2713 o.add(buildSystemParameterRule()); 2715 o.add(buildSystemParameterRule());
2714 o.add(buildSystemParameterRule()); 2716 o.add(buildSystemParameterRule());
2715 return o; 2717 return o;
2716 } 2718 }
2717 2719
2718 checkUnnamed1291(core.List<api.SystemParameterRule> o) { 2720 checkUnnamed1317(core.List<api.SystemParameterRule> o) {
2719 unittest.expect(o, unittest.hasLength(2)); 2721 unittest.expect(o, unittest.hasLength(2));
2720 checkSystemParameterRule(o[0]); 2722 checkSystemParameterRule(o[0]);
2721 checkSystemParameterRule(o[1]); 2723 checkSystemParameterRule(o[1]);
2722 } 2724 }
2723 2725
2724 core.int buildCounterSystemParameters = 0; 2726 core.int buildCounterSystemParameters = 0;
2725 buildSystemParameters() { 2727 buildSystemParameters() {
2726 var o = new api.SystemParameters(); 2728 var o = new api.SystemParameters();
2727 buildCounterSystemParameters++; 2729 buildCounterSystemParameters++;
2728 if (buildCounterSystemParameters < 3) { 2730 if (buildCounterSystemParameters < 3) {
2729 o.rules = buildUnnamed1291(); 2731 o.rules = buildUnnamed1317();
2730 } 2732 }
2731 buildCounterSystemParameters--; 2733 buildCounterSystemParameters--;
2732 return o; 2734 return o;
2733 } 2735 }
2734 2736
2735 checkSystemParameters(api.SystemParameters o) { 2737 checkSystemParameters(api.SystemParameters o) {
2736 buildCounterSystemParameters++; 2738 buildCounterSystemParameters++;
2737 if (buildCounterSystemParameters < 3) { 2739 if (buildCounterSystemParameters < 3) {
2738 checkUnnamed1291(o.rules); 2740 checkUnnamed1317(o.rules);
2739 } 2741 }
2740 buildCounterSystemParameters--; 2742 buildCounterSystemParameters--;
2741 } 2743 }
2742 2744
2743 buildUnnamed1292() { 2745 buildUnnamed1318() {
2744 var o = new core.List<core.String>(); 2746 var o = new core.List<core.String>();
2745 o.add("foo"); 2747 o.add("foo");
2746 o.add("foo"); 2748 o.add("foo");
2747 return o; 2749 return o;
2748 } 2750 }
2749 2751
2750 checkUnnamed1292(core.List<core.String> o) { 2752 checkUnnamed1318(core.List<core.String> o) {
2751 unittest.expect(o, unittest.hasLength(2)); 2753 unittest.expect(o, unittest.hasLength(2));
2752 unittest.expect(o[0], unittest.equals('foo')); 2754 unittest.expect(o[0], unittest.equals('foo'));
2753 unittest.expect(o[1], unittest.equals('foo')); 2755 unittest.expect(o[1], unittest.equals('foo'));
2754 } 2756 }
2755 2757
2756 core.int buildCounterTestIamPermissionsRequest = 0; 2758 core.int buildCounterTestIamPermissionsRequest = 0;
2757 buildTestIamPermissionsRequest() { 2759 buildTestIamPermissionsRequest() {
2758 var o = new api.TestIamPermissionsRequest(); 2760 var o = new api.TestIamPermissionsRequest();
2759 buildCounterTestIamPermissionsRequest++; 2761 buildCounterTestIamPermissionsRequest++;
2760 if (buildCounterTestIamPermissionsRequest < 3) { 2762 if (buildCounterTestIamPermissionsRequest < 3) {
2761 o.permissions = buildUnnamed1292(); 2763 o.permissions = buildUnnamed1318();
2762 } 2764 }
2763 buildCounterTestIamPermissionsRequest--; 2765 buildCounterTestIamPermissionsRequest--;
2764 return o; 2766 return o;
2765 } 2767 }
2766 2768
2767 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { 2769 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
2768 buildCounterTestIamPermissionsRequest++; 2770 buildCounterTestIamPermissionsRequest++;
2769 if (buildCounterTestIamPermissionsRequest < 3) { 2771 if (buildCounterTestIamPermissionsRequest < 3) {
2770 checkUnnamed1292(o.permissions); 2772 checkUnnamed1318(o.permissions);
2771 } 2773 }
2772 buildCounterTestIamPermissionsRequest--; 2774 buildCounterTestIamPermissionsRequest--;
2773 } 2775 }
2774 2776
2775 buildUnnamed1293() { 2777 buildUnnamed1319() {
2776 var o = new core.List<core.String>(); 2778 var o = new core.List<core.String>();
2777 o.add("foo"); 2779 o.add("foo");
2778 o.add("foo"); 2780 o.add("foo");
2779 return o; 2781 return o;
2780 } 2782 }
2781 2783
2782 checkUnnamed1293(core.List<core.String> o) { 2784 checkUnnamed1319(core.List<core.String> o) {
2783 unittest.expect(o, unittest.hasLength(2)); 2785 unittest.expect(o, unittest.hasLength(2));
2784 unittest.expect(o[0], unittest.equals('foo')); 2786 unittest.expect(o[0], unittest.equals('foo'));
2785 unittest.expect(o[1], unittest.equals('foo')); 2787 unittest.expect(o[1], unittest.equals('foo'));
2786 } 2788 }
2787 2789
2788 core.int buildCounterTestIamPermissionsResponse = 0; 2790 core.int buildCounterTestIamPermissionsResponse = 0;
2789 buildTestIamPermissionsResponse() { 2791 buildTestIamPermissionsResponse() {
2790 var o = new api.TestIamPermissionsResponse(); 2792 var o = new api.TestIamPermissionsResponse();
2791 buildCounterTestIamPermissionsResponse++; 2793 buildCounterTestIamPermissionsResponse++;
2792 if (buildCounterTestIamPermissionsResponse < 3) { 2794 if (buildCounterTestIamPermissionsResponse < 3) {
2793 o.permissions = buildUnnamed1293(); 2795 o.permissions = buildUnnamed1319();
2794 } 2796 }
2795 buildCounterTestIamPermissionsResponse--; 2797 buildCounterTestIamPermissionsResponse--;
2796 return o; 2798 return o;
2797 } 2799 }
2798 2800
2799 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { 2801 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
2800 buildCounterTestIamPermissionsResponse++; 2802 buildCounterTestIamPermissionsResponse++;
2801 if (buildCounterTestIamPermissionsResponse < 3) { 2803 if (buildCounterTestIamPermissionsResponse < 3) {
2802 checkUnnamed1293(o.permissions); 2804 checkUnnamed1319(o.permissions);
2803 } 2805 }
2804 buildCounterTestIamPermissionsResponse--; 2806 buildCounterTestIamPermissionsResponse--;
2805 } 2807 }
2806 2808
2807 buildUnnamed1294() { 2809 buildUnnamed1320() {
2808 var o = new core.Map<core.String, core.double>(); 2810 var o = new core.Map<core.String, core.double>();
2809 o["x"] = 42.0; 2811 o["x"] = 42.0;
2810 o["y"] = 42.0; 2812 o["y"] = 42.0;
2811 return o; 2813 return o;
2812 } 2814 }
2813 2815
2814 checkUnnamed1294(core.Map<core.String, core.double> o) { 2816 checkUnnamed1320(core.Map<core.String, core.double> o) {
2815 unittest.expect(o, unittest.hasLength(2)); 2817 unittest.expect(o, unittest.hasLength(2));
2816 unittest.expect(o["x"], unittest.equals(42.0)); 2818 unittest.expect(o["x"], unittest.equals(42.0));
2817 unittest.expect(o["y"], unittest.equals(42.0)); 2819 unittest.expect(o["y"], unittest.equals(42.0));
2818 } 2820 }
2819 2821
2820 core.int buildCounterTrafficPercentStrategy = 0; 2822 core.int buildCounterTrafficPercentStrategy = 0;
2821 buildTrafficPercentStrategy() { 2823 buildTrafficPercentStrategy() {
2822 var o = new api.TrafficPercentStrategy(); 2824 var o = new api.TrafficPercentStrategy();
2823 buildCounterTrafficPercentStrategy++; 2825 buildCounterTrafficPercentStrategy++;
2824 if (buildCounterTrafficPercentStrategy < 3) { 2826 if (buildCounterTrafficPercentStrategy < 3) {
2825 o.percentages = buildUnnamed1294(); 2827 o.percentages = buildUnnamed1320();
2826 } 2828 }
2827 buildCounterTrafficPercentStrategy--; 2829 buildCounterTrafficPercentStrategy--;
2828 return o; 2830 return o;
2829 } 2831 }
2830 2832
2831 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { 2833 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
2832 buildCounterTrafficPercentStrategy++; 2834 buildCounterTrafficPercentStrategy++;
2833 if (buildCounterTrafficPercentStrategy < 3) { 2835 if (buildCounterTrafficPercentStrategy < 3) {
2834 checkUnnamed1294(o.percentages); 2836 checkUnnamed1320(o.percentages);
2835 } 2837 }
2836 buildCounterTrafficPercentStrategy--; 2838 buildCounterTrafficPercentStrategy--;
2837 } 2839 }
2838 2840
2839 buildUnnamed1295() { 2841 buildUnnamed1321() {
2840 var o = new core.List<api.Field>(); 2842 var o = new core.List<api.Field>();
2841 o.add(buildField()); 2843 o.add(buildField());
2842 o.add(buildField()); 2844 o.add(buildField());
2843 return o; 2845 return o;
2844 } 2846 }
2845 2847
2846 checkUnnamed1295(core.List<api.Field> o) { 2848 checkUnnamed1321(core.List<api.Field> o) {
2847 unittest.expect(o, unittest.hasLength(2)); 2849 unittest.expect(o, unittest.hasLength(2));
2848 checkField(o[0]); 2850 checkField(o[0]);
2849 checkField(o[1]); 2851 checkField(o[1]);
2850 } 2852 }
2851 2853
2852 buildUnnamed1296() { 2854 buildUnnamed1322() {
2853 var o = new core.List<core.String>(); 2855 var o = new core.List<core.String>();
2854 o.add("foo"); 2856 o.add("foo");
2855 o.add("foo"); 2857 o.add("foo");
2856 return o; 2858 return o;
2857 } 2859 }
2858 2860
2859 checkUnnamed1296(core.List<core.String> o) { 2861 checkUnnamed1322(core.List<core.String> o) {
2860 unittest.expect(o, unittest.hasLength(2)); 2862 unittest.expect(o, unittest.hasLength(2));
2861 unittest.expect(o[0], unittest.equals('foo')); 2863 unittest.expect(o[0], unittest.equals('foo'));
2862 unittest.expect(o[1], unittest.equals('foo')); 2864 unittest.expect(o[1], unittest.equals('foo'));
2863 } 2865 }
2864 2866
2865 buildUnnamed1297() { 2867 buildUnnamed1323() {
2866 var o = new core.List<api.Option>(); 2868 var o = new core.List<api.Option>();
2867 o.add(buildOption()); 2869 o.add(buildOption());
2868 o.add(buildOption()); 2870 o.add(buildOption());
2869 return o; 2871 return o;
2870 } 2872 }
2871 2873
2872 checkUnnamed1297(core.List<api.Option> o) { 2874 checkUnnamed1323(core.List<api.Option> o) {
2873 unittest.expect(o, unittest.hasLength(2)); 2875 unittest.expect(o, unittest.hasLength(2));
2874 checkOption(o[0]); 2876 checkOption(o[0]);
2875 checkOption(o[1]); 2877 checkOption(o[1]);
2876 } 2878 }
2877 2879
2878 core.int buildCounterType = 0; 2880 core.int buildCounterType = 0;
2879 buildType() { 2881 buildType() {
2880 var o = new api.Type(); 2882 var o = new api.Type();
2881 buildCounterType++; 2883 buildCounterType++;
2882 if (buildCounterType < 3) { 2884 if (buildCounterType < 3) {
2883 o.fields = buildUnnamed1295(); 2885 o.fields = buildUnnamed1321();
2884 o.name = "foo"; 2886 o.name = "foo";
2885 o.oneofs = buildUnnamed1296(); 2887 o.oneofs = buildUnnamed1322();
2886 o.options = buildUnnamed1297(); 2888 o.options = buildUnnamed1323();
2887 o.sourceContext = buildSourceContext(); 2889 o.sourceContext = buildSourceContext();
2888 o.syntax = "foo"; 2890 o.syntax = "foo";
2889 } 2891 }
2890 buildCounterType--; 2892 buildCounterType--;
2891 return o; 2893 return o;
2892 } 2894 }
2893 2895
2894 checkType(api.Type o) { 2896 checkType(api.Type o) {
2895 buildCounterType++; 2897 buildCounterType++;
2896 if (buildCounterType < 3) { 2898 if (buildCounterType < 3) {
2897 checkUnnamed1295(o.fields); 2899 checkUnnamed1321(o.fields);
2898 unittest.expect(o.name, unittest.equals('foo')); 2900 unittest.expect(o.name, unittest.equals('foo'));
2899 checkUnnamed1296(o.oneofs); 2901 checkUnnamed1322(o.oneofs);
2900 checkUnnamed1297(o.options); 2902 checkUnnamed1323(o.options);
2901 checkSourceContext(o.sourceContext); 2903 checkSourceContext(o.sourceContext);
2902 unittest.expect(o.syntax, unittest.equals('foo')); 2904 unittest.expect(o.syntax, unittest.equals('foo'));
2903 } 2905 }
2904 buildCounterType--; 2906 buildCounterType--;
2905 } 2907 }
2906 2908
2907 core.int buildCounterUndeleteServiceResponse = 0; 2909 core.int buildCounterUndeleteServiceResponse = 0;
2908 buildUndeleteServiceResponse() { 2910 buildUndeleteServiceResponse() {
2909 var o = new api.UndeleteServiceResponse(); 2911 var o = new api.UndeleteServiceResponse();
2910 buildCounterUndeleteServiceResponse++; 2912 buildCounterUndeleteServiceResponse++;
2911 if (buildCounterUndeleteServiceResponse < 3) { 2913 if (buildCounterUndeleteServiceResponse < 3) {
2912 o.service = buildManagedService(); 2914 o.service = buildManagedService();
2913 } 2915 }
2914 buildCounterUndeleteServiceResponse--; 2916 buildCounterUndeleteServiceResponse--;
2915 return o; 2917 return o;
2916 } 2918 }
2917 2919
2918 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { 2920 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) {
2919 buildCounterUndeleteServiceResponse++; 2921 buildCounterUndeleteServiceResponse++;
2920 if (buildCounterUndeleteServiceResponse < 3) { 2922 if (buildCounterUndeleteServiceResponse < 3) {
2921 checkManagedService(o.service); 2923 checkManagedService(o.service);
2922 } 2924 }
2923 buildCounterUndeleteServiceResponse--; 2925 buildCounterUndeleteServiceResponse--;
2924 } 2926 }
2925 2927
2926 buildUnnamed1298() { 2928 buildUnnamed1324() {
2927 var o = new core.List<core.String>(); 2929 var o = new core.List<core.String>();
2928 o.add("foo"); 2930 o.add("foo");
2929 o.add("foo"); 2931 o.add("foo");
2930 return o; 2932 return o;
2931 } 2933 }
2932 2934
2933 checkUnnamed1298(core.List<core.String> o) { 2935 checkUnnamed1324(core.List<core.String> o) {
2934 unittest.expect(o, unittest.hasLength(2)); 2936 unittest.expect(o, unittest.hasLength(2));
2935 unittest.expect(o[0], unittest.equals('foo')); 2937 unittest.expect(o[0], unittest.equals('foo'));
2936 unittest.expect(o[1], unittest.equals('foo')); 2938 unittest.expect(o[1], unittest.equals('foo'));
2937 } 2939 }
2938 2940
2939 buildUnnamed1299() { 2941 buildUnnamed1325() {
2940 var o = new core.List<api.UsageRule>(); 2942 var o = new core.List<api.UsageRule>();
2941 o.add(buildUsageRule()); 2943 o.add(buildUsageRule());
2942 o.add(buildUsageRule()); 2944 o.add(buildUsageRule());
2943 return o; 2945 return o;
2944 } 2946 }
2945 2947
2946 checkUnnamed1299(core.List<api.UsageRule> o) { 2948 checkUnnamed1325(core.List<api.UsageRule> o) {
2947 unittest.expect(o, unittest.hasLength(2)); 2949 unittest.expect(o, unittest.hasLength(2));
2948 checkUsageRule(o[0]); 2950 checkUsageRule(o[0]);
2949 checkUsageRule(o[1]); 2951 checkUsageRule(o[1]);
2950 } 2952 }
2951 2953
2952 core.int buildCounterUsage = 0; 2954 core.int buildCounterUsage = 0;
2953 buildUsage() { 2955 buildUsage() {
2954 var o = new api.Usage(); 2956 var o = new api.Usage();
2955 buildCounterUsage++; 2957 buildCounterUsage++;
2956 if (buildCounterUsage < 3) { 2958 if (buildCounterUsage < 3) {
2957 o.requirements = buildUnnamed1298(); 2959 o.requirements = buildUnnamed1324();
2958 o.rules = buildUnnamed1299(); 2960 o.rules = buildUnnamed1325();
2959 } 2961 }
2960 buildCounterUsage--; 2962 buildCounterUsage--;
2961 return o; 2963 return o;
2962 } 2964 }
2963 2965
2964 checkUsage(api.Usage o) { 2966 checkUsage(api.Usage o) {
2965 buildCounterUsage++; 2967 buildCounterUsage++;
2966 if (buildCounterUsage < 3) { 2968 if (buildCounterUsage < 3) {
2967 checkUnnamed1298(o.requirements); 2969 checkUnnamed1324(o.requirements);
2968 checkUnnamed1299(o.rules); 2970 checkUnnamed1325(o.rules);
2969 } 2971 }
2970 buildCounterUsage--; 2972 buildCounterUsage--;
2971 } 2973 }
2972 2974
2973 core.int buildCounterUsageRule = 0; 2975 core.int buildCounterUsageRule = 0;
2974 buildUsageRule() { 2976 buildUsageRule() {
2975 var o = new api.UsageRule(); 2977 var o = new api.UsageRule();
2976 buildCounterUsageRule++; 2978 buildCounterUsageRule++;
2977 if (buildCounterUsageRule < 3) { 2979 if (buildCounterUsageRule < 3) {
2978 o.allowUnregisteredCalls = true; 2980 o.allowUnregisteredCalls = true;
2979 o.selector = "foo"; 2981 o.selector = "foo";
2980 } 2982 }
2981 buildCounterUsageRule--; 2983 buildCounterUsageRule--;
2982 return o; 2984 return o;
2983 } 2985 }
2984 2986
2985 checkUsageRule(api.UsageRule o) { 2987 checkUsageRule(api.UsageRule o) {
2986 buildCounterUsageRule++; 2988 buildCounterUsageRule++;
2987 if (buildCounterUsageRule < 3) { 2989 if (buildCounterUsageRule < 3) {
2988 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); 2990 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue);
2989 unittest.expect(o.selector, unittest.equals('foo')); 2991 unittest.expect(o.selector, unittest.equals('foo'));
2990 } 2992 }
2991 buildCounterUsageRule--; 2993 buildCounterUsageRule--;
2992 } 2994 }
2993 2995
2994 buildUnnamed1300() { 2996 buildUnnamed1326() {
2995 var o = new core.List<api.VisibilityRule>(); 2997 var o = new core.List<api.VisibilityRule>();
2996 o.add(buildVisibilityRule()); 2998 o.add(buildVisibilityRule());
2997 o.add(buildVisibilityRule()); 2999 o.add(buildVisibilityRule());
2998 return o; 3000 return o;
2999 } 3001 }
3000 3002
3001 checkUnnamed1300(core.List<api.VisibilityRule> o) { 3003 checkUnnamed1326(core.List<api.VisibilityRule> o) {
3002 unittest.expect(o, unittest.hasLength(2)); 3004 unittest.expect(o, unittest.hasLength(2));
3003 checkVisibilityRule(o[0]); 3005 checkVisibilityRule(o[0]);
3004 checkVisibilityRule(o[1]); 3006 checkVisibilityRule(o[1]);
3005 } 3007 }
3006 3008
3007 core.int buildCounterVisibility = 0; 3009 core.int buildCounterVisibility = 0;
3008 buildVisibility() { 3010 buildVisibility() {
3009 var o = new api.Visibility(); 3011 var o = new api.Visibility();
3010 buildCounterVisibility++; 3012 buildCounterVisibility++;
3011 if (buildCounterVisibility < 3) { 3013 if (buildCounterVisibility < 3) {
3012 o.rules = buildUnnamed1300(); 3014 o.rules = buildUnnamed1326();
3013 } 3015 }
3014 buildCounterVisibility--; 3016 buildCounterVisibility--;
3015 return o; 3017 return o;
3016 } 3018 }
3017 3019
3018 checkVisibility(api.Visibility o) { 3020 checkVisibility(api.Visibility o) {
3019 buildCounterVisibility++; 3021 buildCounterVisibility++;
3020 if (buildCounterVisibility < 3) { 3022 if (buildCounterVisibility < 3) {
3021 checkUnnamed1300(o.rules); 3023 checkUnnamed1326(o.rules);
3022 } 3024 }
3023 buildCounterVisibility--; 3025 buildCounterVisibility--;
3024 } 3026 }
3025 3027
3026 core.int buildCounterVisibilityRule = 0; 3028 core.int buildCounterVisibilityRule = 0;
3027 buildVisibilityRule() { 3029 buildVisibilityRule() {
3028 var o = new api.VisibilityRule(); 3030 var o = new api.VisibilityRule();
3029 buildCounterVisibilityRule++; 3031 buildCounterVisibilityRule++;
3030 if (buildCounterVisibilityRule < 3) { 3032 if (buildCounterVisibilityRule < 3) {
3031 o.restriction = "foo"; 3033 o.restriction = "foo";
(...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after
4841 res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken ).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) { 4843 res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken ).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
4842 checkListServiceRolloutsResponse(response); 4844 checkListServiceRolloutsResponse(response);
4843 }))); 4845 })));
4844 }); 4846 });
4845 4847
4846 }); 4848 });
4847 4849
4848 4850
4849 } 4851 }
4850 4852
OLDNEW
« no previous file with comments | « generated/googleapis/test/servicecontrol/v1_test.dart ('k') | generated/googleapis/test/sheets/v4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698