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

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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 buildUnnamed1246() { 73 buildUnnamed997() {
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 checkUnnamed1246(core.List<api.Method> o) { 80 checkUnnamed997(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 buildUnnamed1247() { 86 buildUnnamed998() {
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 checkUnnamed1247(core.List<api.Mixin> o) { 93 checkUnnamed998(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 buildUnnamed1248() { 99 buildUnnamed999() {
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 checkUnnamed1248(core.List<api.Option> o) { 106 checkUnnamed999(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 = buildUnnamed1246(); 117 o.methods = buildUnnamed997();
118 o.mixins = buildUnnamed1247(); 118 o.mixins = buildUnnamed998();
119 o.name = "foo"; 119 o.name = "foo";
120 o.options = buildUnnamed1248(); 120 o.options = buildUnnamed999();
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 checkUnnamed1246(o.methods); 132 checkUnnamed997(o.methods);
133 checkUnnamed1247(o.mixins); 133 checkUnnamed998(o.mixins);
134 unittest.expect(o.name, unittest.equals('foo')); 134 unittest.expect(o.name, unittest.equals('foo'));
135 checkUnnamed1248(o.options); 135 checkUnnamed999(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 buildUnnamed1249() { 143 buildUnnamed1000() {
144 var o = new core.List<api.AuditLogConfig>();
145 o.add(buildAuditLogConfig());
146 o.add(buildAuditLogConfig());
147 return o;
148 }
149
150 checkUnnamed1000(core.List<api.AuditLogConfig> o) {
151 unittest.expect(o, unittest.hasLength(2));
152 checkAuditLogConfig(o[0]);
153 checkAuditLogConfig(o[1]);
154 }
155
156 buildUnnamed1001() {
144 var o = new core.List<core.String>(); 157 var o = new core.List<core.String>();
145 o.add("foo"); 158 o.add("foo");
146 o.add("foo"); 159 o.add("foo");
147 return o; 160 return o;
148 } 161 }
149 162
150 checkUnnamed1249(core.List<core.String> o) { 163 checkUnnamed1001(core.List<core.String> o) {
151 unittest.expect(o, unittest.hasLength(2)); 164 unittest.expect(o, unittest.hasLength(2));
152 unittest.expect(o[0], unittest.equals('foo')); 165 unittest.expect(o[0], unittest.equals('foo'));
153 unittest.expect(o[1], unittest.equals('foo')); 166 unittest.expect(o[1], unittest.equals('foo'));
154 } 167 }
155 168
156 core.int buildCounterAuditConfig = 0; 169 core.int buildCounterAuditConfig = 0;
157 buildAuditConfig() { 170 buildAuditConfig() {
158 var o = new api.AuditConfig(); 171 var o = new api.AuditConfig();
159 buildCounterAuditConfig++; 172 buildCounterAuditConfig++;
160 if (buildCounterAuditConfig < 3) { 173 if (buildCounterAuditConfig < 3) {
161 o.exemptedMembers = buildUnnamed1249(); 174 o.auditLogConfigs = buildUnnamed1000();
175 o.exemptedMembers = buildUnnamed1001();
162 o.service = "foo"; 176 o.service = "foo";
163 } 177 }
164 buildCounterAuditConfig--; 178 buildCounterAuditConfig--;
165 return o; 179 return o;
166 } 180 }
167 181
168 checkAuditConfig(api.AuditConfig o) { 182 checkAuditConfig(api.AuditConfig o) {
169 buildCounterAuditConfig++; 183 buildCounterAuditConfig++;
170 if (buildCounterAuditConfig < 3) { 184 if (buildCounterAuditConfig < 3) {
171 checkUnnamed1249(o.exemptedMembers); 185 checkUnnamed1000(o.auditLogConfigs);
186 checkUnnamed1001(o.exemptedMembers);
172 unittest.expect(o.service, unittest.equals('foo')); 187 unittest.expect(o.service, unittest.equals('foo'));
173 } 188 }
174 buildCounterAuditConfig--; 189 buildCounterAuditConfig--;
175 } 190 }
176 191
192 buildUnnamed1002() {
193 var o = new core.List<core.String>();
194 o.add("foo");
195 o.add("foo");
196 return o;
197 }
198
199 checkUnnamed1002(core.List<core.String> o) {
200 unittest.expect(o, unittest.hasLength(2));
201 unittest.expect(o[0], unittest.equals('foo'));
202 unittest.expect(o[1], unittest.equals('foo'));
203 }
204
205 core.int buildCounterAuditLogConfig = 0;
206 buildAuditLogConfig() {
207 var o = new api.AuditLogConfig();
208 buildCounterAuditLogConfig++;
209 if (buildCounterAuditLogConfig < 3) {
210 o.exemptedMembers = buildUnnamed1002();
211 o.logType = "foo";
212 }
213 buildCounterAuditLogConfig--;
214 return o;
215 }
216
217 checkAuditLogConfig(api.AuditLogConfig o) {
218 buildCounterAuditLogConfig++;
219 if (buildCounterAuditLogConfig < 3) {
220 checkUnnamed1002(o.exemptedMembers);
221 unittest.expect(o.logType, unittest.equals('foo'));
222 }
223 buildCounterAuditLogConfig--;
224 }
225
177 core.int buildCounterAuthProvider = 0; 226 core.int buildCounterAuthProvider = 0;
178 buildAuthProvider() { 227 buildAuthProvider() {
179 var o = new api.AuthProvider(); 228 var o = new api.AuthProvider();
180 buildCounterAuthProvider++; 229 buildCounterAuthProvider++;
181 if (buildCounterAuthProvider < 3) { 230 if (buildCounterAuthProvider < 3) {
182 o.audiences = "foo"; 231 o.audiences = "foo";
183 o.id = "foo"; 232 o.id = "foo";
184 o.issuer = "foo"; 233 o.issuer = "foo";
185 o.jwksUri = "foo"; 234 o.jwksUri = "foo";
186 } 235 }
(...skipping 26 matching lines...) Expand all
213 262
214 checkAuthRequirement(api.AuthRequirement o) { 263 checkAuthRequirement(api.AuthRequirement o) {
215 buildCounterAuthRequirement++; 264 buildCounterAuthRequirement++;
216 if (buildCounterAuthRequirement < 3) { 265 if (buildCounterAuthRequirement < 3) {
217 unittest.expect(o.audiences, unittest.equals('foo')); 266 unittest.expect(o.audiences, unittest.equals('foo'));
218 unittest.expect(o.providerId, unittest.equals('foo')); 267 unittest.expect(o.providerId, unittest.equals('foo'));
219 } 268 }
220 buildCounterAuthRequirement--; 269 buildCounterAuthRequirement--;
221 } 270 }
222 271
223 buildUnnamed1250() { 272 buildUnnamed1003() {
224 var o = new core.List<api.AuthProvider>(); 273 var o = new core.List<api.AuthProvider>();
225 o.add(buildAuthProvider()); 274 o.add(buildAuthProvider());
226 o.add(buildAuthProvider()); 275 o.add(buildAuthProvider());
227 return o; 276 return o;
228 } 277 }
229 278
230 checkUnnamed1250(core.List<api.AuthProvider> o) { 279 checkUnnamed1003(core.List<api.AuthProvider> o) {
231 unittest.expect(o, unittest.hasLength(2)); 280 unittest.expect(o, unittest.hasLength(2));
232 checkAuthProvider(o[0]); 281 checkAuthProvider(o[0]);
233 checkAuthProvider(o[1]); 282 checkAuthProvider(o[1]);
234 } 283 }
235 284
236 buildUnnamed1251() { 285 buildUnnamed1004() {
237 var o = new core.List<api.AuthenticationRule>(); 286 var o = new core.List<api.AuthenticationRule>();
238 o.add(buildAuthenticationRule()); 287 o.add(buildAuthenticationRule());
239 o.add(buildAuthenticationRule()); 288 o.add(buildAuthenticationRule());
240 return o; 289 return o;
241 } 290 }
242 291
243 checkUnnamed1251(core.List<api.AuthenticationRule> o) { 292 checkUnnamed1004(core.List<api.AuthenticationRule> o) {
244 unittest.expect(o, unittest.hasLength(2)); 293 unittest.expect(o, unittest.hasLength(2));
245 checkAuthenticationRule(o[0]); 294 checkAuthenticationRule(o[0]);
246 checkAuthenticationRule(o[1]); 295 checkAuthenticationRule(o[1]);
247 } 296 }
248 297
249 core.int buildCounterAuthentication = 0; 298 core.int buildCounterAuthentication = 0;
250 buildAuthentication() { 299 buildAuthentication() {
251 var o = new api.Authentication(); 300 var o = new api.Authentication();
252 buildCounterAuthentication++; 301 buildCounterAuthentication++;
253 if (buildCounterAuthentication < 3) { 302 if (buildCounterAuthentication < 3) {
254 o.providers = buildUnnamed1250(); 303 o.providers = buildUnnamed1003();
255 o.rules = buildUnnamed1251(); 304 o.rules = buildUnnamed1004();
256 } 305 }
257 buildCounterAuthentication--; 306 buildCounterAuthentication--;
258 return o; 307 return o;
259 } 308 }
260 309
261 checkAuthentication(api.Authentication o) { 310 checkAuthentication(api.Authentication o) {
262 buildCounterAuthentication++; 311 buildCounterAuthentication++;
263 if (buildCounterAuthentication < 3) { 312 if (buildCounterAuthentication < 3) {
264 checkUnnamed1250(o.providers); 313 checkUnnamed1003(o.providers);
265 checkUnnamed1251(o.rules); 314 checkUnnamed1004(o.rules);
266 } 315 }
267 buildCounterAuthentication--; 316 buildCounterAuthentication--;
268 } 317 }
269 318
270 buildUnnamed1252() { 319 buildUnnamed1005() {
271 var o = new core.List<api.AuthRequirement>(); 320 var o = new core.List<api.AuthRequirement>();
272 o.add(buildAuthRequirement()); 321 o.add(buildAuthRequirement());
273 o.add(buildAuthRequirement()); 322 o.add(buildAuthRequirement());
274 return o; 323 return o;
275 } 324 }
276 325
277 checkUnnamed1252(core.List<api.AuthRequirement> o) { 326 checkUnnamed1005(core.List<api.AuthRequirement> o) {
278 unittest.expect(o, unittest.hasLength(2)); 327 unittest.expect(o, unittest.hasLength(2));
279 checkAuthRequirement(o[0]); 328 checkAuthRequirement(o[0]);
280 checkAuthRequirement(o[1]); 329 checkAuthRequirement(o[1]);
281 } 330 }
282 331
283 core.int buildCounterAuthenticationRule = 0; 332 core.int buildCounterAuthenticationRule = 0;
284 buildAuthenticationRule() { 333 buildAuthenticationRule() {
285 var o = new api.AuthenticationRule(); 334 var o = new api.AuthenticationRule();
286 buildCounterAuthenticationRule++; 335 buildCounterAuthenticationRule++;
287 if (buildCounterAuthenticationRule < 3) { 336 if (buildCounterAuthenticationRule < 3) {
288 o.allowWithoutCredential = true; 337 o.allowWithoutCredential = true;
289 o.oauth = buildOAuthRequirements(); 338 o.oauth = buildOAuthRequirements();
290 o.requirements = buildUnnamed1252(); 339 o.requirements = buildUnnamed1005();
291 o.selector = "foo"; 340 o.selector = "foo";
292 } 341 }
293 buildCounterAuthenticationRule--; 342 buildCounterAuthenticationRule--;
294 return o; 343 return o;
295 } 344 }
296 345
297 checkAuthenticationRule(api.AuthenticationRule o) { 346 checkAuthenticationRule(api.AuthenticationRule o) {
298 buildCounterAuthenticationRule++; 347 buildCounterAuthenticationRule++;
299 if (buildCounterAuthenticationRule < 3) { 348 if (buildCounterAuthenticationRule < 3) {
300 unittest.expect(o.allowWithoutCredential, unittest.isTrue); 349 unittest.expect(o.allowWithoutCredential, unittest.isTrue);
301 checkOAuthRequirements(o.oauth); 350 checkOAuthRequirements(o.oauth);
302 checkUnnamed1252(o.requirements); 351 checkUnnamed1005(o.requirements);
303 unittest.expect(o.selector, unittest.equals('foo')); 352 unittest.expect(o.selector, unittest.equals('foo'));
304 } 353 }
305 buildCounterAuthenticationRule--; 354 buildCounterAuthenticationRule--;
306 } 355 }
307 356
308 buildUnnamed1253() { 357 buildUnnamed1006() {
309 var o = new core.List<api.BackendRule>(); 358 var o = new core.List<api.BackendRule>();
310 o.add(buildBackendRule()); 359 o.add(buildBackendRule());
311 o.add(buildBackendRule()); 360 o.add(buildBackendRule());
312 return o; 361 return o;
313 } 362 }
314 363
315 checkUnnamed1253(core.List<api.BackendRule> o) { 364 checkUnnamed1006(core.List<api.BackendRule> o) {
316 unittest.expect(o, unittest.hasLength(2)); 365 unittest.expect(o, unittest.hasLength(2));
317 checkBackendRule(o[0]); 366 checkBackendRule(o[0]);
318 checkBackendRule(o[1]); 367 checkBackendRule(o[1]);
319 } 368 }
320 369
321 core.int buildCounterBackend = 0; 370 core.int buildCounterBackend = 0;
322 buildBackend() { 371 buildBackend() {
323 var o = new api.Backend(); 372 var o = new api.Backend();
324 buildCounterBackend++; 373 buildCounterBackend++;
325 if (buildCounterBackend < 3) { 374 if (buildCounterBackend < 3) {
326 o.rules = buildUnnamed1253(); 375 o.rules = buildUnnamed1006();
327 } 376 }
328 buildCounterBackend--; 377 buildCounterBackend--;
329 return o; 378 return o;
330 } 379 }
331 380
332 checkBackend(api.Backend o) { 381 checkBackend(api.Backend o) {
333 buildCounterBackend++; 382 buildCounterBackend++;
334 if (buildCounterBackend < 3) { 383 if (buildCounterBackend < 3) {
335 checkUnnamed1253(o.rules); 384 checkUnnamed1006(o.rules);
336 } 385 }
337 buildCounterBackend--; 386 buildCounterBackend--;
338 } 387 }
339 388
340 core.int buildCounterBackendRule = 0; 389 core.int buildCounterBackendRule = 0;
341 buildBackendRule() { 390 buildBackendRule() {
342 var o = new api.BackendRule(); 391 var o = new api.BackendRule();
343 buildCounterBackendRule++; 392 buildCounterBackendRule++;
344 if (buildCounterBackendRule < 3) { 393 if (buildCounterBackendRule < 3) {
345 o.address = "foo"; 394 o.address = "foo";
346 o.deadline = 42.0; 395 o.deadline = 42.0;
347 o.selector = "foo"; 396 o.selector = "foo";
348 } 397 }
349 buildCounterBackendRule--; 398 buildCounterBackendRule--;
350 return o; 399 return o;
351 } 400 }
352 401
353 checkBackendRule(api.BackendRule o) { 402 checkBackendRule(api.BackendRule o) {
354 buildCounterBackendRule++; 403 buildCounterBackendRule++;
355 if (buildCounterBackendRule < 3) { 404 if (buildCounterBackendRule < 3) {
356 unittest.expect(o.address, unittest.equals('foo')); 405 unittest.expect(o.address, unittest.equals('foo'));
357 unittest.expect(o.deadline, unittest.equals(42.0)); 406 unittest.expect(o.deadline, unittest.equals(42.0));
358 unittest.expect(o.selector, unittest.equals('foo')); 407 unittest.expect(o.selector, unittest.equals('foo'));
359 } 408 }
360 buildCounterBackendRule--; 409 buildCounterBackendRule--;
361 } 410 }
362 411
363 buildUnnamed1254() { 412 buildUnnamed1007() {
364 var o = new core.List<core.String>(); 413 var o = new core.List<core.String>();
365 o.add("foo"); 414 o.add("foo");
366 o.add("foo"); 415 o.add("foo");
367 return o; 416 return o;
368 } 417 }
369 418
370 checkUnnamed1254(core.List<core.String> o) { 419 checkUnnamed1007(core.List<core.String> o) {
371 unittest.expect(o, unittest.hasLength(2)); 420 unittest.expect(o, unittest.hasLength(2));
372 unittest.expect(o[0], unittest.equals('foo')); 421 unittest.expect(o[0], unittest.equals('foo'));
373 unittest.expect(o[1], unittest.equals('foo')); 422 unittest.expect(o[1], unittest.equals('foo'));
374 } 423 }
375 424
376 core.int buildCounterBinding = 0; 425 core.int buildCounterBinding = 0;
377 buildBinding() { 426 buildBinding() {
378 var o = new api.Binding(); 427 var o = new api.Binding();
379 buildCounterBinding++; 428 buildCounterBinding++;
380 if (buildCounterBinding < 3) { 429 if (buildCounterBinding < 3) {
381 o.members = buildUnnamed1254(); 430 o.members = buildUnnamed1007();
382 o.role = "foo"; 431 o.role = "foo";
383 } 432 }
384 buildCounterBinding--; 433 buildCounterBinding--;
385 return o; 434 return o;
386 } 435 }
387 436
388 checkBinding(api.Binding o) { 437 checkBinding(api.Binding o) {
389 buildCounterBinding++; 438 buildCounterBinding++;
390 if (buildCounterBinding < 3) { 439 if (buildCounterBinding < 3) {
391 checkUnnamed1254(o.members); 440 checkUnnamed1007(o.members);
392 unittest.expect(o.role, unittest.equals('foo')); 441 unittest.expect(o.role, unittest.equals('foo'));
393 } 442 }
394 buildCounterBinding--; 443 buildCounterBinding--;
395 } 444 }
396 445
397 buildUnnamed1255() { 446 buildUnnamed1008() {
398 var o = new core.List<api.ConfigChange>(); 447 var o = new core.List<api.ConfigChange>();
399 o.add(buildConfigChange()); 448 o.add(buildConfigChange());
400 o.add(buildConfigChange()); 449 o.add(buildConfigChange());
401 return o; 450 return o;
402 } 451 }
403 452
404 checkUnnamed1255(core.List<api.ConfigChange> o) { 453 checkUnnamed1008(core.List<api.ConfigChange> o) {
405 unittest.expect(o, unittest.hasLength(2)); 454 unittest.expect(o, unittest.hasLength(2));
406 checkConfigChange(o[0]); 455 checkConfigChange(o[0]);
407 checkConfigChange(o[1]); 456 checkConfigChange(o[1]);
408 } 457 }
409 458
410 core.int buildCounterChangeReport = 0; 459 core.int buildCounterChangeReport = 0;
411 buildChangeReport() { 460 buildChangeReport() {
412 var o = new api.ChangeReport(); 461 var o = new api.ChangeReport();
413 buildCounterChangeReport++; 462 buildCounterChangeReport++;
414 if (buildCounterChangeReport < 3) { 463 if (buildCounterChangeReport < 3) {
415 o.configChanges = buildUnnamed1255(); 464 o.configChanges = buildUnnamed1008();
416 } 465 }
417 buildCounterChangeReport--; 466 buildCounterChangeReport--;
418 return o; 467 return o;
419 } 468 }
420 469
421 checkChangeReport(api.ChangeReport o) { 470 checkChangeReport(api.ChangeReport o) {
422 buildCounterChangeReport++; 471 buildCounterChangeReport++;
423 if (buildCounterChangeReport < 3) { 472 if (buildCounterChangeReport < 3) {
424 checkUnnamed1255(o.configChanges); 473 checkUnnamed1008(o.configChanges);
425 } 474 }
426 buildCounterChangeReport--; 475 buildCounterChangeReport--;
427 } 476 }
428 477
429 core.int buildCounterCloudAuditOptions = 0; 478 core.int buildCounterCloudAuditOptions = 0;
430 buildCloudAuditOptions() { 479 buildCloudAuditOptions() {
431 var o = new api.CloudAuditOptions(); 480 var o = new api.CloudAuditOptions();
432 buildCounterCloudAuditOptions++; 481 buildCounterCloudAuditOptions++;
433 if (buildCounterCloudAuditOptions < 3) { 482 if (buildCounterCloudAuditOptions < 3) {
434 } 483 }
435 buildCounterCloudAuditOptions--; 484 buildCounterCloudAuditOptions--;
436 return o; 485 return o;
437 } 486 }
438 487
439 checkCloudAuditOptions(api.CloudAuditOptions o) { 488 checkCloudAuditOptions(api.CloudAuditOptions o) {
440 buildCounterCloudAuditOptions++; 489 buildCounterCloudAuditOptions++;
441 if (buildCounterCloudAuditOptions < 3) { 490 if (buildCounterCloudAuditOptions < 3) {
442 } 491 }
443 buildCounterCloudAuditOptions--; 492 buildCounterCloudAuditOptions--;
444 } 493 }
445 494
446 buildUnnamed1256() { 495 buildUnnamed1009() {
447 var o = new core.List<core.String>(); 496 var o = new core.List<core.String>();
448 o.add("foo"); 497 o.add("foo");
449 o.add("foo"); 498 o.add("foo");
450 return o; 499 return o;
451 } 500 }
452 501
453 checkUnnamed1256(core.List<core.String> o) { 502 checkUnnamed1009(core.List<core.String> o) {
454 unittest.expect(o, unittest.hasLength(2)); 503 unittest.expect(o, unittest.hasLength(2));
455 unittest.expect(o[0], unittest.equals('foo')); 504 unittest.expect(o[0], unittest.equals('foo'));
456 unittest.expect(o[1], unittest.equals('foo')); 505 unittest.expect(o[1], unittest.equals('foo'));
457 } 506 }
458 507
459 core.int buildCounterCondition = 0; 508 core.int buildCounterCondition = 0;
460 buildCondition() { 509 buildCondition() {
461 var o = new api.Condition(); 510 var o = new api.Condition();
462 buildCounterCondition++; 511 buildCounterCondition++;
463 if (buildCounterCondition < 3) { 512 if (buildCounterCondition < 3) {
464 o.iam = "foo"; 513 o.iam = "foo";
465 o.op = "foo"; 514 o.op = "foo";
466 o.svc = "foo"; 515 o.svc = "foo";
467 o.sys = "foo"; 516 o.sys = "foo";
468 o.value = "foo"; 517 o.value = "foo";
469 o.values = buildUnnamed1256(); 518 o.values = buildUnnamed1009();
470 } 519 }
471 buildCounterCondition--; 520 buildCounterCondition--;
472 return o; 521 return o;
473 } 522 }
474 523
475 checkCondition(api.Condition o) { 524 checkCondition(api.Condition o) {
476 buildCounterCondition++; 525 buildCounterCondition++;
477 if (buildCounterCondition < 3) { 526 if (buildCounterCondition < 3) {
478 unittest.expect(o.iam, unittest.equals('foo')); 527 unittest.expect(o.iam, unittest.equals('foo'));
479 unittest.expect(o.op, unittest.equals('foo')); 528 unittest.expect(o.op, unittest.equals('foo'));
480 unittest.expect(o.svc, unittest.equals('foo')); 529 unittest.expect(o.svc, unittest.equals('foo'));
481 unittest.expect(o.sys, unittest.equals('foo')); 530 unittest.expect(o.sys, unittest.equals('foo'));
482 unittest.expect(o.value, unittest.equals('foo')); 531 unittest.expect(o.value, unittest.equals('foo'));
483 checkUnnamed1256(o.values); 532 checkUnnamed1009(o.values);
484 } 533 }
485 buildCounterCondition--; 534 buildCounterCondition--;
486 } 535 }
487 536
488 buildUnnamed1257() { 537 buildUnnamed1010() {
489 var o = new core.List<api.Advice>(); 538 var o = new core.List<api.Advice>();
490 o.add(buildAdvice()); 539 o.add(buildAdvice());
491 o.add(buildAdvice()); 540 o.add(buildAdvice());
492 return o; 541 return o;
493 } 542 }
494 543
495 checkUnnamed1257(core.List<api.Advice> o) { 544 checkUnnamed1010(core.List<api.Advice> o) {
496 unittest.expect(o, unittest.hasLength(2)); 545 unittest.expect(o, unittest.hasLength(2));
497 checkAdvice(o[0]); 546 checkAdvice(o[0]);
498 checkAdvice(o[1]); 547 checkAdvice(o[1]);
499 } 548 }
500 549
501 core.int buildCounterConfigChange = 0; 550 core.int buildCounterConfigChange = 0;
502 buildConfigChange() { 551 buildConfigChange() {
503 var o = new api.ConfigChange(); 552 var o = new api.ConfigChange();
504 buildCounterConfigChange++; 553 buildCounterConfigChange++;
505 if (buildCounterConfigChange < 3) { 554 if (buildCounterConfigChange < 3) {
506 o.advices = buildUnnamed1257(); 555 o.advices = buildUnnamed1010();
507 o.changeType = "foo"; 556 o.changeType = "foo";
508 o.element = "foo"; 557 o.element = "foo";
509 o.newValue = "foo"; 558 o.newValue = "foo";
510 o.oldValue = "foo"; 559 o.oldValue = "foo";
511 } 560 }
512 buildCounterConfigChange--; 561 buildCounterConfigChange--;
513 return o; 562 return o;
514 } 563 }
515 564
516 checkConfigChange(api.ConfigChange o) { 565 checkConfigChange(api.ConfigChange o) {
517 buildCounterConfigChange++; 566 buildCounterConfigChange++;
518 if (buildCounterConfigChange < 3) { 567 if (buildCounterConfigChange < 3) {
519 checkUnnamed1257(o.advices); 568 checkUnnamed1010(o.advices);
520 unittest.expect(o.changeType, unittest.equals('foo')); 569 unittest.expect(o.changeType, unittest.equals('foo'));
521 unittest.expect(o.element, unittest.equals('foo')); 570 unittest.expect(o.element, unittest.equals('foo'));
522 unittest.expect(o.newValue, unittest.equals('foo')); 571 unittest.expect(o.newValue, unittest.equals('foo'));
523 unittest.expect(o.oldValue, unittest.equals('foo')); 572 unittest.expect(o.oldValue, unittest.equals('foo'));
524 } 573 }
525 buildCounterConfigChange--; 574 buildCounterConfigChange--;
526 } 575 }
527 576
528 core.int buildCounterConfigFile = 0; 577 core.int buildCounterConfigFile = 0;
529 buildConfigFile() { 578 buildConfigFile() {
(...skipping 30 matching lines...) Expand all
560 } 609 }
561 610
562 checkConfigRef(api.ConfigRef o) { 611 checkConfigRef(api.ConfigRef o) {
563 buildCounterConfigRef++; 612 buildCounterConfigRef++;
564 if (buildCounterConfigRef < 3) { 613 if (buildCounterConfigRef < 3) {
565 unittest.expect(o.name, unittest.equals('foo')); 614 unittest.expect(o.name, unittest.equals('foo'));
566 } 615 }
567 buildCounterConfigRef--; 616 buildCounterConfigRef--;
568 } 617 }
569 618
570 buildUnnamed1258() { 619 buildUnnamed1011() {
571 var o = new core.List<api.ConfigFile>(); 620 var o = new core.List<api.ConfigFile>();
572 o.add(buildConfigFile()); 621 o.add(buildConfigFile());
573 o.add(buildConfigFile()); 622 o.add(buildConfigFile());
574 return o; 623 return o;
575 } 624 }
576 625
577 checkUnnamed1258(core.List<api.ConfigFile> o) { 626 checkUnnamed1011(core.List<api.ConfigFile> o) {
578 unittest.expect(o, unittest.hasLength(2)); 627 unittest.expect(o, unittest.hasLength(2));
579 checkConfigFile(o[0]); 628 checkConfigFile(o[0]);
580 checkConfigFile(o[1]); 629 checkConfigFile(o[1]);
581 } 630 }
582 631
583 core.int buildCounterConfigSource = 0; 632 core.int buildCounterConfigSource = 0;
584 buildConfigSource() { 633 buildConfigSource() {
585 var o = new api.ConfigSource(); 634 var o = new api.ConfigSource();
586 buildCounterConfigSource++; 635 buildCounterConfigSource++;
587 if (buildCounterConfigSource < 3) { 636 if (buildCounterConfigSource < 3) {
588 o.files = buildUnnamed1258(); 637 o.files = buildUnnamed1011();
589 o.id = "foo"; 638 o.id = "foo";
590 } 639 }
591 buildCounterConfigSource--; 640 buildCounterConfigSource--;
592 return o; 641 return o;
593 } 642 }
594 643
595 checkConfigSource(api.ConfigSource o) { 644 checkConfigSource(api.ConfigSource o) {
596 buildCounterConfigSource++; 645 buildCounterConfigSource++;
597 if (buildCounterConfigSource < 3) { 646 if (buildCounterConfigSource < 3) {
598 checkUnnamed1258(o.files); 647 checkUnnamed1011(o.files);
599 unittest.expect(o.id, unittest.equals('foo')); 648 unittest.expect(o.id, unittest.equals('foo'));
600 } 649 }
601 buildCounterConfigSource--; 650 buildCounterConfigSource--;
602 } 651 }
603 652
604 buildUnnamed1259() { 653 buildUnnamed1012() {
605 var o = new core.List<api.ContextRule>(); 654 var o = new core.List<api.ContextRule>();
606 o.add(buildContextRule()); 655 o.add(buildContextRule());
607 o.add(buildContextRule()); 656 o.add(buildContextRule());
608 return o; 657 return o;
609 } 658 }
610 659
611 checkUnnamed1259(core.List<api.ContextRule> o) { 660 checkUnnamed1012(core.List<api.ContextRule> o) {
612 unittest.expect(o, unittest.hasLength(2)); 661 unittest.expect(o, unittest.hasLength(2));
613 checkContextRule(o[0]); 662 checkContextRule(o[0]);
614 checkContextRule(o[1]); 663 checkContextRule(o[1]);
615 } 664 }
616 665
617 core.int buildCounterContext = 0; 666 core.int buildCounterContext = 0;
618 buildContext() { 667 buildContext() {
619 var o = new api.Context(); 668 var o = new api.Context();
620 buildCounterContext++; 669 buildCounterContext++;
621 if (buildCounterContext < 3) { 670 if (buildCounterContext < 3) {
622 o.rules = buildUnnamed1259(); 671 o.rules = buildUnnamed1012();
623 } 672 }
624 buildCounterContext--; 673 buildCounterContext--;
625 return o; 674 return o;
626 } 675 }
627 676
628 checkContext(api.Context o) { 677 checkContext(api.Context o) {
629 buildCounterContext++; 678 buildCounterContext++;
630 if (buildCounterContext < 3) { 679 if (buildCounterContext < 3) {
631 checkUnnamed1259(o.rules); 680 checkUnnamed1012(o.rules);
632 } 681 }
633 buildCounterContext--; 682 buildCounterContext--;
634 } 683 }
635 684
636 buildUnnamed1260() { 685 buildUnnamed1013() {
637 var o = new core.List<core.String>(); 686 var o = new core.List<core.String>();
638 o.add("foo"); 687 o.add("foo");
639 o.add("foo"); 688 o.add("foo");
640 return o; 689 return o;
641 } 690 }
642 691
643 checkUnnamed1260(core.List<core.String> o) { 692 checkUnnamed1013(core.List<core.String> o) {
644 unittest.expect(o, unittest.hasLength(2)); 693 unittest.expect(o, unittest.hasLength(2));
645 unittest.expect(o[0], unittest.equals('foo')); 694 unittest.expect(o[0], unittest.equals('foo'));
646 unittest.expect(o[1], unittest.equals('foo')); 695 unittest.expect(o[1], unittest.equals('foo'));
647 } 696 }
648 697
649 buildUnnamed1261() { 698 buildUnnamed1014() {
650 var o = new core.List<core.String>(); 699 var o = new core.List<core.String>();
651 o.add("foo"); 700 o.add("foo");
652 o.add("foo"); 701 o.add("foo");
653 return o; 702 return o;
654 } 703 }
655 704
656 checkUnnamed1261(core.List<core.String> o) { 705 checkUnnamed1014(core.List<core.String> o) {
657 unittest.expect(o, unittest.hasLength(2)); 706 unittest.expect(o, unittest.hasLength(2));
658 unittest.expect(o[0], unittest.equals('foo')); 707 unittest.expect(o[0], unittest.equals('foo'));
659 unittest.expect(o[1], unittest.equals('foo')); 708 unittest.expect(o[1], unittest.equals('foo'));
660 } 709 }
661 710
662 core.int buildCounterContextRule = 0; 711 core.int buildCounterContextRule = 0;
663 buildContextRule() { 712 buildContextRule() {
664 var o = new api.ContextRule(); 713 var o = new api.ContextRule();
665 buildCounterContextRule++; 714 buildCounterContextRule++;
666 if (buildCounterContextRule < 3) { 715 if (buildCounterContextRule < 3) {
667 o.provided = buildUnnamed1260(); 716 o.provided = buildUnnamed1013();
668 o.requested = buildUnnamed1261(); 717 o.requested = buildUnnamed1014();
669 o.selector = "foo"; 718 o.selector = "foo";
670 } 719 }
671 buildCounterContextRule--; 720 buildCounterContextRule--;
672 return o; 721 return o;
673 } 722 }
674 723
675 checkContextRule(api.ContextRule o) { 724 checkContextRule(api.ContextRule o) {
676 buildCounterContextRule++; 725 buildCounterContextRule++;
677 if (buildCounterContextRule < 3) { 726 if (buildCounterContextRule < 3) {
678 checkUnnamed1260(o.provided); 727 checkUnnamed1013(o.provided);
679 checkUnnamed1261(o.requested); 728 checkUnnamed1014(o.requested);
680 unittest.expect(o.selector, unittest.equals('foo')); 729 unittest.expect(o.selector, unittest.equals('foo'));
681 } 730 }
682 buildCounterContextRule--; 731 buildCounterContextRule--;
683 } 732 }
684 733
685 core.int buildCounterControl = 0; 734 core.int buildCounterControl = 0;
686 buildControl() { 735 buildControl() {
687 var o = new api.Control(); 736 var o = new api.Control();
688 buildCounterControl++; 737 buildCounterControl++;
689 if (buildCounterControl < 3) { 738 if (buildCounterControl < 3) {
(...skipping 25 matching lines...) Expand all
715 764
716 checkCounterOptions(api.CounterOptions o) { 765 checkCounterOptions(api.CounterOptions o) {
717 buildCounterCounterOptions++; 766 buildCounterCounterOptions++;
718 if (buildCounterCounterOptions < 3) { 767 if (buildCounterCounterOptions < 3) {
719 unittest.expect(o.field, unittest.equals('foo')); 768 unittest.expect(o.field, unittest.equals('foo'));
720 unittest.expect(o.metric, unittest.equals('foo')); 769 unittest.expect(o.metric, unittest.equals('foo'));
721 } 770 }
722 buildCounterCounterOptions--; 771 buildCounterCounterOptions--;
723 } 772 }
724 773
725 buildUnnamed1262() { 774 buildUnnamed1015() {
726 var o = new core.List<api.CustomErrorRule>(); 775 var o = new core.List<api.CustomErrorRule>();
727 o.add(buildCustomErrorRule()); 776 o.add(buildCustomErrorRule());
728 o.add(buildCustomErrorRule()); 777 o.add(buildCustomErrorRule());
729 return o; 778 return o;
730 } 779 }
731 780
732 checkUnnamed1262(core.List<api.CustomErrorRule> o) { 781 checkUnnamed1015(core.List<api.CustomErrorRule> o) {
733 unittest.expect(o, unittest.hasLength(2)); 782 unittest.expect(o, unittest.hasLength(2));
734 checkCustomErrorRule(o[0]); 783 checkCustomErrorRule(o[0]);
735 checkCustomErrorRule(o[1]); 784 checkCustomErrorRule(o[1]);
736 } 785 }
737 786
738 buildUnnamed1263() { 787 buildUnnamed1016() {
739 var o = new core.List<core.String>(); 788 var o = new core.List<core.String>();
740 o.add("foo"); 789 o.add("foo");
741 o.add("foo"); 790 o.add("foo");
742 return o; 791 return o;
743 } 792 }
744 793
745 checkUnnamed1263(core.List<core.String> o) { 794 checkUnnamed1016(core.List<core.String> o) {
746 unittest.expect(o, unittest.hasLength(2)); 795 unittest.expect(o, unittest.hasLength(2));
747 unittest.expect(o[0], unittest.equals('foo')); 796 unittest.expect(o[0], unittest.equals('foo'));
748 unittest.expect(o[1], unittest.equals('foo')); 797 unittest.expect(o[1], unittest.equals('foo'));
749 } 798 }
750 799
751 core.int buildCounterCustomError = 0; 800 core.int buildCounterCustomError = 0;
752 buildCustomError() { 801 buildCustomError() {
753 var o = new api.CustomError(); 802 var o = new api.CustomError();
754 buildCounterCustomError++; 803 buildCounterCustomError++;
755 if (buildCounterCustomError < 3) { 804 if (buildCounterCustomError < 3) {
756 o.rules = buildUnnamed1262(); 805 o.rules = buildUnnamed1015();
757 o.types = buildUnnamed1263(); 806 o.types = buildUnnamed1016();
758 } 807 }
759 buildCounterCustomError--; 808 buildCounterCustomError--;
760 return o; 809 return o;
761 } 810 }
762 811
763 checkCustomError(api.CustomError o) { 812 checkCustomError(api.CustomError o) {
764 buildCounterCustomError++; 813 buildCounterCustomError++;
765 if (buildCounterCustomError < 3) { 814 if (buildCounterCustomError < 3) {
766 checkUnnamed1262(o.rules); 815 checkUnnamed1015(o.rules);
767 checkUnnamed1263(o.types); 816 checkUnnamed1016(o.types);
768 } 817 }
769 buildCounterCustomError--; 818 buildCounterCustomError--;
770 } 819 }
771 820
772 core.int buildCounterCustomErrorRule = 0; 821 core.int buildCounterCustomErrorRule = 0;
773 buildCustomErrorRule() { 822 buildCustomErrorRule() {
774 var o = new api.CustomErrorRule(); 823 var o = new api.CustomErrorRule();
775 buildCounterCustomErrorRule++; 824 buildCounterCustomErrorRule++;
776 if (buildCounterCustomErrorRule < 3) { 825 if (buildCounterCustomErrorRule < 3) {
777 o.isErrorType = true; 826 o.isErrorType = true;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 } 929 }
881 930
882 checkDisableServiceRequest(api.DisableServiceRequest o) { 931 checkDisableServiceRequest(api.DisableServiceRequest o) {
883 buildCounterDisableServiceRequest++; 932 buildCounterDisableServiceRequest++;
884 if (buildCounterDisableServiceRequest < 3) { 933 if (buildCounterDisableServiceRequest < 3) {
885 unittest.expect(o.consumerId, unittest.equals('foo')); 934 unittest.expect(o.consumerId, unittest.equals('foo'));
886 } 935 }
887 buildCounterDisableServiceRequest--; 936 buildCounterDisableServiceRequest--;
888 } 937 }
889 938
890 buildUnnamed1264() { 939 buildUnnamed1017() {
891 var o = new core.List<api.Page>(); 940 var o = new core.List<api.Page>();
892 o.add(buildPage()); 941 o.add(buildPage());
893 o.add(buildPage()); 942 o.add(buildPage());
894 return o; 943 return o;
895 } 944 }
896 945
897 checkUnnamed1264(core.List<api.Page> o) { 946 checkUnnamed1017(core.List<api.Page> o) {
898 unittest.expect(o, unittest.hasLength(2)); 947 unittest.expect(o, unittest.hasLength(2));
899 checkPage(o[0]); 948 checkPage(o[0]);
900 checkPage(o[1]); 949 checkPage(o[1]);
901 } 950 }
902 951
903 buildUnnamed1265() { 952 buildUnnamed1018() {
904 var o = new core.List<api.DocumentationRule>(); 953 var o = new core.List<api.DocumentationRule>();
905 o.add(buildDocumentationRule()); 954 o.add(buildDocumentationRule());
906 o.add(buildDocumentationRule()); 955 o.add(buildDocumentationRule());
907 return o; 956 return o;
908 } 957 }
909 958
910 checkUnnamed1265(core.List<api.DocumentationRule> o) { 959 checkUnnamed1018(core.List<api.DocumentationRule> o) {
911 unittest.expect(o, unittest.hasLength(2)); 960 unittest.expect(o, unittest.hasLength(2));
912 checkDocumentationRule(o[0]); 961 checkDocumentationRule(o[0]);
913 checkDocumentationRule(o[1]); 962 checkDocumentationRule(o[1]);
914 } 963 }
915 964
916 core.int buildCounterDocumentation = 0; 965 core.int buildCounterDocumentation = 0;
917 buildDocumentation() { 966 buildDocumentation() {
918 var o = new api.Documentation(); 967 var o = new api.Documentation();
919 buildCounterDocumentation++; 968 buildCounterDocumentation++;
920 if (buildCounterDocumentation < 3) { 969 if (buildCounterDocumentation < 3) {
921 o.documentationRootUrl = "foo"; 970 o.documentationRootUrl = "foo";
922 o.overview = "foo"; 971 o.overview = "foo";
923 o.pages = buildUnnamed1264(); 972 o.pages = buildUnnamed1017();
924 o.rules = buildUnnamed1265(); 973 o.rules = buildUnnamed1018();
925 o.summary = "foo"; 974 o.summary = "foo";
926 } 975 }
927 buildCounterDocumentation--; 976 buildCounterDocumentation--;
928 return o; 977 return o;
929 } 978 }
930 979
931 checkDocumentation(api.Documentation o) { 980 checkDocumentation(api.Documentation o) {
932 buildCounterDocumentation++; 981 buildCounterDocumentation++;
933 if (buildCounterDocumentation < 3) { 982 if (buildCounterDocumentation < 3) {
934 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); 983 unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
935 unittest.expect(o.overview, unittest.equals('foo')); 984 unittest.expect(o.overview, unittest.equals('foo'));
936 checkUnnamed1264(o.pages); 985 checkUnnamed1017(o.pages);
937 checkUnnamed1265(o.rules); 986 checkUnnamed1018(o.rules);
938 unittest.expect(o.summary, unittest.equals('foo')); 987 unittest.expect(o.summary, unittest.equals('foo'));
939 } 988 }
940 buildCounterDocumentation--; 989 buildCounterDocumentation--;
941 } 990 }
942 991
943 core.int buildCounterDocumentationRule = 0; 992 core.int buildCounterDocumentationRule = 0;
944 buildDocumentationRule() { 993 buildDocumentationRule() {
945 var o = new api.DocumentationRule(); 994 var o = new api.DocumentationRule();
946 buildCounterDocumentationRule++; 995 buildCounterDocumentationRule++;
947 if (buildCounterDocumentationRule < 3) { 996 if (buildCounterDocumentationRule < 3) {
(...skipping 27 matching lines...) Expand all
975 } 1024 }
976 1025
977 checkEnableServiceRequest(api.EnableServiceRequest o) { 1026 checkEnableServiceRequest(api.EnableServiceRequest o) {
978 buildCounterEnableServiceRequest++; 1027 buildCounterEnableServiceRequest++;
979 if (buildCounterEnableServiceRequest < 3) { 1028 if (buildCounterEnableServiceRequest < 3) {
980 unittest.expect(o.consumerId, unittest.equals('foo')); 1029 unittest.expect(o.consumerId, unittest.equals('foo'));
981 } 1030 }
982 buildCounterEnableServiceRequest--; 1031 buildCounterEnableServiceRequest--;
983 } 1032 }
984 1033
985 buildUnnamed1266() { 1034 buildUnnamed1019() {
986 var o = new core.List<core.String>(); 1035 var o = new core.List<core.String>();
987 o.add("foo"); 1036 o.add("foo");
988 o.add("foo"); 1037 o.add("foo");
989 return o; 1038 return o;
990 } 1039 }
991 1040
992 checkUnnamed1266(core.List<core.String> o) { 1041 checkUnnamed1019(core.List<core.String> o) {
993 unittest.expect(o, unittest.hasLength(2)); 1042 unittest.expect(o, unittest.hasLength(2));
994 unittest.expect(o[0], unittest.equals('foo')); 1043 unittest.expect(o[0], unittest.equals('foo'));
995 unittest.expect(o[1], unittest.equals('foo')); 1044 unittest.expect(o[1], unittest.equals('foo'));
996 } 1045 }
997 1046
998 buildUnnamed1267() { 1047 buildUnnamed1020() {
999 var o = new core.List<core.String>(); 1048 var o = new core.List<core.String>();
1000 o.add("foo"); 1049 o.add("foo");
1001 o.add("foo"); 1050 o.add("foo");
1002 return o; 1051 return o;
1003 } 1052 }
1004 1053
1005 checkUnnamed1267(core.List<core.String> o) { 1054 checkUnnamed1020(core.List<core.String> o) {
1006 unittest.expect(o, unittest.hasLength(2)); 1055 unittest.expect(o, unittest.hasLength(2));
1007 unittest.expect(o[0], unittest.equals('foo')); 1056 unittest.expect(o[0], unittest.equals('foo'));
1008 unittest.expect(o[1], unittest.equals('foo')); 1057 unittest.expect(o[1], unittest.equals('foo'));
1009 } 1058 }
1010 1059
1011 buildUnnamed1268() { 1060 buildUnnamed1021() {
1012 var o = new core.List<core.String>(); 1061 var o = new core.List<core.String>();
1013 o.add("foo"); 1062 o.add("foo");
1014 o.add("foo"); 1063 o.add("foo");
1015 return o; 1064 return o;
1016 } 1065 }
1017 1066
1018 checkUnnamed1268(core.List<core.String> o) { 1067 checkUnnamed1021(core.List<core.String> o) {
1019 unittest.expect(o, unittest.hasLength(2)); 1068 unittest.expect(o, unittest.hasLength(2));
1020 unittest.expect(o[0], unittest.equals('foo')); 1069 unittest.expect(o[0], unittest.equals('foo'));
1021 unittest.expect(o[1], unittest.equals('foo')); 1070 unittest.expect(o[1], unittest.equals('foo'));
1022 } 1071 }
1023 1072
1024 core.int buildCounterEndpoint = 0; 1073 core.int buildCounterEndpoint = 0;
1025 buildEndpoint() { 1074 buildEndpoint() {
1026 var o = new api.Endpoint(); 1075 var o = new api.Endpoint();
1027 buildCounterEndpoint++; 1076 buildCounterEndpoint++;
1028 if (buildCounterEndpoint < 3) { 1077 if (buildCounterEndpoint < 3) {
1029 o.aliases = buildUnnamed1266(); 1078 o.aliases = buildUnnamed1019();
1030 o.allowCors = true; 1079 o.allowCors = true;
1031 o.apis = buildUnnamed1267(); 1080 o.apis = buildUnnamed1020();
1032 o.features = buildUnnamed1268(); 1081 o.features = buildUnnamed1021();
1033 o.name = "foo"; 1082 o.name = "foo";
1034 } 1083 }
1035 buildCounterEndpoint--; 1084 buildCounterEndpoint--;
1036 return o; 1085 return o;
1037 } 1086 }
1038 1087
1039 checkEndpoint(api.Endpoint o) { 1088 checkEndpoint(api.Endpoint o) {
1040 buildCounterEndpoint++; 1089 buildCounterEndpoint++;
1041 if (buildCounterEndpoint < 3) { 1090 if (buildCounterEndpoint < 3) {
1042 checkUnnamed1266(o.aliases); 1091 checkUnnamed1019(o.aliases);
1043 unittest.expect(o.allowCors, unittest.isTrue); 1092 unittest.expect(o.allowCors, unittest.isTrue);
1044 checkUnnamed1267(o.apis); 1093 checkUnnamed1020(o.apis);
1045 checkUnnamed1268(o.features); 1094 checkUnnamed1021(o.features);
1046 unittest.expect(o.name, unittest.equals('foo')); 1095 unittest.expect(o.name, unittest.equals('foo'));
1047 } 1096 }
1048 buildCounterEndpoint--; 1097 buildCounterEndpoint--;
1049 } 1098 }
1050 1099
1051 buildUnnamed1269() { 1100 buildUnnamed1022() {
1052 var o = new core.List<api.EnumValue>(); 1101 var o = new core.List<api.EnumValue>();
1053 o.add(buildEnumValue()); 1102 o.add(buildEnumValue());
1054 o.add(buildEnumValue()); 1103 o.add(buildEnumValue());
1055 return o; 1104 return o;
1056 } 1105 }
1057 1106
1058 checkUnnamed1269(core.List<api.EnumValue> o) { 1107 checkUnnamed1022(core.List<api.EnumValue> o) {
1059 unittest.expect(o, unittest.hasLength(2)); 1108 unittest.expect(o, unittest.hasLength(2));
1060 checkEnumValue(o[0]); 1109 checkEnumValue(o[0]);
1061 checkEnumValue(o[1]); 1110 checkEnumValue(o[1]);
1062 } 1111 }
1063 1112
1064 buildUnnamed1270() { 1113 buildUnnamed1023() {
1065 var o = new core.List<api.Option>(); 1114 var o = new core.List<api.Option>();
1066 o.add(buildOption()); 1115 o.add(buildOption());
1067 o.add(buildOption()); 1116 o.add(buildOption());
1068 return o; 1117 return o;
1069 } 1118 }
1070 1119
1071 checkUnnamed1270(core.List<api.Option> o) { 1120 checkUnnamed1023(core.List<api.Option> o) {
1072 unittest.expect(o, unittest.hasLength(2)); 1121 unittest.expect(o, unittest.hasLength(2));
1073 checkOption(o[0]); 1122 checkOption(o[0]);
1074 checkOption(o[1]); 1123 checkOption(o[1]);
1075 } 1124 }
1076 1125
1077 core.int buildCounterEnum = 0; 1126 core.int buildCounterEnum = 0;
1078 buildEnum() { 1127 buildEnum() {
1079 var o = new api.Enum(); 1128 var o = new api.Enum();
1080 buildCounterEnum++; 1129 buildCounterEnum++;
1081 if (buildCounterEnum < 3) { 1130 if (buildCounterEnum < 3) {
1082 o.enumvalue = buildUnnamed1269(); 1131 o.enumvalue = buildUnnamed1022();
1083 o.name = "foo"; 1132 o.name = "foo";
1084 o.options = buildUnnamed1270(); 1133 o.options = buildUnnamed1023();
1085 o.sourceContext = buildSourceContext(); 1134 o.sourceContext = buildSourceContext();
1086 o.syntax = "foo"; 1135 o.syntax = "foo";
1087 } 1136 }
1088 buildCounterEnum--; 1137 buildCounterEnum--;
1089 return o; 1138 return o;
1090 } 1139 }
1091 1140
1092 checkEnum(api.Enum o) { 1141 checkEnum(api.Enum o) {
1093 buildCounterEnum++; 1142 buildCounterEnum++;
1094 if (buildCounterEnum < 3) { 1143 if (buildCounterEnum < 3) {
1095 checkUnnamed1269(o.enumvalue); 1144 checkUnnamed1022(o.enumvalue);
1096 unittest.expect(o.name, unittest.equals('foo')); 1145 unittest.expect(o.name, unittest.equals('foo'));
1097 checkUnnamed1270(o.options); 1146 checkUnnamed1023(o.options);
1098 checkSourceContext(o.sourceContext); 1147 checkSourceContext(o.sourceContext);
1099 unittest.expect(o.syntax, unittest.equals('foo')); 1148 unittest.expect(o.syntax, unittest.equals('foo'));
1100 } 1149 }
1101 buildCounterEnum--; 1150 buildCounterEnum--;
1102 } 1151 }
1103 1152
1104 buildUnnamed1271() { 1153 buildUnnamed1024() {
1105 var o = new core.List<api.Option>(); 1154 var o = new core.List<api.Option>();
1106 o.add(buildOption()); 1155 o.add(buildOption());
1107 o.add(buildOption()); 1156 o.add(buildOption());
1108 return o; 1157 return o;
1109 } 1158 }
1110 1159
1111 checkUnnamed1271(core.List<api.Option> o) { 1160 checkUnnamed1024(core.List<api.Option> o) {
1112 unittest.expect(o, unittest.hasLength(2)); 1161 unittest.expect(o, unittest.hasLength(2));
1113 checkOption(o[0]); 1162 checkOption(o[0]);
1114 checkOption(o[1]); 1163 checkOption(o[1]);
1115 } 1164 }
1116 1165
1117 core.int buildCounterEnumValue = 0; 1166 core.int buildCounterEnumValue = 0;
1118 buildEnumValue() { 1167 buildEnumValue() {
1119 var o = new api.EnumValue(); 1168 var o = new api.EnumValue();
1120 buildCounterEnumValue++; 1169 buildCounterEnumValue++;
1121 if (buildCounterEnumValue < 3) { 1170 if (buildCounterEnumValue < 3) {
1122 o.name = "foo"; 1171 o.name = "foo";
1123 o.number = 42; 1172 o.number = 42;
1124 o.options = buildUnnamed1271(); 1173 o.options = buildUnnamed1024();
1125 } 1174 }
1126 buildCounterEnumValue--; 1175 buildCounterEnumValue--;
1127 return o; 1176 return o;
1128 } 1177 }
1129 1178
1130 checkEnumValue(api.EnumValue o) { 1179 checkEnumValue(api.EnumValue o) {
1131 buildCounterEnumValue++; 1180 buildCounterEnumValue++;
1132 if (buildCounterEnumValue < 3) { 1181 if (buildCounterEnumValue < 3) {
1133 unittest.expect(o.name, unittest.equals('foo')); 1182 unittest.expect(o.name, unittest.equals('foo'));
1134 unittest.expect(o.number, unittest.equals(42)); 1183 unittest.expect(o.number, unittest.equals(42));
1135 checkUnnamed1271(o.options); 1184 checkUnnamed1024(o.options);
1136 } 1185 }
1137 buildCounterEnumValue--; 1186 buildCounterEnumValue--;
1138 } 1187 }
1139 1188
1140 buildUnnamed1272() { 1189 buildUnnamed1025() {
1141 var o = new core.List<api.Option>(); 1190 var o = new core.List<api.Option>();
1142 o.add(buildOption()); 1191 o.add(buildOption());
1143 o.add(buildOption()); 1192 o.add(buildOption());
1144 return o; 1193 return o;
1145 } 1194 }
1146 1195
1147 checkUnnamed1272(core.List<api.Option> o) { 1196 checkUnnamed1025(core.List<api.Option> o) {
1148 unittest.expect(o, unittest.hasLength(2)); 1197 unittest.expect(o, unittest.hasLength(2));
1149 checkOption(o[0]); 1198 checkOption(o[0]);
1150 checkOption(o[1]); 1199 checkOption(o[1]);
1151 } 1200 }
1152 1201
1153 core.int buildCounterField = 0; 1202 core.int buildCounterField = 0;
1154 buildField() { 1203 buildField() {
1155 var o = new api.Field(); 1204 var o = new api.Field();
1156 buildCounterField++; 1205 buildCounterField++;
1157 if (buildCounterField < 3) { 1206 if (buildCounterField < 3) {
1158 o.cardinality = "foo"; 1207 o.cardinality = "foo";
1159 o.defaultValue = "foo"; 1208 o.defaultValue = "foo";
1160 o.jsonName = "foo"; 1209 o.jsonName = "foo";
1161 o.kind = "foo"; 1210 o.kind = "foo";
1162 o.name = "foo"; 1211 o.name = "foo";
1163 o.number = 42; 1212 o.number = 42;
1164 o.oneofIndex = 42; 1213 o.oneofIndex = 42;
1165 o.options = buildUnnamed1272(); 1214 o.options = buildUnnamed1025();
1166 o.packed = true; 1215 o.packed = true;
1167 o.typeUrl = "foo"; 1216 o.typeUrl = "foo";
1168 } 1217 }
1169 buildCounterField--; 1218 buildCounterField--;
1170 return o; 1219 return o;
1171 } 1220 }
1172 1221
1173 checkField(api.Field o) { 1222 checkField(api.Field o) {
1174 buildCounterField++; 1223 buildCounterField++;
1175 if (buildCounterField < 3) { 1224 if (buildCounterField < 3) {
1176 unittest.expect(o.cardinality, unittest.equals('foo')); 1225 unittest.expect(o.cardinality, unittest.equals('foo'));
1177 unittest.expect(o.defaultValue, unittest.equals('foo')); 1226 unittest.expect(o.defaultValue, unittest.equals('foo'));
1178 unittest.expect(o.jsonName, unittest.equals('foo')); 1227 unittest.expect(o.jsonName, unittest.equals('foo'));
1179 unittest.expect(o.kind, unittest.equals('foo')); 1228 unittest.expect(o.kind, unittest.equals('foo'));
1180 unittest.expect(o.name, unittest.equals('foo')); 1229 unittest.expect(o.name, unittest.equals('foo'));
1181 unittest.expect(o.number, unittest.equals(42)); 1230 unittest.expect(o.number, unittest.equals(42));
1182 unittest.expect(o.oneofIndex, unittest.equals(42)); 1231 unittest.expect(o.oneofIndex, unittest.equals(42));
1183 checkUnnamed1272(o.options); 1232 checkUnnamed1025(o.options);
1184 unittest.expect(o.packed, unittest.isTrue); 1233 unittest.expect(o.packed, unittest.isTrue);
1185 unittest.expect(o.typeUrl, unittest.equals('foo')); 1234 unittest.expect(o.typeUrl, unittest.equals('foo'));
1186 } 1235 }
1187 buildCounterField--; 1236 buildCounterField--;
1188 } 1237 }
1189 1238
1190 buildUnnamed1273() { 1239 buildUnnamed1026() {
1191 var o = new core.Map<core.String, core.Object>(); 1240 var o = new core.Map<core.String, core.Object>();
1192 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1241 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1193 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1242 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1194 return o; 1243 return o;
1195 } 1244 }
1196 1245
1197 checkUnnamed1273(core.Map<core.String, core.Object> o) { 1246 checkUnnamed1026(core.Map<core.String, core.Object> o) {
1198 unittest.expect(o, unittest.hasLength(2)); 1247 unittest.expect(o, unittest.hasLength(2));
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')); 1248 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'));
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')); 1249 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'));
1201 } 1250 }
1202 1251
1203 buildUnnamed1274() { 1252 buildUnnamed1027() {
1204 var o = new core.Map<core.String, core.Object>(); 1253 var o = new core.Map<core.String, core.Object>();
1205 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1254 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1206 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1255 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1207 return o; 1256 return o;
1208 } 1257 }
1209 1258
1210 checkUnnamed1274(core.Map<core.String, core.Object> o) { 1259 checkUnnamed1027(core.Map<core.String, core.Object> o) {
1211 unittest.expect(o, unittest.hasLength(2)); 1260 unittest.expect(o, unittest.hasLength(2));
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')); 1261 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'));
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')); 1262 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'));
1214 } 1263 }
1215 1264
1216 core.int buildCounterGenerateConfigReportRequest = 0; 1265 core.int buildCounterGenerateConfigReportRequest = 0;
1217 buildGenerateConfigReportRequest() { 1266 buildGenerateConfigReportRequest() {
1218 var o = new api.GenerateConfigReportRequest(); 1267 var o = new api.GenerateConfigReportRequest();
1219 buildCounterGenerateConfigReportRequest++; 1268 buildCounterGenerateConfigReportRequest++;
1220 if (buildCounterGenerateConfigReportRequest < 3) { 1269 if (buildCounterGenerateConfigReportRequest < 3) {
1221 o.newConfig = buildUnnamed1273(); 1270 o.newConfig = buildUnnamed1026();
1222 o.oldConfig = buildUnnamed1274(); 1271 o.oldConfig = buildUnnamed1027();
1223 } 1272 }
1224 buildCounterGenerateConfigReportRequest--; 1273 buildCounterGenerateConfigReportRequest--;
1225 return o; 1274 return o;
1226 } 1275 }
1227 1276
1228 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { 1277 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
1229 buildCounterGenerateConfigReportRequest++; 1278 buildCounterGenerateConfigReportRequest++;
1230 if (buildCounterGenerateConfigReportRequest < 3) { 1279 if (buildCounterGenerateConfigReportRequest < 3) {
1231 checkUnnamed1273(o.newConfig); 1280 checkUnnamed1026(o.newConfig);
1232 checkUnnamed1274(o.oldConfig); 1281 checkUnnamed1027(o.oldConfig);
1233 } 1282 }
1234 buildCounterGenerateConfigReportRequest--; 1283 buildCounterGenerateConfigReportRequest--;
1235 } 1284 }
1236 1285
1237 buildUnnamed1275() { 1286 buildUnnamed1028() {
1238 var o = new core.List<api.ChangeReport>(); 1287 var o = new core.List<api.ChangeReport>();
1239 o.add(buildChangeReport()); 1288 o.add(buildChangeReport());
1240 o.add(buildChangeReport()); 1289 o.add(buildChangeReport());
1241 return o; 1290 return o;
1242 } 1291 }
1243 1292
1244 checkUnnamed1275(core.List<api.ChangeReport> o) { 1293 checkUnnamed1028(core.List<api.ChangeReport> o) {
1245 unittest.expect(o, unittest.hasLength(2)); 1294 unittest.expect(o, unittest.hasLength(2));
1246 checkChangeReport(o[0]); 1295 checkChangeReport(o[0]);
1247 checkChangeReport(o[1]); 1296 checkChangeReport(o[1]);
1248 } 1297 }
1249 1298
1250 buildUnnamed1276() { 1299 buildUnnamed1029() {
1251 var o = new core.List<api.Diagnostic>(); 1300 var o = new core.List<api.Diagnostic>();
1252 o.add(buildDiagnostic()); 1301 o.add(buildDiagnostic());
1253 o.add(buildDiagnostic()); 1302 o.add(buildDiagnostic());
1254 return o; 1303 return o;
1255 } 1304 }
1256 1305
1257 checkUnnamed1276(core.List<api.Diagnostic> o) { 1306 checkUnnamed1029(core.List<api.Diagnostic> o) {
1258 unittest.expect(o, unittest.hasLength(2)); 1307 unittest.expect(o, unittest.hasLength(2));
1259 checkDiagnostic(o[0]); 1308 checkDiagnostic(o[0]);
1260 checkDiagnostic(o[1]); 1309 checkDiagnostic(o[1]);
1261 } 1310 }
1262 1311
1263 core.int buildCounterGenerateConfigReportResponse = 0; 1312 core.int buildCounterGenerateConfigReportResponse = 0;
1264 buildGenerateConfigReportResponse() { 1313 buildGenerateConfigReportResponse() {
1265 var o = new api.GenerateConfigReportResponse(); 1314 var o = new api.GenerateConfigReportResponse();
1266 buildCounterGenerateConfigReportResponse++; 1315 buildCounterGenerateConfigReportResponse++;
1267 if (buildCounterGenerateConfigReportResponse < 3) { 1316 if (buildCounterGenerateConfigReportResponse < 3) {
1268 o.changeReports = buildUnnamed1275(); 1317 o.changeReports = buildUnnamed1028();
1269 o.diagnostics = buildUnnamed1276(); 1318 o.diagnostics = buildUnnamed1029();
1270 o.id = "foo"; 1319 o.id = "foo";
1271 o.serviceName = "foo"; 1320 o.serviceName = "foo";
1272 } 1321 }
1273 buildCounterGenerateConfigReportResponse--; 1322 buildCounterGenerateConfigReportResponse--;
1274 return o; 1323 return o;
1275 } 1324 }
1276 1325
1277 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { 1326 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
1278 buildCounterGenerateConfigReportResponse++; 1327 buildCounterGenerateConfigReportResponse++;
1279 if (buildCounterGenerateConfigReportResponse < 3) { 1328 if (buildCounterGenerateConfigReportResponse < 3) {
1280 checkUnnamed1275(o.changeReports); 1329 checkUnnamed1028(o.changeReports);
1281 checkUnnamed1276(o.diagnostics); 1330 checkUnnamed1029(o.diagnostics);
1282 unittest.expect(o.id, unittest.equals('foo')); 1331 unittest.expect(o.id, unittest.equals('foo'));
1283 unittest.expect(o.serviceName, unittest.equals('foo')); 1332 unittest.expect(o.serviceName, unittest.equals('foo'));
1284 } 1333 }
1285 buildCounterGenerateConfigReportResponse--; 1334 buildCounterGenerateConfigReportResponse--;
1286 } 1335 }
1287 1336
1288 core.int buildCounterGetIamPolicyRequest = 0; 1337 core.int buildCounterGetIamPolicyRequest = 0;
1289 buildGetIamPolicyRequest() { 1338 buildGetIamPolicyRequest() {
1290 var o = new api.GetIamPolicyRequest(); 1339 var o = new api.GetIamPolicyRequest();
1291 buildCounterGetIamPolicyRequest++; 1340 buildCounterGetIamPolicyRequest++;
1292 if (buildCounterGetIamPolicyRequest < 3) { 1341 if (buildCounterGetIamPolicyRequest < 3) {
1293 } 1342 }
1294 buildCounterGetIamPolicyRequest--; 1343 buildCounterGetIamPolicyRequest--;
1295 return o; 1344 return o;
1296 } 1345 }
1297 1346
1298 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { 1347 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
1299 buildCounterGetIamPolicyRequest++; 1348 buildCounterGetIamPolicyRequest++;
1300 if (buildCounterGetIamPolicyRequest < 3) { 1349 if (buildCounterGetIamPolicyRequest < 3) {
1301 } 1350 }
1302 buildCounterGetIamPolicyRequest--; 1351 buildCounterGetIamPolicyRequest--;
1303 } 1352 }
1304 1353
1305 buildUnnamed1277() { 1354 buildUnnamed1030() {
1306 var o = new core.List<api.HttpRule>(); 1355 var o = new core.List<api.HttpRule>();
1307 o.add(buildHttpRule()); 1356 o.add(buildHttpRule());
1308 o.add(buildHttpRule()); 1357 o.add(buildHttpRule());
1309 return o; 1358 return o;
1310 } 1359 }
1311 1360
1312 checkUnnamed1277(core.List<api.HttpRule> o) { 1361 checkUnnamed1030(core.List<api.HttpRule> o) {
1313 unittest.expect(o, unittest.hasLength(2)); 1362 unittest.expect(o, unittest.hasLength(2));
1314 checkHttpRule(o[0]); 1363 checkHttpRule(o[0]);
1315 checkHttpRule(o[1]); 1364 checkHttpRule(o[1]);
1316 } 1365 }
1317 1366
1318 core.int buildCounterHttp = 0; 1367 core.int buildCounterHttp = 0;
1319 buildHttp() { 1368 buildHttp() {
1320 var o = new api.Http(); 1369 var o = new api.Http();
1321 buildCounterHttp++; 1370 buildCounterHttp++;
1322 if (buildCounterHttp < 3) { 1371 if (buildCounterHttp < 3) {
1323 o.rules = buildUnnamed1277(); 1372 o.rules = buildUnnamed1030();
1324 } 1373 }
1325 buildCounterHttp--; 1374 buildCounterHttp--;
1326 return o; 1375 return o;
1327 } 1376 }
1328 1377
1329 checkHttp(api.Http o) { 1378 checkHttp(api.Http o) {
1330 buildCounterHttp++; 1379 buildCounterHttp++;
1331 if (buildCounterHttp < 3) { 1380 if (buildCounterHttp < 3) {
1332 checkUnnamed1277(o.rules); 1381 checkUnnamed1030(o.rules);
1333 } 1382 }
1334 buildCounterHttp--; 1383 buildCounterHttp--;
1335 } 1384 }
1336 1385
1337 buildUnnamed1278() { 1386 buildUnnamed1031() {
1338 var o = new core.List<api.HttpRule>(); 1387 var o = new core.List<api.HttpRule>();
1339 o.add(buildHttpRule()); 1388 o.add(buildHttpRule());
1340 o.add(buildHttpRule()); 1389 o.add(buildHttpRule());
1341 return o; 1390 return o;
1342 } 1391 }
1343 1392
1344 checkUnnamed1278(core.List<api.HttpRule> o) { 1393 checkUnnamed1031(core.List<api.HttpRule> o) {
1345 unittest.expect(o, unittest.hasLength(2)); 1394 unittest.expect(o, unittest.hasLength(2));
1346 checkHttpRule(o[0]); 1395 checkHttpRule(o[0]);
1347 checkHttpRule(o[1]); 1396 checkHttpRule(o[1]);
1348 } 1397 }
1349 1398
1350 core.int buildCounterHttpRule = 0; 1399 core.int buildCounterHttpRule = 0;
1351 buildHttpRule() { 1400 buildHttpRule() {
1352 var o = new api.HttpRule(); 1401 var o = new api.HttpRule();
1353 buildCounterHttpRule++; 1402 buildCounterHttpRule++;
1354 if (buildCounterHttpRule < 3) { 1403 if (buildCounterHttpRule < 3) {
1355 o.additionalBindings = buildUnnamed1278(); 1404 o.additionalBindings = buildUnnamed1031();
1356 o.body = "foo"; 1405 o.body = "foo";
1357 o.custom = buildCustomHttpPattern(); 1406 o.custom = buildCustomHttpPattern();
1358 o.delete = "foo"; 1407 o.delete = "foo";
1359 o.get = "foo"; 1408 o.get = "foo";
1360 o.mediaDownload = buildMediaDownload(); 1409 o.mediaDownload = buildMediaDownload();
1361 o.mediaUpload = buildMediaUpload(); 1410 o.mediaUpload = buildMediaUpload();
1362 o.patch = "foo"; 1411 o.patch = "foo";
1363 o.post = "foo"; 1412 o.post = "foo";
1364 o.put = "foo"; 1413 o.put = "foo";
1365 o.responseBody = "foo"; 1414 o.responseBody = "foo";
1366 o.selector = "foo"; 1415 o.selector = "foo";
1367 } 1416 }
1368 buildCounterHttpRule--; 1417 buildCounterHttpRule--;
1369 return o; 1418 return o;
1370 } 1419 }
1371 1420
1372 checkHttpRule(api.HttpRule o) { 1421 checkHttpRule(api.HttpRule o) {
1373 buildCounterHttpRule++; 1422 buildCounterHttpRule++;
1374 if (buildCounterHttpRule < 3) { 1423 if (buildCounterHttpRule < 3) {
1375 checkUnnamed1278(o.additionalBindings); 1424 checkUnnamed1031(o.additionalBindings);
1376 unittest.expect(o.body, unittest.equals('foo')); 1425 unittest.expect(o.body, unittest.equals('foo'));
1377 checkCustomHttpPattern(o.custom); 1426 checkCustomHttpPattern(o.custom);
1378 unittest.expect(o.delete, unittest.equals('foo')); 1427 unittest.expect(o.delete, unittest.equals('foo'));
1379 unittest.expect(o.get, unittest.equals('foo')); 1428 unittest.expect(o.get, unittest.equals('foo'));
1380 checkMediaDownload(o.mediaDownload); 1429 checkMediaDownload(o.mediaDownload);
1381 checkMediaUpload(o.mediaUpload); 1430 checkMediaUpload(o.mediaUpload);
1382 unittest.expect(o.patch, unittest.equals('foo')); 1431 unittest.expect(o.patch, unittest.equals('foo'));
1383 unittest.expect(o.post, unittest.equals('foo')); 1432 unittest.expect(o.post, unittest.equals('foo'));
1384 unittest.expect(o.put, unittest.equals('foo')); 1433 unittest.expect(o.put, unittest.equals('foo'));
1385 unittest.expect(o.responseBody, unittest.equals('foo')); 1434 unittest.expect(o.responseBody, unittest.equals('foo'));
(...skipping 18 matching lines...) Expand all
1404 checkLabelDescriptor(api.LabelDescriptor o) { 1453 checkLabelDescriptor(api.LabelDescriptor o) {
1405 buildCounterLabelDescriptor++; 1454 buildCounterLabelDescriptor++;
1406 if (buildCounterLabelDescriptor < 3) { 1455 if (buildCounterLabelDescriptor < 3) {
1407 unittest.expect(o.description, unittest.equals('foo')); 1456 unittest.expect(o.description, unittest.equals('foo'));
1408 unittest.expect(o.key, unittest.equals('foo')); 1457 unittest.expect(o.key, unittest.equals('foo'));
1409 unittest.expect(o.valueType, unittest.equals('foo')); 1458 unittest.expect(o.valueType, unittest.equals('foo'));
1410 } 1459 }
1411 buildCounterLabelDescriptor--; 1460 buildCounterLabelDescriptor--;
1412 } 1461 }
1413 1462
1414 buildUnnamed1279() { 1463 buildUnnamed1032() {
1415 var o = new core.List<api.Service>(); 1464 var o = new core.List<api.Service>();
1416 o.add(buildService()); 1465 o.add(buildService());
1417 o.add(buildService()); 1466 o.add(buildService());
1418 return o; 1467 return o;
1419 } 1468 }
1420 1469
1421 checkUnnamed1279(core.List<api.Service> o) { 1470 checkUnnamed1032(core.List<api.Service> o) {
1422 unittest.expect(o, unittest.hasLength(2)); 1471 unittest.expect(o, unittest.hasLength(2));
1423 checkService(o[0]); 1472 checkService(o[0]);
1424 checkService(o[1]); 1473 checkService(o[1]);
1425 } 1474 }
1426 1475
1427 core.int buildCounterListServiceConfigsResponse = 0; 1476 core.int buildCounterListServiceConfigsResponse = 0;
1428 buildListServiceConfigsResponse() { 1477 buildListServiceConfigsResponse() {
1429 var o = new api.ListServiceConfigsResponse(); 1478 var o = new api.ListServiceConfigsResponse();
1430 buildCounterListServiceConfigsResponse++; 1479 buildCounterListServiceConfigsResponse++;
1431 if (buildCounterListServiceConfigsResponse < 3) { 1480 if (buildCounterListServiceConfigsResponse < 3) {
1432 o.nextPageToken = "foo"; 1481 o.nextPageToken = "foo";
1433 o.serviceConfigs = buildUnnamed1279(); 1482 o.serviceConfigs = buildUnnamed1032();
1434 } 1483 }
1435 buildCounterListServiceConfigsResponse--; 1484 buildCounterListServiceConfigsResponse--;
1436 return o; 1485 return o;
1437 } 1486 }
1438 1487
1439 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { 1488 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) {
1440 buildCounterListServiceConfigsResponse++; 1489 buildCounterListServiceConfigsResponse++;
1441 if (buildCounterListServiceConfigsResponse < 3) { 1490 if (buildCounterListServiceConfigsResponse < 3) {
1442 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1491 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1443 checkUnnamed1279(o.serviceConfigs); 1492 checkUnnamed1032(o.serviceConfigs);
1444 } 1493 }
1445 buildCounterListServiceConfigsResponse--; 1494 buildCounterListServiceConfigsResponse--;
1446 } 1495 }
1447 1496
1448 buildUnnamed1280() { 1497 buildUnnamed1033() {
1449 var o = new core.List<api.Rollout>(); 1498 var o = new core.List<api.Rollout>();
1450 o.add(buildRollout()); 1499 o.add(buildRollout());
1451 o.add(buildRollout()); 1500 o.add(buildRollout());
1452 return o; 1501 return o;
1453 } 1502 }
1454 1503
1455 checkUnnamed1280(core.List<api.Rollout> o) { 1504 checkUnnamed1033(core.List<api.Rollout> o) {
1456 unittest.expect(o, unittest.hasLength(2)); 1505 unittest.expect(o, unittest.hasLength(2));
1457 checkRollout(o[0]); 1506 checkRollout(o[0]);
1458 checkRollout(o[1]); 1507 checkRollout(o[1]);
1459 } 1508 }
1460 1509
1461 core.int buildCounterListServiceRolloutsResponse = 0; 1510 core.int buildCounterListServiceRolloutsResponse = 0;
1462 buildListServiceRolloutsResponse() { 1511 buildListServiceRolloutsResponse() {
1463 var o = new api.ListServiceRolloutsResponse(); 1512 var o = new api.ListServiceRolloutsResponse();
1464 buildCounterListServiceRolloutsResponse++; 1513 buildCounterListServiceRolloutsResponse++;
1465 if (buildCounterListServiceRolloutsResponse < 3) { 1514 if (buildCounterListServiceRolloutsResponse < 3) {
1466 o.nextPageToken = "foo"; 1515 o.nextPageToken = "foo";
1467 o.rollouts = buildUnnamed1280(); 1516 o.rollouts = buildUnnamed1033();
1468 } 1517 }
1469 buildCounterListServiceRolloutsResponse--; 1518 buildCounterListServiceRolloutsResponse--;
1470 return o; 1519 return o;
1471 } 1520 }
1472 1521
1473 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { 1522 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) {
1474 buildCounterListServiceRolloutsResponse++; 1523 buildCounterListServiceRolloutsResponse++;
1475 if (buildCounterListServiceRolloutsResponse < 3) { 1524 if (buildCounterListServiceRolloutsResponse < 3) {
1476 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1525 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1477 checkUnnamed1280(o.rollouts); 1526 checkUnnamed1033(o.rollouts);
1478 } 1527 }
1479 buildCounterListServiceRolloutsResponse--; 1528 buildCounterListServiceRolloutsResponse--;
1480 } 1529 }
1481 1530
1482 buildUnnamed1281() { 1531 buildUnnamed1034() {
1483 var o = new core.List<api.ManagedService>(); 1532 var o = new core.List<api.ManagedService>();
1484 o.add(buildManagedService()); 1533 o.add(buildManagedService());
1485 o.add(buildManagedService()); 1534 o.add(buildManagedService());
1486 return o; 1535 return o;
1487 } 1536 }
1488 1537
1489 checkUnnamed1281(core.List<api.ManagedService> o) { 1538 checkUnnamed1034(core.List<api.ManagedService> o) {
1490 unittest.expect(o, unittest.hasLength(2)); 1539 unittest.expect(o, unittest.hasLength(2));
1491 checkManagedService(o[0]); 1540 checkManagedService(o[0]);
1492 checkManagedService(o[1]); 1541 checkManagedService(o[1]);
1493 } 1542 }
1494 1543
1495 core.int buildCounterListServicesResponse = 0; 1544 core.int buildCounterListServicesResponse = 0;
1496 buildListServicesResponse() { 1545 buildListServicesResponse() {
1497 var o = new api.ListServicesResponse(); 1546 var o = new api.ListServicesResponse();
1498 buildCounterListServicesResponse++; 1547 buildCounterListServicesResponse++;
1499 if (buildCounterListServicesResponse < 3) { 1548 if (buildCounterListServicesResponse < 3) {
1500 o.nextPageToken = "foo"; 1549 o.nextPageToken = "foo";
1501 o.services = buildUnnamed1281(); 1550 o.services = buildUnnamed1034();
1502 } 1551 }
1503 buildCounterListServicesResponse--; 1552 buildCounterListServicesResponse--;
1504 return o; 1553 return o;
1505 } 1554 }
1506 1555
1507 checkListServicesResponse(api.ListServicesResponse o) { 1556 checkListServicesResponse(api.ListServicesResponse o) {
1508 buildCounterListServicesResponse++; 1557 buildCounterListServicesResponse++;
1509 if (buildCounterListServicesResponse < 3) { 1558 if (buildCounterListServicesResponse < 3) {
1510 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1559 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1511 checkUnnamed1281(o.services); 1560 checkUnnamed1034(o.services);
1512 } 1561 }
1513 buildCounterListServicesResponse--; 1562 buildCounterListServicesResponse--;
1514 } 1563 }
1515 1564
1516 core.int buildCounterLogConfig = 0; 1565 core.int buildCounterLogConfig = 0;
1517 buildLogConfig() { 1566 buildLogConfig() {
1518 var o = new api.LogConfig(); 1567 var o = new api.LogConfig();
1519 buildCounterLogConfig++; 1568 buildCounterLogConfig++;
1520 if (buildCounterLogConfig < 3) { 1569 if (buildCounterLogConfig < 3) {
1521 o.cloudAudit = buildCloudAuditOptions(); 1570 o.cloudAudit = buildCloudAuditOptions();
1522 o.counter = buildCounterOptions(); 1571 o.counter = buildCounterOptions();
1523 o.dataAccess = buildDataAccessOptions(); 1572 o.dataAccess = buildDataAccessOptions();
1524 } 1573 }
1525 buildCounterLogConfig--; 1574 buildCounterLogConfig--;
1526 return o; 1575 return o;
1527 } 1576 }
1528 1577
1529 checkLogConfig(api.LogConfig o) { 1578 checkLogConfig(api.LogConfig o) {
1530 buildCounterLogConfig++; 1579 buildCounterLogConfig++;
1531 if (buildCounterLogConfig < 3) { 1580 if (buildCounterLogConfig < 3) {
1532 checkCloudAuditOptions(o.cloudAudit); 1581 checkCloudAuditOptions(o.cloudAudit);
1533 checkCounterOptions(o.counter); 1582 checkCounterOptions(o.counter);
1534 checkDataAccessOptions(o.dataAccess); 1583 checkDataAccessOptions(o.dataAccess);
1535 } 1584 }
1536 buildCounterLogConfig--; 1585 buildCounterLogConfig--;
1537 } 1586 }
1538 1587
1539 buildUnnamed1282() { 1588 buildUnnamed1035() {
1540 var o = new core.List<api.LabelDescriptor>(); 1589 var o = new core.List<api.LabelDescriptor>();
1541 o.add(buildLabelDescriptor()); 1590 o.add(buildLabelDescriptor());
1542 o.add(buildLabelDescriptor()); 1591 o.add(buildLabelDescriptor());
1543 return o; 1592 return o;
1544 } 1593 }
1545 1594
1546 checkUnnamed1282(core.List<api.LabelDescriptor> o) { 1595 checkUnnamed1035(core.List<api.LabelDescriptor> o) {
1547 unittest.expect(o, unittest.hasLength(2)); 1596 unittest.expect(o, unittest.hasLength(2));
1548 checkLabelDescriptor(o[0]); 1597 checkLabelDescriptor(o[0]);
1549 checkLabelDescriptor(o[1]); 1598 checkLabelDescriptor(o[1]);
1550 } 1599 }
1551 1600
1552 core.int buildCounterLogDescriptor = 0; 1601 core.int buildCounterLogDescriptor = 0;
1553 buildLogDescriptor() { 1602 buildLogDescriptor() {
1554 var o = new api.LogDescriptor(); 1603 var o = new api.LogDescriptor();
1555 buildCounterLogDescriptor++; 1604 buildCounterLogDescriptor++;
1556 if (buildCounterLogDescriptor < 3) { 1605 if (buildCounterLogDescriptor < 3) {
1557 o.description = "foo"; 1606 o.description = "foo";
1558 o.displayName = "foo"; 1607 o.displayName = "foo";
1559 o.labels = buildUnnamed1282(); 1608 o.labels = buildUnnamed1035();
1560 o.name = "foo"; 1609 o.name = "foo";
1561 } 1610 }
1562 buildCounterLogDescriptor--; 1611 buildCounterLogDescriptor--;
1563 return o; 1612 return o;
1564 } 1613 }
1565 1614
1566 checkLogDescriptor(api.LogDescriptor o) { 1615 checkLogDescriptor(api.LogDescriptor o) {
1567 buildCounterLogDescriptor++; 1616 buildCounterLogDescriptor++;
1568 if (buildCounterLogDescriptor < 3) { 1617 if (buildCounterLogDescriptor < 3) {
1569 unittest.expect(o.description, unittest.equals('foo')); 1618 unittest.expect(o.description, unittest.equals('foo'));
1570 unittest.expect(o.displayName, unittest.equals('foo')); 1619 unittest.expect(o.displayName, unittest.equals('foo'));
1571 checkUnnamed1282(o.labels); 1620 checkUnnamed1035(o.labels);
1572 unittest.expect(o.name, unittest.equals('foo')); 1621 unittest.expect(o.name, unittest.equals('foo'));
1573 } 1622 }
1574 buildCounterLogDescriptor--; 1623 buildCounterLogDescriptor--;
1575 } 1624 }
1576 1625
1577 buildUnnamed1283() { 1626 buildUnnamed1036() {
1578 var o = new core.List<api.LoggingDestination>(); 1627 var o = new core.List<api.LoggingDestination>();
1579 o.add(buildLoggingDestination()); 1628 o.add(buildLoggingDestination());
1580 o.add(buildLoggingDestination()); 1629 o.add(buildLoggingDestination());
1581 return o; 1630 return o;
1582 } 1631 }
1583 1632
1584 checkUnnamed1283(core.List<api.LoggingDestination> o) { 1633 checkUnnamed1036(core.List<api.LoggingDestination> o) {
1585 unittest.expect(o, unittest.hasLength(2)); 1634 unittest.expect(o, unittest.hasLength(2));
1586 checkLoggingDestination(o[0]); 1635 checkLoggingDestination(o[0]);
1587 checkLoggingDestination(o[1]); 1636 checkLoggingDestination(o[1]);
1588 } 1637 }
1589 1638
1590 buildUnnamed1284() { 1639 buildUnnamed1037() {
1591 var o = new core.List<api.LoggingDestination>(); 1640 var o = new core.List<api.LoggingDestination>();
1592 o.add(buildLoggingDestination()); 1641 o.add(buildLoggingDestination());
1593 o.add(buildLoggingDestination()); 1642 o.add(buildLoggingDestination());
1594 return o; 1643 return o;
1595 } 1644 }
1596 1645
1597 checkUnnamed1284(core.List<api.LoggingDestination> o) { 1646 checkUnnamed1037(core.List<api.LoggingDestination> o) {
1598 unittest.expect(o, unittest.hasLength(2)); 1647 unittest.expect(o, unittest.hasLength(2));
1599 checkLoggingDestination(o[0]); 1648 checkLoggingDestination(o[0]);
1600 checkLoggingDestination(o[1]); 1649 checkLoggingDestination(o[1]);
1601 } 1650 }
1602 1651
1603 core.int buildCounterLogging = 0; 1652 core.int buildCounterLogging = 0;
1604 buildLogging() { 1653 buildLogging() {
1605 var o = new api.Logging(); 1654 var o = new api.Logging();
1606 buildCounterLogging++; 1655 buildCounterLogging++;
1607 if (buildCounterLogging < 3) { 1656 if (buildCounterLogging < 3) {
1608 o.consumerDestinations = buildUnnamed1283(); 1657 o.consumerDestinations = buildUnnamed1036();
1609 o.producerDestinations = buildUnnamed1284(); 1658 o.producerDestinations = buildUnnamed1037();
1610 } 1659 }
1611 buildCounterLogging--; 1660 buildCounterLogging--;
1612 return o; 1661 return o;
1613 } 1662 }
1614 1663
1615 checkLogging(api.Logging o) { 1664 checkLogging(api.Logging o) {
1616 buildCounterLogging++; 1665 buildCounterLogging++;
1617 if (buildCounterLogging < 3) { 1666 if (buildCounterLogging < 3) {
1618 checkUnnamed1283(o.consumerDestinations); 1667 checkUnnamed1036(o.consumerDestinations);
1619 checkUnnamed1284(o.producerDestinations); 1668 checkUnnamed1037(o.producerDestinations);
1620 } 1669 }
1621 buildCounterLogging--; 1670 buildCounterLogging--;
1622 } 1671 }
1623 1672
1624 buildUnnamed1285() { 1673 buildUnnamed1038() {
1625 var o = new core.List<core.String>(); 1674 var o = new core.List<core.String>();
1626 o.add("foo"); 1675 o.add("foo");
1627 o.add("foo"); 1676 o.add("foo");
1628 return o; 1677 return o;
1629 } 1678 }
1630 1679
1631 checkUnnamed1285(core.List<core.String> o) { 1680 checkUnnamed1038(core.List<core.String> o) {
1632 unittest.expect(o, unittest.hasLength(2)); 1681 unittest.expect(o, unittest.hasLength(2));
1633 unittest.expect(o[0], unittest.equals('foo')); 1682 unittest.expect(o[0], unittest.equals('foo'));
1634 unittest.expect(o[1], unittest.equals('foo')); 1683 unittest.expect(o[1], unittest.equals('foo'));
1635 } 1684 }
1636 1685
1637 core.int buildCounterLoggingDestination = 0; 1686 core.int buildCounterLoggingDestination = 0;
1638 buildLoggingDestination() { 1687 buildLoggingDestination() {
1639 var o = new api.LoggingDestination(); 1688 var o = new api.LoggingDestination();
1640 buildCounterLoggingDestination++; 1689 buildCounterLoggingDestination++;
1641 if (buildCounterLoggingDestination < 3) { 1690 if (buildCounterLoggingDestination < 3) {
1642 o.logs = buildUnnamed1285(); 1691 o.logs = buildUnnamed1038();
1643 o.monitoredResource = "foo"; 1692 o.monitoredResource = "foo";
1644 } 1693 }
1645 buildCounterLoggingDestination--; 1694 buildCounterLoggingDestination--;
1646 return o; 1695 return o;
1647 } 1696 }
1648 1697
1649 checkLoggingDestination(api.LoggingDestination o) { 1698 checkLoggingDestination(api.LoggingDestination o) {
1650 buildCounterLoggingDestination++; 1699 buildCounterLoggingDestination++;
1651 if (buildCounterLoggingDestination < 3) { 1700 if (buildCounterLoggingDestination < 3) {
1652 checkUnnamed1285(o.logs); 1701 checkUnnamed1038(o.logs);
1653 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1702 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1654 } 1703 }
1655 buildCounterLoggingDestination--; 1704 buildCounterLoggingDestination--;
1656 } 1705 }
1657 1706
1658 core.int buildCounterManagedService = 0; 1707 core.int buildCounterManagedService = 0;
1659 buildManagedService() { 1708 buildManagedService() {
1660 var o = new api.ManagedService(); 1709 var o = new api.ManagedService();
1661 buildCounterManagedService++; 1710 buildCounterManagedService++;
1662 if (buildCounterManagedService < 3) { 1711 if (buildCounterManagedService < 3) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 } 1756 }
1708 1757
1709 checkMediaUpload(api.MediaUpload o) { 1758 checkMediaUpload(api.MediaUpload o) {
1710 buildCounterMediaUpload++; 1759 buildCounterMediaUpload++;
1711 if (buildCounterMediaUpload < 3) { 1760 if (buildCounterMediaUpload < 3) {
1712 unittest.expect(o.enabled, unittest.isTrue); 1761 unittest.expect(o.enabled, unittest.isTrue);
1713 } 1762 }
1714 buildCounterMediaUpload--; 1763 buildCounterMediaUpload--;
1715 } 1764 }
1716 1765
1717 buildUnnamed1286() { 1766 buildUnnamed1039() {
1718 var o = new core.List<api.Option>(); 1767 var o = new core.List<api.Option>();
1719 o.add(buildOption()); 1768 o.add(buildOption());
1720 o.add(buildOption()); 1769 o.add(buildOption());
1721 return o; 1770 return o;
1722 } 1771 }
1723 1772
1724 checkUnnamed1286(core.List<api.Option> o) { 1773 checkUnnamed1039(core.List<api.Option> o) {
1725 unittest.expect(o, unittest.hasLength(2)); 1774 unittest.expect(o, unittest.hasLength(2));
1726 checkOption(o[0]); 1775 checkOption(o[0]);
1727 checkOption(o[1]); 1776 checkOption(o[1]);
1728 } 1777 }
1729 1778
1730 core.int buildCounterMethod = 0; 1779 core.int buildCounterMethod = 0;
1731 buildMethod() { 1780 buildMethod() {
1732 var o = new api.Method(); 1781 var o = new api.Method();
1733 buildCounterMethod++; 1782 buildCounterMethod++;
1734 if (buildCounterMethod < 3) { 1783 if (buildCounterMethod < 3) {
1735 o.name = "foo"; 1784 o.name = "foo";
1736 o.options = buildUnnamed1286(); 1785 o.options = buildUnnamed1039();
1737 o.requestStreaming = true; 1786 o.requestStreaming = true;
1738 o.requestTypeUrl = "foo"; 1787 o.requestTypeUrl = "foo";
1739 o.responseStreaming = true; 1788 o.responseStreaming = true;
1740 o.responseTypeUrl = "foo"; 1789 o.responseTypeUrl = "foo";
1741 o.syntax = "foo"; 1790 o.syntax = "foo";
1742 } 1791 }
1743 buildCounterMethod--; 1792 buildCounterMethod--;
1744 return o; 1793 return o;
1745 } 1794 }
1746 1795
1747 checkMethod(api.Method o) { 1796 checkMethod(api.Method o) {
1748 buildCounterMethod++; 1797 buildCounterMethod++;
1749 if (buildCounterMethod < 3) { 1798 if (buildCounterMethod < 3) {
1750 unittest.expect(o.name, unittest.equals('foo')); 1799 unittest.expect(o.name, unittest.equals('foo'));
1751 checkUnnamed1286(o.options); 1800 checkUnnamed1039(o.options);
1752 unittest.expect(o.requestStreaming, unittest.isTrue); 1801 unittest.expect(o.requestStreaming, unittest.isTrue);
1753 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); 1802 unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
1754 unittest.expect(o.responseStreaming, unittest.isTrue); 1803 unittest.expect(o.responseStreaming, unittest.isTrue);
1755 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); 1804 unittest.expect(o.responseTypeUrl, unittest.equals('foo'));
1756 unittest.expect(o.syntax, unittest.equals('foo')); 1805 unittest.expect(o.syntax, unittest.equals('foo'));
1757 } 1806 }
1758 buildCounterMethod--; 1807 buildCounterMethod--;
1759 } 1808 }
1760 1809
1761 buildUnnamed1287() { 1810 buildUnnamed1040() {
1762 var o = new core.List<api.LabelDescriptor>(); 1811 var o = new core.List<api.LabelDescriptor>();
1763 o.add(buildLabelDescriptor()); 1812 o.add(buildLabelDescriptor());
1764 o.add(buildLabelDescriptor()); 1813 o.add(buildLabelDescriptor());
1765 return o; 1814 return o;
1766 } 1815 }
1767 1816
1768 checkUnnamed1287(core.List<api.LabelDescriptor> o) { 1817 checkUnnamed1040(core.List<api.LabelDescriptor> o) {
1769 unittest.expect(o, unittest.hasLength(2)); 1818 unittest.expect(o, unittest.hasLength(2));
1770 checkLabelDescriptor(o[0]); 1819 checkLabelDescriptor(o[0]);
1771 checkLabelDescriptor(o[1]); 1820 checkLabelDescriptor(o[1]);
1772 } 1821 }
1773 1822
1774 core.int buildCounterMetricDescriptor = 0; 1823 core.int buildCounterMetricDescriptor = 0;
1775 buildMetricDescriptor() { 1824 buildMetricDescriptor() {
1776 var o = new api.MetricDescriptor(); 1825 var o = new api.MetricDescriptor();
1777 buildCounterMetricDescriptor++; 1826 buildCounterMetricDescriptor++;
1778 if (buildCounterMetricDescriptor < 3) { 1827 if (buildCounterMetricDescriptor < 3) {
1779 o.description = "foo"; 1828 o.description = "foo";
1780 o.displayName = "foo"; 1829 o.displayName = "foo";
1781 o.labels = buildUnnamed1287(); 1830 o.labels = buildUnnamed1040();
1782 o.metricKind = "foo"; 1831 o.metricKind = "foo";
1783 o.name = "foo"; 1832 o.name = "foo";
1784 o.type = "foo"; 1833 o.type = "foo";
1785 o.unit = "foo"; 1834 o.unit = "foo";
1786 o.valueType = "foo"; 1835 o.valueType = "foo";
1787 } 1836 }
1788 buildCounterMetricDescriptor--; 1837 buildCounterMetricDescriptor--;
1789 return o; 1838 return o;
1790 } 1839 }
1791 1840
1792 checkMetricDescriptor(api.MetricDescriptor o) { 1841 checkMetricDescriptor(api.MetricDescriptor o) {
1793 buildCounterMetricDescriptor++; 1842 buildCounterMetricDescriptor++;
1794 if (buildCounterMetricDescriptor < 3) { 1843 if (buildCounterMetricDescriptor < 3) {
1795 unittest.expect(o.description, unittest.equals('foo')); 1844 unittest.expect(o.description, unittest.equals('foo'));
1796 unittest.expect(o.displayName, unittest.equals('foo')); 1845 unittest.expect(o.displayName, unittest.equals('foo'));
1797 checkUnnamed1287(o.labels); 1846 checkUnnamed1040(o.labels);
1798 unittest.expect(o.metricKind, unittest.equals('foo')); 1847 unittest.expect(o.metricKind, unittest.equals('foo'));
1799 unittest.expect(o.name, unittest.equals('foo')); 1848 unittest.expect(o.name, unittest.equals('foo'));
1800 unittest.expect(o.type, unittest.equals('foo')); 1849 unittest.expect(o.type, unittest.equals('foo'));
1801 unittest.expect(o.unit, unittest.equals('foo')); 1850 unittest.expect(o.unit, unittest.equals('foo'));
1802 unittest.expect(o.valueType, unittest.equals('foo')); 1851 unittest.expect(o.valueType, unittest.equals('foo'));
1803 } 1852 }
1804 buildCounterMetricDescriptor--; 1853 buildCounterMetricDescriptor--;
1805 } 1854 }
1806 1855
1807 core.int buildCounterMixin = 0; 1856 core.int buildCounterMixin = 0;
(...skipping 10 matching lines...) Expand all
1818 1867
1819 checkMixin(api.Mixin o) { 1868 checkMixin(api.Mixin o) {
1820 buildCounterMixin++; 1869 buildCounterMixin++;
1821 if (buildCounterMixin < 3) { 1870 if (buildCounterMixin < 3) {
1822 unittest.expect(o.name, unittest.equals('foo')); 1871 unittest.expect(o.name, unittest.equals('foo'));
1823 unittest.expect(o.root, unittest.equals('foo')); 1872 unittest.expect(o.root, unittest.equals('foo'));
1824 } 1873 }
1825 buildCounterMixin--; 1874 buildCounterMixin--;
1826 } 1875 }
1827 1876
1828 buildUnnamed1288() { 1877 buildUnnamed1041() {
1829 var o = new core.List<api.LabelDescriptor>(); 1878 var o = new core.List<api.LabelDescriptor>();
1830 o.add(buildLabelDescriptor()); 1879 o.add(buildLabelDescriptor());
1831 o.add(buildLabelDescriptor()); 1880 o.add(buildLabelDescriptor());
1832 return o; 1881 return o;
1833 } 1882 }
1834 1883
1835 checkUnnamed1288(core.List<api.LabelDescriptor> o) { 1884 checkUnnamed1041(core.List<api.LabelDescriptor> o) {
1836 unittest.expect(o, unittest.hasLength(2)); 1885 unittest.expect(o, unittest.hasLength(2));
1837 checkLabelDescriptor(o[0]); 1886 checkLabelDescriptor(o[0]);
1838 checkLabelDescriptor(o[1]); 1887 checkLabelDescriptor(o[1]);
1839 } 1888 }
1840 1889
1841 core.int buildCounterMonitoredResourceDescriptor = 0; 1890 core.int buildCounterMonitoredResourceDescriptor = 0;
1842 buildMonitoredResourceDescriptor() { 1891 buildMonitoredResourceDescriptor() {
1843 var o = new api.MonitoredResourceDescriptor(); 1892 var o = new api.MonitoredResourceDescriptor();
1844 buildCounterMonitoredResourceDescriptor++; 1893 buildCounterMonitoredResourceDescriptor++;
1845 if (buildCounterMonitoredResourceDescriptor < 3) { 1894 if (buildCounterMonitoredResourceDescriptor < 3) {
1846 o.description = "foo"; 1895 o.description = "foo";
1847 o.displayName = "foo"; 1896 o.displayName = "foo";
1848 o.labels = buildUnnamed1288(); 1897 o.labels = buildUnnamed1041();
1849 o.name = "foo"; 1898 o.name = "foo";
1850 o.type = "foo"; 1899 o.type = "foo";
1851 } 1900 }
1852 buildCounterMonitoredResourceDescriptor--; 1901 buildCounterMonitoredResourceDescriptor--;
1853 return o; 1902 return o;
1854 } 1903 }
1855 1904
1856 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { 1905 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
1857 buildCounterMonitoredResourceDescriptor++; 1906 buildCounterMonitoredResourceDescriptor++;
1858 if (buildCounterMonitoredResourceDescriptor < 3) { 1907 if (buildCounterMonitoredResourceDescriptor < 3) {
1859 unittest.expect(o.description, unittest.equals('foo')); 1908 unittest.expect(o.description, unittest.equals('foo'));
1860 unittest.expect(o.displayName, unittest.equals('foo')); 1909 unittest.expect(o.displayName, unittest.equals('foo'));
1861 checkUnnamed1288(o.labels); 1910 checkUnnamed1041(o.labels);
1862 unittest.expect(o.name, unittest.equals('foo')); 1911 unittest.expect(o.name, unittest.equals('foo'));
1863 unittest.expect(o.type, unittest.equals('foo')); 1912 unittest.expect(o.type, unittest.equals('foo'));
1864 } 1913 }
1865 buildCounterMonitoredResourceDescriptor--; 1914 buildCounterMonitoredResourceDescriptor--;
1866 } 1915 }
1867 1916
1868 buildUnnamed1289() { 1917 buildUnnamed1042() {
1869 var o = new core.List<api.MonitoringDestination>(); 1918 var o = new core.List<api.MonitoringDestination>();
1870 o.add(buildMonitoringDestination()); 1919 o.add(buildMonitoringDestination());
1871 o.add(buildMonitoringDestination()); 1920 o.add(buildMonitoringDestination());
1872 return o; 1921 return o;
1873 } 1922 }
1874 1923
1875 checkUnnamed1289(core.List<api.MonitoringDestination> o) { 1924 checkUnnamed1042(core.List<api.MonitoringDestination> o) {
1876 unittest.expect(o, unittest.hasLength(2)); 1925 unittest.expect(o, unittest.hasLength(2));
1877 checkMonitoringDestination(o[0]); 1926 checkMonitoringDestination(o[0]);
1878 checkMonitoringDestination(o[1]); 1927 checkMonitoringDestination(o[1]);
1879 } 1928 }
1880 1929
1881 buildUnnamed1290() { 1930 buildUnnamed1043() {
1882 var o = new core.List<api.MonitoringDestination>(); 1931 var o = new core.List<api.MonitoringDestination>();
1883 o.add(buildMonitoringDestination()); 1932 o.add(buildMonitoringDestination());
1884 o.add(buildMonitoringDestination()); 1933 o.add(buildMonitoringDestination());
1885 return o; 1934 return o;
1886 } 1935 }
1887 1936
1888 checkUnnamed1290(core.List<api.MonitoringDestination> o) { 1937 checkUnnamed1043(core.List<api.MonitoringDestination> o) {
1889 unittest.expect(o, unittest.hasLength(2)); 1938 unittest.expect(o, unittest.hasLength(2));
1890 checkMonitoringDestination(o[0]); 1939 checkMonitoringDestination(o[0]);
1891 checkMonitoringDestination(o[1]); 1940 checkMonitoringDestination(o[1]);
1892 } 1941 }
1893 1942
1894 core.int buildCounterMonitoring = 0; 1943 core.int buildCounterMonitoring = 0;
1895 buildMonitoring() { 1944 buildMonitoring() {
1896 var o = new api.Monitoring(); 1945 var o = new api.Monitoring();
1897 buildCounterMonitoring++; 1946 buildCounterMonitoring++;
1898 if (buildCounterMonitoring < 3) { 1947 if (buildCounterMonitoring < 3) {
1899 o.consumerDestinations = buildUnnamed1289(); 1948 o.consumerDestinations = buildUnnamed1042();
1900 o.producerDestinations = buildUnnamed1290(); 1949 o.producerDestinations = buildUnnamed1043();
1901 } 1950 }
1902 buildCounterMonitoring--; 1951 buildCounterMonitoring--;
1903 return o; 1952 return o;
1904 } 1953 }
1905 1954
1906 checkMonitoring(api.Monitoring o) { 1955 checkMonitoring(api.Monitoring o) {
1907 buildCounterMonitoring++; 1956 buildCounterMonitoring++;
1908 if (buildCounterMonitoring < 3) { 1957 if (buildCounterMonitoring < 3) {
1909 checkUnnamed1289(o.consumerDestinations); 1958 checkUnnamed1042(o.consumerDestinations);
1910 checkUnnamed1290(o.producerDestinations); 1959 checkUnnamed1043(o.producerDestinations);
1911 } 1960 }
1912 buildCounterMonitoring--; 1961 buildCounterMonitoring--;
1913 } 1962 }
1914 1963
1915 buildUnnamed1291() { 1964 buildUnnamed1044() {
1916 var o = new core.List<core.String>(); 1965 var o = new core.List<core.String>();
1917 o.add("foo"); 1966 o.add("foo");
1918 o.add("foo"); 1967 o.add("foo");
1919 return o; 1968 return o;
1920 } 1969 }
1921 1970
1922 checkUnnamed1291(core.List<core.String> o) { 1971 checkUnnamed1044(core.List<core.String> o) {
1923 unittest.expect(o, unittest.hasLength(2)); 1972 unittest.expect(o, unittest.hasLength(2));
1924 unittest.expect(o[0], unittest.equals('foo')); 1973 unittest.expect(o[0], unittest.equals('foo'));
1925 unittest.expect(o[1], unittest.equals('foo')); 1974 unittest.expect(o[1], unittest.equals('foo'));
1926 } 1975 }
1927 1976
1928 core.int buildCounterMonitoringDestination = 0; 1977 core.int buildCounterMonitoringDestination = 0;
1929 buildMonitoringDestination() { 1978 buildMonitoringDestination() {
1930 var o = new api.MonitoringDestination(); 1979 var o = new api.MonitoringDestination();
1931 buildCounterMonitoringDestination++; 1980 buildCounterMonitoringDestination++;
1932 if (buildCounterMonitoringDestination < 3) { 1981 if (buildCounterMonitoringDestination < 3) {
1933 o.metrics = buildUnnamed1291(); 1982 o.metrics = buildUnnamed1044();
1934 o.monitoredResource = "foo"; 1983 o.monitoredResource = "foo";
1935 } 1984 }
1936 buildCounterMonitoringDestination--; 1985 buildCounterMonitoringDestination--;
1937 return o; 1986 return o;
1938 } 1987 }
1939 1988
1940 checkMonitoringDestination(api.MonitoringDestination o) { 1989 checkMonitoringDestination(api.MonitoringDestination o) {
1941 buildCounterMonitoringDestination++; 1990 buildCounterMonitoringDestination++;
1942 if (buildCounterMonitoringDestination < 3) { 1991 if (buildCounterMonitoringDestination < 3) {
1943 checkUnnamed1291(o.metrics); 1992 checkUnnamed1044(o.metrics);
1944 unittest.expect(o.monitoredResource, unittest.equals('foo')); 1993 unittest.expect(o.monitoredResource, unittest.equals('foo'));
1945 } 1994 }
1946 buildCounterMonitoringDestination--; 1995 buildCounterMonitoringDestination--;
1947 } 1996 }
1948 1997
1949 core.int buildCounterOAuthRequirements = 0; 1998 core.int buildCounterOAuthRequirements = 0;
1950 buildOAuthRequirements() { 1999 buildOAuthRequirements() {
1951 var o = new api.OAuthRequirements(); 2000 var o = new api.OAuthRequirements();
1952 buildCounterOAuthRequirements++; 2001 buildCounterOAuthRequirements++;
1953 if (buildCounterOAuthRequirements < 3) { 2002 if (buildCounterOAuthRequirements < 3) {
1954 o.canonicalScopes = "foo"; 2003 o.canonicalScopes = "foo";
1955 } 2004 }
1956 buildCounterOAuthRequirements--; 2005 buildCounterOAuthRequirements--;
1957 return o; 2006 return o;
1958 } 2007 }
1959 2008
1960 checkOAuthRequirements(api.OAuthRequirements o) { 2009 checkOAuthRequirements(api.OAuthRequirements o) {
1961 buildCounterOAuthRequirements++; 2010 buildCounterOAuthRequirements++;
1962 if (buildCounterOAuthRequirements < 3) { 2011 if (buildCounterOAuthRequirements < 3) {
1963 unittest.expect(o.canonicalScopes, unittest.equals('foo')); 2012 unittest.expect(o.canonicalScopes, unittest.equals('foo'));
1964 } 2013 }
1965 buildCounterOAuthRequirements--; 2014 buildCounterOAuthRequirements--;
1966 } 2015 }
1967 2016
1968 buildUnnamed1292() { 2017 buildUnnamed1045() {
1969 var o = new core.Map<core.String, core.Object>(); 2018 var o = new core.Map<core.String, core.Object>();
1970 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2019 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1971 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2020 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1972 return o; 2021 return o;
1973 } 2022 }
1974 2023
1975 checkUnnamed1292(core.Map<core.String, core.Object> o) { 2024 checkUnnamed1045(core.Map<core.String, core.Object> o) {
1976 unittest.expect(o, unittest.hasLength(2)); 2025 unittest.expect(o, unittest.hasLength(2));
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')); 2026 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'));
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')); 2027 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'));
1979 } 2028 }
1980 2029
1981 buildUnnamed1293() { 2030 buildUnnamed1046() {
1982 var o = new core.Map<core.String, core.Object>(); 2031 var o = new core.Map<core.String, core.Object>();
1983 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2032 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1984 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2033 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1985 return o; 2034 return o;
1986 } 2035 }
1987 2036
1988 checkUnnamed1293(core.Map<core.String, core.Object> o) { 2037 checkUnnamed1046(core.Map<core.String, core.Object> o) {
1989 unittest.expect(o, unittest.hasLength(2)); 2038 unittest.expect(o, unittest.hasLength(2));
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')); 2039 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'));
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')); 2040 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'));
1992 } 2041 }
1993 2042
1994 core.int buildCounterOperation = 0; 2043 core.int buildCounterOperation = 0;
1995 buildOperation() { 2044 buildOperation() {
1996 var o = new api.Operation(); 2045 var o = new api.Operation();
1997 buildCounterOperation++; 2046 buildCounterOperation++;
1998 if (buildCounterOperation < 3) { 2047 if (buildCounterOperation < 3) {
1999 o.done = true; 2048 o.done = true;
2000 o.error = buildStatus(); 2049 o.error = buildStatus();
2001 o.metadata = buildUnnamed1292(); 2050 o.metadata = buildUnnamed1045();
2002 o.name = "foo"; 2051 o.name = "foo";
2003 o.response = buildUnnamed1293(); 2052 o.response = buildUnnamed1046();
2004 } 2053 }
2005 buildCounterOperation--; 2054 buildCounterOperation--;
2006 return o; 2055 return o;
2007 } 2056 }
2008 2057
2009 checkOperation(api.Operation o) { 2058 checkOperation(api.Operation o) {
2010 buildCounterOperation++; 2059 buildCounterOperation++;
2011 if (buildCounterOperation < 3) { 2060 if (buildCounterOperation < 3) {
2012 unittest.expect(o.done, unittest.isTrue); 2061 unittest.expect(o.done, unittest.isTrue);
2013 checkStatus(o.error); 2062 checkStatus(o.error);
2014 checkUnnamed1292(o.metadata); 2063 checkUnnamed1045(o.metadata);
2015 unittest.expect(o.name, unittest.equals('foo')); 2064 unittest.expect(o.name, unittest.equals('foo'));
2016 checkUnnamed1293(o.response); 2065 checkUnnamed1046(o.response);
2017 } 2066 }
2018 buildCounterOperation--; 2067 buildCounterOperation--;
2019 } 2068 }
2020 2069
2021 buildUnnamed1294() { 2070 buildUnnamed1047() {
2022 var o = new core.List<core.String>(); 2071 var o = new core.List<core.String>();
2023 o.add("foo"); 2072 o.add("foo");
2024 o.add("foo"); 2073 o.add("foo");
2025 return o; 2074 return o;
2026 } 2075 }
2027 2076
2028 checkUnnamed1294(core.List<core.String> o) { 2077 checkUnnamed1047(core.List<core.String> o) {
2029 unittest.expect(o, unittest.hasLength(2)); 2078 unittest.expect(o, unittest.hasLength(2));
2030 unittest.expect(o[0], unittest.equals('foo')); 2079 unittest.expect(o[0], unittest.equals('foo'));
2031 unittest.expect(o[1], unittest.equals('foo')); 2080 unittest.expect(o[1], unittest.equals('foo'));
2032 } 2081 }
2033 2082
2034 buildUnnamed1295() { 2083 buildUnnamed1048() {
2035 var o = new core.List<api.Step>(); 2084 var o = new core.List<api.Step>();
2036 o.add(buildStep()); 2085 o.add(buildStep());
2037 o.add(buildStep()); 2086 o.add(buildStep());
2038 return o; 2087 return o;
2039 } 2088 }
2040 2089
2041 checkUnnamed1295(core.List<api.Step> o) { 2090 checkUnnamed1048(core.List<api.Step> o) {
2042 unittest.expect(o, unittest.hasLength(2)); 2091 unittest.expect(o, unittest.hasLength(2));
2043 checkStep(o[0]); 2092 checkStep(o[0]);
2044 checkStep(o[1]); 2093 checkStep(o[1]);
2045 } 2094 }
2046 2095
2047 core.int buildCounterOperationMetadata = 0; 2096 core.int buildCounterOperationMetadata = 0;
2048 buildOperationMetadata() { 2097 buildOperationMetadata() {
2049 var o = new api.OperationMetadata(); 2098 var o = new api.OperationMetadata();
2050 buildCounterOperationMetadata++; 2099 buildCounterOperationMetadata++;
2051 if (buildCounterOperationMetadata < 3) { 2100 if (buildCounterOperationMetadata < 3) {
2052 o.progressPercentage = 42; 2101 o.progressPercentage = 42;
2053 o.resourceNames = buildUnnamed1294(); 2102 o.resourceNames = buildUnnamed1047();
2054 o.startTime = "foo"; 2103 o.startTime = "foo";
2055 o.steps = buildUnnamed1295(); 2104 o.steps = buildUnnamed1048();
2056 } 2105 }
2057 buildCounterOperationMetadata--; 2106 buildCounterOperationMetadata--;
2058 return o; 2107 return o;
2059 } 2108 }
2060 2109
2061 checkOperationMetadata(api.OperationMetadata o) { 2110 checkOperationMetadata(api.OperationMetadata o) {
2062 buildCounterOperationMetadata++; 2111 buildCounterOperationMetadata++;
2063 if (buildCounterOperationMetadata < 3) { 2112 if (buildCounterOperationMetadata < 3) {
2064 unittest.expect(o.progressPercentage, unittest.equals(42)); 2113 unittest.expect(o.progressPercentage, unittest.equals(42));
2065 checkUnnamed1294(o.resourceNames); 2114 checkUnnamed1047(o.resourceNames);
2066 unittest.expect(o.startTime, unittest.equals('foo')); 2115 unittest.expect(o.startTime, unittest.equals('foo'));
2067 checkUnnamed1295(o.steps); 2116 checkUnnamed1048(o.steps);
2068 } 2117 }
2069 buildCounterOperationMetadata--; 2118 buildCounterOperationMetadata--;
2070 } 2119 }
2071 2120
2072 buildUnnamed1296() { 2121 buildUnnamed1049() {
2073 var o = new core.Map<core.String, core.Object>(); 2122 var o = new core.Map<core.String, core.Object>();
2074 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2123 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2075 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2124 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2076 return o; 2125 return o;
2077 } 2126 }
2078 2127
2079 checkUnnamed1296(core.Map<core.String, core.Object> o) { 2128 checkUnnamed1049(core.Map<core.String, core.Object> o) {
2080 unittest.expect(o, unittest.hasLength(2)); 2129 unittest.expect(o, unittest.hasLength(2));
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')); 2130 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'));
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')); 2131 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'));
2083 } 2132 }
2084 2133
2085 core.int buildCounterOption = 0; 2134 core.int buildCounterOption = 0;
2086 buildOption() { 2135 buildOption() {
2087 var o = new api.Option(); 2136 var o = new api.Option();
2088 buildCounterOption++; 2137 buildCounterOption++;
2089 if (buildCounterOption < 3) { 2138 if (buildCounterOption < 3) {
2090 o.name = "foo"; 2139 o.name = "foo";
2091 o.value = buildUnnamed1296(); 2140 o.value = buildUnnamed1049();
2092 } 2141 }
2093 buildCounterOption--; 2142 buildCounterOption--;
2094 return o; 2143 return o;
2095 } 2144 }
2096 2145
2097 checkOption(api.Option o) { 2146 checkOption(api.Option o) {
2098 buildCounterOption++; 2147 buildCounterOption++;
2099 if (buildCounterOption < 3) { 2148 if (buildCounterOption < 3) {
2100 unittest.expect(o.name, unittest.equals('foo')); 2149 unittest.expect(o.name, unittest.equals('foo'));
2101 checkUnnamed1296(o.value); 2150 checkUnnamed1049(o.value);
2102 } 2151 }
2103 buildCounterOption--; 2152 buildCounterOption--;
2104 } 2153 }
2105 2154
2106 buildUnnamed1297() { 2155 buildUnnamed1050() {
2107 var o = new core.List<api.Page>(); 2156 var o = new core.List<api.Page>();
2108 o.add(buildPage()); 2157 o.add(buildPage());
2109 o.add(buildPage()); 2158 o.add(buildPage());
2110 return o; 2159 return o;
2111 } 2160 }
2112 2161
2113 checkUnnamed1297(core.List<api.Page> o) { 2162 checkUnnamed1050(core.List<api.Page> o) {
2114 unittest.expect(o, unittest.hasLength(2)); 2163 unittest.expect(o, unittest.hasLength(2));
2115 checkPage(o[0]); 2164 checkPage(o[0]);
2116 checkPage(o[1]); 2165 checkPage(o[1]);
2117 } 2166 }
2118 2167
2119 core.int buildCounterPage = 0; 2168 core.int buildCounterPage = 0;
2120 buildPage() { 2169 buildPage() {
2121 var o = new api.Page(); 2170 var o = new api.Page();
2122 buildCounterPage++; 2171 buildCounterPage++;
2123 if (buildCounterPage < 3) { 2172 if (buildCounterPage < 3) {
2124 o.content = "foo"; 2173 o.content = "foo";
2125 o.name = "foo"; 2174 o.name = "foo";
2126 o.subpages = buildUnnamed1297(); 2175 o.subpages = buildUnnamed1050();
2127 } 2176 }
2128 buildCounterPage--; 2177 buildCounterPage--;
2129 return o; 2178 return o;
2130 } 2179 }
2131 2180
2132 checkPage(api.Page o) { 2181 checkPage(api.Page o) {
2133 buildCounterPage++; 2182 buildCounterPage++;
2134 if (buildCounterPage < 3) { 2183 if (buildCounterPage < 3) {
2135 unittest.expect(o.content, unittest.equals('foo')); 2184 unittest.expect(o.content, unittest.equals('foo'));
2136 unittest.expect(o.name, unittest.equals('foo')); 2185 unittest.expect(o.name, unittest.equals('foo'));
2137 checkUnnamed1297(o.subpages); 2186 checkUnnamed1050(o.subpages);
2138 } 2187 }
2139 buildCounterPage--; 2188 buildCounterPage--;
2140 } 2189 }
2141 2190
2142 buildUnnamed1298() { 2191 buildUnnamed1051() {
2143 var o = new core.List<api.AuditConfig>(); 2192 var o = new core.List<api.AuditConfig>();
2144 o.add(buildAuditConfig()); 2193 o.add(buildAuditConfig());
2145 o.add(buildAuditConfig()); 2194 o.add(buildAuditConfig());
2146 return o; 2195 return o;
2147 } 2196 }
2148 2197
2149 checkUnnamed1298(core.List<api.AuditConfig> o) { 2198 checkUnnamed1051(core.List<api.AuditConfig> o) {
2150 unittest.expect(o, unittest.hasLength(2)); 2199 unittest.expect(o, unittest.hasLength(2));
2151 checkAuditConfig(o[0]); 2200 checkAuditConfig(o[0]);
2152 checkAuditConfig(o[1]); 2201 checkAuditConfig(o[1]);
2153 } 2202 }
2154 2203
2155 buildUnnamed1299() { 2204 buildUnnamed1052() {
2156 var o = new core.List<api.Binding>(); 2205 var o = new core.List<api.Binding>();
2157 o.add(buildBinding()); 2206 o.add(buildBinding());
2158 o.add(buildBinding()); 2207 o.add(buildBinding());
2159 return o; 2208 return o;
2160 } 2209 }
2161 2210
2162 checkUnnamed1299(core.List<api.Binding> o) { 2211 checkUnnamed1052(core.List<api.Binding> o) {
2163 unittest.expect(o, unittest.hasLength(2)); 2212 unittest.expect(o, unittest.hasLength(2));
2164 checkBinding(o[0]); 2213 checkBinding(o[0]);
2165 checkBinding(o[1]); 2214 checkBinding(o[1]);
2166 } 2215 }
2167 2216
2168 buildUnnamed1300() { 2217 buildUnnamed1053() {
2169 var o = new core.List<api.Rule>(); 2218 var o = new core.List<api.Rule>();
2170 o.add(buildRule()); 2219 o.add(buildRule());
2171 o.add(buildRule()); 2220 o.add(buildRule());
2172 return o; 2221 return o;
2173 } 2222 }
2174 2223
2175 checkUnnamed1300(core.List<api.Rule> o) { 2224 checkUnnamed1053(core.List<api.Rule> o) {
2176 unittest.expect(o, unittest.hasLength(2)); 2225 unittest.expect(o, unittest.hasLength(2));
2177 checkRule(o[0]); 2226 checkRule(o[0]);
2178 checkRule(o[1]); 2227 checkRule(o[1]);
2179 } 2228 }
2180 2229
2181 core.int buildCounterPolicy = 0; 2230 core.int buildCounterPolicy = 0;
2182 buildPolicy() { 2231 buildPolicy() {
2183 var o = new api.Policy(); 2232 var o = new api.Policy();
2184 buildCounterPolicy++; 2233 buildCounterPolicy++;
2185 if (buildCounterPolicy < 3) { 2234 if (buildCounterPolicy < 3) {
2186 o.auditConfigs = buildUnnamed1298(); 2235 o.auditConfigs = buildUnnamed1051();
2187 o.bindings = buildUnnamed1299(); 2236 o.bindings = buildUnnamed1052();
2188 o.etag = "foo"; 2237 o.etag = "foo";
2189 o.iamOwned = true; 2238 o.iamOwned = true;
2190 o.rules = buildUnnamed1300(); 2239 o.rules = buildUnnamed1053();
2191 o.version = 42; 2240 o.version = 42;
2192 } 2241 }
2193 buildCounterPolicy--; 2242 buildCounterPolicy--;
2194 return o; 2243 return o;
2195 } 2244 }
2196 2245
2197 checkPolicy(api.Policy o) { 2246 checkPolicy(api.Policy o) {
2198 buildCounterPolicy++; 2247 buildCounterPolicy++;
2199 if (buildCounterPolicy < 3) { 2248 if (buildCounterPolicy < 3) {
2200 checkUnnamed1298(o.auditConfigs); 2249 checkUnnamed1051(o.auditConfigs);
2201 checkUnnamed1299(o.bindings); 2250 checkUnnamed1052(o.bindings);
2202 unittest.expect(o.etag, unittest.equals('foo')); 2251 unittest.expect(o.etag, unittest.equals('foo'));
2203 unittest.expect(o.iamOwned, unittest.isTrue); 2252 unittest.expect(o.iamOwned, unittest.isTrue);
2204 checkUnnamed1300(o.rules); 2253 checkUnnamed1053(o.rules);
2205 unittest.expect(o.version, unittest.equals(42)); 2254 unittest.expect(o.version, unittest.equals(42));
2206 } 2255 }
2207 buildCounterPolicy--; 2256 buildCounterPolicy--;
2208 } 2257 }
2209 2258
2210 core.int buildCounterRollout = 0; 2259 core.int buildCounterRollout = 0;
2211 buildRollout() { 2260 buildRollout() {
2212 var o = new api.Rollout(); 2261 var o = new api.Rollout();
2213 buildCounterRollout++; 2262 buildCounterRollout++;
2214 if (buildCounterRollout < 3) { 2263 if (buildCounterRollout < 3) {
(...skipping 16 matching lines...) Expand all
2231 unittest.expect(o.createdBy, unittest.equals('foo')); 2280 unittest.expect(o.createdBy, unittest.equals('foo'));
2232 checkDeleteServiceStrategy(o.deleteServiceStrategy); 2281 checkDeleteServiceStrategy(o.deleteServiceStrategy);
2233 unittest.expect(o.rolloutId, unittest.equals('foo')); 2282 unittest.expect(o.rolloutId, unittest.equals('foo'));
2234 unittest.expect(o.serviceName, unittest.equals('foo')); 2283 unittest.expect(o.serviceName, unittest.equals('foo'));
2235 unittest.expect(o.status, unittest.equals('foo')); 2284 unittest.expect(o.status, unittest.equals('foo'));
2236 checkTrafficPercentStrategy(o.trafficPercentStrategy); 2285 checkTrafficPercentStrategy(o.trafficPercentStrategy);
2237 } 2286 }
2238 buildCounterRollout--; 2287 buildCounterRollout--;
2239 } 2288 }
2240 2289
2241 buildUnnamed1301() { 2290 buildUnnamed1054() {
2242 var o = new core.List<api.Condition>(); 2291 var o = new core.List<api.Condition>();
2243 o.add(buildCondition()); 2292 o.add(buildCondition());
2244 o.add(buildCondition()); 2293 o.add(buildCondition());
2245 return o; 2294 return o;
2246 } 2295 }
2247 2296
2248 checkUnnamed1301(core.List<api.Condition> o) { 2297 checkUnnamed1054(core.List<api.Condition> o) {
2249 unittest.expect(o, unittest.hasLength(2)); 2298 unittest.expect(o, unittest.hasLength(2));
2250 checkCondition(o[0]); 2299 checkCondition(o[0]);
2251 checkCondition(o[1]); 2300 checkCondition(o[1]);
2252 } 2301 }
2253 2302
2254 buildUnnamed1302() { 2303 buildUnnamed1055() {
2255 var o = new core.List<core.String>(); 2304 var o = new core.List<core.String>();
2256 o.add("foo"); 2305 o.add("foo");
2257 o.add("foo"); 2306 o.add("foo");
2258 return o; 2307 return o;
2259 } 2308 }
2260 2309
2261 checkUnnamed1302(core.List<core.String> o) { 2310 checkUnnamed1055(core.List<core.String> o) {
2262 unittest.expect(o, unittest.hasLength(2)); 2311 unittest.expect(o, unittest.hasLength(2));
2263 unittest.expect(o[0], unittest.equals('foo')); 2312 unittest.expect(o[0], unittest.equals('foo'));
2264 unittest.expect(o[1], unittest.equals('foo')); 2313 unittest.expect(o[1], unittest.equals('foo'));
2265 } 2314 }
2266 2315
2267 buildUnnamed1303() { 2316 buildUnnamed1056() {
2268 var o = new core.List<api.LogConfig>(); 2317 var o = new core.List<api.LogConfig>();
2269 o.add(buildLogConfig()); 2318 o.add(buildLogConfig());
2270 o.add(buildLogConfig()); 2319 o.add(buildLogConfig());
2271 return o; 2320 return o;
2272 } 2321 }
2273 2322
2274 checkUnnamed1303(core.List<api.LogConfig> o) { 2323 checkUnnamed1056(core.List<api.LogConfig> o) {
2275 unittest.expect(o, unittest.hasLength(2)); 2324 unittest.expect(o, unittest.hasLength(2));
2276 checkLogConfig(o[0]); 2325 checkLogConfig(o[0]);
2277 checkLogConfig(o[1]); 2326 checkLogConfig(o[1]);
2278 } 2327 }
2279 2328
2280 buildUnnamed1304() { 2329 buildUnnamed1057() {
2281 var o = new core.List<core.String>(); 2330 var o = new core.List<core.String>();
2282 o.add("foo"); 2331 o.add("foo");
2283 o.add("foo"); 2332 o.add("foo");
2284 return o; 2333 return o;
2285 } 2334 }
2286 2335
2287 checkUnnamed1304(core.List<core.String> o) { 2336 checkUnnamed1057(core.List<core.String> o) {
2288 unittest.expect(o, unittest.hasLength(2)); 2337 unittest.expect(o, unittest.hasLength(2));
2289 unittest.expect(o[0], unittest.equals('foo')); 2338 unittest.expect(o[0], unittest.equals('foo'));
2290 unittest.expect(o[1], unittest.equals('foo')); 2339 unittest.expect(o[1], unittest.equals('foo'));
2291 } 2340 }
2292 2341
2293 buildUnnamed1305() { 2342 buildUnnamed1058() {
2294 var o = new core.List<core.String>(); 2343 var o = new core.List<core.String>();
2295 o.add("foo"); 2344 o.add("foo");
2296 o.add("foo"); 2345 o.add("foo");
2297 return o; 2346 return o;
2298 } 2347 }
2299 2348
2300 checkUnnamed1305(core.List<core.String> o) { 2349 checkUnnamed1058(core.List<core.String> o) {
2301 unittest.expect(o, unittest.hasLength(2)); 2350 unittest.expect(o, unittest.hasLength(2));
2302 unittest.expect(o[0], unittest.equals('foo')); 2351 unittest.expect(o[0], unittest.equals('foo'));
2303 unittest.expect(o[1], unittest.equals('foo')); 2352 unittest.expect(o[1], unittest.equals('foo'));
2304 } 2353 }
2305 2354
2306 core.int buildCounterRule = 0; 2355 core.int buildCounterRule = 0;
2307 buildRule() { 2356 buildRule() {
2308 var o = new api.Rule(); 2357 var o = new api.Rule();
2309 buildCounterRule++; 2358 buildCounterRule++;
2310 if (buildCounterRule < 3) { 2359 if (buildCounterRule < 3) {
2311 o.action = "foo"; 2360 o.action = "foo";
2312 o.conditions = buildUnnamed1301(); 2361 o.conditions = buildUnnamed1054();
2313 o.description = "foo"; 2362 o.description = "foo";
2314 o.in_ = buildUnnamed1302(); 2363 o.in_ = buildUnnamed1055();
2315 o.logConfig = buildUnnamed1303(); 2364 o.logConfig = buildUnnamed1056();
2316 o.notIn = buildUnnamed1304(); 2365 o.notIn = buildUnnamed1057();
2317 o.permissions = buildUnnamed1305(); 2366 o.permissions = buildUnnamed1058();
2318 } 2367 }
2319 buildCounterRule--; 2368 buildCounterRule--;
2320 return o; 2369 return o;
2321 } 2370 }
2322 2371
2323 checkRule(api.Rule o) { 2372 checkRule(api.Rule o) {
2324 buildCounterRule++; 2373 buildCounterRule++;
2325 if (buildCounterRule < 3) { 2374 if (buildCounterRule < 3) {
2326 unittest.expect(o.action, unittest.equals('foo')); 2375 unittest.expect(o.action, unittest.equals('foo'));
2327 checkUnnamed1301(o.conditions); 2376 checkUnnamed1054(o.conditions);
2328 unittest.expect(o.description, unittest.equals('foo')); 2377 unittest.expect(o.description, unittest.equals('foo'));
2329 checkUnnamed1302(o.in_); 2378 checkUnnamed1055(o.in_);
2330 checkUnnamed1303(o.logConfig); 2379 checkUnnamed1056(o.logConfig);
2331 checkUnnamed1304(o.notIn); 2380 checkUnnamed1057(o.notIn);
2332 checkUnnamed1305(o.permissions); 2381 checkUnnamed1058(o.permissions);
2333 } 2382 }
2334 buildCounterRule--; 2383 buildCounterRule--;
2335 } 2384 }
2336 2385
2337 buildUnnamed1306() { 2386 buildUnnamed1059() {
2338 var o = new core.List<api.Api>(); 2387 var o = new core.List<api.Api>();
2339 o.add(buildApi()); 2388 o.add(buildApi());
2340 o.add(buildApi()); 2389 o.add(buildApi());
2341 return o; 2390 return o;
2342 } 2391 }
2343 2392
2344 checkUnnamed1306(core.List<api.Api> o) { 2393 checkUnnamed1059(core.List<api.Api> o) {
2345 unittest.expect(o, unittest.hasLength(2)); 2394 unittest.expect(o, unittest.hasLength(2));
2346 checkApi(o[0]); 2395 checkApi(o[0]);
2347 checkApi(o[1]); 2396 checkApi(o[1]);
2348 } 2397 }
2349 2398
2350 buildUnnamed1307() { 2399 buildUnnamed1060() {
2351 var o = new core.List<api.Endpoint>(); 2400 var o = new core.List<api.Endpoint>();
2352 o.add(buildEndpoint()); 2401 o.add(buildEndpoint());
2353 o.add(buildEndpoint()); 2402 o.add(buildEndpoint());
2354 return o; 2403 return o;
2355 } 2404 }
2356 2405
2357 checkUnnamed1307(core.List<api.Endpoint> o) { 2406 checkUnnamed1060(core.List<api.Endpoint> o) {
2358 unittest.expect(o, unittest.hasLength(2)); 2407 unittest.expect(o, unittest.hasLength(2));
2359 checkEndpoint(o[0]); 2408 checkEndpoint(o[0]);
2360 checkEndpoint(o[1]); 2409 checkEndpoint(o[1]);
2361 } 2410 }
2362 2411
2363 buildUnnamed1308() { 2412 buildUnnamed1061() {
2364 var o = new core.List<api.Enum>(); 2413 var o = new core.List<api.Enum>();
2365 o.add(buildEnum()); 2414 o.add(buildEnum());
2366 o.add(buildEnum()); 2415 o.add(buildEnum());
2367 return o; 2416 return o;
2368 } 2417 }
2369 2418
2370 checkUnnamed1308(core.List<api.Enum> o) { 2419 checkUnnamed1061(core.List<api.Enum> o) {
2371 unittest.expect(o, unittest.hasLength(2)); 2420 unittest.expect(o, unittest.hasLength(2));
2372 checkEnum(o[0]); 2421 checkEnum(o[0]);
2373 checkEnum(o[1]); 2422 checkEnum(o[1]);
2374 } 2423 }
2375 2424
2376 buildUnnamed1309() { 2425 buildUnnamed1062() {
2377 var o = new core.List<api.LogDescriptor>(); 2426 var o = new core.List<api.LogDescriptor>();
2378 o.add(buildLogDescriptor()); 2427 o.add(buildLogDescriptor());
2379 o.add(buildLogDescriptor()); 2428 o.add(buildLogDescriptor());
2380 return o; 2429 return o;
2381 } 2430 }
2382 2431
2383 checkUnnamed1309(core.List<api.LogDescriptor> o) { 2432 checkUnnamed1062(core.List<api.LogDescriptor> o) {
2384 unittest.expect(o, unittest.hasLength(2)); 2433 unittest.expect(o, unittest.hasLength(2));
2385 checkLogDescriptor(o[0]); 2434 checkLogDescriptor(o[0]);
2386 checkLogDescriptor(o[1]); 2435 checkLogDescriptor(o[1]);
2387 } 2436 }
2388 2437
2389 buildUnnamed1310() { 2438 buildUnnamed1063() {
2390 var o = new core.List<api.MetricDescriptor>(); 2439 var o = new core.List<api.MetricDescriptor>();
2391 o.add(buildMetricDescriptor()); 2440 o.add(buildMetricDescriptor());
2392 o.add(buildMetricDescriptor()); 2441 o.add(buildMetricDescriptor());
2393 return o; 2442 return o;
2394 } 2443 }
2395 2444
2396 checkUnnamed1310(core.List<api.MetricDescriptor> o) { 2445 checkUnnamed1063(core.List<api.MetricDescriptor> o) {
2397 unittest.expect(o, unittest.hasLength(2)); 2446 unittest.expect(o, unittest.hasLength(2));
2398 checkMetricDescriptor(o[0]); 2447 checkMetricDescriptor(o[0]);
2399 checkMetricDescriptor(o[1]); 2448 checkMetricDescriptor(o[1]);
2400 } 2449 }
2401 2450
2402 buildUnnamed1311() { 2451 buildUnnamed1064() {
2403 var o = new core.List<api.MonitoredResourceDescriptor>(); 2452 var o = new core.List<api.MonitoredResourceDescriptor>();
2404 o.add(buildMonitoredResourceDescriptor()); 2453 o.add(buildMonitoredResourceDescriptor());
2405 o.add(buildMonitoredResourceDescriptor()); 2454 o.add(buildMonitoredResourceDescriptor());
2406 return o; 2455 return o;
2407 } 2456 }
2408 2457
2409 checkUnnamed1311(core.List<api.MonitoredResourceDescriptor> o) { 2458 checkUnnamed1064(core.List<api.MonitoredResourceDescriptor> o) {
2410 unittest.expect(o, unittest.hasLength(2)); 2459 unittest.expect(o, unittest.hasLength(2));
2411 checkMonitoredResourceDescriptor(o[0]); 2460 checkMonitoredResourceDescriptor(o[0]);
2412 checkMonitoredResourceDescriptor(o[1]); 2461 checkMonitoredResourceDescriptor(o[1]);
2413 } 2462 }
2414 2463
2415 buildUnnamed1312() { 2464 buildUnnamed1065() {
2416 var o = new core.List<api.Type>(); 2465 var o = new core.List<api.Type>();
2417 o.add(buildType()); 2466 o.add(buildType());
2418 o.add(buildType()); 2467 o.add(buildType());
2419 return o; 2468 return o;
2420 } 2469 }
2421 2470
2422 checkUnnamed1312(core.List<api.Type> o) { 2471 checkUnnamed1065(core.List<api.Type> o) {
2423 unittest.expect(o, unittest.hasLength(2)); 2472 unittest.expect(o, unittest.hasLength(2));
2424 checkType(o[0]); 2473 checkType(o[0]);
2425 checkType(o[1]); 2474 checkType(o[1]);
2426 } 2475 }
2427 2476
2428 buildUnnamed1313() { 2477 buildUnnamed1066() {
2429 var o = new core.List<api.Type>(); 2478 var o = new core.List<api.Type>();
2430 o.add(buildType()); 2479 o.add(buildType());
2431 o.add(buildType()); 2480 o.add(buildType());
2432 return o; 2481 return o;
2433 } 2482 }
2434 2483
2435 checkUnnamed1313(core.List<api.Type> o) { 2484 checkUnnamed1066(core.List<api.Type> o) {
2436 unittest.expect(o, unittest.hasLength(2)); 2485 unittest.expect(o, unittest.hasLength(2));
2437 checkType(o[0]); 2486 checkType(o[0]);
2438 checkType(o[1]); 2487 checkType(o[1]);
2439 } 2488 }
2440 2489
2441 core.int buildCounterService = 0; 2490 core.int buildCounterService = 0;
2442 buildService() { 2491 buildService() {
2443 var o = new api.Service(); 2492 var o = new api.Service();
2444 buildCounterService++; 2493 buildCounterService++;
2445 if (buildCounterService < 3) { 2494 if (buildCounterService < 3) {
2446 o.apis = buildUnnamed1306(); 2495 o.apis = buildUnnamed1059();
2447 o.authentication = buildAuthentication(); 2496 o.authentication = buildAuthentication();
2448 o.backend = buildBackend(); 2497 o.backend = buildBackend();
2449 o.configVersion = 42; 2498 o.configVersion = 42;
2450 o.context = buildContext(); 2499 o.context = buildContext();
2451 o.control = buildControl(); 2500 o.control = buildControl();
2452 o.customError = buildCustomError(); 2501 o.customError = buildCustomError();
2453 o.documentation = buildDocumentation(); 2502 o.documentation = buildDocumentation();
2454 o.endpoints = buildUnnamed1307(); 2503 o.endpoints = buildUnnamed1060();
2455 o.enums = buildUnnamed1308(); 2504 o.enums = buildUnnamed1061();
2456 o.http = buildHttp(); 2505 o.http = buildHttp();
2457 o.id = "foo"; 2506 o.id = "foo";
2458 o.logging = buildLogging(); 2507 o.logging = buildLogging();
2459 o.logs = buildUnnamed1309(); 2508 o.logs = buildUnnamed1062();
2460 o.metrics = buildUnnamed1310(); 2509 o.metrics = buildUnnamed1063();
2461 o.monitoredResources = buildUnnamed1311(); 2510 o.monitoredResources = buildUnnamed1064();
2462 o.monitoring = buildMonitoring(); 2511 o.monitoring = buildMonitoring();
2463 o.name = "foo"; 2512 o.name = "foo";
2464 o.producerProjectId = "foo"; 2513 o.producerProjectId = "foo";
2465 o.systemParameters = buildSystemParameters(); 2514 o.systemParameters = buildSystemParameters();
2466 o.systemTypes = buildUnnamed1312(); 2515 o.systemTypes = buildUnnamed1065();
2467 o.title = "foo"; 2516 o.title = "foo";
2468 o.types = buildUnnamed1313(); 2517 o.types = buildUnnamed1066();
2469 o.usage = buildUsage(); 2518 o.usage = buildUsage();
2470 o.visibility = buildVisibility(); 2519 o.visibility = buildVisibility();
2471 } 2520 }
2472 buildCounterService--; 2521 buildCounterService--;
2473 return o; 2522 return o;
2474 } 2523 }
2475 2524
2476 checkService(api.Service o) { 2525 checkService(api.Service o) {
2477 buildCounterService++; 2526 buildCounterService++;
2478 if (buildCounterService < 3) { 2527 if (buildCounterService < 3) {
2479 checkUnnamed1306(o.apis); 2528 checkUnnamed1059(o.apis);
2480 checkAuthentication(o.authentication); 2529 checkAuthentication(o.authentication);
2481 checkBackend(o.backend); 2530 checkBackend(o.backend);
2482 unittest.expect(o.configVersion, unittest.equals(42)); 2531 unittest.expect(o.configVersion, unittest.equals(42));
2483 checkContext(o.context); 2532 checkContext(o.context);
2484 checkControl(o.control); 2533 checkControl(o.control);
2485 checkCustomError(o.customError); 2534 checkCustomError(o.customError);
2486 checkDocumentation(o.documentation); 2535 checkDocumentation(o.documentation);
2487 checkUnnamed1307(o.endpoints); 2536 checkUnnamed1060(o.endpoints);
2488 checkUnnamed1308(o.enums); 2537 checkUnnamed1061(o.enums);
2489 checkHttp(o.http); 2538 checkHttp(o.http);
2490 unittest.expect(o.id, unittest.equals('foo')); 2539 unittest.expect(o.id, unittest.equals('foo'));
2491 checkLogging(o.logging); 2540 checkLogging(o.logging);
2492 checkUnnamed1309(o.logs); 2541 checkUnnamed1062(o.logs);
2493 checkUnnamed1310(o.metrics); 2542 checkUnnamed1063(o.metrics);
2494 checkUnnamed1311(o.monitoredResources); 2543 checkUnnamed1064(o.monitoredResources);
2495 checkMonitoring(o.monitoring); 2544 checkMonitoring(o.monitoring);
2496 unittest.expect(o.name, unittest.equals('foo')); 2545 unittest.expect(o.name, unittest.equals('foo'));
2497 unittest.expect(o.producerProjectId, unittest.equals('foo')); 2546 unittest.expect(o.producerProjectId, unittest.equals('foo'));
2498 checkSystemParameters(o.systemParameters); 2547 checkSystemParameters(o.systemParameters);
2499 checkUnnamed1312(o.systemTypes); 2548 checkUnnamed1065(o.systemTypes);
2500 unittest.expect(o.title, unittest.equals('foo')); 2549 unittest.expect(o.title, unittest.equals('foo'));
2501 checkUnnamed1313(o.types); 2550 checkUnnamed1066(o.types);
2502 checkUsage(o.usage); 2551 checkUsage(o.usage);
2503 checkVisibility(o.visibility); 2552 checkVisibility(o.visibility);
2504 } 2553 }
2505 buildCounterService--; 2554 buildCounterService--;
2506 } 2555 }
2507 2556
2508 core.int buildCounterSetIamPolicyRequest = 0; 2557 core.int buildCounterSetIamPolicyRequest = 0;
2509 buildSetIamPolicyRequest() { 2558 buildSetIamPolicyRequest() {
2510 var o = new api.SetIamPolicyRequest(); 2559 var o = new api.SetIamPolicyRequest();
2511 buildCounterSetIamPolicyRequest++; 2560 buildCounterSetIamPolicyRequest++;
(...skipping 24 matching lines...) Expand all
2536 } 2585 }
2537 2586
2538 checkSourceContext(api.SourceContext o) { 2587 checkSourceContext(api.SourceContext o) {
2539 buildCounterSourceContext++; 2588 buildCounterSourceContext++;
2540 if (buildCounterSourceContext < 3) { 2589 if (buildCounterSourceContext < 3) {
2541 unittest.expect(o.fileName, unittest.equals('foo')); 2590 unittest.expect(o.fileName, unittest.equals('foo'));
2542 } 2591 }
2543 buildCounterSourceContext--; 2592 buildCounterSourceContext--;
2544 } 2593 }
2545 2594
2546 buildUnnamed1314() { 2595 buildUnnamed1067() {
2547 var o = new core.Map<core.String, core.Object>(); 2596 var o = new core.Map<core.String, core.Object>();
2548 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2597 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2549 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2598 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2550 return o; 2599 return o;
2551 } 2600 }
2552 2601
2553 checkUnnamed1314(core.Map<core.String, core.Object> o) { 2602 checkUnnamed1067(core.Map<core.String, core.Object> o) {
2554 unittest.expect(o, unittest.hasLength(2)); 2603 unittest.expect(o, unittest.hasLength(2));
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')); 2604 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'));
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')); 2605 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'));
2557 } 2606 }
2558 2607
2559 buildUnnamed1315() { 2608 buildUnnamed1068() {
2560 var o = new core.List<core.Map<core.String, core.Object>>(); 2609 var o = new core.List<core.Map<core.String, core.Object>>();
2561 o.add(buildUnnamed1314()); 2610 o.add(buildUnnamed1067());
2562 o.add(buildUnnamed1314()); 2611 o.add(buildUnnamed1067());
2563 return o; 2612 return o;
2564 } 2613 }
2565 2614
2566 checkUnnamed1315(core.List<core.Map<core.String, core.Object>> o) { 2615 checkUnnamed1068(core.List<core.Map<core.String, core.Object>> o) {
2567 unittest.expect(o, unittest.hasLength(2)); 2616 unittest.expect(o, unittest.hasLength(2));
2568 checkUnnamed1314(o[0]); 2617 checkUnnamed1067(o[0]);
2569 checkUnnamed1314(o[1]); 2618 checkUnnamed1067(o[1]);
2570 } 2619 }
2571 2620
2572 core.int buildCounterStatus = 0; 2621 core.int buildCounterStatus = 0;
2573 buildStatus() { 2622 buildStatus() {
2574 var o = new api.Status(); 2623 var o = new api.Status();
2575 buildCounterStatus++; 2624 buildCounterStatus++;
2576 if (buildCounterStatus < 3) { 2625 if (buildCounterStatus < 3) {
2577 o.code = 42; 2626 o.code = 42;
2578 o.details = buildUnnamed1315(); 2627 o.details = buildUnnamed1068();
2579 o.message = "foo"; 2628 o.message = "foo";
2580 } 2629 }
2581 buildCounterStatus--; 2630 buildCounterStatus--;
2582 return o; 2631 return o;
2583 } 2632 }
2584 2633
2585 checkStatus(api.Status o) { 2634 checkStatus(api.Status o) {
2586 buildCounterStatus++; 2635 buildCounterStatus++;
2587 if (buildCounterStatus < 3) { 2636 if (buildCounterStatus < 3) {
2588 unittest.expect(o.code, unittest.equals(42)); 2637 unittest.expect(o.code, unittest.equals(42));
2589 checkUnnamed1315(o.details); 2638 checkUnnamed1068(o.details);
2590 unittest.expect(o.message, unittest.equals('foo')); 2639 unittest.expect(o.message, unittest.equals('foo'));
2591 } 2640 }
2592 buildCounterStatus--; 2641 buildCounterStatus--;
2593 } 2642 }
2594 2643
2595 core.int buildCounterStep = 0; 2644 core.int buildCounterStep = 0;
2596 buildStep() { 2645 buildStep() {
2597 var o = new api.Step(); 2646 var o = new api.Step();
2598 buildCounterStep++; 2647 buildCounterStep++;
2599 if (buildCounterStep < 3) { 2648 if (buildCounterStep < 3) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2669 checkSystemParameter(api.SystemParameter o) { 2718 checkSystemParameter(api.SystemParameter o) {
2670 buildCounterSystemParameter++; 2719 buildCounterSystemParameter++;
2671 if (buildCounterSystemParameter < 3) { 2720 if (buildCounterSystemParameter < 3) {
2672 unittest.expect(o.httpHeader, unittest.equals('foo')); 2721 unittest.expect(o.httpHeader, unittest.equals('foo'));
2673 unittest.expect(o.name, unittest.equals('foo')); 2722 unittest.expect(o.name, unittest.equals('foo'));
2674 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); 2723 unittest.expect(o.urlQueryParameter, unittest.equals('foo'));
2675 } 2724 }
2676 buildCounterSystemParameter--; 2725 buildCounterSystemParameter--;
2677 } 2726 }
2678 2727
2679 buildUnnamed1316() { 2728 buildUnnamed1069() {
2680 var o = new core.List<api.SystemParameter>(); 2729 var o = new core.List<api.SystemParameter>();
2681 o.add(buildSystemParameter()); 2730 o.add(buildSystemParameter());
2682 o.add(buildSystemParameter()); 2731 o.add(buildSystemParameter());
2683 return o; 2732 return o;
2684 } 2733 }
2685 2734
2686 checkUnnamed1316(core.List<api.SystemParameter> o) { 2735 checkUnnamed1069(core.List<api.SystemParameter> o) {
2687 unittest.expect(o, unittest.hasLength(2)); 2736 unittest.expect(o, unittest.hasLength(2));
2688 checkSystemParameter(o[0]); 2737 checkSystemParameter(o[0]);
2689 checkSystemParameter(o[1]); 2738 checkSystemParameter(o[1]);
2690 } 2739 }
2691 2740
2692 core.int buildCounterSystemParameterRule = 0; 2741 core.int buildCounterSystemParameterRule = 0;
2693 buildSystemParameterRule() { 2742 buildSystemParameterRule() {
2694 var o = new api.SystemParameterRule(); 2743 var o = new api.SystemParameterRule();
2695 buildCounterSystemParameterRule++; 2744 buildCounterSystemParameterRule++;
2696 if (buildCounterSystemParameterRule < 3) { 2745 if (buildCounterSystemParameterRule < 3) {
2697 o.parameters = buildUnnamed1316(); 2746 o.parameters = buildUnnamed1069();
2698 o.selector = "foo"; 2747 o.selector = "foo";
2699 } 2748 }
2700 buildCounterSystemParameterRule--; 2749 buildCounterSystemParameterRule--;
2701 return o; 2750 return o;
2702 } 2751 }
2703 2752
2704 checkSystemParameterRule(api.SystemParameterRule o) { 2753 checkSystemParameterRule(api.SystemParameterRule o) {
2705 buildCounterSystemParameterRule++; 2754 buildCounterSystemParameterRule++;
2706 if (buildCounterSystemParameterRule < 3) { 2755 if (buildCounterSystemParameterRule < 3) {
2707 checkUnnamed1316(o.parameters); 2756 checkUnnamed1069(o.parameters);
2708 unittest.expect(o.selector, unittest.equals('foo')); 2757 unittest.expect(o.selector, unittest.equals('foo'));
2709 } 2758 }
2710 buildCounterSystemParameterRule--; 2759 buildCounterSystemParameterRule--;
2711 } 2760 }
2712 2761
2713 buildUnnamed1317() { 2762 buildUnnamed1070() {
2714 var o = new core.List<api.SystemParameterRule>(); 2763 var o = new core.List<api.SystemParameterRule>();
2715 o.add(buildSystemParameterRule()); 2764 o.add(buildSystemParameterRule());
2716 o.add(buildSystemParameterRule()); 2765 o.add(buildSystemParameterRule());
2717 return o; 2766 return o;
2718 } 2767 }
2719 2768
2720 checkUnnamed1317(core.List<api.SystemParameterRule> o) { 2769 checkUnnamed1070(core.List<api.SystemParameterRule> o) {
2721 unittest.expect(o, unittest.hasLength(2)); 2770 unittest.expect(o, unittest.hasLength(2));
2722 checkSystemParameterRule(o[0]); 2771 checkSystemParameterRule(o[0]);
2723 checkSystemParameterRule(o[1]); 2772 checkSystemParameterRule(o[1]);
2724 } 2773 }
2725 2774
2726 core.int buildCounterSystemParameters = 0; 2775 core.int buildCounterSystemParameters = 0;
2727 buildSystemParameters() { 2776 buildSystemParameters() {
2728 var o = new api.SystemParameters(); 2777 var o = new api.SystemParameters();
2729 buildCounterSystemParameters++; 2778 buildCounterSystemParameters++;
2730 if (buildCounterSystemParameters < 3) { 2779 if (buildCounterSystemParameters < 3) {
2731 o.rules = buildUnnamed1317(); 2780 o.rules = buildUnnamed1070();
2732 } 2781 }
2733 buildCounterSystemParameters--; 2782 buildCounterSystemParameters--;
2734 return o; 2783 return o;
2735 } 2784 }
2736 2785
2737 checkSystemParameters(api.SystemParameters o) { 2786 checkSystemParameters(api.SystemParameters o) {
2738 buildCounterSystemParameters++; 2787 buildCounterSystemParameters++;
2739 if (buildCounterSystemParameters < 3) { 2788 if (buildCounterSystemParameters < 3) {
2740 checkUnnamed1317(o.rules); 2789 checkUnnamed1070(o.rules);
2741 } 2790 }
2742 buildCounterSystemParameters--; 2791 buildCounterSystemParameters--;
2743 } 2792 }
2744 2793
2745 buildUnnamed1318() { 2794 buildUnnamed1071() {
2746 var o = new core.List<core.String>(); 2795 var o = new core.List<core.String>();
2747 o.add("foo"); 2796 o.add("foo");
2748 o.add("foo"); 2797 o.add("foo");
2749 return o; 2798 return o;
2750 } 2799 }
2751 2800
2752 checkUnnamed1318(core.List<core.String> o) { 2801 checkUnnamed1071(core.List<core.String> o) {
2753 unittest.expect(o, unittest.hasLength(2)); 2802 unittest.expect(o, unittest.hasLength(2));
2754 unittest.expect(o[0], unittest.equals('foo')); 2803 unittest.expect(o[0], unittest.equals('foo'));
2755 unittest.expect(o[1], unittest.equals('foo')); 2804 unittest.expect(o[1], unittest.equals('foo'));
2756 } 2805 }
2757 2806
2758 core.int buildCounterTestIamPermissionsRequest = 0; 2807 core.int buildCounterTestIamPermissionsRequest = 0;
2759 buildTestIamPermissionsRequest() { 2808 buildTestIamPermissionsRequest() {
2760 var o = new api.TestIamPermissionsRequest(); 2809 var o = new api.TestIamPermissionsRequest();
2761 buildCounterTestIamPermissionsRequest++; 2810 buildCounterTestIamPermissionsRequest++;
2762 if (buildCounterTestIamPermissionsRequest < 3) { 2811 if (buildCounterTestIamPermissionsRequest < 3) {
2763 o.permissions = buildUnnamed1318(); 2812 o.permissions = buildUnnamed1071();
2764 } 2813 }
2765 buildCounterTestIamPermissionsRequest--; 2814 buildCounterTestIamPermissionsRequest--;
2766 return o; 2815 return o;
2767 } 2816 }
2768 2817
2769 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { 2818 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
2770 buildCounterTestIamPermissionsRequest++; 2819 buildCounterTestIamPermissionsRequest++;
2771 if (buildCounterTestIamPermissionsRequest < 3) { 2820 if (buildCounterTestIamPermissionsRequest < 3) {
2772 checkUnnamed1318(o.permissions); 2821 checkUnnamed1071(o.permissions);
2773 } 2822 }
2774 buildCounterTestIamPermissionsRequest--; 2823 buildCounterTestIamPermissionsRequest--;
2775 } 2824 }
2776 2825
2777 buildUnnamed1319() { 2826 buildUnnamed1072() {
2778 var o = new core.List<core.String>(); 2827 var o = new core.List<core.String>();
2779 o.add("foo"); 2828 o.add("foo");
2780 o.add("foo"); 2829 o.add("foo");
2781 return o; 2830 return o;
2782 } 2831 }
2783 2832
2784 checkUnnamed1319(core.List<core.String> o) { 2833 checkUnnamed1072(core.List<core.String> o) {
2785 unittest.expect(o, unittest.hasLength(2)); 2834 unittest.expect(o, unittest.hasLength(2));
2786 unittest.expect(o[0], unittest.equals('foo')); 2835 unittest.expect(o[0], unittest.equals('foo'));
2787 unittest.expect(o[1], unittest.equals('foo')); 2836 unittest.expect(o[1], unittest.equals('foo'));
2788 } 2837 }
2789 2838
2790 core.int buildCounterTestIamPermissionsResponse = 0; 2839 core.int buildCounterTestIamPermissionsResponse = 0;
2791 buildTestIamPermissionsResponse() { 2840 buildTestIamPermissionsResponse() {
2792 var o = new api.TestIamPermissionsResponse(); 2841 var o = new api.TestIamPermissionsResponse();
2793 buildCounterTestIamPermissionsResponse++; 2842 buildCounterTestIamPermissionsResponse++;
2794 if (buildCounterTestIamPermissionsResponse < 3) { 2843 if (buildCounterTestIamPermissionsResponse < 3) {
2795 o.permissions = buildUnnamed1319(); 2844 o.permissions = buildUnnamed1072();
2796 } 2845 }
2797 buildCounterTestIamPermissionsResponse--; 2846 buildCounterTestIamPermissionsResponse--;
2798 return o; 2847 return o;
2799 } 2848 }
2800 2849
2801 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { 2850 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
2802 buildCounterTestIamPermissionsResponse++; 2851 buildCounterTestIamPermissionsResponse++;
2803 if (buildCounterTestIamPermissionsResponse < 3) { 2852 if (buildCounterTestIamPermissionsResponse < 3) {
2804 checkUnnamed1319(o.permissions); 2853 checkUnnamed1072(o.permissions);
2805 } 2854 }
2806 buildCounterTestIamPermissionsResponse--; 2855 buildCounterTestIamPermissionsResponse--;
2807 } 2856 }
2808 2857
2809 buildUnnamed1320() { 2858 buildUnnamed1073() {
2810 var o = new core.Map<core.String, core.double>(); 2859 var o = new core.Map<core.String, core.double>();
2811 o["x"] = 42.0; 2860 o["x"] = 42.0;
2812 o["y"] = 42.0; 2861 o["y"] = 42.0;
2813 return o; 2862 return o;
2814 } 2863 }
2815 2864
2816 checkUnnamed1320(core.Map<core.String, core.double> o) { 2865 checkUnnamed1073(core.Map<core.String, core.double> o) {
2817 unittest.expect(o, unittest.hasLength(2)); 2866 unittest.expect(o, unittest.hasLength(2));
2818 unittest.expect(o["x"], unittest.equals(42.0)); 2867 unittest.expect(o["x"], unittest.equals(42.0));
2819 unittest.expect(o["y"], unittest.equals(42.0)); 2868 unittest.expect(o["y"], unittest.equals(42.0));
2820 } 2869 }
2821 2870
2822 core.int buildCounterTrafficPercentStrategy = 0; 2871 core.int buildCounterTrafficPercentStrategy = 0;
2823 buildTrafficPercentStrategy() { 2872 buildTrafficPercentStrategy() {
2824 var o = new api.TrafficPercentStrategy(); 2873 var o = new api.TrafficPercentStrategy();
2825 buildCounterTrafficPercentStrategy++; 2874 buildCounterTrafficPercentStrategy++;
2826 if (buildCounterTrafficPercentStrategy < 3) { 2875 if (buildCounterTrafficPercentStrategy < 3) {
2827 o.percentages = buildUnnamed1320(); 2876 o.percentages = buildUnnamed1073();
2828 } 2877 }
2829 buildCounterTrafficPercentStrategy--; 2878 buildCounterTrafficPercentStrategy--;
2830 return o; 2879 return o;
2831 } 2880 }
2832 2881
2833 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { 2882 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
2834 buildCounterTrafficPercentStrategy++; 2883 buildCounterTrafficPercentStrategy++;
2835 if (buildCounterTrafficPercentStrategy < 3) { 2884 if (buildCounterTrafficPercentStrategy < 3) {
2836 checkUnnamed1320(o.percentages); 2885 checkUnnamed1073(o.percentages);
2837 } 2886 }
2838 buildCounterTrafficPercentStrategy--; 2887 buildCounterTrafficPercentStrategy--;
2839 } 2888 }
2840 2889
2841 buildUnnamed1321() { 2890 buildUnnamed1074() {
2842 var o = new core.List<api.Field>(); 2891 var o = new core.List<api.Field>();
2843 o.add(buildField()); 2892 o.add(buildField());
2844 o.add(buildField()); 2893 o.add(buildField());
2845 return o; 2894 return o;
2846 } 2895 }
2847 2896
2848 checkUnnamed1321(core.List<api.Field> o) { 2897 checkUnnamed1074(core.List<api.Field> o) {
2849 unittest.expect(o, unittest.hasLength(2)); 2898 unittest.expect(o, unittest.hasLength(2));
2850 checkField(o[0]); 2899 checkField(o[0]);
2851 checkField(o[1]); 2900 checkField(o[1]);
2852 } 2901 }
2853 2902
2854 buildUnnamed1322() { 2903 buildUnnamed1075() {
2855 var o = new core.List<core.String>(); 2904 var o = new core.List<core.String>();
2856 o.add("foo"); 2905 o.add("foo");
2857 o.add("foo"); 2906 o.add("foo");
2858 return o; 2907 return o;
2859 } 2908 }
2860 2909
2861 checkUnnamed1322(core.List<core.String> o) { 2910 checkUnnamed1075(core.List<core.String> o) {
2862 unittest.expect(o, unittest.hasLength(2)); 2911 unittest.expect(o, unittest.hasLength(2));
2863 unittest.expect(o[0], unittest.equals('foo')); 2912 unittest.expect(o[0], unittest.equals('foo'));
2864 unittest.expect(o[1], unittest.equals('foo')); 2913 unittest.expect(o[1], unittest.equals('foo'));
2865 } 2914 }
2866 2915
2867 buildUnnamed1323() { 2916 buildUnnamed1076() {
2868 var o = new core.List<api.Option>(); 2917 var o = new core.List<api.Option>();
2869 o.add(buildOption()); 2918 o.add(buildOption());
2870 o.add(buildOption()); 2919 o.add(buildOption());
2871 return o; 2920 return o;
2872 } 2921 }
2873 2922
2874 checkUnnamed1323(core.List<api.Option> o) { 2923 checkUnnamed1076(core.List<api.Option> o) {
2875 unittest.expect(o, unittest.hasLength(2)); 2924 unittest.expect(o, unittest.hasLength(2));
2876 checkOption(o[0]); 2925 checkOption(o[0]);
2877 checkOption(o[1]); 2926 checkOption(o[1]);
2878 } 2927 }
2879 2928
2880 core.int buildCounterType = 0; 2929 core.int buildCounterType = 0;
2881 buildType() { 2930 buildType() {
2882 var o = new api.Type(); 2931 var o = new api.Type();
2883 buildCounterType++; 2932 buildCounterType++;
2884 if (buildCounterType < 3) { 2933 if (buildCounterType < 3) {
2885 o.fields = buildUnnamed1321(); 2934 o.fields = buildUnnamed1074();
2886 o.name = "foo"; 2935 o.name = "foo";
2887 o.oneofs = buildUnnamed1322(); 2936 o.oneofs = buildUnnamed1075();
2888 o.options = buildUnnamed1323(); 2937 o.options = buildUnnamed1076();
2889 o.sourceContext = buildSourceContext(); 2938 o.sourceContext = buildSourceContext();
2890 o.syntax = "foo"; 2939 o.syntax = "foo";
2891 } 2940 }
2892 buildCounterType--; 2941 buildCounterType--;
2893 return o; 2942 return o;
2894 } 2943 }
2895 2944
2896 checkType(api.Type o) { 2945 checkType(api.Type o) {
2897 buildCounterType++; 2946 buildCounterType++;
2898 if (buildCounterType < 3) { 2947 if (buildCounterType < 3) {
2899 checkUnnamed1321(o.fields); 2948 checkUnnamed1074(o.fields);
2900 unittest.expect(o.name, unittest.equals('foo')); 2949 unittest.expect(o.name, unittest.equals('foo'));
2901 checkUnnamed1322(o.oneofs); 2950 checkUnnamed1075(o.oneofs);
2902 checkUnnamed1323(o.options); 2951 checkUnnamed1076(o.options);
2903 checkSourceContext(o.sourceContext); 2952 checkSourceContext(o.sourceContext);
2904 unittest.expect(o.syntax, unittest.equals('foo')); 2953 unittest.expect(o.syntax, unittest.equals('foo'));
2905 } 2954 }
2906 buildCounterType--; 2955 buildCounterType--;
2907 } 2956 }
2908 2957
2909 core.int buildCounterUndeleteServiceResponse = 0; 2958 core.int buildCounterUndeleteServiceResponse = 0;
2910 buildUndeleteServiceResponse() { 2959 buildUndeleteServiceResponse() {
2911 var o = new api.UndeleteServiceResponse(); 2960 var o = new api.UndeleteServiceResponse();
2912 buildCounterUndeleteServiceResponse++; 2961 buildCounterUndeleteServiceResponse++;
2913 if (buildCounterUndeleteServiceResponse < 3) { 2962 if (buildCounterUndeleteServiceResponse < 3) {
2914 o.service = buildManagedService(); 2963 o.service = buildManagedService();
2915 } 2964 }
2916 buildCounterUndeleteServiceResponse--; 2965 buildCounterUndeleteServiceResponse--;
2917 return o; 2966 return o;
2918 } 2967 }
2919 2968
2920 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { 2969 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) {
2921 buildCounterUndeleteServiceResponse++; 2970 buildCounterUndeleteServiceResponse++;
2922 if (buildCounterUndeleteServiceResponse < 3) { 2971 if (buildCounterUndeleteServiceResponse < 3) {
2923 checkManagedService(o.service); 2972 checkManagedService(o.service);
2924 } 2973 }
2925 buildCounterUndeleteServiceResponse--; 2974 buildCounterUndeleteServiceResponse--;
2926 } 2975 }
2927 2976
2928 buildUnnamed1324() { 2977 buildUnnamed1077() {
2929 var o = new core.List<core.String>(); 2978 var o = new core.List<core.String>();
2930 o.add("foo"); 2979 o.add("foo");
2931 o.add("foo"); 2980 o.add("foo");
2932 return o; 2981 return o;
2933 } 2982 }
2934 2983
2935 checkUnnamed1324(core.List<core.String> o) { 2984 checkUnnamed1077(core.List<core.String> o) {
2936 unittest.expect(o, unittest.hasLength(2)); 2985 unittest.expect(o, unittest.hasLength(2));
2937 unittest.expect(o[0], unittest.equals('foo')); 2986 unittest.expect(o[0], unittest.equals('foo'));
2938 unittest.expect(o[1], unittest.equals('foo')); 2987 unittest.expect(o[1], unittest.equals('foo'));
2939 } 2988 }
2940 2989
2941 buildUnnamed1325() { 2990 buildUnnamed1078() {
2942 var o = new core.List<api.UsageRule>(); 2991 var o = new core.List<api.UsageRule>();
2943 o.add(buildUsageRule()); 2992 o.add(buildUsageRule());
2944 o.add(buildUsageRule()); 2993 o.add(buildUsageRule());
2945 return o; 2994 return o;
2946 } 2995 }
2947 2996
2948 checkUnnamed1325(core.List<api.UsageRule> o) { 2997 checkUnnamed1078(core.List<api.UsageRule> o) {
2949 unittest.expect(o, unittest.hasLength(2)); 2998 unittest.expect(o, unittest.hasLength(2));
2950 checkUsageRule(o[0]); 2999 checkUsageRule(o[0]);
2951 checkUsageRule(o[1]); 3000 checkUsageRule(o[1]);
2952 } 3001 }
2953 3002
2954 core.int buildCounterUsage = 0; 3003 core.int buildCounterUsage = 0;
2955 buildUsage() { 3004 buildUsage() {
2956 var o = new api.Usage(); 3005 var o = new api.Usage();
2957 buildCounterUsage++; 3006 buildCounterUsage++;
2958 if (buildCounterUsage < 3) { 3007 if (buildCounterUsage < 3) {
2959 o.requirements = buildUnnamed1324(); 3008 o.producerNotificationChannel = "foo";
2960 o.rules = buildUnnamed1325(); 3009 o.requirements = buildUnnamed1077();
3010 o.rules = buildUnnamed1078();
2961 } 3011 }
2962 buildCounterUsage--; 3012 buildCounterUsage--;
2963 return o; 3013 return o;
2964 } 3014 }
2965 3015
2966 checkUsage(api.Usage o) { 3016 checkUsage(api.Usage o) {
2967 buildCounterUsage++; 3017 buildCounterUsage++;
2968 if (buildCounterUsage < 3) { 3018 if (buildCounterUsage < 3) {
2969 checkUnnamed1324(o.requirements); 3019 unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
2970 checkUnnamed1325(o.rules); 3020 checkUnnamed1077(o.requirements);
3021 checkUnnamed1078(o.rules);
2971 } 3022 }
2972 buildCounterUsage--; 3023 buildCounterUsage--;
2973 } 3024 }
2974 3025
2975 core.int buildCounterUsageRule = 0; 3026 core.int buildCounterUsageRule = 0;
2976 buildUsageRule() { 3027 buildUsageRule() {
2977 var o = new api.UsageRule(); 3028 var o = new api.UsageRule();
2978 buildCounterUsageRule++; 3029 buildCounterUsageRule++;
2979 if (buildCounterUsageRule < 3) { 3030 if (buildCounterUsageRule < 3) {
2980 o.allowUnregisteredCalls = true; 3031 o.allowUnregisteredCalls = true;
2981 o.selector = "foo"; 3032 o.selector = "foo";
2982 } 3033 }
2983 buildCounterUsageRule--; 3034 buildCounterUsageRule--;
2984 return o; 3035 return o;
2985 } 3036 }
2986 3037
2987 checkUsageRule(api.UsageRule o) { 3038 checkUsageRule(api.UsageRule o) {
2988 buildCounterUsageRule++; 3039 buildCounterUsageRule++;
2989 if (buildCounterUsageRule < 3) { 3040 if (buildCounterUsageRule < 3) {
2990 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); 3041 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue);
2991 unittest.expect(o.selector, unittest.equals('foo')); 3042 unittest.expect(o.selector, unittest.equals('foo'));
2992 } 3043 }
2993 buildCounterUsageRule--; 3044 buildCounterUsageRule--;
2994 } 3045 }
2995 3046
2996 buildUnnamed1326() { 3047 buildUnnamed1079() {
2997 var o = new core.List<api.VisibilityRule>(); 3048 var o = new core.List<api.VisibilityRule>();
2998 o.add(buildVisibilityRule()); 3049 o.add(buildVisibilityRule());
2999 o.add(buildVisibilityRule()); 3050 o.add(buildVisibilityRule());
3000 return o; 3051 return o;
3001 } 3052 }
3002 3053
3003 checkUnnamed1326(core.List<api.VisibilityRule> o) { 3054 checkUnnamed1079(core.List<api.VisibilityRule> o) {
3004 unittest.expect(o, unittest.hasLength(2)); 3055 unittest.expect(o, unittest.hasLength(2));
3005 checkVisibilityRule(o[0]); 3056 checkVisibilityRule(o[0]);
3006 checkVisibilityRule(o[1]); 3057 checkVisibilityRule(o[1]);
3007 } 3058 }
3008 3059
3009 core.int buildCounterVisibility = 0; 3060 core.int buildCounterVisibility = 0;
3010 buildVisibility() { 3061 buildVisibility() {
3011 var o = new api.Visibility(); 3062 var o = new api.Visibility();
3012 buildCounterVisibility++; 3063 buildCounterVisibility++;
3013 if (buildCounterVisibility < 3) { 3064 if (buildCounterVisibility < 3) {
3014 o.rules = buildUnnamed1326(); 3065 o.rules = buildUnnamed1079();
3015 } 3066 }
3016 buildCounterVisibility--; 3067 buildCounterVisibility--;
3017 return o; 3068 return o;
3018 } 3069 }
3019 3070
3020 checkVisibility(api.Visibility o) { 3071 checkVisibility(api.Visibility o) {
3021 buildCounterVisibility++; 3072 buildCounterVisibility++;
3022 if (buildCounterVisibility < 3) { 3073 if (buildCounterVisibility < 3) {
3023 checkUnnamed1326(o.rules); 3074 checkUnnamed1079(o.rules);
3024 } 3075 }
3025 buildCounterVisibility--; 3076 buildCounterVisibility--;
3026 } 3077 }
3027 3078
3028 core.int buildCounterVisibilityRule = 0; 3079 core.int buildCounterVisibilityRule = 0;
3029 buildVisibilityRule() { 3080 buildVisibilityRule() {
3030 var o = new api.VisibilityRule(); 3081 var o = new api.VisibilityRule();
3031 buildCounterVisibilityRule++; 3082 buildCounterVisibilityRule++;
3032 if (buildCounterVisibilityRule < 3) { 3083 if (buildCounterVisibilityRule < 3) {
3033 o.restriction = "foo"; 3084 o.restriction = "foo";
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
3068 3119
3069 unittest.group("obj-schema-AuditConfig", () { 3120 unittest.group("obj-schema-AuditConfig", () {
3070 unittest.test("to-json--from-json", () { 3121 unittest.test("to-json--from-json", () {
3071 var o = buildAuditConfig(); 3122 var o = buildAuditConfig();
3072 var od = new api.AuditConfig.fromJson(o.toJson()); 3123 var od = new api.AuditConfig.fromJson(o.toJson());
3073 checkAuditConfig(od); 3124 checkAuditConfig(od);
3074 }); 3125 });
3075 }); 3126 });
3076 3127
3077 3128
3129 unittest.group("obj-schema-AuditLogConfig", () {
3130 unittest.test("to-json--from-json", () {
3131 var o = buildAuditLogConfig();
3132 var od = new api.AuditLogConfig.fromJson(o.toJson());
3133 checkAuditLogConfig(od);
3134 });
3135 });
3136
3137
3078 unittest.group("obj-schema-AuthProvider", () { 3138 unittest.group("obj-schema-AuthProvider", () {
3079 unittest.test("to-json--from-json", () { 3139 unittest.test("to-json--from-json", () {
3080 var o = buildAuthProvider(); 3140 var o = buildAuthProvider();
3081 var od = new api.AuthProvider.fromJson(o.toJson()); 3141 var od = new api.AuthProvider.fromJson(o.toJson());
3082 checkAuthProvider(od); 3142 checkAuthProvider(od);
3083 }); 3143 });
3084 }); 3144 });
3085 3145
3086 3146
3087 unittest.group("obj-schema-AuthRequirement", () { 3147 unittest.group("obj-schema-AuthRequirement", () {
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after
4254 }))); 4314 })));
4255 }); 4315 });
4256 4316
4257 unittest.test("method--list", () { 4317 unittest.test("method--list", () {
4258 4318
4259 var mock = new HttpServerMock(); 4319 var mock = new HttpServerMock();
4260 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; 4320 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
4261 var arg_pageSize = 42; 4321 var arg_pageSize = 42;
4262 var arg_producerProjectId = "foo"; 4322 var arg_producerProjectId = "foo";
4263 var arg_pageToken = "foo"; 4323 var arg_pageToken = "foo";
4324 var arg_consumerId = "foo";
4264 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4325 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4265 var path = (req.url).path; 4326 var path = (req.url).path;
4266 var pathOffset = 0; 4327 var pathOffset = 0;
4267 var index; 4328 var index;
4268 var subPart; 4329 var subPart;
4269 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4330 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4270 pathOffset += 1; 4331 pathOffset += 1;
4271 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq uals("v1/services")); 4332 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq uals("v1/services"));
4272 pathOffset += 11; 4333 pathOffset += 11;
4273 4334
4274 var query = (req.url).query; 4335 var query = (req.url).query;
4275 var queryOffset = 0; 4336 var queryOffset = 0;
4276 var queryMap = {}; 4337 var queryMap = {};
4277 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 4338 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
4278 parseBool(n) { 4339 parseBool(n) {
4279 if (n == "true") return true; 4340 if (n == "true") return true;
4280 if (n == "false") return false; 4341 if (n == "false") return false;
4281 if (n == null) return null; 4342 if (n == null) return null;
4282 throw new core.ArgumentError("Invalid boolean: $n"); 4343 throw new core.ArgumentError("Invalid boolean: $n");
4283 } 4344 }
4284 if (query.length > 0) { 4345 if (query.length > 0) {
4285 for (var part in query.split("&")) { 4346 for (var part in query.split("&")) {
4286 var keyvalue = part.split("="); 4347 var keyvalue = part.split("=");
4287 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4348 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4288 } 4349 }
4289 } 4350 }
4290 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 4351 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4291 unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg _producerProjectId)); 4352 unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg _producerProjectId));
4292 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 4353 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4354 unittest.expect(queryMap["consumerId"].first, unittest.equals(arg_consum erId));
4293 4355
4294 4356
4295 var h = { 4357 var h = {
4296 "content-type" : "application/json; charset=utf-8", 4358 "content-type" : "application/json; charset=utf-8",
4297 }; 4359 };
4298 var resp = convert.JSON.encode(buildListServicesResponse()); 4360 var resp = convert.JSON.encode(buildListServicesResponse());
4299 return new async.Future.value(stringResponse(200, h, resp)); 4361 return new async.Future.value(stringResponse(200, h, resp));
4300 }), true); 4362 }), true);
4301 res.list(pageSize: arg_pageSize, producerProjectId: arg_producerProjectId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServicesResponse response) { 4363 res.list(pageSize: arg_pageSize, producerProjectId: arg_producerProjectId, pageToken: arg_pageToken, consumerId: arg_consumerId).then(unittest.expectAsync (((api.ListServicesResponse response) {
4302 checkListServicesResponse(response); 4364 checkListServicesResponse(response);
4303 }))); 4365 })));
4304 }); 4366 });
4305 4367
4306 unittest.test("method--setIamPolicy", () { 4368 unittest.test("method--setIamPolicy", () {
4307 4369
4308 var mock = new HttpServerMock(); 4370 var mock = new HttpServerMock();
4309 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; 4371 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
4310 var arg_request = buildSetIamPolicyRequest(); 4372 var arg_request = buildSetIamPolicyRequest();
4311 var arg_resource = "foo"; 4373 var arg_resource = "foo";
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
4843 res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken ).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) { 4905 res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken ).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
4844 checkListServiceRolloutsResponse(response); 4906 checkListServiceRolloutsResponse(response);
4845 }))); 4907 })));
4846 }); 4908 });
4847 4909
4848 }); 4910 });
4849 4911
4850 4912
4851 } 4913 }
4852 4914
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