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

Side by Side Diff: generated/googleapis_beta/test/dataflow/v1b3_test.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 3 months 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_beta.dataflow.v1b3.test; 1 library googleapis_beta.dataflow.v1b3.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:test/test.dart' as unittest; 10 import 'package:test/test.dart' as unittest;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 checkComponentTransform(api.ComponentTransform o) { 230 checkComponentTransform(api.ComponentTransform o) {
231 buildCounterComponentTransform++; 231 buildCounterComponentTransform++;
232 if (buildCounterComponentTransform < 3) { 232 if (buildCounterComponentTransform < 3) {
233 unittest.expect(o.name, unittest.equals('foo')); 233 unittest.expect(o.name, unittest.equals('foo'));
234 unittest.expect(o.originalTransform, unittest.equals('foo')); 234 unittest.expect(o.originalTransform, unittest.equals('foo'));
235 unittest.expect(o.userName, unittest.equals('foo')); 235 unittest.expect(o.userName, unittest.equals('foo'));
236 } 236 }
237 buildCounterComponentTransform--; 237 buildCounterComponentTransform--;
238 } 238 }
239 239
240 buildUnnamed3069() { 240 buildUnnamed3090() {
241 var o = new core.List<api.StreamLocation>(); 241 var o = new core.List<api.StreamLocation>();
242 o.add(buildStreamLocation()); 242 o.add(buildStreamLocation());
243 o.add(buildStreamLocation()); 243 o.add(buildStreamLocation());
244 return o; 244 return o;
245 } 245 }
246 246
247 checkUnnamed3069(core.List<api.StreamLocation> o) { 247 checkUnnamed3090(core.List<api.StreamLocation> o) {
248 unittest.expect(o, unittest.hasLength(2)); 248 unittest.expect(o, unittest.hasLength(2));
249 checkStreamLocation(o[0]); 249 checkStreamLocation(o[0]);
250 checkStreamLocation(o[1]); 250 checkStreamLocation(o[1]);
251 } 251 }
252 252
253 buildUnnamed3070() { 253 buildUnnamed3091() {
254 var o = new core.List<api.KeyRangeLocation>(); 254 var o = new core.List<api.KeyRangeLocation>();
255 o.add(buildKeyRangeLocation()); 255 o.add(buildKeyRangeLocation());
256 o.add(buildKeyRangeLocation()); 256 o.add(buildKeyRangeLocation());
257 return o; 257 return o;
258 } 258 }
259 259
260 checkUnnamed3070(core.List<api.KeyRangeLocation> o) { 260 checkUnnamed3091(core.List<api.KeyRangeLocation> o) {
261 unittest.expect(o, unittest.hasLength(2)); 261 unittest.expect(o, unittest.hasLength(2));
262 checkKeyRangeLocation(o[0]); 262 checkKeyRangeLocation(o[0]);
263 checkKeyRangeLocation(o[1]); 263 checkKeyRangeLocation(o[1]);
264 } 264 }
265 265
266 buildUnnamed3071() { 266 buildUnnamed3092() {
267 var o = new core.List<api.StreamLocation>(); 267 var o = new core.List<api.StreamLocation>();
268 o.add(buildStreamLocation()); 268 o.add(buildStreamLocation());
269 o.add(buildStreamLocation()); 269 o.add(buildStreamLocation());
270 return o; 270 return o;
271 } 271 }
272 272
273 checkUnnamed3071(core.List<api.StreamLocation> o) { 273 checkUnnamed3092(core.List<api.StreamLocation> o) {
274 unittest.expect(o, unittest.hasLength(2)); 274 unittest.expect(o, unittest.hasLength(2));
275 checkStreamLocation(o[0]); 275 checkStreamLocation(o[0]);
276 checkStreamLocation(o[1]); 276 checkStreamLocation(o[1]);
277 } 277 }
278 278
279 buildUnnamed3072() { 279 buildUnnamed3093() {
280 var o = new core.List<api.StateFamilyConfig>(); 280 var o = new core.List<api.StateFamilyConfig>();
281 o.add(buildStateFamilyConfig()); 281 o.add(buildStateFamilyConfig());
282 o.add(buildStateFamilyConfig()); 282 o.add(buildStateFamilyConfig());
283 return o; 283 return o;
284 } 284 }
285 285
286 checkUnnamed3072(core.List<api.StateFamilyConfig> o) { 286 checkUnnamed3093(core.List<api.StateFamilyConfig> o) {
287 unittest.expect(o, unittest.hasLength(2)); 287 unittest.expect(o, unittest.hasLength(2));
288 checkStateFamilyConfig(o[0]); 288 checkStateFamilyConfig(o[0]);
289 checkStateFamilyConfig(o[1]); 289 checkStateFamilyConfig(o[1]);
290 } 290 }
291 291
292 core.int buildCounterComputationTopology = 0; 292 core.int buildCounterComputationTopology = 0;
293 buildComputationTopology() { 293 buildComputationTopology() {
294 var o = new api.ComputationTopology(); 294 var o = new api.ComputationTopology();
295 buildCounterComputationTopology++; 295 buildCounterComputationTopology++;
296 if (buildCounterComputationTopology < 3) { 296 if (buildCounterComputationTopology < 3) {
297 o.computationId = "foo"; 297 o.computationId = "foo";
298 o.inputs = buildUnnamed3069(); 298 o.inputs = buildUnnamed3090();
299 o.keyRanges = buildUnnamed3070(); 299 o.keyRanges = buildUnnamed3091();
300 o.outputs = buildUnnamed3071(); 300 o.outputs = buildUnnamed3092();
301 o.stateFamilies = buildUnnamed3072(); 301 o.stateFamilies = buildUnnamed3093();
302 o.systemStageName = "foo"; 302 o.systemStageName = "foo";
303 } 303 }
304 buildCounterComputationTopology--; 304 buildCounterComputationTopology--;
305 return o; 305 return o;
306 } 306 }
307 307
308 checkComputationTopology(api.ComputationTopology o) { 308 checkComputationTopology(api.ComputationTopology o) {
309 buildCounterComputationTopology++; 309 buildCounterComputationTopology++;
310 if (buildCounterComputationTopology < 3) { 310 if (buildCounterComputationTopology < 3) {
311 unittest.expect(o.computationId, unittest.equals('foo')); 311 unittest.expect(o.computationId, unittest.equals('foo'));
312 checkUnnamed3069(o.inputs); 312 checkUnnamed3090(o.inputs);
313 checkUnnamed3070(o.keyRanges); 313 checkUnnamed3091(o.keyRanges);
314 checkUnnamed3071(o.outputs); 314 checkUnnamed3092(o.outputs);
315 checkUnnamed3072(o.stateFamilies); 315 checkUnnamed3093(o.stateFamilies);
316 unittest.expect(o.systemStageName, unittest.equals('foo')); 316 unittest.expect(o.systemStageName, unittest.equals('foo'));
317 } 317 }
318 buildCounterComputationTopology--; 318 buildCounterComputationTopology--;
319 } 319 }
320 320
321 core.int buildCounterConcatPosition = 0; 321 core.int buildCounterConcatPosition = 0;
322 buildConcatPosition() { 322 buildConcatPosition() {
323 var o = new api.ConcatPosition(); 323 var o = new api.ConcatPosition();
324 buildCounterConcatPosition++; 324 buildCounterConcatPosition++;
325 if (buildCounterConcatPosition < 3) { 325 if (buildCounterConcatPosition < 3) {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 checkIntegerMean(o.integerMean); 456 checkIntegerMean(o.integerMean);
457 var casted1 = (o.internal) as core.Map; unittest.expect(casted1, unittest.ha sLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["str ing"], unittest.equals('foo')); 457 var casted1 = (o.internal) as core.Map; unittest.expect(casted1, unittest.ha sLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["str ing"], unittest.equals('foo'));
458 checkNameAndKind(o.nameAndKind); 458 checkNameAndKind(o.nameAndKind);
459 unittest.expect(o.shortId, unittest.equals('foo')); 459 unittest.expect(o.shortId, unittest.equals('foo'));
460 checkStringList(o.stringList); 460 checkStringList(o.stringList);
461 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); 461 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata);
462 } 462 }
463 buildCounterCounterUpdate--; 463 buildCounterCounterUpdate--;
464 } 464 }
465 465
466 buildUnnamed3073() { 466 buildUnnamed3094() {
467 var o = new core.Map<core.String, core.String>(); 467 var o = new core.Map<core.String, core.String>();
468 o["x"] = "foo"; 468 o["x"] = "foo";
469 o["y"] = "foo"; 469 o["y"] = "foo";
470 return o; 470 return o;
471 } 471 }
472 472
473 checkUnnamed3073(core.Map<core.String, core.String> o) { 473 checkUnnamed3094(core.Map<core.String, core.String> o) {
474 unittest.expect(o, unittest.hasLength(2)); 474 unittest.expect(o, unittest.hasLength(2));
475 unittest.expect(o["x"], unittest.equals('foo')); 475 unittest.expect(o["x"], unittest.equals('foo'));
476 unittest.expect(o["y"], unittest.equals('foo')); 476 unittest.expect(o["y"], unittest.equals('foo'));
477 } 477 }
478 478
479 core.int buildCounterCreateJobFromTemplateRequest = 0; 479 core.int buildCounterCreateJobFromTemplateRequest = 0;
480 buildCreateJobFromTemplateRequest() { 480 buildCreateJobFromTemplateRequest() {
481 var o = new api.CreateJobFromTemplateRequest(); 481 var o = new api.CreateJobFromTemplateRequest();
482 buildCounterCreateJobFromTemplateRequest++; 482 buildCounterCreateJobFromTemplateRequest++;
483 if (buildCounterCreateJobFromTemplateRequest < 3) { 483 if (buildCounterCreateJobFromTemplateRequest < 3) {
484 o.environment = buildRuntimeEnvironment(); 484 o.environment = buildRuntimeEnvironment();
485 o.gcsPath = "foo"; 485 o.gcsPath = "foo";
486 o.jobName = "foo"; 486 o.jobName = "foo";
487 o.location = "foo"; 487 o.location = "foo";
488 o.parameters = buildUnnamed3073(); 488 o.parameters = buildUnnamed3094();
489 } 489 }
490 buildCounterCreateJobFromTemplateRequest--; 490 buildCounterCreateJobFromTemplateRequest--;
491 return o; 491 return o;
492 } 492 }
493 493
494 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { 494 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) {
495 buildCounterCreateJobFromTemplateRequest++; 495 buildCounterCreateJobFromTemplateRequest++;
496 if (buildCounterCreateJobFromTemplateRequest < 3) { 496 if (buildCounterCreateJobFromTemplateRequest < 3) {
497 checkRuntimeEnvironment(o.environment); 497 checkRuntimeEnvironment(o.environment);
498 unittest.expect(o.gcsPath, unittest.equals('foo')); 498 unittest.expect(o.gcsPath, unittest.equals('foo'));
499 unittest.expect(o.jobName, unittest.equals('foo')); 499 unittest.expect(o.jobName, unittest.equals('foo'));
500 unittest.expect(o.location, unittest.equals('foo')); 500 unittest.expect(o.location, unittest.equals('foo'));
501 checkUnnamed3073(o.parameters); 501 checkUnnamed3094(o.parameters);
502 } 502 }
503 buildCounterCreateJobFromTemplateRequest--; 503 buildCounterCreateJobFromTemplateRequest--;
504 } 504 }
505 505
506 core.int buildCounterCustomSourceLocation = 0; 506 core.int buildCounterCustomSourceLocation = 0;
507 buildCustomSourceLocation() { 507 buildCustomSourceLocation() {
508 var o = new api.CustomSourceLocation(); 508 var o = new api.CustomSourceLocation();
509 buildCounterCustomSourceLocation++; 509 buildCounterCustomSourceLocation++;
510 if (buildCounterCustomSourceLocation < 3) { 510 if (buildCounterCustomSourceLocation < 3) {
511 o.stateful = true; 511 o.stateful = true;
512 } 512 }
513 buildCounterCustomSourceLocation--; 513 buildCounterCustomSourceLocation--;
514 return o; 514 return o;
515 } 515 }
516 516
517 checkCustomSourceLocation(api.CustomSourceLocation o) { 517 checkCustomSourceLocation(api.CustomSourceLocation o) {
518 buildCounterCustomSourceLocation++; 518 buildCounterCustomSourceLocation++;
519 if (buildCounterCustomSourceLocation < 3) { 519 if (buildCounterCustomSourceLocation < 3) {
520 unittest.expect(o.stateful, unittest.isTrue); 520 unittest.expect(o.stateful, unittest.isTrue);
521 } 521 }
522 buildCounterCustomSourceLocation--; 522 buildCounterCustomSourceLocation--;
523 } 523 }
524 524
525 buildUnnamed3074() { 525 buildUnnamed3095() {
526 var o = new core.List<core.String>(); 526 var o = new core.List<core.String>();
527 o.add("foo"); 527 o.add("foo");
528 o.add("foo"); 528 o.add("foo");
529 return o; 529 return o;
530 } 530 }
531 531
532 checkUnnamed3074(core.List<core.String> o) { 532 checkUnnamed3095(core.List<core.String> o) {
533 unittest.expect(o, unittest.hasLength(2)); 533 unittest.expect(o, unittest.hasLength(2));
534 unittest.expect(o[0], unittest.equals('foo')); 534 unittest.expect(o[0], unittest.equals('foo'));
535 unittest.expect(o[1], unittest.equals('foo')); 535 unittest.expect(o[1], unittest.equals('foo'));
536 } 536 }
537 537
538 core.int buildCounterDataDiskAssignment = 0; 538 core.int buildCounterDataDiskAssignment = 0;
539 buildDataDiskAssignment() { 539 buildDataDiskAssignment() {
540 var o = new api.DataDiskAssignment(); 540 var o = new api.DataDiskAssignment();
541 buildCounterDataDiskAssignment++; 541 buildCounterDataDiskAssignment++;
542 if (buildCounterDataDiskAssignment < 3) { 542 if (buildCounterDataDiskAssignment < 3) {
543 o.dataDisks = buildUnnamed3074(); 543 o.dataDisks = buildUnnamed3095();
544 o.vmInstance = "foo"; 544 o.vmInstance = "foo";
545 } 545 }
546 buildCounterDataDiskAssignment--; 546 buildCounterDataDiskAssignment--;
547 return o; 547 return o;
548 } 548 }
549 549
550 checkDataDiskAssignment(api.DataDiskAssignment o) { 550 checkDataDiskAssignment(api.DataDiskAssignment o) {
551 buildCounterDataDiskAssignment++; 551 buildCounterDataDiskAssignment++;
552 if (buildCounterDataDiskAssignment < 3) { 552 if (buildCounterDataDiskAssignment < 3) {
553 checkUnnamed3074(o.dataDisks); 553 checkUnnamed3095(o.dataDisks);
554 unittest.expect(o.vmInstance, unittest.equals('foo')); 554 unittest.expect(o.vmInstance, unittest.equals('foo'));
555 } 555 }
556 buildCounterDataDiskAssignment--; 556 buildCounterDataDiskAssignment--;
557 } 557 }
558 558
559 core.int buildCounterDerivedSource = 0; 559 core.int buildCounterDerivedSource = 0;
560 buildDerivedSource() { 560 buildDerivedSource() {
561 var o = new api.DerivedSource(); 561 var o = new api.DerivedSource();
562 buildCounterDerivedSource++; 562 buildCounterDerivedSource++;
563 if (buildCounterDerivedSource < 3) { 563 if (buildCounterDerivedSource < 3) {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 unittest.expect(o.label, unittest.equals('foo')); 634 unittest.expect(o.label, unittest.equals('foo'));
635 unittest.expect(o.namespace, unittest.equals('foo')); 635 unittest.expect(o.namespace, unittest.equals('foo'));
636 unittest.expect(o.shortStrValue, unittest.equals('foo')); 636 unittest.expect(o.shortStrValue, unittest.equals('foo'));
637 unittest.expect(o.strValue, unittest.equals('foo')); 637 unittest.expect(o.strValue, unittest.equals('foo'));
638 unittest.expect(o.timestampValue, unittest.equals('foo')); 638 unittest.expect(o.timestampValue, unittest.equals('foo'));
639 unittest.expect(o.url, unittest.equals('foo')); 639 unittest.expect(o.url, unittest.equals('foo'));
640 } 640 }
641 buildCounterDisplayData--; 641 buildCounterDisplayData--;
642 } 642 }
643 643
644 buildUnnamed3075() { 644 buildUnnamed3096() {
645 var o = new core.List<api.LogBucket>(); 645 var o = new core.List<api.LogBucket>();
646 o.add(buildLogBucket()); 646 o.add(buildLogBucket());
647 o.add(buildLogBucket()); 647 o.add(buildLogBucket());
648 return o; 648 return o;
649 } 649 }
650 650
651 checkUnnamed3075(core.List<api.LogBucket> o) { 651 checkUnnamed3096(core.List<api.LogBucket> o) {
652 unittest.expect(o, unittest.hasLength(2)); 652 unittest.expect(o, unittest.hasLength(2));
653 checkLogBucket(o[0]); 653 checkLogBucket(o[0]);
654 checkLogBucket(o[1]); 654 checkLogBucket(o[1]);
655 } 655 }
656 656
657 core.int buildCounterDistributionUpdate = 0; 657 core.int buildCounterDistributionUpdate = 0;
658 buildDistributionUpdate() { 658 buildDistributionUpdate() {
659 var o = new api.DistributionUpdate(); 659 var o = new api.DistributionUpdate();
660 buildCounterDistributionUpdate++; 660 buildCounterDistributionUpdate++;
661 if (buildCounterDistributionUpdate < 3) { 661 if (buildCounterDistributionUpdate < 3) {
662 o.count = buildSplitInt64(); 662 o.count = buildSplitInt64();
663 o.logBuckets = buildUnnamed3075(); 663 o.logBuckets = buildUnnamed3096();
664 o.max = buildSplitInt64(); 664 o.max = buildSplitInt64();
665 o.min = buildSplitInt64(); 665 o.min = buildSplitInt64();
666 o.sum = buildSplitInt64(); 666 o.sum = buildSplitInt64();
667 o.sumOfSquares = 42.0; 667 o.sumOfSquares = 42.0;
668 } 668 }
669 buildCounterDistributionUpdate--; 669 buildCounterDistributionUpdate--;
670 return o; 670 return o;
671 } 671 }
672 672
673 checkDistributionUpdate(api.DistributionUpdate o) { 673 checkDistributionUpdate(api.DistributionUpdate o) {
674 buildCounterDistributionUpdate++; 674 buildCounterDistributionUpdate++;
675 if (buildCounterDistributionUpdate < 3) { 675 if (buildCounterDistributionUpdate < 3) {
676 checkSplitInt64(o.count); 676 checkSplitInt64(o.count);
677 checkUnnamed3075(o.logBuckets); 677 checkUnnamed3096(o.logBuckets);
678 checkSplitInt64(o.max); 678 checkSplitInt64(o.max);
679 checkSplitInt64(o.min); 679 checkSplitInt64(o.min);
680 checkSplitInt64(o.sum); 680 checkSplitInt64(o.sum);
681 unittest.expect(o.sumOfSquares, unittest.equals(42.0)); 681 unittest.expect(o.sumOfSquares, unittest.equals(42.0));
682 } 682 }
683 buildCounterDistributionUpdate--; 683 buildCounterDistributionUpdate--;
684 } 684 }
685 685
686 core.int buildCounterDynamicSourceSplit = 0; 686 core.int buildCounterDynamicSourceSplit = 0;
687 buildDynamicSourceSplit() { 687 buildDynamicSourceSplit() {
688 var o = new api.DynamicSourceSplit(); 688 var o = new api.DynamicSourceSplit();
689 buildCounterDynamicSourceSplit++; 689 buildCounterDynamicSourceSplit++;
690 if (buildCounterDynamicSourceSplit < 3) { 690 if (buildCounterDynamicSourceSplit < 3) {
691 o.primary = buildDerivedSource(); 691 o.primary = buildDerivedSource();
692 o.residual = buildDerivedSource(); 692 o.residual = buildDerivedSource();
693 } 693 }
694 buildCounterDynamicSourceSplit--; 694 buildCounterDynamicSourceSplit--;
695 return o; 695 return o;
696 } 696 }
697 697
698 checkDynamicSourceSplit(api.DynamicSourceSplit o) { 698 checkDynamicSourceSplit(api.DynamicSourceSplit o) {
699 buildCounterDynamicSourceSplit++; 699 buildCounterDynamicSourceSplit++;
700 if (buildCounterDynamicSourceSplit < 3) { 700 if (buildCounterDynamicSourceSplit < 3) {
701 checkDerivedSource(o.primary); 701 checkDerivedSource(o.primary);
702 checkDerivedSource(o.residual); 702 checkDerivedSource(o.residual);
703 } 703 }
704 buildCounterDynamicSourceSplit--; 704 buildCounterDynamicSourceSplit--;
705 } 705 }
706 706
707 buildUnnamed3076() { 707 buildUnnamed3097() {
708 var o = new core.List<core.String>(); 708 var o = new core.List<core.String>();
709 o.add("foo"); 709 o.add("foo");
710 o.add("foo"); 710 o.add("foo");
711 return o; 711 return o;
712 } 712 }
713 713
714 checkUnnamed3076(core.List<core.String> o) { 714 checkUnnamed3097(core.List<core.String> o) {
715 unittest.expect(o, unittest.hasLength(2)); 715 unittest.expect(o, unittest.hasLength(2));
716 unittest.expect(o[0], unittest.equals('foo')); 716 unittest.expect(o[0], unittest.equals('foo'));
717 unittest.expect(o[1], unittest.equals('foo')); 717 unittest.expect(o[1], unittest.equals('foo'));
718 } 718 }
719 719
720 buildUnnamed3077() { 720 buildUnnamed3098() {
721 var o = new core.Map<core.String, core.Object>(); 721 var o = new core.Map<core.String, core.Object>();
722 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 722 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
723 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 723 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
724 return o; 724 return o;
725 } 725 }
726 726
727 checkUnnamed3077(core.Map<core.String, core.Object> o) { 727 checkUnnamed3098(core.Map<core.String, core.Object> o) {
728 unittest.expect(o, unittest.hasLength(2)); 728 unittest.expect(o, unittest.hasLength(2));
729 var casted2 = (o["x"]) 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')); 729 var casted2 = (o["x"]) 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'));
730 var casted3 = (o["y"]) 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')); 730 var casted3 = (o["y"]) 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'));
731 } 731 }
732 732
733 buildUnnamed3078() { 733 buildUnnamed3099() {
734 var o = new core.Map<core.String, core.Object>(); 734 var o = new core.Map<core.String, core.Object>();
735 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 735 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
736 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 736 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
737 return o; 737 return o;
738 } 738 }
739 739
740 checkUnnamed3078(core.Map<core.String, core.Object> o) { 740 checkUnnamed3099(core.Map<core.String, core.Object> o) {
741 unittest.expect(o, unittest.hasLength(2)); 741 unittest.expect(o, unittest.hasLength(2));
742 var casted4 = (o["x"]) 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')); 742 var casted4 = (o["x"]) 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'));
743 var casted5 = (o["y"]) 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')); 743 var casted5 = (o["y"]) 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'));
744 } 744 }
745 745
746 buildUnnamed3079() { 746 buildUnnamed3100() {
747 var o = new core.Map<core.String, core.Object>(); 747 var o = new core.Map<core.String, core.Object>();
748 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 748 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
749 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 749 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
750 return o; 750 return o;
751 } 751 }
752 752
753 checkUnnamed3079(core.Map<core.String, core.Object> o) { 753 checkUnnamed3100(core.Map<core.String, core.Object> o) {
754 unittest.expect(o, unittest.hasLength(2)); 754 unittest.expect(o, unittest.hasLength(2));
755 var casted6 = (o["x"]) 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')); 755 var casted6 = (o["x"]) 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'));
756 var casted7 = (o["y"]) 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')); 756 var casted7 = (o["y"]) 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'));
757 } 757 }
758 758
759 buildUnnamed3080() { 759 buildUnnamed3101() {
760 var o = new core.Map<core.String, core.Object>(); 760 var o = new core.Map<core.String, core.Object>();
761 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 761 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
762 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 762 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
763 return o; 763 return o;
764 } 764 }
765 765
766 checkUnnamed3080(core.Map<core.String, core.Object> o) { 766 checkUnnamed3101(core.Map<core.String, core.Object> o) {
767 unittest.expect(o, unittest.hasLength(2)); 767 unittest.expect(o, unittest.hasLength(2));
768 var casted8 = (o["x"]) 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')); 768 var casted8 = (o["x"]) 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'));
769 var casted9 = (o["y"]) 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')); 769 var casted9 = (o["y"]) 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'));
770 } 770 }
771 771
772 buildUnnamed3081() { 772 buildUnnamed3102() {
773 var o = new core.List<api.WorkerPool>(); 773 var o = new core.List<api.WorkerPool>();
774 o.add(buildWorkerPool()); 774 o.add(buildWorkerPool());
775 o.add(buildWorkerPool()); 775 o.add(buildWorkerPool());
776 return o; 776 return o;
777 } 777 }
778 778
779 checkUnnamed3081(core.List<api.WorkerPool> o) { 779 checkUnnamed3102(core.List<api.WorkerPool> o) {
780 unittest.expect(o, unittest.hasLength(2)); 780 unittest.expect(o, unittest.hasLength(2));
781 checkWorkerPool(o[0]); 781 checkWorkerPool(o[0]);
782 checkWorkerPool(o[1]); 782 checkWorkerPool(o[1]);
783 } 783 }
784 784
785 core.int buildCounterEnvironment = 0; 785 core.int buildCounterEnvironment = 0;
786 buildEnvironment() { 786 buildEnvironment() {
787 var o = new api.Environment(); 787 var o = new api.Environment();
788 buildCounterEnvironment++; 788 buildCounterEnvironment++;
789 if (buildCounterEnvironment < 3) { 789 if (buildCounterEnvironment < 3) {
790 o.clusterManagerApiService = "foo"; 790 o.clusterManagerApiService = "foo";
791 o.dataset = "foo"; 791 o.dataset = "foo";
792 o.experiments = buildUnnamed3076(); 792 o.experiments = buildUnnamed3097();
793 o.internalExperiments = buildUnnamed3077(); 793 o.internalExperiments = buildUnnamed3098();
794 o.sdkPipelineOptions = buildUnnamed3078(); 794 o.sdkPipelineOptions = buildUnnamed3099();
795 o.serviceAccountEmail = "foo"; 795 o.serviceAccountEmail = "foo";
796 o.tempStoragePrefix = "foo"; 796 o.tempStoragePrefix = "foo";
797 o.userAgent = buildUnnamed3079(); 797 o.userAgent = buildUnnamed3100();
798 o.version = buildUnnamed3080(); 798 o.version = buildUnnamed3101();
799 o.workerPools = buildUnnamed3081(); 799 o.workerPools = buildUnnamed3102();
800 } 800 }
801 buildCounterEnvironment--; 801 buildCounterEnvironment--;
802 return o; 802 return o;
803 } 803 }
804 804
805 checkEnvironment(api.Environment o) { 805 checkEnvironment(api.Environment o) {
806 buildCounterEnvironment++; 806 buildCounterEnvironment++;
807 if (buildCounterEnvironment < 3) { 807 if (buildCounterEnvironment < 3) {
808 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); 808 unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
809 unittest.expect(o.dataset, unittest.equals('foo')); 809 unittest.expect(o.dataset, unittest.equals('foo'));
810 checkUnnamed3076(o.experiments); 810 checkUnnamed3097(o.experiments);
811 checkUnnamed3077(o.internalExperiments); 811 checkUnnamed3098(o.internalExperiments);
812 checkUnnamed3078(o.sdkPipelineOptions); 812 checkUnnamed3099(o.sdkPipelineOptions);
813 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); 813 unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
814 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 814 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
815 checkUnnamed3079(o.userAgent); 815 checkUnnamed3100(o.userAgent);
816 checkUnnamed3080(o.version); 816 checkUnnamed3101(o.version);
817 checkUnnamed3081(o.workerPools); 817 checkUnnamed3102(o.workerPools);
818 } 818 }
819 buildCounterEnvironment--; 819 buildCounterEnvironment--;
820 } 820 }
821 821
822 core.int buildCounterExecutionStageState = 0; 822 core.int buildCounterExecutionStageState = 0;
823 buildExecutionStageState() { 823 buildExecutionStageState() {
824 var o = new api.ExecutionStageState(); 824 var o = new api.ExecutionStageState();
825 buildCounterExecutionStageState++; 825 buildCounterExecutionStageState++;
826 if (buildCounterExecutionStageState < 3) { 826 if (buildCounterExecutionStageState < 3) {
827 o.currentStateTime = "foo"; 827 o.currentStateTime = "foo";
828 o.executionStageName = "foo"; 828 o.executionStageName = "foo";
829 o.executionStageState = "foo"; 829 o.executionStageState = "foo";
830 } 830 }
831 buildCounterExecutionStageState--; 831 buildCounterExecutionStageState--;
832 return o; 832 return o;
833 } 833 }
834 834
835 checkExecutionStageState(api.ExecutionStageState o) { 835 checkExecutionStageState(api.ExecutionStageState o) {
836 buildCounterExecutionStageState++; 836 buildCounterExecutionStageState++;
837 if (buildCounterExecutionStageState < 3) { 837 if (buildCounterExecutionStageState < 3) {
838 unittest.expect(o.currentStateTime, unittest.equals('foo')); 838 unittest.expect(o.currentStateTime, unittest.equals('foo'));
839 unittest.expect(o.executionStageName, unittest.equals('foo')); 839 unittest.expect(o.executionStageName, unittest.equals('foo'));
840 unittest.expect(o.executionStageState, unittest.equals('foo')); 840 unittest.expect(o.executionStageState, unittest.equals('foo'));
841 } 841 }
842 buildCounterExecutionStageState--; 842 buildCounterExecutionStageState--;
843 } 843 }
844 844
845 buildUnnamed3082() { 845 buildUnnamed3103() {
846 var o = new core.List<api.ComponentSource>(); 846 var o = new core.List<api.ComponentSource>();
847 o.add(buildComponentSource()); 847 o.add(buildComponentSource());
848 o.add(buildComponentSource()); 848 o.add(buildComponentSource());
849 return o; 849 return o;
850 } 850 }
851 851
852 checkUnnamed3082(core.List<api.ComponentSource> o) { 852 checkUnnamed3103(core.List<api.ComponentSource> o) {
853 unittest.expect(o, unittest.hasLength(2)); 853 unittest.expect(o, unittest.hasLength(2));
854 checkComponentSource(o[0]); 854 checkComponentSource(o[0]);
855 checkComponentSource(o[1]); 855 checkComponentSource(o[1]);
856 } 856 }
857 857
858 buildUnnamed3083() { 858 buildUnnamed3104() {
859 var o = new core.List<api.ComponentTransform>(); 859 var o = new core.List<api.ComponentTransform>();
860 o.add(buildComponentTransform()); 860 o.add(buildComponentTransform());
861 o.add(buildComponentTransform()); 861 o.add(buildComponentTransform());
862 return o; 862 return o;
863 } 863 }
864 864
865 checkUnnamed3083(core.List<api.ComponentTransform> o) { 865 checkUnnamed3104(core.List<api.ComponentTransform> o) {
866 unittest.expect(o, unittest.hasLength(2)); 866 unittest.expect(o, unittest.hasLength(2));
867 checkComponentTransform(o[0]); 867 checkComponentTransform(o[0]);
868 checkComponentTransform(o[1]); 868 checkComponentTransform(o[1]);
869 } 869 }
870 870
871 buildUnnamed3084() { 871 buildUnnamed3105() {
872 var o = new core.List<api.StageSource>(); 872 var o = new core.List<api.StageSource>();
873 o.add(buildStageSource()); 873 o.add(buildStageSource());
874 o.add(buildStageSource()); 874 o.add(buildStageSource());
875 return o; 875 return o;
876 } 876 }
877 877
878 checkUnnamed3084(core.List<api.StageSource> o) { 878 checkUnnamed3105(core.List<api.StageSource> o) {
879 unittest.expect(o, unittest.hasLength(2)); 879 unittest.expect(o, unittest.hasLength(2));
880 checkStageSource(o[0]); 880 checkStageSource(o[0]);
881 checkStageSource(o[1]); 881 checkStageSource(o[1]);
882 } 882 }
883 883
884 buildUnnamed3085() { 884 buildUnnamed3106() {
885 var o = new core.List<api.StageSource>(); 885 var o = new core.List<api.StageSource>();
886 o.add(buildStageSource()); 886 o.add(buildStageSource());
887 o.add(buildStageSource()); 887 o.add(buildStageSource());
888 return o; 888 return o;
889 } 889 }
890 890
891 checkUnnamed3085(core.List<api.StageSource> o) { 891 checkUnnamed3106(core.List<api.StageSource> o) {
892 unittest.expect(o, unittest.hasLength(2)); 892 unittest.expect(o, unittest.hasLength(2));
893 checkStageSource(o[0]); 893 checkStageSource(o[0]);
894 checkStageSource(o[1]); 894 checkStageSource(o[1]);
895 } 895 }
896 896
897 core.int buildCounterExecutionStageSummary = 0; 897 core.int buildCounterExecutionStageSummary = 0;
898 buildExecutionStageSummary() { 898 buildExecutionStageSummary() {
899 var o = new api.ExecutionStageSummary(); 899 var o = new api.ExecutionStageSummary();
900 buildCounterExecutionStageSummary++; 900 buildCounterExecutionStageSummary++;
901 if (buildCounterExecutionStageSummary < 3) { 901 if (buildCounterExecutionStageSummary < 3) {
902 o.componentSource = buildUnnamed3082(); 902 o.componentSource = buildUnnamed3103();
903 o.componentTransform = buildUnnamed3083(); 903 o.componentTransform = buildUnnamed3104();
904 o.id = "foo"; 904 o.id = "foo";
905 o.inputSource = buildUnnamed3084(); 905 o.inputSource = buildUnnamed3105();
906 o.kind = "foo"; 906 o.kind = "foo";
907 o.name = "foo"; 907 o.name = "foo";
908 o.outputSource = buildUnnamed3085(); 908 o.outputSource = buildUnnamed3106();
909 } 909 }
910 buildCounterExecutionStageSummary--; 910 buildCounterExecutionStageSummary--;
911 return o; 911 return o;
912 } 912 }
913 913
914 checkExecutionStageSummary(api.ExecutionStageSummary o) { 914 checkExecutionStageSummary(api.ExecutionStageSummary o) {
915 buildCounterExecutionStageSummary++; 915 buildCounterExecutionStageSummary++;
916 if (buildCounterExecutionStageSummary < 3) { 916 if (buildCounterExecutionStageSummary < 3) {
917 checkUnnamed3082(o.componentSource); 917 checkUnnamed3103(o.componentSource);
918 checkUnnamed3083(o.componentTransform); 918 checkUnnamed3104(o.componentTransform);
919 unittest.expect(o.id, unittest.equals('foo')); 919 unittest.expect(o.id, unittest.equals('foo'));
920 checkUnnamed3084(o.inputSource); 920 checkUnnamed3105(o.inputSource);
921 unittest.expect(o.kind, unittest.equals('foo')); 921 unittest.expect(o.kind, unittest.equals('foo'));
922 unittest.expect(o.name, unittest.equals('foo')); 922 unittest.expect(o.name, unittest.equals('foo'));
923 checkUnnamed3085(o.outputSource); 923 checkUnnamed3106(o.outputSource);
924 } 924 }
925 buildCounterExecutionStageSummary--; 925 buildCounterExecutionStageSummary--;
926 } 926 }
927 927
928 core.int buildCounterFailedLocation = 0; 928 core.int buildCounterFailedLocation = 0;
929 buildFailedLocation() { 929 buildFailedLocation() {
930 var o = new api.FailedLocation(); 930 var o = new api.FailedLocation();
931 buildCounterFailedLocation++; 931 buildCounterFailedLocation++;
932 if (buildCounterFailedLocation < 3) { 932 if (buildCounterFailedLocation < 3) {
933 o.name = "foo"; 933 o.name = "foo";
934 } 934 }
935 buildCounterFailedLocation--; 935 buildCounterFailedLocation--;
936 return o; 936 return o;
937 } 937 }
938 938
939 checkFailedLocation(api.FailedLocation o) { 939 checkFailedLocation(api.FailedLocation o) {
940 buildCounterFailedLocation++; 940 buildCounterFailedLocation++;
941 if (buildCounterFailedLocation < 3) { 941 if (buildCounterFailedLocation < 3) {
942 unittest.expect(o.name, unittest.equals('foo')); 942 unittest.expect(o.name, unittest.equals('foo'));
943 } 943 }
944 buildCounterFailedLocation--; 944 buildCounterFailedLocation--;
945 } 945 }
946 946
947 buildUnnamed3086() { 947 buildUnnamed3107() {
948 var o = new core.List<api.InstructionInput>(); 948 var o = new core.List<api.InstructionInput>();
949 o.add(buildInstructionInput()); 949 o.add(buildInstructionInput());
950 o.add(buildInstructionInput()); 950 o.add(buildInstructionInput());
951 return o; 951 return o;
952 } 952 }
953 953
954 checkUnnamed3086(core.List<api.InstructionInput> o) { 954 checkUnnamed3107(core.List<api.InstructionInput> o) {
955 unittest.expect(o, unittest.hasLength(2)); 955 unittest.expect(o, unittest.hasLength(2));
956 checkInstructionInput(o[0]); 956 checkInstructionInput(o[0]);
957 checkInstructionInput(o[1]); 957 checkInstructionInput(o[1]);
958 } 958 }
959 959
960 core.int buildCounterFlattenInstruction = 0; 960 core.int buildCounterFlattenInstruction = 0;
961 buildFlattenInstruction() { 961 buildFlattenInstruction() {
962 var o = new api.FlattenInstruction(); 962 var o = new api.FlattenInstruction();
963 buildCounterFlattenInstruction++; 963 buildCounterFlattenInstruction++;
964 if (buildCounterFlattenInstruction < 3) { 964 if (buildCounterFlattenInstruction < 3) {
965 o.inputs = buildUnnamed3086(); 965 o.inputs = buildUnnamed3107();
966 } 966 }
967 buildCounterFlattenInstruction--; 967 buildCounterFlattenInstruction--;
968 return o; 968 return o;
969 } 969 }
970 970
971 checkFlattenInstruction(api.FlattenInstruction o) { 971 checkFlattenInstruction(api.FlattenInstruction o) {
972 buildCounterFlattenInstruction++; 972 buildCounterFlattenInstruction++;
973 if (buildCounterFlattenInstruction < 3) { 973 if (buildCounterFlattenInstruction < 3) {
974 checkUnnamed3086(o.inputs); 974 checkUnnamed3107(o.inputs);
975 } 975 }
976 buildCounterFlattenInstruction--; 976 buildCounterFlattenInstruction--;
977 } 977 }
978 978
979 buildUnnamed3087() { 979 buildUnnamed3108() {
980 var o = new core.List<core.double>(); 980 var o = new core.List<core.double>();
981 o.add(42.0); 981 o.add(42.0);
982 o.add(42.0); 982 o.add(42.0);
983 return o; 983 return o;
984 } 984 }
985 985
986 checkUnnamed3087(core.List<core.double> o) { 986 checkUnnamed3108(core.List<core.double> o) {
987 unittest.expect(o, unittest.hasLength(2)); 987 unittest.expect(o, unittest.hasLength(2));
988 unittest.expect(o[0], unittest.equals(42.0)); 988 unittest.expect(o[0], unittest.equals(42.0));
989 unittest.expect(o[1], unittest.equals(42.0)); 989 unittest.expect(o[1], unittest.equals(42.0));
990 } 990 }
991 991
992 core.int buildCounterFloatingPointList = 0; 992 core.int buildCounterFloatingPointList = 0;
993 buildFloatingPointList() { 993 buildFloatingPointList() {
994 var o = new api.FloatingPointList(); 994 var o = new api.FloatingPointList();
995 buildCounterFloatingPointList++; 995 buildCounterFloatingPointList++;
996 if (buildCounterFloatingPointList < 3) { 996 if (buildCounterFloatingPointList < 3) {
997 o.elements = buildUnnamed3087(); 997 o.elements = buildUnnamed3108();
998 } 998 }
999 buildCounterFloatingPointList--; 999 buildCounterFloatingPointList--;
1000 return o; 1000 return o;
1001 } 1001 }
1002 1002
1003 checkFloatingPointList(api.FloatingPointList o) { 1003 checkFloatingPointList(api.FloatingPointList o) {
1004 buildCounterFloatingPointList++; 1004 buildCounterFloatingPointList++;
1005 if (buildCounterFloatingPointList < 3) { 1005 if (buildCounterFloatingPointList < 3) {
1006 checkUnnamed3087(o.elements); 1006 checkUnnamed3108(o.elements);
1007 } 1007 }
1008 buildCounterFloatingPointList--; 1008 buildCounterFloatingPointList--;
1009 } 1009 }
1010 1010
1011 core.int buildCounterFloatingPointMean = 0; 1011 core.int buildCounterFloatingPointMean = 0;
1012 buildFloatingPointMean() { 1012 buildFloatingPointMean() {
1013 var o = new api.FloatingPointMean(); 1013 var o = new api.FloatingPointMean();
1014 buildCounterFloatingPointMean++; 1014 buildCounterFloatingPointMean++;
1015 if (buildCounterFloatingPointMean < 3) { 1015 if (buildCounterFloatingPointMean < 3) {
1016 o.count = buildSplitInt64(); 1016 o.count = buildSplitInt64();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 1106
1107 checkInstructionInput(api.InstructionInput o) { 1107 checkInstructionInput(api.InstructionInput o) {
1108 buildCounterInstructionInput++; 1108 buildCounterInstructionInput++;
1109 if (buildCounterInstructionInput < 3) { 1109 if (buildCounterInstructionInput < 3) {
1110 unittest.expect(o.outputNum, unittest.equals(42)); 1110 unittest.expect(o.outputNum, unittest.equals(42));
1111 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); 1111 unittest.expect(o.producerInstructionIndex, unittest.equals(42));
1112 } 1112 }
1113 buildCounterInstructionInput--; 1113 buildCounterInstructionInput--;
1114 } 1114 }
1115 1115
1116 buildUnnamed3088() { 1116 buildUnnamed3109() {
1117 var o = new core.Map<core.String, core.Object>(); 1117 var o = new core.Map<core.String, core.Object>();
1118 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1118 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1119 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1119 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1120 return o; 1120 return o;
1121 } 1121 }
1122 1122
1123 checkUnnamed3088(core.Map<core.String, core.Object> o) { 1123 checkUnnamed3109(core.Map<core.String, core.Object> o) {
1124 unittest.expect(o, unittest.hasLength(2)); 1124 unittest.expect(o, unittest.hasLength(2));
1125 var casted10 = (o["x"]) 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')); 1125 var casted10 = (o["x"]) 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'));
1126 var casted11 = (o["y"]) 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')); 1126 var casted11 = (o["y"]) 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'));
1127 } 1127 }
1128 1128
1129 core.int buildCounterInstructionOutput = 0; 1129 core.int buildCounterInstructionOutput = 0;
1130 buildInstructionOutput() { 1130 buildInstructionOutput() {
1131 var o = new api.InstructionOutput(); 1131 var o = new api.InstructionOutput();
1132 buildCounterInstructionOutput++; 1132 buildCounterInstructionOutput++;
1133 if (buildCounterInstructionOutput < 3) { 1133 if (buildCounterInstructionOutput < 3) {
1134 o.codec = buildUnnamed3088(); 1134 o.codec = buildUnnamed3109();
1135 o.name = "foo"; 1135 o.name = "foo";
1136 o.onlyCountKeyBytes = true; 1136 o.onlyCountKeyBytes = true;
1137 o.onlyCountValueBytes = true; 1137 o.onlyCountValueBytes = true;
1138 o.originalName = "foo"; 1138 o.originalName = "foo";
1139 o.systemName = "foo"; 1139 o.systemName = "foo";
1140 } 1140 }
1141 buildCounterInstructionOutput--; 1141 buildCounterInstructionOutput--;
1142 return o; 1142 return o;
1143 } 1143 }
1144 1144
1145 checkInstructionOutput(api.InstructionOutput o) { 1145 checkInstructionOutput(api.InstructionOutput o) {
1146 buildCounterInstructionOutput++; 1146 buildCounterInstructionOutput++;
1147 if (buildCounterInstructionOutput < 3) { 1147 if (buildCounterInstructionOutput < 3) {
1148 checkUnnamed3088(o.codec); 1148 checkUnnamed3109(o.codec);
1149 unittest.expect(o.name, unittest.equals('foo')); 1149 unittest.expect(o.name, unittest.equals('foo'));
1150 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); 1150 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue);
1151 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); 1151 unittest.expect(o.onlyCountValueBytes, unittest.isTrue);
1152 unittest.expect(o.originalName, unittest.equals('foo')); 1152 unittest.expect(o.originalName, unittest.equals('foo'));
1153 unittest.expect(o.systemName, unittest.equals('foo')); 1153 unittest.expect(o.systemName, unittest.equals('foo'));
1154 } 1154 }
1155 buildCounterInstructionOutput--; 1155 buildCounterInstructionOutput--;
1156 } 1156 }
1157 1157
1158 buildUnnamed3089() { 1158 buildUnnamed3110() {
1159 var o = new core.List<api.SplitInt64>(); 1159 var o = new core.List<api.SplitInt64>();
1160 o.add(buildSplitInt64()); 1160 o.add(buildSplitInt64());
1161 o.add(buildSplitInt64()); 1161 o.add(buildSplitInt64());
1162 return o; 1162 return o;
1163 } 1163 }
1164 1164
1165 checkUnnamed3089(core.List<api.SplitInt64> o) { 1165 checkUnnamed3110(core.List<api.SplitInt64> o) {
1166 unittest.expect(o, unittest.hasLength(2)); 1166 unittest.expect(o, unittest.hasLength(2));
1167 checkSplitInt64(o[0]); 1167 checkSplitInt64(o[0]);
1168 checkSplitInt64(o[1]); 1168 checkSplitInt64(o[1]);
1169 } 1169 }
1170 1170
1171 core.int buildCounterIntegerList = 0; 1171 core.int buildCounterIntegerList = 0;
1172 buildIntegerList() { 1172 buildIntegerList() {
1173 var o = new api.IntegerList(); 1173 var o = new api.IntegerList();
1174 buildCounterIntegerList++; 1174 buildCounterIntegerList++;
1175 if (buildCounterIntegerList < 3) { 1175 if (buildCounterIntegerList < 3) {
1176 o.elements = buildUnnamed3089(); 1176 o.elements = buildUnnamed3110();
1177 } 1177 }
1178 buildCounterIntegerList--; 1178 buildCounterIntegerList--;
1179 return o; 1179 return o;
1180 } 1180 }
1181 1181
1182 checkIntegerList(api.IntegerList o) { 1182 checkIntegerList(api.IntegerList o) {
1183 buildCounterIntegerList++; 1183 buildCounterIntegerList++;
1184 if (buildCounterIntegerList < 3) { 1184 if (buildCounterIntegerList < 3) {
1185 checkUnnamed3089(o.elements); 1185 checkUnnamed3110(o.elements);
1186 } 1186 }
1187 buildCounterIntegerList--; 1187 buildCounterIntegerList--;
1188 } 1188 }
1189 1189
1190 core.int buildCounterIntegerMean = 0; 1190 core.int buildCounterIntegerMean = 0;
1191 buildIntegerMean() { 1191 buildIntegerMean() {
1192 var o = new api.IntegerMean(); 1192 var o = new api.IntegerMean();
1193 buildCounterIntegerMean++; 1193 buildCounterIntegerMean++;
1194 if (buildCounterIntegerMean < 3) { 1194 if (buildCounterIntegerMean < 3) {
1195 o.count = buildSplitInt64(); 1195 o.count = buildSplitInt64();
1196 o.sum = buildSplitInt64(); 1196 o.sum = buildSplitInt64();
1197 } 1197 }
1198 buildCounterIntegerMean--; 1198 buildCounterIntegerMean--;
1199 return o; 1199 return o;
1200 } 1200 }
1201 1201
1202 checkIntegerMean(api.IntegerMean o) { 1202 checkIntegerMean(api.IntegerMean o) {
1203 buildCounterIntegerMean++; 1203 buildCounterIntegerMean++;
1204 if (buildCounterIntegerMean < 3) { 1204 if (buildCounterIntegerMean < 3) {
1205 checkSplitInt64(o.count); 1205 checkSplitInt64(o.count);
1206 checkSplitInt64(o.sum); 1206 checkSplitInt64(o.sum);
1207 } 1207 }
1208 buildCounterIntegerMean--; 1208 buildCounterIntegerMean--;
1209 } 1209 }
1210 1210
1211 buildUnnamed3090() { 1211 buildUnnamed3111() {
1212 var o = new core.Map<core.String, core.String>(); 1212 var o = new core.Map<core.String, core.String>();
1213 o["x"] = "foo"; 1213 o["x"] = "foo";
1214 o["y"] = "foo"; 1214 o["y"] = "foo";
1215 return o; 1215 return o;
1216 } 1216 }
1217 1217
1218 checkUnnamed3090(core.Map<core.String, core.String> o) { 1218 checkUnnamed3111(core.Map<core.String, core.String> o) {
1219 unittest.expect(o, unittest.hasLength(2)); 1219 unittest.expect(o, unittest.hasLength(2));
1220 unittest.expect(o["x"], unittest.equals('foo')); 1220 unittest.expect(o["x"], unittest.equals('foo'));
1221 unittest.expect(o["y"], unittest.equals('foo')); 1221 unittest.expect(o["y"], unittest.equals('foo'));
1222 } 1222 }
1223 1223
1224 buildUnnamed3091() { 1224 buildUnnamed3112() {
1225 var o = new core.List<api.ExecutionStageState>(); 1225 var o = new core.List<api.ExecutionStageState>();
1226 o.add(buildExecutionStageState()); 1226 o.add(buildExecutionStageState());
1227 o.add(buildExecutionStageState()); 1227 o.add(buildExecutionStageState());
1228 return o; 1228 return o;
1229 } 1229 }
1230 1230
1231 checkUnnamed3091(core.List<api.ExecutionStageState> o) { 1231 checkUnnamed3112(core.List<api.ExecutionStageState> o) {
1232 unittest.expect(o, unittest.hasLength(2)); 1232 unittest.expect(o, unittest.hasLength(2));
1233 checkExecutionStageState(o[0]); 1233 checkExecutionStageState(o[0]);
1234 checkExecutionStageState(o[1]); 1234 checkExecutionStageState(o[1]);
1235 } 1235 }
1236 1236
1237 buildUnnamed3092() { 1237 buildUnnamed3113() {
1238 var o = new core.List<api.Step>(); 1238 var o = new core.List<api.Step>();
1239 o.add(buildStep()); 1239 o.add(buildStep());
1240 o.add(buildStep()); 1240 o.add(buildStep());
1241 return o; 1241 return o;
1242 } 1242 }
1243 1243
1244 checkUnnamed3092(core.List<api.Step> o) { 1244 checkUnnamed3113(core.List<api.Step> o) {
1245 unittest.expect(o, unittest.hasLength(2)); 1245 unittest.expect(o, unittest.hasLength(2));
1246 checkStep(o[0]); 1246 checkStep(o[0]);
1247 checkStep(o[1]); 1247 checkStep(o[1]);
1248 } 1248 }
1249 1249
1250 buildUnnamed3093() { 1250 buildUnnamed3114() {
1251 var o = new core.List<core.String>(); 1251 var o = new core.List<core.String>();
1252 o.add("foo"); 1252 o.add("foo");
1253 o.add("foo"); 1253 o.add("foo");
1254 return o; 1254 return o;
1255 } 1255 }
1256 1256
1257 checkUnnamed3093(core.List<core.String> o) { 1257 checkUnnamed3114(core.List<core.String> o) {
1258 unittest.expect(o, unittest.hasLength(2)); 1258 unittest.expect(o, unittest.hasLength(2));
1259 unittest.expect(o[0], unittest.equals('foo')); 1259 unittest.expect(o[0], unittest.equals('foo'));
1260 unittest.expect(o[1], unittest.equals('foo')); 1260 unittest.expect(o[1], unittest.equals('foo'));
1261 } 1261 }
1262 1262
1263 buildUnnamed3094() { 1263 buildUnnamed3115() {
1264 var o = new core.Map<core.String, core.String>(); 1264 var o = new core.Map<core.String, core.String>();
1265 o["x"] = "foo"; 1265 o["x"] = "foo";
1266 o["y"] = "foo"; 1266 o["y"] = "foo";
1267 return o; 1267 return o;
1268 } 1268 }
1269 1269
1270 checkUnnamed3094(core.Map<core.String, core.String> o) { 1270 checkUnnamed3115(core.Map<core.String, core.String> o) {
1271 unittest.expect(o, unittest.hasLength(2)); 1271 unittest.expect(o, unittest.hasLength(2));
1272 unittest.expect(o["x"], unittest.equals('foo')); 1272 unittest.expect(o["x"], unittest.equals('foo'));
1273 unittest.expect(o["y"], unittest.equals('foo')); 1273 unittest.expect(o["y"], unittest.equals('foo'));
1274 } 1274 }
1275 1275
1276 core.int buildCounterJob = 0; 1276 core.int buildCounterJob = 0;
1277 buildJob() { 1277 buildJob() {
1278 var o = new api.Job(); 1278 var o = new api.Job();
1279 buildCounterJob++; 1279 buildCounterJob++;
1280 if (buildCounterJob < 3) { 1280 if (buildCounterJob < 3) {
1281 o.clientRequestId = "foo"; 1281 o.clientRequestId = "foo";
1282 o.createTime = "foo"; 1282 o.createTime = "foo";
1283 o.currentState = "foo"; 1283 o.currentState = "foo";
1284 o.currentStateTime = "foo"; 1284 o.currentStateTime = "foo";
1285 o.environment = buildEnvironment(); 1285 o.environment = buildEnvironment();
1286 o.executionInfo = buildJobExecutionInfo(); 1286 o.executionInfo = buildJobExecutionInfo();
1287 o.id = "foo"; 1287 o.id = "foo";
1288 o.labels = buildUnnamed3090(); 1288 o.labels = buildUnnamed3111();
1289 o.location = "foo"; 1289 o.location = "foo";
1290 o.name = "foo"; 1290 o.name = "foo";
1291 o.pipelineDescription = buildPipelineDescription(); 1291 o.pipelineDescription = buildPipelineDescription();
1292 o.projectId = "foo"; 1292 o.projectId = "foo";
1293 o.replaceJobId = "foo"; 1293 o.replaceJobId = "foo";
1294 o.replacedByJobId = "foo"; 1294 o.replacedByJobId = "foo";
1295 o.requestedState = "foo"; 1295 o.requestedState = "foo";
1296 o.stageStates = buildUnnamed3091(); 1296 o.stageStates = buildUnnamed3112();
1297 o.steps = buildUnnamed3092(); 1297 o.steps = buildUnnamed3113();
1298 o.tempFiles = buildUnnamed3093(); 1298 o.tempFiles = buildUnnamed3114();
1299 o.transformNameMapping = buildUnnamed3094(); 1299 o.transformNameMapping = buildUnnamed3115();
1300 o.type = "foo"; 1300 o.type = "foo";
1301 } 1301 }
1302 buildCounterJob--; 1302 buildCounterJob--;
1303 return o; 1303 return o;
1304 } 1304 }
1305 1305
1306 checkJob(api.Job o) { 1306 checkJob(api.Job o) {
1307 buildCounterJob++; 1307 buildCounterJob++;
1308 if (buildCounterJob < 3) { 1308 if (buildCounterJob < 3) {
1309 unittest.expect(o.clientRequestId, unittest.equals('foo')); 1309 unittest.expect(o.clientRequestId, unittest.equals('foo'));
1310 unittest.expect(o.createTime, unittest.equals('foo')); 1310 unittest.expect(o.createTime, unittest.equals('foo'));
1311 unittest.expect(o.currentState, unittest.equals('foo')); 1311 unittest.expect(o.currentState, unittest.equals('foo'));
1312 unittest.expect(o.currentStateTime, unittest.equals('foo')); 1312 unittest.expect(o.currentStateTime, unittest.equals('foo'));
1313 checkEnvironment(o.environment); 1313 checkEnvironment(o.environment);
1314 checkJobExecutionInfo(o.executionInfo); 1314 checkJobExecutionInfo(o.executionInfo);
1315 unittest.expect(o.id, unittest.equals('foo')); 1315 unittest.expect(o.id, unittest.equals('foo'));
1316 checkUnnamed3090(o.labels); 1316 checkUnnamed3111(o.labels);
1317 unittest.expect(o.location, unittest.equals('foo')); 1317 unittest.expect(o.location, unittest.equals('foo'));
1318 unittest.expect(o.name, unittest.equals('foo')); 1318 unittest.expect(o.name, unittest.equals('foo'));
1319 checkPipelineDescription(o.pipelineDescription); 1319 checkPipelineDescription(o.pipelineDescription);
1320 unittest.expect(o.projectId, unittest.equals('foo')); 1320 unittest.expect(o.projectId, unittest.equals('foo'));
1321 unittest.expect(o.replaceJobId, unittest.equals('foo')); 1321 unittest.expect(o.replaceJobId, unittest.equals('foo'));
1322 unittest.expect(o.replacedByJobId, unittest.equals('foo')); 1322 unittest.expect(o.replacedByJobId, unittest.equals('foo'));
1323 unittest.expect(o.requestedState, unittest.equals('foo')); 1323 unittest.expect(o.requestedState, unittest.equals('foo'));
1324 checkUnnamed3091(o.stageStates); 1324 checkUnnamed3112(o.stageStates);
1325 checkUnnamed3092(o.steps); 1325 checkUnnamed3113(o.steps);
1326 checkUnnamed3093(o.tempFiles); 1326 checkUnnamed3114(o.tempFiles);
1327 checkUnnamed3094(o.transformNameMapping); 1327 checkUnnamed3115(o.transformNameMapping);
1328 unittest.expect(o.type, unittest.equals('foo')); 1328 unittest.expect(o.type, unittest.equals('foo'));
1329 } 1329 }
1330 buildCounterJob--; 1330 buildCounterJob--;
1331 } 1331 }
1332 1332
1333 buildUnnamed3095() { 1333 buildUnnamed3116() {
1334 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); 1334 var o = new core.Map<core.String, api.JobExecutionStageInfo>();
1335 o["x"] = buildJobExecutionStageInfo(); 1335 o["x"] = buildJobExecutionStageInfo();
1336 o["y"] = buildJobExecutionStageInfo(); 1336 o["y"] = buildJobExecutionStageInfo();
1337 return o; 1337 return o;
1338 } 1338 }
1339 1339
1340 checkUnnamed3095(core.Map<core.String, api.JobExecutionStageInfo> o) { 1340 checkUnnamed3116(core.Map<core.String, api.JobExecutionStageInfo> o) {
1341 unittest.expect(o, unittest.hasLength(2)); 1341 unittest.expect(o, unittest.hasLength(2));
1342 checkJobExecutionStageInfo(o["x"]); 1342 checkJobExecutionStageInfo(o["x"]);
1343 checkJobExecutionStageInfo(o["y"]); 1343 checkJobExecutionStageInfo(o["y"]);
1344 } 1344 }
1345 1345
1346 core.int buildCounterJobExecutionInfo = 0; 1346 core.int buildCounterJobExecutionInfo = 0;
1347 buildJobExecutionInfo() { 1347 buildJobExecutionInfo() {
1348 var o = new api.JobExecutionInfo(); 1348 var o = new api.JobExecutionInfo();
1349 buildCounterJobExecutionInfo++; 1349 buildCounterJobExecutionInfo++;
1350 if (buildCounterJobExecutionInfo < 3) { 1350 if (buildCounterJobExecutionInfo < 3) {
1351 o.stages = buildUnnamed3095(); 1351 o.stages = buildUnnamed3116();
1352 } 1352 }
1353 buildCounterJobExecutionInfo--; 1353 buildCounterJobExecutionInfo--;
1354 return o; 1354 return o;
1355 } 1355 }
1356 1356
1357 checkJobExecutionInfo(api.JobExecutionInfo o) { 1357 checkJobExecutionInfo(api.JobExecutionInfo o) {
1358 buildCounterJobExecutionInfo++; 1358 buildCounterJobExecutionInfo++;
1359 if (buildCounterJobExecutionInfo < 3) { 1359 if (buildCounterJobExecutionInfo < 3) {
1360 checkUnnamed3095(o.stages); 1360 checkUnnamed3116(o.stages);
1361 } 1361 }
1362 buildCounterJobExecutionInfo--; 1362 buildCounterJobExecutionInfo--;
1363 } 1363 }
1364 1364
1365 buildUnnamed3096() { 1365 buildUnnamed3117() {
1366 var o = new core.List<core.String>(); 1366 var o = new core.List<core.String>();
1367 o.add("foo"); 1367 o.add("foo");
1368 o.add("foo"); 1368 o.add("foo");
1369 return o; 1369 return o;
1370 } 1370 }
1371 1371
1372 checkUnnamed3096(core.List<core.String> o) { 1372 checkUnnamed3117(core.List<core.String> o) {
1373 unittest.expect(o, unittest.hasLength(2)); 1373 unittest.expect(o, unittest.hasLength(2));
1374 unittest.expect(o[0], unittest.equals('foo')); 1374 unittest.expect(o[0], unittest.equals('foo'));
1375 unittest.expect(o[1], unittest.equals('foo')); 1375 unittest.expect(o[1], unittest.equals('foo'));
1376 } 1376 }
1377 1377
1378 core.int buildCounterJobExecutionStageInfo = 0; 1378 core.int buildCounterJobExecutionStageInfo = 0;
1379 buildJobExecutionStageInfo() { 1379 buildJobExecutionStageInfo() {
1380 var o = new api.JobExecutionStageInfo(); 1380 var o = new api.JobExecutionStageInfo();
1381 buildCounterJobExecutionStageInfo++; 1381 buildCounterJobExecutionStageInfo++;
1382 if (buildCounterJobExecutionStageInfo < 3) { 1382 if (buildCounterJobExecutionStageInfo < 3) {
1383 o.stepName = buildUnnamed3096(); 1383 o.stepName = buildUnnamed3117();
1384 } 1384 }
1385 buildCounterJobExecutionStageInfo--; 1385 buildCounterJobExecutionStageInfo--;
1386 return o; 1386 return o;
1387 } 1387 }
1388 1388
1389 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { 1389 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
1390 buildCounterJobExecutionStageInfo++; 1390 buildCounterJobExecutionStageInfo++;
1391 if (buildCounterJobExecutionStageInfo < 3) { 1391 if (buildCounterJobExecutionStageInfo < 3) {
1392 checkUnnamed3096(o.stepName); 1392 checkUnnamed3117(o.stepName);
1393 } 1393 }
1394 buildCounterJobExecutionStageInfo--; 1394 buildCounterJobExecutionStageInfo--;
1395 } 1395 }
1396 1396
1397 core.int buildCounterJobMessage = 0; 1397 core.int buildCounterJobMessage = 0;
1398 buildJobMessage() { 1398 buildJobMessage() {
1399 var o = new api.JobMessage(); 1399 var o = new api.JobMessage();
1400 buildCounterJobMessage++; 1400 buildCounterJobMessage++;
1401 if (buildCounterJobMessage < 3) { 1401 if (buildCounterJobMessage < 3) {
1402 o.id = "foo"; 1402 o.id = "foo";
1403 o.messageImportance = "foo"; 1403 o.messageImportance = "foo";
1404 o.messageText = "foo"; 1404 o.messageText = "foo";
1405 o.time = "foo"; 1405 o.time = "foo";
1406 } 1406 }
1407 buildCounterJobMessage--; 1407 buildCounterJobMessage--;
1408 return o; 1408 return o;
1409 } 1409 }
1410 1410
1411 checkJobMessage(api.JobMessage o) { 1411 checkJobMessage(api.JobMessage o) {
1412 buildCounterJobMessage++; 1412 buildCounterJobMessage++;
1413 if (buildCounterJobMessage < 3) { 1413 if (buildCounterJobMessage < 3) {
1414 unittest.expect(o.id, unittest.equals('foo')); 1414 unittest.expect(o.id, unittest.equals('foo'));
1415 unittest.expect(o.messageImportance, unittest.equals('foo')); 1415 unittest.expect(o.messageImportance, unittest.equals('foo'));
1416 unittest.expect(o.messageText, unittest.equals('foo')); 1416 unittest.expect(o.messageText, unittest.equals('foo'));
1417 unittest.expect(o.time, unittest.equals('foo')); 1417 unittest.expect(o.time, unittest.equals('foo'));
1418 } 1418 }
1419 buildCounterJobMessage--; 1419 buildCounterJobMessage--;
1420 } 1420 }
1421 1421
1422 buildUnnamed3097() { 1422 buildUnnamed3118() {
1423 var o = new core.List<api.MetricUpdate>(); 1423 var o = new core.List<api.MetricUpdate>();
1424 o.add(buildMetricUpdate()); 1424 o.add(buildMetricUpdate());
1425 o.add(buildMetricUpdate()); 1425 o.add(buildMetricUpdate());
1426 return o; 1426 return o;
1427 } 1427 }
1428 1428
1429 checkUnnamed3097(core.List<api.MetricUpdate> o) { 1429 checkUnnamed3118(core.List<api.MetricUpdate> o) {
1430 unittest.expect(o, unittest.hasLength(2)); 1430 unittest.expect(o, unittest.hasLength(2));
1431 checkMetricUpdate(o[0]); 1431 checkMetricUpdate(o[0]);
1432 checkMetricUpdate(o[1]); 1432 checkMetricUpdate(o[1]);
1433 } 1433 }
1434 1434
1435 core.int buildCounterJobMetrics = 0; 1435 core.int buildCounterJobMetrics = 0;
1436 buildJobMetrics() { 1436 buildJobMetrics() {
1437 var o = new api.JobMetrics(); 1437 var o = new api.JobMetrics();
1438 buildCounterJobMetrics++; 1438 buildCounterJobMetrics++;
1439 if (buildCounterJobMetrics < 3) { 1439 if (buildCounterJobMetrics < 3) {
1440 o.metricTime = "foo"; 1440 o.metricTime = "foo";
1441 o.metrics = buildUnnamed3097(); 1441 o.metrics = buildUnnamed3118();
1442 } 1442 }
1443 buildCounterJobMetrics--; 1443 buildCounterJobMetrics--;
1444 return o; 1444 return o;
1445 } 1445 }
1446 1446
1447 checkJobMetrics(api.JobMetrics o) { 1447 checkJobMetrics(api.JobMetrics o) {
1448 buildCounterJobMetrics++; 1448 buildCounterJobMetrics++;
1449 if (buildCounterJobMetrics < 3) { 1449 if (buildCounterJobMetrics < 3) {
1450 unittest.expect(o.metricTime, unittest.equals('foo')); 1450 unittest.expect(o.metricTime, unittest.equals('foo'));
1451 checkUnnamed3097(o.metrics); 1451 checkUnnamed3118(o.metrics);
1452 } 1452 }
1453 buildCounterJobMetrics--; 1453 buildCounterJobMetrics--;
1454 } 1454 }
1455 1455
1456 core.int buildCounterKeyRangeDataDiskAssignment = 0; 1456 core.int buildCounterKeyRangeDataDiskAssignment = 0;
1457 buildKeyRangeDataDiskAssignment() { 1457 buildKeyRangeDataDiskAssignment() {
1458 var o = new api.KeyRangeDataDiskAssignment(); 1458 var o = new api.KeyRangeDataDiskAssignment();
1459 buildCounterKeyRangeDataDiskAssignment++; 1459 buildCounterKeyRangeDataDiskAssignment++;
1460 if (buildCounterKeyRangeDataDiskAssignment < 3) { 1460 if (buildCounterKeyRangeDataDiskAssignment < 3) {
1461 o.dataDisk = "foo"; 1461 o.dataDisk = "foo";
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 if (buildCounterKeyRangeLocation < 3) { 1496 if (buildCounterKeyRangeLocation < 3) {
1497 unittest.expect(o.dataDisk, unittest.equals('foo')); 1497 unittest.expect(o.dataDisk, unittest.equals('foo'));
1498 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); 1498 unittest.expect(o.deliveryEndpoint, unittest.equals('foo'));
1499 unittest.expect(o.deprecatedPersistentDirectory, unittest.equals('foo')); 1499 unittest.expect(o.deprecatedPersistentDirectory, unittest.equals('foo'));
1500 unittest.expect(o.end, unittest.equals('foo')); 1500 unittest.expect(o.end, unittest.equals('foo'));
1501 unittest.expect(o.start, unittest.equals('foo')); 1501 unittest.expect(o.start, unittest.equals('foo'));
1502 } 1502 }
1503 buildCounterKeyRangeLocation--; 1503 buildCounterKeyRangeLocation--;
1504 } 1504 }
1505 1505
1506 buildUnnamed3098() { 1506 buildUnnamed3119() {
1507 var o = new core.Map<core.String, core.String>(); 1507 var o = new core.Map<core.String, core.String>();
1508 o["x"] = "foo"; 1508 o["x"] = "foo";
1509 o["y"] = "foo"; 1509 o["y"] = "foo";
1510 return o; 1510 return o;
1511 } 1511 }
1512 1512
1513 checkUnnamed3098(core.Map<core.String, core.String> o) { 1513 checkUnnamed3119(core.Map<core.String, core.String> o) {
1514 unittest.expect(o, unittest.hasLength(2)); 1514 unittest.expect(o, unittest.hasLength(2));
1515 unittest.expect(o["x"], unittest.equals('foo')); 1515 unittest.expect(o["x"], unittest.equals('foo'));
1516 unittest.expect(o["y"], unittest.equals('foo')); 1516 unittest.expect(o["y"], unittest.equals('foo'));
1517 } 1517 }
1518 1518
1519 core.int buildCounterLaunchTemplateParameters = 0; 1519 core.int buildCounterLaunchTemplateParameters = 0;
1520 buildLaunchTemplateParameters() { 1520 buildLaunchTemplateParameters() {
1521 var o = new api.LaunchTemplateParameters(); 1521 var o = new api.LaunchTemplateParameters();
1522 buildCounterLaunchTemplateParameters++; 1522 buildCounterLaunchTemplateParameters++;
1523 if (buildCounterLaunchTemplateParameters < 3) { 1523 if (buildCounterLaunchTemplateParameters < 3) {
1524 o.environment = buildRuntimeEnvironment(); 1524 o.environment = buildRuntimeEnvironment();
1525 o.jobName = "foo"; 1525 o.jobName = "foo";
1526 o.parameters = buildUnnamed3098(); 1526 o.parameters = buildUnnamed3119();
1527 } 1527 }
1528 buildCounterLaunchTemplateParameters--; 1528 buildCounterLaunchTemplateParameters--;
1529 return o; 1529 return o;
1530 } 1530 }
1531 1531
1532 checkLaunchTemplateParameters(api.LaunchTemplateParameters o) { 1532 checkLaunchTemplateParameters(api.LaunchTemplateParameters o) {
1533 buildCounterLaunchTemplateParameters++; 1533 buildCounterLaunchTemplateParameters++;
1534 if (buildCounterLaunchTemplateParameters < 3) { 1534 if (buildCounterLaunchTemplateParameters < 3) {
1535 checkRuntimeEnvironment(o.environment); 1535 checkRuntimeEnvironment(o.environment);
1536 unittest.expect(o.jobName, unittest.equals('foo')); 1536 unittest.expect(o.jobName, unittest.equals('foo'));
1537 checkUnnamed3098(o.parameters); 1537 checkUnnamed3119(o.parameters);
1538 } 1538 }
1539 buildCounterLaunchTemplateParameters--; 1539 buildCounterLaunchTemplateParameters--;
1540 } 1540 }
1541 1541
1542 core.int buildCounterLaunchTemplateResponse = 0; 1542 core.int buildCounterLaunchTemplateResponse = 0;
1543 buildLaunchTemplateResponse() { 1543 buildLaunchTemplateResponse() {
1544 var o = new api.LaunchTemplateResponse(); 1544 var o = new api.LaunchTemplateResponse();
1545 buildCounterLaunchTemplateResponse++; 1545 buildCounterLaunchTemplateResponse++;
1546 if (buildCounterLaunchTemplateResponse < 3) { 1546 if (buildCounterLaunchTemplateResponse < 3) {
1547 o.job = buildJob(); 1547 o.job = buildJob();
1548 } 1548 }
1549 buildCounterLaunchTemplateResponse--; 1549 buildCounterLaunchTemplateResponse--;
1550 return o; 1550 return o;
1551 } 1551 }
1552 1552
1553 checkLaunchTemplateResponse(api.LaunchTemplateResponse o) { 1553 checkLaunchTemplateResponse(api.LaunchTemplateResponse o) {
1554 buildCounterLaunchTemplateResponse++; 1554 buildCounterLaunchTemplateResponse++;
1555 if (buildCounterLaunchTemplateResponse < 3) { 1555 if (buildCounterLaunchTemplateResponse < 3) {
1556 checkJob(o.job); 1556 checkJob(o.job);
1557 } 1557 }
1558 buildCounterLaunchTemplateResponse--; 1558 buildCounterLaunchTemplateResponse--;
1559 } 1559 }
1560 1560
1561 buildUnnamed3099() { 1561 buildUnnamed3120() {
1562 var o = new core.List<core.String>(); 1562 var o = new core.List<core.String>();
1563 o.add("foo"); 1563 o.add("foo");
1564 o.add("foo"); 1564 o.add("foo");
1565 return o; 1565 return o;
1566 } 1566 }
1567 1567
1568 checkUnnamed3099(core.List<core.String> o) { 1568 checkUnnamed3120(core.List<core.String> o) {
1569 unittest.expect(o, unittest.hasLength(2)); 1569 unittest.expect(o, unittest.hasLength(2));
1570 unittest.expect(o[0], unittest.equals('foo')); 1570 unittest.expect(o[0], unittest.equals('foo'));
1571 unittest.expect(o[1], unittest.equals('foo')); 1571 unittest.expect(o[1], unittest.equals('foo'));
1572 } 1572 }
1573 1573
1574 buildUnnamed3100() { 1574 buildUnnamed3121() {
1575 var o = new core.List<core.String>(); 1575 var o = new core.List<core.String>();
1576 o.add("foo"); 1576 o.add("foo");
1577 o.add("foo"); 1577 o.add("foo");
1578 return o; 1578 return o;
1579 } 1579 }
1580 1580
1581 checkUnnamed3100(core.List<core.String> o) { 1581 checkUnnamed3121(core.List<core.String> o) {
1582 unittest.expect(o, unittest.hasLength(2)); 1582 unittest.expect(o, unittest.hasLength(2));
1583 unittest.expect(o[0], unittest.equals('foo')); 1583 unittest.expect(o[0], unittest.equals('foo'));
1584 unittest.expect(o[1], unittest.equals('foo')); 1584 unittest.expect(o[1], unittest.equals('foo'));
1585 } 1585 }
1586 1586
1587 core.int buildCounterLeaseWorkItemRequest = 0; 1587 core.int buildCounterLeaseWorkItemRequest = 0;
1588 buildLeaseWorkItemRequest() { 1588 buildLeaseWorkItemRequest() {
1589 var o = new api.LeaseWorkItemRequest(); 1589 var o = new api.LeaseWorkItemRequest();
1590 buildCounterLeaseWorkItemRequest++; 1590 buildCounterLeaseWorkItemRequest++;
1591 if (buildCounterLeaseWorkItemRequest < 3) { 1591 if (buildCounterLeaseWorkItemRequest < 3) {
1592 o.currentWorkerTime = "foo"; 1592 o.currentWorkerTime = "foo";
1593 o.location = "foo"; 1593 o.location = "foo";
1594 o.requestedLeaseDuration = "foo"; 1594 o.requestedLeaseDuration = "foo";
1595 o.workItemTypes = buildUnnamed3099(); 1595 o.workItemTypes = buildUnnamed3120();
1596 o.workerCapabilities = buildUnnamed3100(); 1596 o.workerCapabilities = buildUnnamed3121();
1597 o.workerId = "foo"; 1597 o.workerId = "foo";
1598 } 1598 }
1599 buildCounterLeaseWorkItemRequest--; 1599 buildCounterLeaseWorkItemRequest--;
1600 return o; 1600 return o;
1601 } 1601 }
1602 1602
1603 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { 1603 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) {
1604 buildCounterLeaseWorkItemRequest++; 1604 buildCounterLeaseWorkItemRequest++;
1605 if (buildCounterLeaseWorkItemRequest < 3) { 1605 if (buildCounterLeaseWorkItemRequest < 3) {
1606 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 1606 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
1607 unittest.expect(o.location, unittest.equals('foo')); 1607 unittest.expect(o.location, unittest.equals('foo'));
1608 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 1608 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
1609 checkUnnamed3099(o.workItemTypes); 1609 checkUnnamed3120(o.workItemTypes);
1610 checkUnnamed3100(o.workerCapabilities); 1610 checkUnnamed3121(o.workerCapabilities);
1611 unittest.expect(o.workerId, unittest.equals('foo')); 1611 unittest.expect(o.workerId, unittest.equals('foo'));
1612 } 1612 }
1613 buildCounterLeaseWorkItemRequest--; 1613 buildCounterLeaseWorkItemRequest--;
1614 } 1614 }
1615 1615
1616 buildUnnamed3101() { 1616 buildUnnamed3122() {
1617 var o = new core.List<api.WorkItem>(); 1617 var o = new core.List<api.WorkItem>();
1618 o.add(buildWorkItem()); 1618 o.add(buildWorkItem());
1619 o.add(buildWorkItem()); 1619 o.add(buildWorkItem());
1620 return o; 1620 return o;
1621 } 1621 }
1622 1622
1623 checkUnnamed3101(core.List<api.WorkItem> o) { 1623 checkUnnamed3122(core.List<api.WorkItem> o) {
1624 unittest.expect(o, unittest.hasLength(2)); 1624 unittest.expect(o, unittest.hasLength(2));
1625 checkWorkItem(o[0]); 1625 checkWorkItem(o[0]);
1626 checkWorkItem(o[1]); 1626 checkWorkItem(o[1]);
1627 } 1627 }
1628 1628
1629 core.int buildCounterLeaseWorkItemResponse = 0; 1629 core.int buildCounterLeaseWorkItemResponse = 0;
1630 buildLeaseWorkItemResponse() { 1630 buildLeaseWorkItemResponse() {
1631 var o = new api.LeaseWorkItemResponse(); 1631 var o = new api.LeaseWorkItemResponse();
1632 buildCounterLeaseWorkItemResponse++; 1632 buildCounterLeaseWorkItemResponse++;
1633 if (buildCounterLeaseWorkItemResponse < 3) { 1633 if (buildCounterLeaseWorkItemResponse < 3) {
1634 o.workItems = buildUnnamed3101(); 1634 o.workItems = buildUnnamed3122();
1635 } 1635 }
1636 buildCounterLeaseWorkItemResponse--; 1636 buildCounterLeaseWorkItemResponse--;
1637 return o; 1637 return o;
1638 } 1638 }
1639 1639
1640 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { 1640 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
1641 buildCounterLeaseWorkItemResponse++; 1641 buildCounterLeaseWorkItemResponse++;
1642 if (buildCounterLeaseWorkItemResponse < 3) { 1642 if (buildCounterLeaseWorkItemResponse < 3) {
1643 checkUnnamed3101(o.workItems); 1643 checkUnnamed3122(o.workItems);
1644 } 1644 }
1645 buildCounterLeaseWorkItemResponse--; 1645 buildCounterLeaseWorkItemResponse--;
1646 } 1646 }
1647 1647
1648 buildUnnamed3102() { 1648 buildUnnamed3123() {
1649 var o = new core.List<api.AutoscalingEvent>(); 1649 var o = new core.List<api.AutoscalingEvent>();
1650 o.add(buildAutoscalingEvent()); 1650 o.add(buildAutoscalingEvent());
1651 o.add(buildAutoscalingEvent()); 1651 o.add(buildAutoscalingEvent());
1652 return o; 1652 return o;
1653 } 1653 }
1654 1654
1655 checkUnnamed3102(core.List<api.AutoscalingEvent> o) { 1655 checkUnnamed3123(core.List<api.AutoscalingEvent> o) {
1656 unittest.expect(o, unittest.hasLength(2)); 1656 unittest.expect(o, unittest.hasLength(2));
1657 checkAutoscalingEvent(o[0]); 1657 checkAutoscalingEvent(o[0]);
1658 checkAutoscalingEvent(o[1]); 1658 checkAutoscalingEvent(o[1]);
1659 } 1659 }
1660 1660
1661 buildUnnamed3103() { 1661 buildUnnamed3124() {
1662 var o = new core.List<api.JobMessage>(); 1662 var o = new core.List<api.JobMessage>();
1663 o.add(buildJobMessage()); 1663 o.add(buildJobMessage());
1664 o.add(buildJobMessage()); 1664 o.add(buildJobMessage());
1665 return o; 1665 return o;
1666 } 1666 }
1667 1667
1668 checkUnnamed3103(core.List<api.JobMessage> o) { 1668 checkUnnamed3124(core.List<api.JobMessage> o) {
1669 unittest.expect(o, unittest.hasLength(2)); 1669 unittest.expect(o, unittest.hasLength(2));
1670 checkJobMessage(o[0]); 1670 checkJobMessage(o[0]);
1671 checkJobMessage(o[1]); 1671 checkJobMessage(o[1]);
1672 } 1672 }
1673 1673
1674 core.int buildCounterListJobMessagesResponse = 0; 1674 core.int buildCounterListJobMessagesResponse = 0;
1675 buildListJobMessagesResponse() { 1675 buildListJobMessagesResponse() {
1676 var o = new api.ListJobMessagesResponse(); 1676 var o = new api.ListJobMessagesResponse();
1677 buildCounterListJobMessagesResponse++; 1677 buildCounterListJobMessagesResponse++;
1678 if (buildCounterListJobMessagesResponse < 3) { 1678 if (buildCounterListJobMessagesResponse < 3) {
1679 o.autoscalingEvents = buildUnnamed3102(); 1679 o.autoscalingEvents = buildUnnamed3123();
1680 o.jobMessages = buildUnnamed3103(); 1680 o.jobMessages = buildUnnamed3124();
1681 o.nextPageToken = "foo"; 1681 o.nextPageToken = "foo";
1682 } 1682 }
1683 buildCounterListJobMessagesResponse--; 1683 buildCounterListJobMessagesResponse--;
1684 return o; 1684 return o;
1685 } 1685 }
1686 1686
1687 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { 1687 checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
1688 buildCounterListJobMessagesResponse++; 1688 buildCounterListJobMessagesResponse++;
1689 if (buildCounterListJobMessagesResponse < 3) { 1689 if (buildCounterListJobMessagesResponse < 3) {
1690 checkUnnamed3102(o.autoscalingEvents); 1690 checkUnnamed3123(o.autoscalingEvents);
1691 checkUnnamed3103(o.jobMessages); 1691 checkUnnamed3124(o.jobMessages);
1692 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1692 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1693 } 1693 }
1694 buildCounterListJobMessagesResponse--; 1694 buildCounterListJobMessagesResponse--;
1695 } 1695 }
1696 1696
1697 buildUnnamed3104() { 1697 buildUnnamed3125() {
1698 var o = new core.List<api.FailedLocation>(); 1698 var o = new core.List<api.FailedLocation>();
1699 o.add(buildFailedLocation()); 1699 o.add(buildFailedLocation());
1700 o.add(buildFailedLocation()); 1700 o.add(buildFailedLocation());
1701 return o; 1701 return o;
1702 } 1702 }
1703 1703
1704 checkUnnamed3104(core.List<api.FailedLocation> o) { 1704 checkUnnamed3125(core.List<api.FailedLocation> o) {
1705 unittest.expect(o, unittest.hasLength(2)); 1705 unittest.expect(o, unittest.hasLength(2));
1706 checkFailedLocation(o[0]); 1706 checkFailedLocation(o[0]);
1707 checkFailedLocation(o[1]); 1707 checkFailedLocation(o[1]);
1708 } 1708 }
1709 1709
1710 buildUnnamed3105() { 1710 buildUnnamed3126() {
1711 var o = new core.List<api.Job>(); 1711 var o = new core.List<api.Job>();
1712 o.add(buildJob()); 1712 o.add(buildJob());
1713 o.add(buildJob()); 1713 o.add(buildJob());
1714 return o; 1714 return o;
1715 } 1715 }
1716 1716
1717 checkUnnamed3105(core.List<api.Job> o) { 1717 checkUnnamed3126(core.List<api.Job> o) {
1718 unittest.expect(o, unittest.hasLength(2)); 1718 unittest.expect(o, unittest.hasLength(2));
1719 checkJob(o[0]); 1719 checkJob(o[0]);
1720 checkJob(o[1]); 1720 checkJob(o[1]);
1721 } 1721 }
1722 1722
1723 core.int buildCounterListJobsResponse = 0; 1723 core.int buildCounterListJobsResponse = 0;
1724 buildListJobsResponse() { 1724 buildListJobsResponse() {
1725 var o = new api.ListJobsResponse(); 1725 var o = new api.ListJobsResponse();
1726 buildCounterListJobsResponse++; 1726 buildCounterListJobsResponse++;
1727 if (buildCounterListJobsResponse < 3) { 1727 if (buildCounterListJobsResponse < 3) {
1728 o.failedLocation = buildUnnamed3104(); 1728 o.failedLocation = buildUnnamed3125();
1729 o.jobs = buildUnnamed3105(); 1729 o.jobs = buildUnnamed3126();
1730 o.nextPageToken = "foo"; 1730 o.nextPageToken = "foo";
1731 } 1731 }
1732 buildCounterListJobsResponse--; 1732 buildCounterListJobsResponse--;
1733 return o; 1733 return o;
1734 } 1734 }
1735 1735
1736 checkListJobsResponse(api.ListJobsResponse o) { 1736 checkListJobsResponse(api.ListJobsResponse o) {
1737 buildCounterListJobsResponse++; 1737 buildCounterListJobsResponse++;
1738 if (buildCounterListJobsResponse < 3) { 1738 if (buildCounterListJobsResponse < 3) {
1739 checkUnnamed3104(o.failedLocation); 1739 checkUnnamed3125(o.failedLocation);
1740 checkUnnamed3105(o.jobs); 1740 checkUnnamed3126(o.jobs);
1741 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1741 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1742 } 1742 }
1743 buildCounterListJobsResponse--; 1743 buildCounterListJobsResponse--;
1744 } 1744 }
1745 1745
1746 core.int buildCounterLogBucket = 0; 1746 core.int buildCounterLogBucket = 0;
1747 buildLogBucket() { 1747 buildLogBucket() {
1748 var o = new api.LogBucket(); 1748 var o = new api.LogBucket();
1749 buildCounterLogBucket++; 1749 buildCounterLogBucket++;
1750 if (buildCounterLogBucket < 3) { 1750 if (buildCounterLogBucket < 3) {
1751 o.count = "foo"; 1751 o.count = "foo";
1752 o.log = 42; 1752 o.log = 42;
1753 } 1753 }
1754 buildCounterLogBucket--; 1754 buildCounterLogBucket--;
1755 return o; 1755 return o;
1756 } 1756 }
1757 1757
1758 checkLogBucket(api.LogBucket o) { 1758 checkLogBucket(api.LogBucket o) {
1759 buildCounterLogBucket++; 1759 buildCounterLogBucket++;
1760 if (buildCounterLogBucket < 3) { 1760 if (buildCounterLogBucket < 3) {
1761 unittest.expect(o.count, unittest.equals('foo')); 1761 unittest.expect(o.count, unittest.equals('foo'));
1762 unittest.expect(o.log, unittest.equals(42)); 1762 unittest.expect(o.log, unittest.equals(42));
1763 } 1763 }
1764 buildCounterLogBucket--; 1764 buildCounterLogBucket--;
1765 } 1765 }
1766 1766
1767 buildUnnamed3106() { 1767 buildUnnamed3127() {
1768 var o = new core.List<api.ParallelInstruction>(); 1768 var o = new core.List<api.ParallelInstruction>();
1769 o.add(buildParallelInstruction()); 1769 o.add(buildParallelInstruction());
1770 o.add(buildParallelInstruction()); 1770 o.add(buildParallelInstruction());
1771 return o; 1771 return o;
1772 } 1772 }
1773 1773
1774 checkUnnamed3106(core.List<api.ParallelInstruction> o) { 1774 checkUnnamed3127(core.List<api.ParallelInstruction> o) {
1775 unittest.expect(o, unittest.hasLength(2)); 1775 unittest.expect(o, unittest.hasLength(2));
1776 checkParallelInstruction(o[0]); 1776 checkParallelInstruction(o[0]);
1777 checkParallelInstruction(o[1]); 1777 checkParallelInstruction(o[1]);
1778 } 1778 }
1779 1779
1780 core.int buildCounterMapTask = 0; 1780 core.int buildCounterMapTask = 0;
1781 buildMapTask() { 1781 buildMapTask() {
1782 var o = new api.MapTask(); 1782 var o = new api.MapTask();
1783 buildCounterMapTask++; 1783 buildCounterMapTask++;
1784 if (buildCounterMapTask < 3) { 1784 if (buildCounterMapTask < 3) {
1785 o.instructions = buildUnnamed3106(); 1785 o.instructions = buildUnnamed3127();
1786 o.stageName = "foo"; 1786 o.stageName = "foo";
1787 o.systemName = "foo"; 1787 o.systemName = "foo";
1788 } 1788 }
1789 buildCounterMapTask--; 1789 buildCounterMapTask--;
1790 return o; 1790 return o;
1791 } 1791 }
1792 1792
1793 checkMapTask(api.MapTask o) { 1793 checkMapTask(api.MapTask o) {
1794 buildCounterMapTask++; 1794 buildCounterMapTask++;
1795 if (buildCounterMapTask < 3) { 1795 if (buildCounterMapTask < 3) {
1796 checkUnnamed3106(o.instructions); 1796 checkUnnamed3127(o.instructions);
1797 unittest.expect(o.stageName, unittest.equals('foo')); 1797 unittest.expect(o.stageName, unittest.equals('foo'));
1798 unittest.expect(o.systemName, unittest.equals('foo')); 1798 unittest.expect(o.systemName, unittest.equals('foo'));
1799 } 1799 }
1800 buildCounterMapTask--; 1800 buildCounterMapTask--;
1801 } 1801 }
1802 1802
1803 core.int buildCounterMetricShortId = 0; 1803 core.int buildCounterMetricShortId = 0;
1804 buildMetricShortId() { 1804 buildMetricShortId() {
1805 var o = new api.MetricShortId(); 1805 var o = new api.MetricShortId();
1806 buildCounterMetricShortId++; 1806 buildCounterMetricShortId++;
1807 if (buildCounterMetricShortId < 3) { 1807 if (buildCounterMetricShortId < 3) {
1808 o.metricIndex = 42; 1808 o.metricIndex = 42;
1809 o.shortId = "foo"; 1809 o.shortId = "foo";
1810 } 1810 }
1811 buildCounterMetricShortId--; 1811 buildCounterMetricShortId--;
1812 return o; 1812 return o;
1813 } 1813 }
1814 1814
1815 checkMetricShortId(api.MetricShortId o) { 1815 checkMetricShortId(api.MetricShortId o) {
1816 buildCounterMetricShortId++; 1816 buildCounterMetricShortId++;
1817 if (buildCounterMetricShortId < 3) { 1817 if (buildCounterMetricShortId < 3) {
1818 unittest.expect(o.metricIndex, unittest.equals(42)); 1818 unittest.expect(o.metricIndex, unittest.equals(42));
1819 unittest.expect(o.shortId, unittest.equals('foo')); 1819 unittest.expect(o.shortId, unittest.equals('foo'));
1820 } 1820 }
1821 buildCounterMetricShortId--; 1821 buildCounterMetricShortId--;
1822 } 1822 }
1823 1823
1824 buildUnnamed3107() { 1824 buildUnnamed3128() {
1825 var o = new core.Map<core.String, core.String>(); 1825 var o = new core.Map<core.String, core.String>();
1826 o["x"] = "foo"; 1826 o["x"] = "foo";
1827 o["y"] = "foo"; 1827 o["y"] = "foo";
1828 return o; 1828 return o;
1829 } 1829 }
1830 1830
1831 checkUnnamed3107(core.Map<core.String, core.String> o) { 1831 checkUnnamed3128(core.Map<core.String, core.String> o) {
1832 unittest.expect(o, unittest.hasLength(2)); 1832 unittest.expect(o, unittest.hasLength(2));
1833 unittest.expect(o["x"], unittest.equals('foo')); 1833 unittest.expect(o["x"], unittest.equals('foo'));
1834 unittest.expect(o["y"], unittest.equals('foo')); 1834 unittest.expect(o["y"], unittest.equals('foo'));
1835 } 1835 }
1836 1836
1837 core.int buildCounterMetricStructuredName = 0; 1837 core.int buildCounterMetricStructuredName = 0;
1838 buildMetricStructuredName() { 1838 buildMetricStructuredName() {
1839 var o = new api.MetricStructuredName(); 1839 var o = new api.MetricStructuredName();
1840 buildCounterMetricStructuredName++; 1840 buildCounterMetricStructuredName++;
1841 if (buildCounterMetricStructuredName < 3) { 1841 if (buildCounterMetricStructuredName < 3) {
1842 o.context = buildUnnamed3107(); 1842 o.context = buildUnnamed3128();
1843 o.name = "foo"; 1843 o.name = "foo";
1844 o.origin = "foo"; 1844 o.origin = "foo";
1845 } 1845 }
1846 buildCounterMetricStructuredName--; 1846 buildCounterMetricStructuredName--;
1847 return o; 1847 return o;
1848 } 1848 }
1849 1849
1850 checkMetricStructuredName(api.MetricStructuredName o) { 1850 checkMetricStructuredName(api.MetricStructuredName o) {
1851 buildCounterMetricStructuredName++; 1851 buildCounterMetricStructuredName++;
1852 if (buildCounterMetricStructuredName < 3) { 1852 if (buildCounterMetricStructuredName < 3) {
1853 checkUnnamed3107(o.context); 1853 checkUnnamed3128(o.context);
1854 unittest.expect(o.name, unittest.equals('foo')); 1854 unittest.expect(o.name, unittest.equals('foo'));
1855 unittest.expect(o.origin, unittest.equals('foo')); 1855 unittest.expect(o.origin, unittest.equals('foo'));
1856 } 1856 }
1857 buildCounterMetricStructuredName--; 1857 buildCounterMetricStructuredName--;
1858 } 1858 }
1859 1859
1860 core.int buildCounterMetricUpdate = 0; 1860 core.int buildCounterMetricUpdate = 0;
1861 buildMetricUpdate() { 1861 buildMetricUpdate() {
1862 var o = new api.MetricUpdate(); 1862 var o = new api.MetricUpdate();
1863 buildCounterMetricUpdate++; 1863 buildCounterMetricUpdate++;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 1967
1968 checkPackage(api.Package o) { 1968 checkPackage(api.Package o) {
1969 buildCounterPackage++; 1969 buildCounterPackage++;
1970 if (buildCounterPackage < 3) { 1970 if (buildCounterPackage < 3) {
1971 unittest.expect(o.location, unittest.equals('foo')); 1971 unittest.expect(o.location, unittest.equals('foo'));
1972 unittest.expect(o.name, unittest.equals('foo')); 1972 unittest.expect(o.name, unittest.equals('foo'));
1973 } 1973 }
1974 buildCounterPackage--; 1974 buildCounterPackage--;
1975 } 1975 }
1976 1976
1977 buildUnnamed3108() { 1977 buildUnnamed3129() {
1978 var o = new core.List<api.MultiOutputInfo>(); 1978 var o = new core.List<api.MultiOutputInfo>();
1979 o.add(buildMultiOutputInfo()); 1979 o.add(buildMultiOutputInfo());
1980 o.add(buildMultiOutputInfo()); 1980 o.add(buildMultiOutputInfo());
1981 return o; 1981 return o;
1982 } 1982 }
1983 1983
1984 checkUnnamed3108(core.List<api.MultiOutputInfo> o) { 1984 checkUnnamed3129(core.List<api.MultiOutputInfo> o) {
1985 unittest.expect(o, unittest.hasLength(2)); 1985 unittest.expect(o, unittest.hasLength(2));
1986 checkMultiOutputInfo(o[0]); 1986 checkMultiOutputInfo(o[0]);
1987 checkMultiOutputInfo(o[1]); 1987 checkMultiOutputInfo(o[1]);
1988 } 1988 }
1989 1989
1990 buildUnnamed3109() { 1990 buildUnnamed3130() {
1991 var o = new core.List<api.SideInputInfo>(); 1991 var o = new core.List<api.SideInputInfo>();
1992 o.add(buildSideInputInfo()); 1992 o.add(buildSideInputInfo());
1993 o.add(buildSideInputInfo()); 1993 o.add(buildSideInputInfo());
1994 return o; 1994 return o;
1995 } 1995 }
1996 1996
1997 checkUnnamed3109(core.List<api.SideInputInfo> o) { 1997 checkUnnamed3130(core.List<api.SideInputInfo> o) {
1998 unittest.expect(o, unittest.hasLength(2)); 1998 unittest.expect(o, unittest.hasLength(2));
1999 checkSideInputInfo(o[0]); 1999 checkSideInputInfo(o[0]);
2000 checkSideInputInfo(o[1]); 2000 checkSideInputInfo(o[1]);
2001 } 2001 }
2002 2002
2003 buildUnnamed3110() { 2003 buildUnnamed3131() {
2004 var o = new core.Map<core.String, core.Object>(); 2004 var o = new core.Map<core.String, core.Object>();
2005 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2005 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2006 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2006 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2007 return o; 2007 return o;
2008 } 2008 }
2009 2009
2010 checkUnnamed3110(core.Map<core.String, core.Object> o) { 2010 checkUnnamed3131(core.Map<core.String, core.Object> o) {
2011 unittest.expect(o, unittest.hasLength(2)); 2011 unittest.expect(o, unittest.hasLength(2));
2012 var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLen gth(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest .expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["stri ng"], unittest.equals('foo')); 2012 var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLen gth(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest .expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["stri ng"], unittest.equals('foo'));
2013 var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLen gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest .expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri ng"], unittest.equals('foo')); 2013 var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLen gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest .expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri ng"], unittest.equals('foo'));
2014 } 2014 }
2015 2015
2016 core.int buildCounterParDoInstruction = 0; 2016 core.int buildCounterParDoInstruction = 0;
2017 buildParDoInstruction() { 2017 buildParDoInstruction() {
2018 var o = new api.ParDoInstruction(); 2018 var o = new api.ParDoInstruction();
2019 buildCounterParDoInstruction++; 2019 buildCounterParDoInstruction++;
2020 if (buildCounterParDoInstruction < 3) { 2020 if (buildCounterParDoInstruction < 3) {
2021 o.input = buildInstructionInput(); 2021 o.input = buildInstructionInput();
2022 o.multiOutputInfos = buildUnnamed3108(); 2022 o.multiOutputInfos = buildUnnamed3129();
2023 o.numOutputs = 42; 2023 o.numOutputs = 42;
2024 o.sideInputs = buildUnnamed3109(); 2024 o.sideInputs = buildUnnamed3130();
2025 o.userFn = buildUnnamed3110(); 2025 o.userFn = buildUnnamed3131();
2026 } 2026 }
2027 buildCounterParDoInstruction--; 2027 buildCounterParDoInstruction--;
2028 return o; 2028 return o;
2029 } 2029 }
2030 2030
2031 checkParDoInstruction(api.ParDoInstruction o) { 2031 checkParDoInstruction(api.ParDoInstruction o) {
2032 buildCounterParDoInstruction++; 2032 buildCounterParDoInstruction++;
2033 if (buildCounterParDoInstruction < 3) { 2033 if (buildCounterParDoInstruction < 3) {
2034 checkInstructionInput(o.input); 2034 checkInstructionInput(o.input);
2035 checkUnnamed3108(o.multiOutputInfos); 2035 checkUnnamed3129(o.multiOutputInfos);
2036 unittest.expect(o.numOutputs, unittest.equals(42)); 2036 unittest.expect(o.numOutputs, unittest.equals(42));
2037 checkUnnamed3109(o.sideInputs); 2037 checkUnnamed3130(o.sideInputs);
2038 checkUnnamed3110(o.userFn); 2038 checkUnnamed3131(o.userFn);
2039 } 2039 }
2040 buildCounterParDoInstruction--; 2040 buildCounterParDoInstruction--;
2041 } 2041 }
2042 2042
2043 buildUnnamed3111() { 2043 buildUnnamed3132() {
2044 var o = new core.List<api.InstructionOutput>(); 2044 var o = new core.List<api.InstructionOutput>();
2045 o.add(buildInstructionOutput()); 2045 o.add(buildInstructionOutput());
2046 o.add(buildInstructionOutput()); 2046 o.add(buildInstructionOutput());
2047 return o; 2047 return o;
2048 } 2048 }
2049 2049
2050 checkUnnamed3111(core.List<api.InstructionOutput> o) { 2050 checkUnnamed3132(core.List<api.InstructionOutput> o) {
2051 unittest.expect(o, unittest.hasLength(2)); 2051 unittest.expect(o, unittest.hasLength(2));
2052 checkInstructionOutput(o[0]); 2052 checkInstructionOutput(o[0]);
2053 checkInstructionOutput(o[1]); 2053 checkInstructionOutput(o[1]);
2054 } 2054 }
2055 2055
2056 core.int buildCounterParallelInstruction = 0; 2056 core.int buildCounterParallelInstruction = 0;
2057 buildParallelInstruction() { 2057 buildParallelInstruction() {
2058 var o = new api.ParallelInstruction(); 2058 var o = new api.ParallelInstruction();
2059 buildCounterParallelInstruction++; 2059 buildCounterParallelInstruction++;
2060 if (buildCounterParallelInstruction < 3) { 2060 if (buildCounterParallelInstruction < 3) {
2061 o.flatten = buildFlattenInstruction(); 2061 o.flatten = buildFlattenInstruction();
2062 o.name = "foo"; 2062 o.name = "foo";
2063 o.originalName = "foo"; 2063 o.originalName = "foo";
2064 o.outputs = buildUnnamed3111(); 2064 o.outputs = buildUnnamed3132();
2065 o.parDo = buildParDoInstruction(); 2065 o.parDo = buildParDoInstruction();
2066 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); 2066 o.partialGroupByKey = buildPartialGroupByKeyInstruction();
2067 o.read = buildReadInstruction(); 2067 o.read = buildReadInstruction();
2068 o.systemName = "foo"; 2068 o.systemName = "foo";
2069 o.write = buildWriteInstruction(); 2069 o.write = buildWriteInstruction();
2070 } 2070 }
2071 buildCounterParallelInstruction--; 2071 buildCounterParallelInstruction--;
2072 return o; 2072 return o;
2073 } 2073 }
2074 2074
2075 checkParallelInstruction(api.ParallelInstruction o) { 2075 checkParallelInstruction(api.ParallelInstruction o) {
2076 buildCounterParallelInstruction++; 2076 buildCounterParallelInstruction++;
2077 if (buildCounterParallelInstruction < 3) { 2077 if (buildCounterParallelInstruction < 3) {
2078 checkFlattenInstruction(o.flatten); 2078 checkFlattenInstruction(o.flatten);
2079 unittest.expect(o.name, unittest.equals('foo')); 2079 unittest.expect(o.name, unittest.equals('foo'));
2080 unittest.expect(o.originalName, unittest.equals('foo')); 2080 unittest.expect(o.originalName, unittest.equals('foo'));
2081 checkUnnamed3111(o.outputs); 2081 checkUnnamed3132(o.outputs);
2082 checkParDoInstruction(o.parDo); 2082 checkParDoInstruction(o.parDo);
2083 checkPartialGroupByKeyInstruction(o.partialGroupByKey); 2083 checkPartialGroupByKeyInstruction(o.partialGroupByKey);
2084 checkReadInstruction(o.read); 2084 checkReadInstruction(o.read);
2085 unittest.expect(o.systemName, unittest.equals('foo')); 2085 unittest.expect(o.systemName, unittest.equals('foo'));
2086 checkWriteInstruction(o.write); 2086 checkWriteInstruction(o.write);
2087 } 2087 }
2088 buildCounterParallelInstruction--; 2088 buildCounterParallelInstruction--;
2089 } 2089 }
2090 2090
2091 core.int buildCounterParameter = 0; 2091 core.int buildCounterParameter = 0;
(...skipping 10 matching lines...) Expand all
2102 2102
2103 checkParameter(api.Parameter o) { 2103 checkParameter(api.Parameter o) {
2104 buildCounterParameter++; 2104 buildCounterParameter++;
2105 if (buildCounterParameter < 3) { 2105 if (buildCounterParameter < 3) {
2106 unittest.expect(o.key, unittest.equals('foo')); 2106 unittest.expect(o.key, unittest.equals('foo'));
2107 var casted20 = (o.value) as core.Map; unittest.expect(casted20, unittest.has Length(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["s tring"], unittest.equals('foo')); 2107 var casted20 = (o.value) as core.Map; unittest.expect(casted20, unittest.has Length(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["s tring"], unittest.equals('foo'));
2108 } 2108 }
2109 buildCounterParameter--; 2109 buildCounterParameter--;
2110 } 2110 }
2111 2111
2112 buildUnnamed3112() { 2112 buildUnnamed3133() {
2113 var o = new core.List<core.String>(); 2113 var o = new core.List<core.String>();
2114 o.add("foo"); 2114 o.add("foo");
2115 o.add("foo"); 2115 o.add("foo");
2116 return o; 2116 return o;
2117 } 2117 }
2118 2118
2119 checkUnnamed3112(core.List<core.String> o) { 2119 checkUnnamed3133(core.List<core.String> o) {
2120 unittest.expect(o, unittest.hasLength(2)); 2120 unittest.expect(o, unittest.hasLength(2));
2121 unittest.expect(o[0], unittest.equals('foo')); 2121 unittest.expect(o[0], unittest.equals('foo'));
2122 unittest.expect(o[1], unittest.equals('foo')); 2122 unittest.expect(o[1], unittest.equals('foo'));
2123 } 2123 }
2124 2124
2125 core.int buildCounterParameterMetadata = 0; 2125 core.int buildCounterParameterMetadata = 0;
2126 buildParameterMetadata() { 2126 buildParameterMetadata() {
2127 var o = new api.ParameterMetadata(); 2127 var o = new api.ParameterMetadata();
2128 buildCounterParameterMetadata++; 2128 buildCounterParameterMetadata++;
2129 if (buildCounterParameterMetadata < 3) { 2129 if (buildCounterParameterMetadata < 3) {
2130 o.helpText = "foo"; 2130 o.helpText = "foo";
2131 o.isOptional = true; 2131 o.isOptional = true;
2132 o.label = "foo"; 2132 o.label = "foo";
2133 o.name = "foo"; 2133 o.name = "foo";
2134 o.regexes = buildUnnamed3112(); 2134 o.regexes = buildUnnamed3133();
2135 } 2135 }
2136 buildCounterParameterMetadata--; 2136 buildCounterParameterMetadata--;
2137 return o; 2137 return o;
2138 } 2138 }
2139 2139
2140 checkParameterMetadata(api.ParameterMetadata o) { 2140 checkParameterMetadata(api.ParameterMetadata o) {
2141 buildCounterParameterMetadata++; 2141 buildCounterParameterMetadata++;
2142 if (buildCounterParameterMetadata < 3) { 2142 if (buildCounterParameterMetadata < 3) {
2143 unittest.expect(o.helpText, unittest.equals('foo')); 2143 unittest.expect(o.helpText, unittest.equals('foo'));
2144 unittest.expect(o.isOptional, unittest.isTrue); 2144 unittest.expect(o.isOptional, unittest.isTrue);
2145 unittest.expect(o.label, unittest.equals('foo')); 2145 unittest.expect(o.label, unittest.equals('foo'));
2146 unittest.expect(o.name, unittest.equals('foo')); 2146 unittest.expect(o.name, unittest.equals('foo'));
2147 checkUnnamed3112(o.regexes); 2147 checkUnnamed3133(o.regexes);
2148 } 2148 }
2149 buildCounterParameterMetadata--; 2149 buildCounterParameterMetadata--;
2150 } 2150 }
2151 2151
2152 buildUnnamed3113() { 2152 buildUnnamed3134() {
2153 var o = new core.Map<core.String, core.Object>(); 2153 var o = new core.Map<core.String, core.Object>();
2154 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2154 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2155 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2155 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2156 return o; 2156 return o;
2157 } 2157 }
2158 2158
2159 checkUnnamed3113(core.Map<core.String, core.Object> o) { 2159 checkUnnamed3134(core.Map<core.String, core.Object> o) {
2160 unittest.expect(o, unittest.hasLength(2)); 2160 unittest.expect(o, unittest.hasLength(2));
2161 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest .expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri ng"], unittest.equals('foo')); 2161 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest .expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri ng"], unittest.equals('foo'));
2162 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest .expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri ng"], unittest.equals('foo')); 2162 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest .expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri ng"], unittest.equals('foo'));
2163 } 2163 }
2164 2164
2165 buildUnnamed3114() { 2165 buildUnnamed3135() {
2166 var o = new core.List<api.SideInputInfo>(); 2166 var o = new core.List<api.SideInputInfo>();
2167 o.add(buildSideInputInfo()); 2167 o.add(buildSideInputInfo());
2168 o.add(buildSideInputInfo()); 2168 o.add(buildSideInputInfo());
2169 return o; 2169 return o;
2170 } 2170 }
2171 2171
2172 checkUnnamed3114(core.List<api.SideInputInfo> o) { 2172 checkUnnamed3135(core.List<api.SideInputInfo> o) {
2173 unittest.expect(o, unittest.hasLength(2)); 2173 unittest.expect(o, unittest.hasLength(2));
2174 checkSideInputInfo(o[0]); 2174 checkSideInputInfo(o[0]);
2175 checkSideInputInfo(o[1]); 2175 checkSideInputInfo(o[1]);
2176 } 2176 }
2177 2177
2178 buildUnnamed3115() { 2178 buildUnnamed3136() {
2179 var o = new core.Map<core.String, core.Object>(); 2179 var o = new core.Map<core.String, core.Object>();
2180 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2180 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2181 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2181 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2182 return o; 2182 return o;
2183 } 2183 }
2184 2184
2185 checkUnnamed3115(core.Map<core.String, core.Object> o) { 2185 checkUnnamed3136(core.Map<core.String, core.Object> o) {
2186 unittest.expect(o, unittest.hasLength(2)); 2186 unittest.expect(o, unittest.hasLength(2));
2187 var casted23 = (o["x"]) as core.Map; unittest.expect(casted23, unittest.hasLen gth(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest .expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["stri ng"], unittest.equals('foo')); 2187 var casted23 = (o["x"]) as core.Map; unittest.expect(casted23, unittest.hasLen gth(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest .expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["stri ng"], unittest.equals('foo'));
2188 var casted24 = (o["y"]) as core.Map; unittest.expect(casted24, unittest.hasLen gth(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest .expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["stri ng"], unittest.equals('foo')); 2188 var casted24 = (o["y"]) as core.Map; unittest.expect(casted24, unittest.hasLen gth(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest .expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["stri ng"], unittest.equals('foo'));
2189 } 2189 }
2190 2190
2191 core.int buildCounterPartialGroupByKeyInstruction = 0; 2191 core.int buildCounterPartialGroupByKeyInstruction = 0;
2192 buildPartialGroupByKeyInstruction() { 2192 buildPartialGroupByKeyInstruction() {
2193 var o = new api.PartialGroupByKeyInstruction(); 2193 var o = new api.PartialGroupByKeyInstruction();
2194 buildCounterPartialGroupByKeyInstruction++; 2194 buildCounterPartialGroupByKeyInstruction++;
2195 if (buildCounterPartialGroupByKeyInstruction < 3) { 2195 if (buildCounterPartialGroupByKeyInstruction < 3) {
2196 o.input = buildInstructionInput(); 2196 o.input = buildInstructionInput();
2197 o.inputElementCodec = buildUnnamed3113(); 2197 o.inputElementCodec = buildUnnamed3134();
2198 o.originalCombineValuesInputStoreName = "foo"; 2198 o.originalCombineValuesInputStoreName = "foo";
2199 o.originalCombineValuesStepName = "foo"; 2199 o.originalCombineValuesStepName = "foo";
2200 o.sideInputs = buildUnnamed3114(); 2200 o.sideInputs = buildUnnamed3135();
2201 o.valueCombiningFn = buildUnnamed3115(); 2201 o.valueCombiningFn = buildUnnamed3136();
2202 } 2202 }
2203 buildCounterPartialGroupByKeyInstruction--; 2203 buildCounterPartialGroupByKeyInstruction--;
2204 return o; 2204 return o;
2205 } 2205 }
2206 2206
2207 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { 2207 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) {
2208 buildCounterPartialGroupByKeyInstruction++; 2208 buildCounterPartialGroupByKeyInstruction++;
2209 if (buildCounterPartialGroupByKeyInstruction < 3) { 2209 if (buildCounterPartialGroupByKeyInstruction < 3) {
2210 checkInstructionInput(o.input); 2210 checkInstructionInput(o.input);
2211 checkUnnamed3113(o.inputElementCodec); 2211 checkUnnamed3134(o.inputElementCodec);
2212 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo' )); 2212 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo' ));
2213 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); 2213 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo'));
2214 checkUnnamed3114(o.sideInputs); 2214 checkUnnamed3135(o.sideInputs);
2215 checkUnnamed3115(o.valueCombiningFn); 2215 checkUnnamed3136(o.valueCombiningFn);
2216 } 2216 }
2217 buildCounterPartialGroupByKeyInstruction--; 2217 buildCounterPartialGroupByKeyInstruction--;
2218 } 2218 }
2219 2219
2220 buildUnnamed3116() { 2220 buildUnnamed3137() {
2221 var o = new core.List<api.DisplayData>(); 2221 var o = new core.List<api.DisplayData>();
2222 o.add(buildDisplayData()); 2222 o.add(buildDisplayData());
2223 o.add(buildDisplayData()); 2223 o.add(buildDisplayData());
2224 return o; 2224 return o;
2225 } 2225 }
2226 2226
2227 checkUnnamed3116(core.List<api.DisplayData> o) { 2227 checkUnnamed3137(core.List<api.DisplayData> o) {
2228 unittest.expect(o, unittest.hasLength(2)); 2228 unittest.expect(o, unittest.hasLength(2));
2229 checkDisplayData(o[0]); 2229 checkDisplayData(o[0]);
2230 checkDisplayData(o[1]); 2230 checkDisplayData(o[1]);
2231 } 2231 }
2232 2232
2233 buildUnnamed3117() { 2233 buildUnnamed3138() {
2234 var o = new core.List<api.ExecutionStageSummary>(); 2234 var o = new core.List<api.ExecutionStageSummary>();
2235 o.add(buildExecutionStageSummary()); 2235 o.add(buildExecutionStageSummary());
2236 o.add(buildExecutionStageSummary()); 2236 o.add(buildExecutionStageSummary());
2237 return o; 2237 return o;
2238 } 2238 }
2239 2239
2240 checkUnnamed3117(core.List<api.ExecutionStageSummary> o) { 2240 checkUnnamed3138(core.List<api.ExecutionStageSummary> o) {
2241 unittest.expect(o, unittest.hasLength(2)); 2241 unittest.expect(o, unittest.hasLength(2));
2242 checkExecutionStageSummary(o[0]); 2242 checkExecutionStageSummary(o[0]);
2243 checkExecutionStageSummary(o[1]); 2243 checkExecutionStageSummary(o[1]);
2244 } 2244 }
2245 2245
2246 buildUnnamed3118() { 2246 buildUnnamed3139() {
2247 var o = new core.List<api.TransformSummary>(); 2247 var o = new core.List<api.TransformSummary>();
2248 o.add(buildTransformSummary()); 2248 o.add(buildTransformSummary());
2249 o.add(buildTransformSummary()); 2249 o.add(buildTransformSummary());
2250 return o; 2250 return o;
2251 } 2251 }
2252 2252
2253 checkUnnamed3118(core.List<api.TransformSummary> o) { 2253 checkUnnamed3139(core.List<api.TransformSummary> o) {
2254 unittest.expect(o, unittest.hasLength(2)); 2254 unittest.expect(o, unittest.hasLength(2));
2255 checkTransformSummary(o[0]); 2255 checkTransformSummary(o[0]);
2256 checkTransformSummary(o[1]); 2256 checkTransformSummary(o[1]);
2257 } 2257 }
2258 2258
2259 core.int buildCounterPipelineDescription = 0; 2259 core.int buildCounterPipelineDescription = 0;
2260 buildPipelineDescription() { 2260 buildPipelineDescription() {
2261 var o = new api.PipelineDescription(); 2261 var o = new api.PipelineDescription();
2262 buildCounterPipelineDescription++; 2262 buildCounterPipelineDescription++;
2263 if (buildCounterPipelineDescription < 3) { 2263 if (buildCounterPipelineDescription < 3) {
2264 o.displayData = buildUnnamed3116(); 2264 o.displayData = buildUnnamed3137();
2265 o.executionPipelineStage = buildUnnamed3117(); 2265 o.executionPipelineStage = buildUnnamed3138();
2266 o.originalPipelineTransform = buildUnnamed3118(); 2266 o.originalPipelineTransform = buildUnnamed3139();
2267 } 2267 }
2268 buildCounterPipelineDescription--; 2268 buildCounterPipelineDescription--;
2269 return o; 2269 return o;
2270 } 2270 }
2271 2271
2272 checkPipelineDescription(api.PipelineDescription o) { 2272 checkPipelineDescription(api.PipelineDescription o) {
2273 buildCounterPipelineDescription++; 2273 buildCounterPipelineDescription++;
2274 if (buildCounterPipelineDescription < 3) { 2274 if (buildCounterPipelineDescription < 3) {
2275 checkUnnamed3116(o.displayData); 2275 checkUnnamed3137(o.displayData);
2276 checkUnnamed3117(o.executionPipelineStage); 2276 checkUnnamed3138(o.executionPipelineStage);
2277 checkUnnamed3118(o.originalPipelineTransform); 2277 checkUnnamed3139(o.originalPipelineTransform);
2278 } 2278 }
2279 buildCounterPipelineDescription--; 2279 buildCounterPipelineDescription--;
2280 } 2280 }
2281 2281
2282 core.int buildCounterPosition = 0; 2282 core.int buildCounterPosition = 0;
2283 buildPosition() { 2283 buildPosition() {
2284 var o = new api.Position(); 2284 var o = new api.Position();
2285 buildCounterPosition++; 2285 buildCounterPosition++;
2286 if (buildCounterPosition < 3) { 2286 if (buildCounterPosition < 3) {
2287 o.byteOffset = "foo"; 2287 o.byteOffset = "foo";
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
2351 } 2351 }
2352 2352
2353 checkReadInstruction(api.ReadInstruction o) { 2353 checkReadInstruction(api.ReadInstruction o) {
2354 buildCounterReadInstruction++; 2354 buildCounterReadInstruction++;
2355 if (buildCounterReadInstruction < 3) { 2355 if (buildCounterReadInstruction < 3) {
2356 checkSource(o.source); 2356 checkSource(o.source);
2357 } 2357 }
2358 buildCounterReadInstruction--; 2358 buildCounterReadInstruction--;
2359 } 2359 }
2360 2360
2361 buildUnnamed3119() { 2361 buildUnnamed3140() {
2362 var o = new core.List<api.WorkItemStatus>(); 2362 var o = new core.List<api.WorkItemStatus>();
2363 o.add(buildWorkItemStatus()); 2363 o.add(buildWorkItemStatus());
2364 o.add(buildWorkItemStatus()); 2364 o.add(buildWorkItemStatus());
2365 return o; 2365 return o;
2366 } 2366 }
2367 2367
2368 checkUnnamed3119(core.List<api.WorkItemStatus> o) { 2368 checkUnnamed3140(core.List<api.WorkItemStatus> o) {
2369 unittest.expect(o, unittest.hasLength(2)); 2369 unittest.expect(o, unittest.hasLength(2));
2370 checkWorkItemStatus(o[0]); 2370 checkWorkItemStatus(o[0]);
2371 checkWorkItemStatus(o[1]); 2371 checkWorkItemStatus(o[1]);
2372 } 2372 }
2373 2373
2374 core.int buildCounterReportWorkItemStatusRequest = 0; 2374 core.int buildCounterReportWorkItemStatusRequest = 0;
2375 buildReportWorkItemStatusRequest() { 2375 buildReportWorkItemStatusRequest() {
2376 var o = new api.ReportWorkItemStatusRequest(); 2376 var o = new api.ReportWorkItemStatusRequest();
2377 buildCounterReportWorkItemStatusRequest++; 2377 buildCounterReportWorkItemStatusRequest++;
2378 if (buildCounterReportWorkItemStatusRequest < 3) { 2378 if (buildCounterReportWorkItemStatusRequest < 3) {
2379 o.currentWorkerTime = "foo"; 2379 o.currentWorkerTime = "foo";
2380 o.location = "foo"; 2380 o.location = "foo";
2381 o.workItemStatuses = buildUnnamed3119(); 2381 o.workItemStatuses = buildUnnamed3140();
2382 o.workerId = "foo"; 2382 o.workerId = "foo";
2383 } 2383 }
2384 buildCounterReportWorkItemStatusRequest--; 2384 buildCounterReportWorkItemStatusRequest--;
2385 return o; 2385 return o;
2386 } 2386 }
2387 2387
2388 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { 2388 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) {
2389 buildCounterReportWorkItemStatusRequest++; 2389 buildCounterReportWorkItemStatusRequest++;
2390 if (buildCounterReportWorkItemStatusRequest < 3) { 2390 if (buildCounterReportWorkItemStatusRequest < 3) {
2391 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 2391 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
2392 unittest.expect(o.location, unittest.equals('foo')); 2392 unittest.expect(o.location, unittest.equals('foo'));
2393 checkUnnamed3119(o.workItemStatuses); 2393 checkUnnamed3140(o.workItemStatuses);
2394 unittest.expect(o.workerId, unittest.equals('foo')); 2394 unittest.expect(o.workerId, unittest.equals('foo'));
2395 } 2395 }
2396 buildCounterReportWorkItemStatusRequest--; 2396 buildCounterReportWorkItemStatusRequest--;
2397 } 2397 }
2398 2398
2399 buildUnnamed3120() { 2399 buildUnnamed3141() {
2400 var o = new core.List<api.WorkItemServiceState>(); 2400 var o = new core.List<api.WorkItemServiceState>();
2401 o.add(buildWorkItemServiceState()); 2401 o.add(buildWorkItemServiceState());
2402 o.add(buildWorkItemServiceState()); 2402 o.add(buildWorkItemServiceState());
2403 return o; 2403 return o;
2404 } 2404 }
2405 2405
2406 checkUnnamed3120(core.List<api.WorkItemServiceState> o) { 2406 checkUnnamed3141(core.List<api.WorkItemServiceState> o) {
2407 unittest.expect(o, unittest.hasLength(2)); 2407 unittest.expect(o, unittest.hasLength(2));
2408 checkWorkItemServiceState(o[0]); 2408 checkWorkItemServiceState(o[0]);
2409 checkWorkItemServiceState(o[1]); 2409 checkWorkItemServiceState(o[1]);
2410 } 2410 }
2411 2411
2412 core.int buildCounterReportWorkItemStatusResponse = 0; 2412 core.int buildCounterReportWorkItemStatusResponse = 0;
2413 buildReportWorkItemStatusResponse() { 2413 buildReportWorkItemStatusResponse() {
2414 var o = new api.ReportWorkItemStatusResponse(); 2414 var o = new api.ReportWorkItemStatusResponse();
2415 buildCounterReportWorkItemStatusResponse++; 2415 buildCounterReportWorkItemStatusResponse++;
2416 if (buildCounterReportWorkItemStatusResponse < 3) { 2416 if (buildCounterReportWorkItemStatusResponse < 3) {
2417 o.workItemServiceStates = buildUnnamed3120(); 2417 o.workItemServiceStates = buildUnnamed3141();
2418 } 2418 }
2419 buildCounterReportWorkItemStatusResponse--; 2419 buildCounterReportWorkItemStatusResponse--;
2420 return o; 2420 return o;
2421 } 2421 }
2422 2422
2423 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { 2423 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
2424 buildCounterReportWorkItemStatusResponse++; 2424 buildCounterReportWorkItemStatusResponse++;
2425 if (buildCounterReportWorkItemStatusResponse < 3) { 2425 if (buildCounterReportWorkItemStatusResponse < 3) {
2426 checkUnnamed3120(o.workItemServiceStates); 2426 checkUnnamed3141(o.workItemServiceStates);
2427 } 2427 }
2428 buildCounterReportWorkItemStatusResponse--; 2428 buildCounterReportWorkItemStatusResponse--;
2429 } 2429 }
2430 2430
2431 core.int buildCounterReportedParallelism = 0; 2431 core.int buildCounterReportedParallelism = 0;
2432 buildReportedParallelism() { 2432 buildReportedParallelism() {
2433 var o = new api.ReportedParallelism(); 2433 var o = new api.ReportedParallelism();
2434 buildCounterReportedParallelism++; 2434 buildCounterReportedParallelism++;
2435 if (buildCounterReportedParallelism < 3) { 2435 if (buildCounterReportedParallelism < 3) {
2436 o.isInfinite = true; 2436 o.isInfinite = true;
2437 o.value = 42.0; 2437 o.value = 42.0;
2438 } 2438 }
2439 buildCounterReportedParallelism--; 2439 buildCounterReportedParallelism--;
2440 return o; 2440 return o;
2441 } 2441 }
2442 2442
2443 checkReportedParallelism(api.ReportedParallelism o) { 2443 checkReportedParallelism(api.ReportedParallelism o) {
2444 buildCounterReportedParallelism++; 2444 buildCounterReportedParallelism++;
2445 if (buildCounterReportedParallelism < 3) { 2445 if (buildCounterReportedParallelism < 3) {
2446 unittest.expect(o.isInfinite, unittest.isTrue); 2446 unittest.expect(o.isInfinite, unittest.isTrue);
2447 unittest.expect(o.value, unittest.equals(42.0)); 2447 unittest.expect(o.value, unittest.equals(42.0));
2448 } 2448 }
2449 buildCounterReportedParallelism--; 2449 buildCounterReportedParallelism--;
2450 } 2450 }
2451 2451
2452 buildUnnamed3121() { 2452 buildUnnamed3142() {
2453 var o = new core.List<api.CPUTime>(); 2453 var o = new core.List<api.CPUTime>();
2454 o.add(buildCPUTime()); 2454 o.add(buildCPUTime());
2455 o.add(buildCPUTime()); 2455 o.add(buildCPUTime());
2456 return o; 2456 return o;
2457 } 2457 }
2458 2458
2459 checkUnnamed3121(core.List<api.CPUTime> o) { 2459 checkUnnamed3142(core.List<api.CPUTime> o) {
2460 unittest.expect(o, unittest.hasLength(2)); 2460 unittest.expect(o, unittest.hasLength(2));
2461 checkCPUTime(o[0]); 2461 checkCPUTime(o[0]);
2462 checkCPUTime(o[1]); 2462 checkCPUTime(o[1]);
2463 } 2463 }
2464 2464
2465 core.int buildCounterResourceUtilizationReport = 0; 2465 core.int buildCounterResourceUtilizationReport = 0;
2466 buildResourceUtilizationReport() { 2466 buildResourceUtilizationReport() {
2467 var o = new api.ResourceUtilizationReport(); 2467 var o = new api.ResourceUtilizationReport();
2468 buildCounterResourceUtilizationReport++; 2468 buildCounterResourceUtilizationReport++;
2469 if (buildCounterResourceUtilizationReport < 3) { 2469 if (buildCounterResourceUtilizationReport < 3) {
2470 o.cpuTime = buildUnnamed3121(); 2470 o.cpuTime = buildUnnamed3142();
2471 } 2471 }
2472 buildCounterResourceUtilizationReport--; 2472 buildCounterResourceUtilizationReport--;
2473 return o; 2473 return o;
2474 } 2474 }
2475 2475
2476 checkResourceUtilizationReport(api.ResourceUtilizationReport o) { 2476 checkResourceUtilizationReport(api.ResourceUtilizationReport o) {
2477 buildCounterResourceUtilizationReport++; 2477 buildCounterResourceUtilizationReport++;
2478 if (buildCounterResourceUtilizationReport < 3) { 2478 if (buildCounterResourceUtilizationReport < 3) {
2479 checkUnnamed3121(o.cpuTime); 2479 checkUnnamed3142(o.cpuTime);
2480 } 2480 }
2481 buildCounterResourceUtilizationReport--; 2481 buildCounterResourceUtilizationReport--;
2482 } 2482 }
2483 2483
2484 core.int buildCounterResourceUtilizationReportResponse = 0; 2484 core.int buildCounterResourceUtilizationReportResponse = 0;
2485 buildResourceUtilizationReportResponse() { 2485 buildResourceUtilizationReportResponse() {
2486 var o = new api.ResourceUtilizationReportResponse(); 2486 var o = new api.ResourceUtilizationReportResponse();
2487 buildCounterResourceUtilizationReportResponse++; 2487 buildCounterResourceUtilizationReportResponse++;
2488 if (buildCounterResourceUtilizationReportResponse < 3) { 2488 if (buildCounterResourceUtilizationReportResponse < 3) {
2489 } 2489 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
2562 return o; 2562 return o;
2563 } 2563 }
2564 2564
2565 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { 2565 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) {
2566 buildCounterSendDebugCaptureResponse++; 2566 buildCounterSendDebugCaptureResponse++;
2567 if (buildCounterSendDebugCaptureResponse < 3) { 2567 if (buildCounterSendDebugCaptureResponse < 3) {
2568 } 2568 }
2569 buildCounterSendDebugCaptureResponse--; 2569 buildCounterSendDebugCaptureResponse--;
2570 } 2570 }
2571 2571
2572 buildUnnamed3122() { 2572 buildUnnamed3143() {
2573 var o = new core.List<api.WorkerMessage>(); 2573 var o = new core.List<api.WorkerMessage>();
2574 o.add(buildWorkerMessage()); 2574 o.add(buildWorkerMessage());
2575 o.add(buildWorkerMessage()); 2575 o.add(buildWorkerMessage());
2576 return o; 2576 return o;
2577 } 2577 }
2578 2578
2579 checkUnnamed3122(core.List<api.WorkerMessage> o) { 2579 checkUnnamed3143(core.List<api.WorkerMessage> o) {
2580 unittest.expect(o, unittest.hasLength(2)); 2580 unittest.expect(o, unittest.hasLength(2));
2581 checkWorkerMessage(o[0]); 2581 checkWorkerMessage(o[0]);
2582 checkWorkerMessage(o[1]); 2582 checkWorkerMessage(o[1]);
2583 } 2583 }
2584 2584
2585 core.int buildCounterSendWorkerMessagesRequest = 0; 2585 core.int buildCounterSendWorkerMessagesRequest = 0;
2586 buildSendWorkerMessagesRequest() { 2586 buildSendWorkerMessagesRequest() {
2587 var o = new api.SendWorkerMessagesRequest(); 2587 var o = new api.SendWorkerMessagesRequest();
2588 buildCounterSendWorkerMessagesRequest++; 2588 buildCounterSendWorkerMessagesRequest++;
2589 if (buildCounterSendWorkerMessagesRequest < 3) { 2589 if (buildCounterSendWorkerMessagesRequest < 3) {
2590 o.location = "foo"; 2590 o.location = "foo";
2591 o.workerMessages = buildUnnamed3122(); 2591 o.workerMessages = buildUnnamed3143();
2592 } 2592 }
2593 buildCounterSendWorkerMessagesRequest--; 2593 buildCounterSendWorkerMessagesRequest--;
2594 return o; 2594 return o;
2595 } 2595 }
2596 2596
2597 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { 2597 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) {
2598 buildCounterSendWorkerMessagesRequest++; 2598 buildCounterSendWorkerMessagesRequest++;
2599 if (buildCounterSendWorkerMessagesRequest < 3) { 2599 if (buildCounterSendWorkerMessagesRequest < 3) {
2600 unittest.expect(o.location, unittest.equals('foo')); 2600 unittest.expect(o.location, unittest.equals('foo'));
2601 checkUnnamed3122(o.workerMessages); 2601 checkUnnamed3143(o.workerMessages);
2602 } 2602 }
2603 buildCounterSendWorkerMessagesRequest--; 2603 buildCounterSendWorkerMessagesRequest--;
2604 } 2604 }
2605 2605
2606 buildUnnamed3123() { 2606 buildUnnamed3144() {
2607 var o = new core.List<api.WorkerMessageResponse>(); 2607 var o = new core.List<api.WorkerMessageResponse>();
2608 o.add(buildWorkerMessageResponse()); 2608 o.add(buildWorkerMessageResponse());
2609 o.add(buildWorkerMessageResponse()); 2609 o.add(buildWorkerMessageResponse());
2610 return o; 2610 return o;
2611 } 2611 }
2612 2612
2613 checkUnnamed3123(core.List<api.WorkerMessageResponse> o) { 2613 checkUnnamed3144(core.List<api.WorkerMessageResponse> o) {
2614 unittest.expect(o, unittest.hasLength(2)); 2614 unittest.expect(o, unittest.hasLength(2));
2615 checkWorkerMessageResponse(o[0]); 2615 checkWorkerMessageResponse(o[0]);
2616 checkWorkerMessageResponse(o[1]); 2616 checkWorkerMessageResponse(o[1]);
2617 } 2617 }
2618 2618
2619 core.int buildCounterSendWorkerMessagesResponse = 0; 2619 core.int buildCounterSendWorkerMessagesResponse = 0;
2620 buildSendWorkerMessagesResponse() { 2620 buildSendWorkerMessagesResponse() {
2621 var o = new api.SendWorkerMessagesResponse(); 2621 var o = new api.SendWorkerMessagesResponse();
2622 buildCounterSendWorkerMessagesResponse++; 2622 buildCounterSendWorkerMessagesResponse++;
2623 if (buildCounterSendWorkerMessagesResponse < 3) { 2623 if (buildCounterSendWorkerMessagesResponse < 3) {
2624 o.workerMessageResponses = buildUnnamed3123(); 2624 o.workerMessageResponses = buildUnnamed3144();
2625 } 2625 }
2626 buildCounterSendWorkerMessagesResponse--; 2626 buildCounterSendWorkerMessagesResponse--;
2627 return o; 2627 return o;
2628 } 2628 }
2629 2629
2630 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { 2630 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
2631 buildCounterSendWorkerMessagesResponse++; 2631 buildCounterSendWorkerMessagesResponse++;
2632 if (buildCounterSendWorkerMessagesResponse < 3) { 2632 if (buildCounterSendWorkerMessagesResponse < 3) {
2633 checkUnnamed3123(o.workerMessageResponses); 2633 checkUnnamed3144(o.workerMessageResponses);
2634 } 2634 }
2635 buildCounterSendWorkerMessagesResponse--; 2635 buildCounterSendWorkerMessagesResponse--;
2636 } 2636 }
2637 2637
2638 buildUnnamed3124() { 2638 buildUnnamed3145() {
2639 var o = new core.List<api.SideInputInfo>(); 2639 var o = new core.List<api.SideInputInfo>();
2640 o.add(buildSideInputInfo()); 2640 o.add(buildSideInputInfo());
2641 o.add(buildSideInputInfo()); 2641 o.add(buildSideInputInfo());
2642 return o; 2642 return o;
2643 } 2643 }
2644 2644
2645 checkUnnamed3124(core.List<api.SideInputInfo> o) { 2645 checkUnnamed3145(core.List<api.SideInputInfo> o) {
2646 unittest.expect(o, unittest.hasLength(2)); 2646 unittest.expect(o, unittest.hasLength(2));
2647 checkSideInputInfo(o[0]); 2647 checkSideInputInfo(o[0]);
2648 checkSideInputInfo(o[1]); 2648 checkSideInputInfo(o[1]);
2649 } 2649 }
2650 2650
2651 buildUnnamed3125() { 2651 buildUnnamed3146() {
2652 var o = new core.List<api.SeqMapTaskOutputInfo>(); 2652 var o = new core.List<api.SeqMapTaskOutputInfo>();
2653 o.add(buildSeqMapTaskOutputInfo()); 2653 o.add(buildSeqMapTaskOutputInfo());
2654 o.add(buildSeqMapTaskOutputInfo()); 2654 o.add(buildSeqMapTaskOutputInfo());
2655 return o; 2655 return o;
2656 } 2656 }
2657 2657
2658 checkUnnamed3125(core.List<api.SeqMapTaskOutputInfo> o) { 2658 checkUnnamed3146(core.List<api.SeqMapTaskOutputInfo> o) {
2659 unittest.expect(o, unittest.hasLength(2)); 2659 unittest.expect(o, unittest.hasLength(2));
2660 checkSeqMapTaskOutputInfo(o[0]); 2660 checkSeqMapTaskOutputInfo(o[0]);
2661 checkSeqMapTaskOutputInfo(o[1]); 2661 checkSeqMapTaskOutputInfo(o[1]);
2662 } 2662 }
2663 2663
2664 buildUnnamed3126() { 2664 buildUnnamed3147() {
2665 var o = new core.Map<core.String, core.Object>(); 2665 var o = new core.Map<core.String, core.Object>();
2666 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2666 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2667 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2667 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2668 return o; 2668 return o;
2669 } 2669 }
2670 2670
2671 checkUnnamed3126(core.Map<core.String, core.Object> o) { 2671 checkUnnamed3147(core.Map<core.String, core.Object> o) {
2672 unittest.expect(o, unittest.hasLength(2)); 2672 unittest.expect(o, unittest.hasLength(2));
2673 var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLen gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest .expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri ng"], unittest.equals('foo')); 2673 var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLen gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest .expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri ng"], unittest.equals('foo'));
2674 var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLen gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest .expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri ng"], unittest.equals('foo')); 2674 var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLen gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest .expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri ng"], unittest.equals('foo'));
2675 } 2675 }
2676 2676
2677 core.int buildCounterSeqMapTask = 0; 2677 core.int buildCounterSeqMapTask = 0;
2678 buildSeqMapTask() { 2678 buildSeqMapTask() {
2679 var o = new api.SeqMapTask(); 2679 var o = new api.SeqMapTask();
2680 buildCounterSeqMapTask++; 2680 buildCounterSeqMapTask++;
2681 if (buildCounterSeqMapTask < 3) { 2681 if (buildCounterSeqMapTask < 3) {
2682 o.inputs = buildUnnamed3124(); 2682 o.inputs = buildUnnamed3145();
2683 o.name = "foo"; 2683 o.name = "foo";
2684 o.outputInfos = buildUnnamed3125(); 2684 o.outputInfos = buildUnnamed3146();
2685 o.stageName = "foo"; 2685 o.stageName = "foo";
2686 o.systemName = "foo"; 2686 o.systemName = "foo";
2687 o.userFn = buildUnnamed3126(); 2687 o.userFn = buildUnnamed3147();
2688 } 2688 }
2689 buildCounterSeqMapTask--; 2689 buildCounterSeqMapTask--;
2690 return o; 2690 return o;
2691 } 2691 }
2692 2692
2693 checkSeqMapTask(api.SeqMapTask o) { 2693 checkSeqMapTask(api.SeqMapTask o) {
2694 buildCounterSeqMapTask++; 2694 buildCounterSeqMapTask++;
2695 if (buildCounterSeqMapTask < 3) { 2695 if (buildCounterSeqMapTask < 3) {
2696 checkUnnamed3124(o.inputs); 2696 checkUnnamed3145(o.inputs);
2697 unittest.expect(o.name, unittest.equals('foo')); 2697 unittest.expect(o.name, unittest.equals('foo'));
2698 checkUnnamed3125(o.outputInfos); 2698 checkUnnamed3146(o.outputInfos);
2699 unittest.expect(o.stageName, unittest.equals('foo')); 2699 unittest.expect(o.stageName, unittest.equals('foo'));
2700 unittest.expect(o.systemName, unittest.equals('foo')); 2700 unittest.expect(o.systemName, unittest.equals('foo'));
2701 checkUnnamed3126(o.userFn); 2701 checkUnnamed3147(o.userFn);
2702 } 2702 }
2703 buildCounterSeqMapTask--; 2703 buildCounterSeqMapTask--;
2704 } 2704 }
2705 2705
2706 core.int buildCounterSeqMapTaskOutputInfo = 0; 2706 core.int buildCounterSeqMapTaskOutputInfo = 0;
2707 buildSeqMapTaskOutputInfo() { 2707 buildSeqMapTaskOutputInfo() {
2708 var o = new api.SeqMapTaskOutputInfo(); 2708 var o = new api.SeqMapTaskOutputInfo();
2709 buildCounterSeqMapTaskOutputInfo++; 2709 buildCounterSeqMapTaskOutputInfo++;
2710 if (buildCounterSeqMapTaskOutputInfo < 3) { 2710 if (buildCounterSeqMapTaskOutputInfo < 3) {
2711 o.sink = buildSink(); 2711 o.sink = buildSink();
(...skipping 26 matching lines...) Expand all
2738 2738
2739 checkShellTask(api.ShellTask o) { 2739 checkShellTask(api.ShellTask o) {
2740 buildCounterShellTask++; 2740 buildCounterShellTask++;
2741 if (buildCounterShellTask < 3) { 2741 if (buildCounterShellTask < 3) {
2742 unittest.expect(o.command, unittest.equals('foo')); 2742 unittest.expect(o.command, unittest.equals('foo'));
2743 unittest.expect(o.exitCode, unittest.equals(42)); 2743 unittest.expect(o.exitCode, unittest.equals(42));
2744 } 2744 }
2745 buildCounterShellTask--; 2745 buildCounterShellTask--;
2746 } 2746 }
2747 2747
2748 buildUnnamed3127() { 2748 buildUnnamed3148() {
2749 var o = new core.Map<core.String, core.Object>(); 2749 var o = new core.Map<core.String, core.Object>();
2750 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2750 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2751 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2751 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2752 return o; 2752 return o;
2753 } 2753 }
2754 2754
2755 checkUnnamed3127(core.Map<core.String, core.Object> o) { 2755 checkUnnamed3148(core.Map<core.String, core.Object> o) {
2756 unittest.expect(o, unittest.hasLength(2)); 2756 unittest.expect(o, unittest.hasLength(2));
2757 var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLen gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest .expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri ng"], unittest.equals('foo')); 2757 var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLen gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest .expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri ng"], unittest.equals('foo'));
2758 var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLen gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest .expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri ng"], unittest.equals('foo')); 2758 var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLen gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest .expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri ng"], unittest.equals('foo'));
2759 } 2759 }
2760 2760
2761 buildUnnamed3128() { 2761 buildUnnamed3149() {
2762 var o = new core.List<api.Source>(); 2762 var o = new core.List<api.Source>();
2763 o.add(buildSource()); 2763 o.add(buildSource());
2764 o.add(buildSource()); 2764 o.add(buildSource());
2765 return o; 2765 return o;
2766 } 2766 }
2767 2767
2768 checkUnnamed3128(core.List<api.Source> o) { 2768 checkUnnamed3149(core.List<api.Source> o) {
2769 unittest.expect(o, unittest.hasLength(2)); 2769 unittest.expect(o, unittest.hasLength(2));
2770 checkSource(o[0]); 2770 checkSource(o[0]);
2771 checkSource(o[1]); 2771 checkSource(o[1]);
2772 } 2772 }
2773 2773
2774 core.int buildCounterSideInputInfo = 0; 2774 core.int buildCounterSideInputInfo = 0;
2775 buildSideInputInfo() { 2775 buildSideInputInfo() {
2776 var o = new api.SideInputInfo(); 2776 var o = new api.SideInputInfo();
2777 buildCounterSideInputInfo++; 2777 buildCounterSideInputInfo++;
2778 if (buildCounterSideInputInfo < 3) { 2778 if (buildCounterSideInputInfo < 3) {
2779 o.kind = buildUnnamed3127(); 2779 o.kind = buildUnnamed3148();
2780 o.sources = buildUnnamed3128(); 2780 o.sources = buildUnnamed3149();
2781 o.tag = "foo"; 2781 o.tag = "foo";
2782 } 2782 }
2783 buildCounterSideInputInfo--; 2783 buildCounterSideInputInfo--;
2784 return o; 2784 return o;
2785 } 2785 }
2786 2786
2787 checkSideInputInfo(api.SideInputInfo o) { 2787 checkSideInputInfo(api.SideInputInfo o) {
2788 buildCounterSideInputInfo++; 2788 buildCounterSideInputInfo++;
2789 if (buildCounterSideInputInfo < 3) { 2789 if (buildCounterSideInputInfo < 3) {
2790 checkUnnamed3127(o.kind); 2790 checkUnnamed3148(o.kind);
2791 checkUnnamed3128(o.sources); 2791 checkUnnamed3149(o.sources);
2792 unittest.expect(o.tag, unittest.equals('foo')); 2792 unittest.expect(o.tag, unittest.equals('foo'));
2793 } 2793 }
2794 buildCounterSideInputInfo--; 2794 buildCounterSideInputInfo--;
2795 } 2795 }
2796 2796
2797 buildUnnamed3129() { 2797 buildUnnamed3150() {
2798 var o = new core.Map<core.String, core.Object>(); 2798 var o = new core.Map<core.String, core.Object>();
2799 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2799 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2800 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2800 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2801 return o; 2801 return o;
2802 } 2802 }
2803 2803
2804 checkUnnamed3129(core.Map<core.String, core.Object> o) { 2804 checkUnnamed3150(core.Map<core.String, core.Object> o) {
2805 unittest.expect(o, unittest.hasLength(2)); 2805 unittest.expect(o, unittest.hasLength(2));
2806 var casted29 = (o["x"]) as core.Map; unittest.expect(casted29, unittest.hasLen gth(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest .expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["stri ng"], unittest.equals('foo')); 2806 var casted29 = (o["x"]) as core.Map; unittest.expect(casted29, unittest.hasLen gth(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest .expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["stri ng"], unittest.equals('foo'));
2807 var casted30 = (o["y"]) as core.Map; unittest.expect(casted30, unittest.hasLen gth(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest .expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["stri ng"], unittest.equals('foo')); 2807 var casted30 = (o["y"]) as core.Map; unittest.expect(casted30, unittest.hasLen gth(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest .expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["stri ng"], unittest.equals('foo'));
2808 } 2808 }
2809 2809
2810 buildUnnamed3130() { 2810 buildUnnamed3151() {
2811 var o = new core.Map<core.String, core.Object>(); 2811 var o = new core.Map<core.String, core.Object>();
2812 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2812 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2813 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2813 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2814 return o; 2814 return o;
2815 } 2815 }
2816 2816
2817 checkUnnamed3130(core.Map<core.String, core.Object> o) { 2817 checkUnnamed3151(core.Map<core.String, core.Object> o) {
2818 unittest.expect(o, unittest.hasLength(2)); 2818 unittest.expect(o, unittest.hasLength(2));
2819 var casted31 = (o["x"]) as core.Map; unittest.expect(casted31, unittest.hasLen gth(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest .expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["stri ng"], unittest.equals('foo')); 2819 var casted31 = (o["x"]) as core.Map; unittest.expect(casted31, unittest.hasLen gth(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest .expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["stri ng"], unittest.equals('foo'));
2820 var casted32 = (o["y"]) as core.Map; unittest.expect(casted32, unittest.hasLen gth(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest .expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["stri ng"], unittest.equals('foo')); 2820 var casted32 = (o["y"]) as core.Map; unittest.expect(casted32, unittest.hasLen gth(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest .expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["stri ng"], unittest.equals('foo'));
2821 } 2821 }
2822 2822
2823 core.int buildCounterSink = 0; 2823 core.int buildCounterSink = 0;
2824 buildSink() { 2824 buildSink() {
2825 var o = new api.Sink(); 2825 var o = new api.Sink();
2826 buildCounterSink++; 2826 buildCounterSink++;
2827 if (buildCounterSink < 3) { 2827 if (buildCounterSink < 3) {
2828 o.codec = buildUnnamed3129(); 2828 o.codec = buildUnnamed3150();
2829 o.spec = buildUnnamed3130(); 2829 o.spec = buildUnnamed3151();
2830 } 2830 }
2831 buildCounterSink--; 2831 buildCounterSink--;
2832 return o; 2832 return o;
2833 } 2833 }
2834 2834
2835 checkSink(api.Sink o) { 2835 checkSink(api.Sink o) {
2836 buildCounterSink++; 2836 buildCounterSink++;
2837 if (buildCounterSink < 3) { 2837 if (buildCounterSink < 3) {
2838 checkUnnamed3129(o.codec); 2838 checkUnnamed3150(o.codec);
2839 checkUnnamed3130(o.spec); 2839 checkUnnamed3151(o.spec);
2840 } 2840 }
2841 buildCounterSink--; 2841 buildCounterSink--;
2842 } 2842 }
2843 2843
2844 buildUnnamed3131() { 2844 buildUnnamed3152() {
2845 var o = new core.Map<core.String, core.Object>(); 2845 var o = new core.Map<core.String, core.Object>();
2846 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2846 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2847 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2847 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2848 return o; 2848 return o;
2849 } 2849 }
2850 2850
2851 checkUnnamed3131(core.Map<core.String, core.Object> o) { 2851 checkUnnamed3152(core.Map<core.String, core.Object> o) {
2852 unittest.expect(o, unittest.hasLength(2)); 2852 unittest.expect(o, unittest.hasLength(2));
2853 var casted33 = (o["x"]) as core.Map; unittest.expect(casted33, unittest.hasLen gth(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest .expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["stri ng"], unittest.equals('foo')); 2853 var casted33 = (o["x"]) as core.Map; unittest.expect(casted33, unittest.hasLen gth(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest .expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["stri ng"], unittest.equals('foo'));
2854 var casted34 = (o["y"]) as core.Map; unittest.expect(casted34, unittest.hasLen gth(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest .expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["stri ng"], unittest.equals('foo')); 2854 var casted34 = (o["y"]) as core.Map; unittest.expect(casted34, unittest.hasLen gth(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest .expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["stri ng"], unittest.equals('foo'));
2855 } 2855 }
2856 2856
2857 buildUnnamed3132() { 2857 buildUnnamed3153() {
2858 var o = new core.List<core.Map<core.String, core.Object>>(); 2858 var o = new core.List<core.Map<core.String, core.Object>>();
2859 o.add(buildUnnamed3131()); 2859 o.add(buildUnnamed3152());
2860 o.add(buildUnnamed3131()); 2860 o.add(buildUnnamed3152());
2861 return o; 2861 return o;
2862 } 2862 }
2863 2863
2864 checkUnnamed3132(core.List<core.Map<core.String, core.Object>> o) { 2864 checkUnnamed3153(core.List<core.Map<core.String, core.Object>> o) {
2865 unittest.expect(o, unittest.hasLength(2)); 2865 unittest.expect(o, unittest.hasLength(2));
2866 checkUnnamed3131(o[0]); 2866 checkUnnamed3152(o[0]);
2867 checkUnnamed3131(o[1]); 2867 checkUnnamed3152(o[1]);
2868 } 2868 }
2869 2869
2870 buildUnnamed3133() { 2870 buildUnnamed3154() {
2871 var o = new core.Map<core.String, core.Object>(); 2871 var o = new core.Map<core.String, core.Object>();
2872 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2872 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2873 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2873 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2874 return o; 2874 return o;
2875 } 2875 }
2876 2876
2877 checkUnnamed3133(core.Map<core.String, core.Object> o) { 2877 checkUnnamed3154(core.Map<core.String, core.Object> o) {
2878 unittest.expect(o, unittest.hasLength(2)); 2878 unittest.expect(o, unittest.hasLength(2));
2879 var casted35 = (o["x"]) as core.Map; unittest.expect(casted35, unittest.hasLen gth(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest .expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["stri ng"], unittest.equals('foo')); 2879 var casted35 = (o["x"]) as core.Map; unittest.expect(casted35, unittest.hasLen gth(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest .expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["stri ng"], unittest.equals('foo'));
2880 var casted36 = (o["y"]) as core.Map; unittest.expect(casted36, unittest.hasLen gth(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest .expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["stri ng"], unittest.equals('foo')); 2880 var casted36 = (o["y"]) as core.Map; unittest.expect(casted36, unittest.hasLen gth(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest .expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["stri ng"], unittest.equals('foo'));
2881 } 2881 }
2882 2882
2883 buildUnnamed3134() { 2883 buildUnnamed3155() {
2884 var o = new core.Map<core.String, core.Object>(); 2884 var o = new core.Map<core.String, core.Object>();
2885 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2885 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2886 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2886 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2887 return o; 2887 return o;
2888 } 2888 }
2889 2889
2890 checkUnnamed3134(core.Map<core.String, core.Object> o) { 2890 checkUnnamed3155(core.Map<core.String, core.Object> o) {
2891 unittest.expect(o, unittest.hasLength(2)); 2891 unittest.expect(o, unittest.hasLength(2));
2892 var casted37 = (o["x"]) as core.Map; unittest.expect(casted37, unittest.hasLen gth(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest .expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["stri ng"], unittest.equals('foo')); 2892 var casted37 = (o["x"]) as core.Map; unittest.expect(casted37, unittest.hasLen gth(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest .expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["stri ng"], unittest.equals('foo'));
2893 var casted38 = (o["y"]) as core.Map; unittest.expect(casted38, unittest.hasLen gth(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest .expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["stri ng"], unittest.equals('foo')); 2893 var casted38 = (o["y"]) as core.Map; unittest.expect(casted38, unittest.hasLen gth(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest .expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["stri ng"], unittest.equals('foo'));
2894 } 2894 }
2895 2895
2896 core.int buildCounterSource = 0; 2896 core.int buildCounterSource = 0;
2897 buildSource() { 2897 buildSource() {
2898 var o = new api.Source(); 2898 var o = new api.Source();
2899 buildCounterSource++; 2899 buildCounterSource++;
2900 if (buildCounterSource < 3) { 2900 if (buildCounterSource < 3) {
2901 o.baseSpecs = buildUnnamed3132(); 2901 o.baseSpecs = buildUnnamed3153();
2902 o.codec = buildUnnamed3133(); 2902 o.codec = buildUnnamed3154();
2903 o.doesNotNeedSplitting = true; 2903 o.doesNotNeedSplitting = true;
2904 o.metadata = buildSourceMetadata(); 2904 o.metadata = buildSourceMetadata();
2905 o.spec = buildUnnamed3134(); 2905 o.spec = buildUnnamed3155();
2906 } 2906 }
2907 buildCounterSource--; 2907 buildCounterSource--;
2908 return o; 2908 return o;
2909 } 2909 }
2910 2910
2911 checkSource(api.Source o) { 2911 checkSource(api.Source o) {
2912 buildCounterSource++; 2912 buildCounterSource++;
2913 if (buildCounterSource < 3) { 2913 if (buildCounterSource < 3) {
2914 checkUnnamed3132(o.baseSpecs); 2914 checkUnnamed3153(o.baseSpecs);
2915 checkUnnamed3133(o.codec); 2915 checkUnnamed3154(o.codec);
2916 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); 2916 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
2917 checkSourceMetadata(o.metadata); 2917 checkSourceMetadata(o.metadata);
2918 checkUnnamed3134(o.spec); 2918 checkUnnamed3155(o.spec);
2919 } 2919 }
2920 buildCounterSource--; 2920 buildCounterSource--;
2921 } 2921 }
2922 2922
2923 core.int buildCounterSourceFork = 0; 2923 core.int buildCounterSourceFork = 0;
2924 buildSourceFork() { 2924 buildSourceFork() {
2925 var o = new api.SourceFork(); 2925 var o = new api.SourceFork();
2926 buildCounterSourceFork++; 2926 buildCounterSourceFork++;
2927 if (buildCounterSourceFork < 3) { 2927 if (buildCounterSourceFork < 3) {
2928 o.primary = buildSourceSplitShard(); 2928 o.primary = buildSourceSplitShard();
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
3083 3083
3084 checkSourceSplitRequest(api.SourceSplitRequest o) { 3084 checkSourceSplitRequest(api.SourceSplitRequest o) {
3085 buildCounterSourceSplitRequest++; 3085 buildCounterSourceSplitRequest++;
3086 if (buildCounterSourceSplitRequest < 3) { 3086 if (buildCounterSourceSplitRequest < 3) {
3087 checkSourceSplitOptions(o.options); 3087 checkSourceSplitOptions(o.options);
3088 checkSource(o.source); 3088 checkSource(o.source);
3089 } 3089 }
3090 buildCounterSourceSplitRequest--; 3090 buildCounterSourceSplitRequest--;
3091 } 3091 }
3092 3092
3093 buildUnnamed3135() { 3093 buildUnnamed3156() {
3094 var o = new core.List<api.DerivedSource>(); 3094 var o = new core.List<api.DerivedSource>();
3095 o.add(buildDerivedSource()); 3095 o.add(buildDerivedSource());
3096 o.add(buildDerivedSource()); 3096 o.add(buildDerivedSource());
3097 return o; 3097 return o;
3098 } 3098 }
3099 3099
3100 checkUnnamed3135(core.List<api.DerivedSource> o) { 3100 checkUnnamed3156(core.List<api.DerivedSource> o) {
3101 unittest.expect(o, unittest.hasLength(2)); 3101 unittest.expect(o, unittest.hasLength(2));
3102 checkDerivedSource(o[0]); 3102 checkDerivedSource(o[0]);
3103 checkDerivedSource(o[1]); 3103 checkDerivedSource(o[1]);
3104 } 3104 }
3105 3105
3106 buildUnnamed3136() { 3106 buildUnnamed3157() {
3107 var o = new core.List<api.SourceSplitShard>(); 3107 var o = new core.List<api.SourceSplitShard>();
3108 o.add(buildSourceSplitShard()); 3108 o.add(buildSourceSplitShard());
3109 o.add(buildSourceSplitShard()); 3109 o.add(buildSourceSplitShard());
3110 return o; 3110 return o;
3111 } 3111 }
3112 3112
3113 checkUnnamed3136(core.List<api.SourceSplitShard> o) { 3113 checkUnnamed3157(core.List<api.SourceSplitShard> o) {
3114 unittest.expect(o, unittest.hasLength(2)); 3114 unittest.expect(o, unittest.hasLength(2));
3115 checkSourceSplitShard(o[0]); 3115 checkSourceSplitShard(o[0]);
3116 checkSourceSplitShard(o[1]); 3116 checkSourceSplitShard(o[1]);
3117 } 3117 }
3118 3118
3119 core.int buildCounterSourceSplitResponse = 0; 3119 core.int buildCounterSourceSplitResponse = 0;
3120 buildSourceSplitResponse() { 3120 buildSourceSplitResponse() {
3121 var o = new api.SourceSplitResponse(); 3121 var o = new api.SourceSplitResponse();
3122 buildCounterSourceSplitResponse++; 3122 buildCounterSourceSplitResponse++;
3123 if (buildCounterSourceSplitResponse < 3) { 3123 if (buildCounterSourceSplitResponse < 3) {
3124 o.bundles = buildUnnamed3135(); 3124 o.bundles = buildUnnamed3156();
3125 o.outcome = "foo"; 3125 o.outcome = "foo";
3126 o.shards = buildUnnamed3136(); 3126 o.shards = buildUnnamed3157();
3127 } 3127 }
3128 buildCounterSourceSplitResponse--; 3128 buildCounterSourceSplitResponse--;
3129 return o; 3129 return o;
3130 } 3130 }
3131 3131
3132 checkSourceSplitResponse(api.SourceSplitResponse o) { 3132 checkSourceSplitResponse(api.SourceSplitResponse o) {
3133 buildCounterSourceSplitResponse++; 3133 buildCounterSourceSplitResponse++;
3134 if (buildCounterSourceSplitResponse < 3) { 3134 if (buildCounterSourceSplitResponse < 3) {
3135 checkUnnamed3135(o.bundles); 3135 checkUnnamed3156(o.bundles);
3136 unittest.expect(o.outcome, unittest.equals('foo')); 3136 unittest.expect(o.outcome, unittest.equals('foo'));
3137 checkUnnamed3136(o.shards); 3137 checkUnnamed3157(o.shards);
3138 } 3138 }
3139 buildCounterSourceSplitResponse--; 3139 buildCounterSourceSplitResponse--;
3140 } 3140 }
3141 3141
3142 core.int buildCounterSourceSplitShard = 0; 3142 core.int buildCounterSourceSplitShard = 0;
3143 buildSourceSplitShard() { 3143 buildSourceSplitShard() {
3144 var o = new api.SourceSplitShard(); 3144 var o = new api.SourceSplitShard();
3145 buildCounterSourceSplitShard++; 3145 buildCounterSourceSplitShard++;
3146 if (buildCounterSourceSplitShard < 3) { 3146 if (buildCounterSourceSplitShard < 3) {
3147 o.derivationMode = "foo"; 3147 o.derivationMode = "foo";
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
3220 3220
3221 checkStateFamilyConfig(api.StateFamilyConfig o) { 3221 checkStateFamilyConfig(api.StateFamilyConfig o) {
3222 buildCounterStateFamilyConfig++; 3222 buildCounterStateFamilyConfig++;
3223 if (buildCounterStateFamilyConfig < 3) { 3223 if (buildCounterStateFamilyConfig < 3) {
3224 unittest.expect(o.isRead, unittest.isTrue); 3224 unittest.expect(o.isRead, unittest.isTrue);
3225 unittest.expect(o.stateFamily, unittest.equals('foo')); 3225 unittest.expect(o.stateFamily, unittest.equals('foo'));
3226 } 3226 }
3227 buildCounterStateFamilyConfig--; 3227 buildCounterStateFamilyConfig--;
3228 } 3228 }
3229 3229
3230 buildUnnamed3137() { 3230 buildUnnamed3158() {
3231 var o = new core.Map<core.String, core.Object>(); 3231 var o = new core.Map<core.String, core.Object>();
3232 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3232 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3233 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3233 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3234 return o; 3234 return o;
3235 } 3235 }
3236 3236
3237 checkUnnamed3137(core.Map<core.String, core.Object> o) { 3237 checkUnnamed3158(core.Map<core.String, core.Object> o) {
3238 unittest.expect(o, unittest.hasLength(2)); 3238 unittest.expect(o, unittest.hasLength(2));
3239 var casted39 = (o["x"]) as core.Map; unittest.expect(casted39, unittest.hasLen gth(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest .expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["stri ng"], unittest.equals('foo')); 3239 var casted39 = (o["x"]) as core.Map; unittest.expect(casted39, unittest.hasLen gth(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest .expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["stri ng"], unittest.equals('foo'));
3240 var casted40 = (o["y"]) as core.Map; unittest.expect(casted40, unittest.hasLen gth(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest .expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["stri ng"], unittest.equals('foo')); 3240 var casted40 = (o["y"]) as core.Map; unittest.expect(casted40, unittest.hasLen gth(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest .expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["stri ng"], unittest.equals('foo'));
3241 } 3241 }
3242 3242
3243 buildUnnamed3138() { 3243 buildUnnamed3159() {
3244 var o = new core.List<core.Map<core.String, core.Object>>(); 3244 var o = new core.List<core.Map<core.String, core.Object>>();
3245 o.add(buildUnnamed3137()); 3245 o.add(buildUnnamed3158());
3246 o.add(buildUnnamed3137()); 3246 o.add(buildUnnamed3158());
3247 return o; 3247 return o;
3248 } 3248 }
3249 3249
3250 checkUnnamed3138(core.List<core.Map<core.String, core.Object>> o) { 3250 checkUnnamed3159(core.List<core.Map<core.String, core.Object>> o) {
3251 unittest.expect(o, unittest.hasLength(2)); 3251 unittest.expect(o, unittest.hasLength(2));
3252 checkUnnamed3137(o[0]); 3252 checkUnnamed3158(o[0]);
3253 checkUnnamed3137(o[1]); 3253 checkUnnamed3158(o[1]);
3254 } 3254 }
3255 3255
3256 core.int buildCounterStatus = 0; 3256 core.int buildCounterStatus = 0;
3257 buildStatus() { 3257 buildStatus() {
3258 var o = new api.Status(); 3258 var o = new api.Status();
3259 buildCounterStatus++; 3259 buildCounterStatus++;
3260 if (buildCounterStatus < 3) { 3260 if (buildCounterStatus < 3) {
3261 o.code = 42; 3261 o.code = 42;
3262 o.details = buildUnnamed3138(); 3262 o.details = buildUnnamed3159();
3263 o.message = "foo"; 3263 o.message = "foo";
3264 } 3264 }
3265 buildCounterStatus--; 3265 buildCounterStatus--;
3266 return o; 3266 return o;
3267 } 3267 }
3268 3268
3269 checkStatus(api.Status o) { 3269 checkStatus(api.Status o) {
3270 buildCounterStatus++; 3270 buildCounterStatus++;
3271 if (buildCounterStatus < 3) { 3271 if (buildCounterStatus < 3) {
3272 unittest.expect(o.code, unittest.equals(42)); 3272 unittest.expect(o.code, unittest.equals(42));
3273 checkUnnamed3138(o.details); 3273 checkUnnamed3159(o.details);
3274 unittest.expect(o.message, unittest.equals('foo')); 3274 unittest.expect(o.message, unittest.equals('foo'));
3275 } 3275 }
3276 buildCounterStatus--; 3276 buildCounterStatus--;
3277 } 3277 }
3278 3278
3279 buildUnnamed3139() { 3279 buildUnnamed3160() {
3280 var o = new core.Map<core.String, core.Object>(); 3280 var o = new core.Map<core.String, core.Object>();
3281 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3281 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3282 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3282 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3283 return o; 3283 return o;
3284 } 3284 }
3285 3285
3286 checkUnnamed3139(core.Map<core.String, core.Object> o) { 3286 checkUnnamed3160(core.Map<core.String, core.Object> o) {
3287 unittest.expect(o, unittest.hasLength(2)); 3287 unittest.expect(o, unittest.hasLength(2));
3288 var casted41 = (o["x"]) as core.Map; unittest.expect(casted41, unittest.hasLen gth(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest .expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["stri ng"], unittest.equals('foo')); 3288 var casted41 = (o["x"]) as core.Map; unittest.expect(casted41, unittest.hasLen gth(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest .expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["stri ng"], unittest.equals('foo'));
3289 var casted42 = (o["y"]) as core.Map; unittest.expect(casted42, unittest.hasLen gth(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest .expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["stri ng"], unittest.equals('foo')); 3289 var casted42 = (o["y"]) as core.Map; unittest.expect(casted42, unittest.hasLen gth(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest .expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["stri ng"], unittest.equals('foo'));
3290 } 3290 }
3291 3291
3292 core.int buildCounterStep = 0; 3292 core.int buildCounterStep = 0;
3293 buildStep() { 3293 buildStep() {
3294 var o = new api.Step(); 3294 var o = new api.Step();
3295 buildCounterStep++; 3295 buildCounterStep++;
3296 if (buildCounterStep < 3) { 3296 if (buildCounterStep < 3) {
3297 o.kind = "foo"; 3297 o.kind = "foo";
3298 o.name = "foo"; 3298 o.name = "foo";
3299 o.properties = buildUnnamed3139(); 3299 o.properties = buildUnnamed3160();
3300 } 3300 }
3301 buildCounterStep--; 3301 buildCounterStep--;
3302 return o; 3302 return o;
3303 } 3303 }
3304 3304
3305 checkStep(api.Step o) { 3305 checkStep(api.Step o) {
3306 buildCounterStep++; 3306 buildCounterStep++;
3307 if (buildCounterStep < 3) { 3307 if (buildCounterStep < 3) {
3308 unittest.expect(o.kind, unittest.equals('foo')); 3308 unittest.expect(o.kind, unittest.equals('foo'));
3309 unittest.expect(o.name, unittest.equals('foo')); 3309 unittest.expect(o.name, unittest.equals('foo'));
3310 checkUnnamed3139(o.properties); 3310 checkUnnamed3160(o.properties);
3311 } 3311 }
3312 buildCounterStep--; 3312 buildCounterStep--;
3313 } 3313 }
3314 3314
3315 core.int buildCounterStreamLocation = 0; 3315 core.int buildCounterStreamLocation = 0;
3316 buildStreamLocation() { 3316 buildStreamLocation() {
3317 var o = new api.StreamLocation(); 3317 var o = new api.StreamLocation();
3318 buildCounterStreamLocation++; 3318 buildCounterStreamLocation++;
3319 if (buildCounterStreamLocation < 3) { 3319 if (buildCounterStreamLocation < 3) {
3320 o.customSourceLocation = buildCustomSourceLocation(); 3320 o.customSourceLocation = buildCustomSourceLocation();
3321 o.pubsubLocation = buildPubsubLocation(); 3321 o.pubsubLocation = buildPubsubLocation();
3322 o.sideInputLocation = buildStreamingSideInputLocation(); 3322 o.sideInputLocation = buildStreamingSideInputLocation();
3323 o.streamingStageLocation = buildStreamingStageLocation(); 3323 o.streamingStageLocation = buildStreamingStageLocation();
3324 } 3324 }
3325 buildCounterStreamLocation--; 3325 buildCounterStreamLocation--;
3326 return o; 3326 return o;
3327 } 3327 }
3328 3328
3329 checkStreamLocation(api.StreamLocation o) { 3329 checkStreamLocation(api.StreamLocation o) {
3330 buildCounterStreamLocation++; 3330 buildCounterStreamLocation++;
3331 if (buildCounterStreamLocation < 3) { 3331 if (buildCounterStreamLocation < 3) {
3332 checkCustomSourceLocation(o.customSourceLocation); 3332 checkCustomSourceLocation(o.customSourceLocation);
3333 checkPubsubLocation(o.pubsubLocation); 3333 checkPubsubLocation(o.pubsubLocation);
3334 checkStreamingSideInputLocation(o.sideInputLocation); 3334 checkStreamingSideInputLocation(o.sideInputLocation);
3335 checkStreamingStageLocation(o.streamingStageLocation); 3335 checkStreamingStageLocation(o.streamingStageLocation);
3336 } 3336 }
3337 buildCounterStreamLocation--; 3337 buildCounterStreamLocation--;
3338 } 3338 }
3339 3339
3340 buildUnnamed3140() { 3340 buildUnnamed3161() {
3341 var o = new core.List<api.ParallelInstruction>(); 3341 var o = new core.List<api.ParallelInstruction>();
3342 o.add(buildParallelInstruction()); 3342 o.add(buildParallelInstruction());
3343 o.add(buildParallelInstruction()); 3343 o.add(buildParallelInstruction());
3344 return o; 3344 return o;
3345 } 3345 }
3346 3346
3347 checkUnnamed3140(core.List<api.ParallelInstruction> o) { 3347 checkUnnamed3161(core.List<api.ParallelInstruction> o) {
3348 unittest.expect(o, unittest.hasLength(2)); 3348 unittest.expect(o, unittest.hasLength(2));
3349 checkParallelInstruction(o[0]); 3349 checkParallelInstruction(o[0]);
3350 checkParallelInstruction(o[1]); 3350 checkParallelInstruction(o[1]);
3351 } 3351 }
3352 3352
3353 core.int buildCounterStreamingComputationConfig = 0; 3353 core.int buildCounterStreamingComputationConfig = 0;
3354 buildStreamingComputationConfig() { 3354 buildStreamingComputationConfig() {
3355 var o = new api.StreamingComputationConfig(); 3355 var o = new api.StreamingComputationConfig();
3356 buildCounterStreamingComputationConfig++; 3356 buildCounterStreamingComputationConfig++;
3357 if (buildCounterStreamingComputationConfig < 3) { 3357 if (buildCounterStreamingComputationConfig < 3) {
3358 o.computationId = "foo"; 3358 o.computationId = "foo";
3359 o.instructions = buildUnnamed3140(); 3359 o.instructions = buildUnnamed3161();
3360 o.stageName = "foo"; 3360 o.stageName = "foo";
3361 o.systemName = "foo"; 3361 o.systemName = "foo";
3362 } 3362 }
3363 buildCounterStreamingComputationConfig--; 3363 buildCounterStreamingComputationConfig--;
3364 return o; 3364 return o;
3365 } 3365 }
3366 3366
3367 checkStreamingComputationConfig(api.StreamingComputationConfig o) { 3367 checkStreamingComputationConfig(api.StreamingComputationConfig o) {
3368 buildCounterStreamingComputationConfig++; 3368 buildCounterStreamingComputationConfig++;
3369 if (buildCounterStreamingComputationConfig < 3) { 3369 if (buildCounterStreamingComputationConfig < 3) {
3370 unittest.expect(o.computationId, unittest.equals('foo')); 3370 unittest.expect(o.computationId, unittest.equals('foo'));
3371 checkUnnamed3140(o.instructions); 3371 checkUnnamed3161(o.instructions);
3372 unittest.expect(o.stageName, unittest.equals('foo')); 3372 unittest.expect(o.stageName, unittest.equals('foo'));
3373 unittest.expect(o.systemName, unittest.equals('foo')); 3373 unittest.expect(o.systemName, unittest.equals('foo'));
3374 } 3374 }
3375 buildCounterStreamingComputationConfig--; 3375 buildCounterStreamingComputationConfig--;
3376 } 3376 }
3377 3377
3378 buildUnnamed3141() { 3378 buildUnnamed3162() {
3379 var o = new core.List<api.KeyRangeDataDiskAssignment>(); 3379 var o = new core.List<api.KeyRangeDataDiskAssignment>();
3380 o.add(buildKeyRangeDataDiskAssignment()); 3380 o.add(buildKeyRangeDataDiskAssignment());
3381 o.add(buildKeyRangeDataDiskAssignment()); 3381 o.add(buildKeyRangeDataDiskAssignment());
3382 return o; 3382 return o;
3383 } 3383 }
3384 3384
3385 checkUnnamed3141(core.List<api.KeyRangeDataDiskAssignment> o) { 3385 checkUnnamed3162(core.List<api.KeyRangeDataDiskAssignment> o) {
3386 unittest.expect(o, unittest.hasLength(2)); 3386 unittest.expect(o, unittest.hasLength(2));
3387 checkKeyRangeDataDiskAssignment(o[0]); 3387 checkKeyRangeDataDiskAssignment(o[0]);
3388 checkKeyRangeDataDiskAssignment(o[1]); 3388 checkKeyRangeDataDiskAssignment(o[1]);
3389 } 3389 }
3390 3390
3391 core.int buildCounterStreamingComputationRanges = 0; 3391 core.int buildCounterStreamingComputationRanges = 0;
3392 buildStreamingComputationRanges() { 3392 buildStreamingComputationRanges() {
3393 var o = new api.StreamingComputationRanges(); 3393 var o = new api.StreamingComputationRanges();
3394 buildCounterStreamingComputationRanges++; 3394 buildCounterStreamingComputationRanges++;
3395 if (buildCounterStreamingComputationRanges < 3) { 3395 if (buildCounterStreamingComputationRanges < 3) {
3396 o.computationId = "foo"; 3396 o.computationId = "foo";
3397 o.rangeAssignments = buildUnnamed3141(); 3397 o.rangeAssignments = buildUnnamed3162();
3398 } 3398 }
3399 buildCounterStreamingComputationRanges--; 3399 buildCounterStreamingComputationRanges--;
3400 return o; 3400 return o;
3401 } 3401 }
3402 3402
3403 checkStreamingComputationRanges(api.StreamingComputationRanges o) { 3403 checkStreamingComputationRanges(api.StreamingComputationRanges o) {
3404 buildCounterStreamingComputationRanges++; 3404 buildCounterStreamingComputationRanges++;
3405 if (buildCounterStreamingComputationRanges < 3) { 3405 if (buildCounterStreamingComputationRanges < 3) {
3406 unittest.expect(o.computationId, unittest.equals('foo')); 3406 unittest.expect(o.computationId, unittest.equals('foo'));
3407 checkUnnamed3141(o.rangeAssignments); 3407 checkUnnamed3162(o.rangeAssignments);
3408 } 3408 }
3409 buildCounterStreamingComputationRanges--; 3409 buildCounterStreamingComputationRanges--;
3410 } 3410 }
3411 3411
3412 buildUnnamed3142() { 3412 buildUnnamed3163() {
3413 var o = new core.List<api.StreamingComputationRanges>(); 3413 var o = new core.List<api.StreamingComputationRanges>();
3414 o.add(buildStreamingComputationRanges()); 3414 o.add(buildStreamingComputationRanges());
3415 o.add(buildStreamingComputationRanges()); 3415 o.add(buildStreamingComputationRanges());
3416 return o; 3416 return o;
3417 } 3417 }
3418 3418
3419 checkUnnamed3142(core.List<api.StreamingComputationRanges> o) { 3419 checkUnnamed3163(core.List<api.StreamingComputationRanges> o) {
3420 unittest.expect(o, unittest.hasLength(2)); 3420 unittest.expect(o, unittest.hasLength(2));
3421 checkStreamingComputationRanges(o[0]); 3421 checkStreamingComputationRanges(o[0]);
3422 checkStreamingComputationRanges(o[1]); 3422 checkStreamingComputationRanges(o[1]);
3423 } 3423 }
3424 3424
3425 buildUnnamed3143() { 3425 buildUnnamed3164() {
3426 var o = new core.List<api.MountedDataDisk>(); 3426 var o = new core.List<api.MountedDataDisk>();
3427 o.add(buildMountedDataDisk()); 3427 o.add(buildMountedDataDisk());
3428 o.add(buildMountedDataDisk()); 3428 o.add(buildMountedDataDisk());
3429 return o; 3429 return o;
3430 } 3430 }
3431 3431
3432 checkUnnamed3143(core.List<api.MountedDataDisk> o) { 3432 checkUnnamed3164(core.List<api.MountedDataDisk> o) {
3433 unittest.expect(o, unittest.hasLength(2)); 3433 unittest.expect(o, unittest.hasLength(2));
3434 checkMountedDataDisk(o[0]); 3434 checkMountedDataDisk(o[0]);
3435 checkMountedDataDisk(o[1]); 3435 checkMountedDataDisk(o[1]);
3436 } 3436 }
3437 3437
3438 core.int buildCounterStreamingComputationTask = 0; 3438 core.int buildCounterStreamingComputationTask = 0;
3439 buildStreamingComputationTask() { 3439 buildStreamingComputationTask() {
3440 var o = new api.StreamingComputationTask(); 3440 var o = new api.StreamingComputationTask();
3441 buildCounterStreamingComputationTask++; 3441 buildCounterStreamingComputationTask++;
3442 if (buildCounterStreamingComputationTask < 3) { 3442 if (buildCounterStreamingComputationTask < 3) {
3443 o.computationRanges = buildUnnamed3142(); 3443 o.computationRanges = buildUnnamed3163();
3444 o.dataDisks = buildUnnamed3143(); 3444 o.dataDisks = buildUnnamed3164();
3445 o.taskType = "foo"; 3445 o.taskType = "foo";
3446 } 3446 }
3447 buildCounterStreamingComputationTask--; 3447 buildCounterStreamingComputationTask--;
3448 return o; 3448 return o;
3449 } 3449 }
3450 3450
3451 checkStreamingComputationTask(api.StreamingComputationTask o) { 3451 checkStreamingComputationTask(api.StreamingComputationTask o) {
3452 buildCounterStreamingComputationTask++; 3452 buildCounterStreamingComputationTask++;
3453 if (buildCounterStreamingComputationTask < 3) { 3453 if (buildCounterStreamingComputationTask < 3) {
3454 checkUnnamed3142(o.computationRanges); 3454 checkUnnamed3163(o.computationRanges);
3455 checkUnnamed3143(o.dataDisks); 3455 checkUnnamed3164(o.dataDisks);
3456 unittest.expect(o.taskType, unittest.equals('foo')); 3456 unittest.expect(o.taskType, unittest.equals('foo'));
3457 } 3457 }
3458 buildCounterStreamingComputationTask--; 3458 buildCounterStreamingComputationTask--;
3459 } 3459 }
3460 3460
3461 buildUnnamed3144() { 3461 buildUnnamed3165() {
3462 var o = new core.List<api.StreamingComputationConfig>(); 3462 var o = new core.List<api.StreamingComputationConfig>();
3463 o.add(buildStreamingComputationConfig()); 3463 o.add(buildStreamingComputationConfig());
3464 o.add(buildStreamingComputationConfig()); 3464 o.add(buildStreamingComputationConfig());
3465 return o; 3465 return o;
3466 } 3466 }
3467 3467
3468 checkUnnamed3144(core.List<api.StreamingComputationConfig> o) { 3468 checkUnnamed3165(core.List<api.StreamingComputationConfig> o) {
3469 unittest.expect(o, unittest.hasLength(2)); 3469 unittest.expect(o, unittest.hasLength(2));
3470 checkStreamingComputationConfig(o[0]); 3470 checkStreamingComputationConfig(o[0]);
3471 checkStreamingComputationConfig(o[1]); 3471 checkStreamingComputationConfig(o[1]);
3472 } 3472 }
3473 3473
3474 buildUnnamed3145() { 3474 buildUnnamed3166() {
3475 var o = new core.Map<core.String, core.String>(); 3475 var o = new core.Map<core.String, core.String>();
3476 o["x"] = "foo"; 3476 o["x"] = "foo";
3477 o["y"] = "foo"; 3477 o["y"] = "foo";
3478 return o; 3478 return o;
3479 } 3479 }
3480 3480
3481 checkUnnamed3145(core.Map<core.String, core.String> o) { 3481 checkUnnamed3166(core.Map<core.String, core.String> o) {
3482 unittest.expect(o, unittest.hasLength(2)); 3482 unittest.expect(o, unittest.hasLength(2));
3483 unittest.expect(o["x"], unittest.equals('foo')); 3483 unittest.expect(o["x"], unittest.equals('foo'));
3484 unittest.expect(o["y"], unittest.equals('foo')); 3484 unittest.expect(o["y"], unittest.equals('foo'));
3485 } 3485 }
3486 3486
3487 core.int buildCounterStreamingConfigTask = 0; 3487 core.int buildCounterStreamingConfigTask = 0;
3488 buildStreamingConfigTask() { 3488 buildStreamingConfigTask() {
3489 var o = new api.StreamingConfigTask(); 3489 var o = new api.StreamingConfigTask();
3490 buildCounterStreamingConfigTask++; 3490 buildCounterStreamingConfigTask++;
3491 if (buildCounterStreamingConfigTask < 3) { 3491 if (buildCounterStreamingConfigTask < 3) {
3492 o.streamingComputationConfigs = buildUnnamed3144(); 3492 o.streamingComputationConfigs = buildUnnamed3165();
3493 o.userStepToStateFamilyNameMap = buildUnnamed3145(); 3493 o.userStepToStateFamilyNameMap = buildUnnamed3166();
3494 o.windmillServiceEndpoint = "foo"; 3494 o.windmillServiceEndpoint = "foo";
3495 o.windmillServicePort = "foo"; 3495 o.windmillServicePort = "foo";
3496 } 3496 }
3497 buildCounterStreamingConfigTask--; 3497 buildCounterStreamingConfigTask--;
3498 return o; 3498 return o;
3499 } 3499 }
3500 3500
3501 checkStreamingConfigTask(api.StreamingConfigTask o) { 3501 checkStreamingConfigTask(api.StreamingConfigTask o) {
3502 buildCounterStreamingConfigTask++; 3502 buildCounterStreamingConfigTask++;
3503 if (buildCounterStreamingConfigTask < 3) { 3503 if (buildCounterStreamingConfigTask < 3) {
3504 checkUnnamed3144(o.streamingComputationConfigs); 3504 checkUnnamed3165(o.streamingComputationConfigs);
3505 checkUnnamed3145(o.userStepToStateFamilyNameMap); 3505 checkUnnamed3166(o.userStepToStateFamilyNameMap);
3506 unittest.expect(o.windmillServiceEndpoint, unittest.equals('foo')); 3506 unittest.expect(o.windmillServiceEndpoint, unittest.equals('foo'));
3507 unittest.expect(o.windmillServicePort, unittest.equals('foo')); 3507 unittest.expect(o.windmillServicePort, unittest.equals('foo'));
3508 } 3508 }
3509 buildCounterStreamingConfigTask--; 3509 buildCounterStreamingConfigTask--;
3510 } 3510 }
3511 3511
3512 core.int buildCounterStreamingSetupTask = 0; 3512 core.int buildCounterStreamingSetupTask = 0;
3513 buildStreamingSetupTask() { 3513 buildStreamingSetupTask() {
3514 var o = new api.StreamingSetupTask(); 3514 var o = new api.StreamingSetupTask();
3515 buildCounterStreamingSetupTask++; 3515 buildCounterStreamingSetupTask++;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
3567 } 3567 }
3568 3568
3569 checkStreamingStageLocation(api.StreamingStageLocation o) { 3569 checkStreamingStageLocation(api.StreamingStageLocation o) {
3570 buildCounterStreamingStageLocation++; 3570 buildCounterStreamingStageLocation++;
3571 if (buildCounterStreamingStageLocation < 3) { 3571 if (buildCounterStreamingStageLocation < 3) {
3572 unittest.expect(o.streamId, unittest.equals('foo')); 3572 unittest.expect(o.streamId, unittest.equals('foo'));
3573 } 3573 }
3574 buildCounterStreamingStageLocation--; 3574 buildCounterStreamingStageLocation--;
3575 } 3575 }
3576 3576
3577 buildUnnamed3146() { 3577 buildUnnamed3167() {
3578 var o = new core.List<core.String>(); 3578 var o = new core.List<core.String>();
3579 o.add("foo"); 3579 o.add("foo");
3580 o.add("foo"); 3580 o.add("foo");
3581 return o; 3581 return o;
3582 } 3582 }
3583 3583
3584 checkUnnamed3146(core.List<core.String> o) { 3584 checkUnnamed3167(core.List<core.String> o) {
3585 unittest.expect(o, unittest.hasLength(2)); 3585 unittest.expect(o, unittest.hasLength(2));
3586 unittest.expect(o[0], unittest.equals('foo')); 3586 unittest.expect(o[0], unittest.equals('foo'));
3587 unittest.expect(o[1], unittest.equals('foo')); 3587 unittest.expect(o[1], unittest.equals('foo'));
3588 } 3588 }
3589 3589
3590 core.int buildCounterStringList = 0; 3590 core.int buildCounterStringList = 0;
3591 buildStringList() { 3591 buildStringList() {
3592 var o = new api.StringList(); 3592 var o = new api.StringList();
3593 buildCounterStringList++; 3593 buildCounterStringList++;
3594 if (buildCounterStringList < 3) { 3594 if (buildCounterStringList < 3) {
3595 o.elements = buildUnnamed3146(); 3595 o.elements = buildUnnamed3167();
3596 } 3596 }
3597 buildCounterStringList--; 3597 buildCounterStringList--;
3598 return o; 3598 return o;
3599 } 3599 }
3600 3600
3601 checkStringList(api.StringList o) { 3601 checkStringList(api.StringList o) {
3602 buildCounterStringList++; 3602 buildCounterStringList++;
3603 if (buildCounterStringList < 3) { 3603 if (buildCounterStringList < 3) {
3604 checkUnnamed3146(o.elements); 3604 checkUnnamed3167(o.elements);
3605 } 3605 }
3606 buildCounterStringList--; 3606 buildCounterStringList--;
3607 } 3607 }
3608 3608
3609 buildUnnamed3147() { 3609 buildUnnamed3168() {
3610 var o = new core.List<api.Parameter>(); 3610 var o = new core.List<api.Parameter>();
3611 o.add(buildParameter()); 3611 o.add(buildParameter());
3612 o.add(buildParameter()); 3612 o.add(buildParameter());
3613 return o; 3613 return o;
3614 } 3614 }
3615 3615
3616 checkUnnamed3147(core.List<api.Parameter> o) { 3616 checkUnnamed3168(core.List<api.Parameter> o) {
3617 unittest.expect(o, unittest.hasLength(2)); 3617 unittest.expect(o, unittest.hasLength(2));
3618 checkParameter(o[0]); 3618 checkParameter(o[0]);
3619 checkParameter(o[1]); 3619 checkParameter(o[1]);
3620 } 3620 }
3621 3621
3622 core.int buildCounterStructuredMessage = 0; 3622 core.int buildCounterStructuredMessage = 0;
3623 buildStructuredMessage() { 3623 buildStructuredMessage() {
3624 var o = new api.StructuredMessage(); 3624 var o = new api.StructuredMessage();
3625 buildCounterStructuredMessage++; 3625 buildCounterStructuredMessage++;
3626 if (buildCounterStructuredMessage < 3) { 3626 if (buildCounterStructuredMessage < 3) {
3627 o.messageKey = "foo"; 3627 o.messageKey = "foo";
3628 o.messageText = "foo"; 3628 o.messageText = "foo";
3629 o.parameters = buildUnnamed3147(); 3629 o.parameters = buildUnnamed3168();
3630 } 3630 }
3631 buildCounterStructuredMessage--; 3631 buildCounterStructuredMessage--;
3632 return o; 3632 return o;
3633 } 3633 }
3634 3634
3635 checkStructuredMessage(api.StructuredMessage o) { 3635 checkStructuredMessage(api.StructuredMessage o) {
3636 buildCounterStructuredMessage++; 3636 buildCounterStructuredMessage++;
3637 if (buildCounterStructuredMessage < 3) { 3637 if (buildCounterStructuredMessage < 3) {
3638 unittest.expect(o.messageKey, unittest.equals('foo')); 3638 unittest.expect(o.messageKey, unittest.equals('foo'));
3639 unittest.expect(o.messageText, unittest.equals('foo')); 3639 unittest.expect(o.messageText, unittest.equals('foo'));
3640 checkUnnamed3147(o.parameters); 3640 checkUnnamed3168(o.parameters);
3641 } 3641 }
3642 buildCounterStructuredMessage--; 3642 buildCounterStructuredMessage--;
3643 } 3643 }
3644 3644
3645 buildUnnamed3148() { 3645 buildUnnamed3169() {
3646 var o = new core.List<core.String>(); 3646 var o = new core.List<core.String>();
3647 o.add("foo"); 3647 o.add("foo");
3648 o.add("foo"); 3648 o.add("foo");
3649 return o; 3649 return o;
3650 } 3650 }
3651 3651
3652 checkUnnamed3148(core.List<core.String> o) { 3652 checkUnnamed3169(core.List<core.String> o) {
3653 unittest.expect(o, unittest.hasLength(2)); 3653 unittest.expect(o, unittest.hasLength(2));
3654 unittest.expect(o[0], unittest.equals('foo')); 3654 unittest.expect(o[0], unittest.equals('foo'));
3655 unittest.expect(o[1], unittest.equals('foo')); 3655 unittest.expect(o[1], unittest.equals('foo'));
3656 } 3656 }
3657 3657
3658 core.int buildCounterTaskRunnerSettings = 0; 3658 core.int buildCounterTaskRunnerSettings = 0;
3659 buildTaskRunnerSettings() { 3659 buildTaskRunnerSettings() {
3660 var o = new api.TaskRunnerSettings(); 3660 var o = new api.TaskRunnerSettings();
3661 buildCounterTaskRunnerSettings++; 3661 buildCounterTaskRunnerSettings++;
3662 if (buildCounterTaskRunnerSettings < 3) { 3662 if (buildCounterTaskRunnerSettings < 3) {
3663 o.alsologtostderr = true; 3663 o.alsologtostderr = true;
3664 o.baseTaskDir = "foo"; 3664 o.baseTaskDir = "foo";
3665 o.baseUrl = "foo"; 3665 o.baseUrl = "foo";
3666 o.commandlinesFileName = "foo"; 3666 o.commandlinesFileName = "foo";
3667 o.continueOnException = true; 3667 o.continueOnException = true;
3668 o.dataflowApiVersion = "foo"; 3668 o.dataflowApiVersion = "foo";
3669 o.harnessCommand = "foo"; 3669 o.harnessCommand = "foo";
3670 o.languageHint = "foo"; 3670 o.languageHint = "foo";
3671 o.logDir = "foo"; 3671 o.logDir = "foo";
3672 o.logToSerialconsole = true; 3672 o.logToSerialconsole = true;
3673 o.logUploadLocation = "foo"; 3673 o.logUploadLocation = "foo";
3674 o.oauthScopes = buildUnnamed3148(); 3674 o.oauthScopes = buildUnnamed3169();
3675 o.parallelWorkerSettings = buildWorkerSettings(); 3675 o.parallelWorkerSettings = buildWorkerSettings();
3676 o.streamingWorkerMainClass = "foo"; 3676 o.streamingWorkerMainClass = "foo";
3677 o.taskGroup = "foo"; 3677 o.taskGroup = "foo";
3678 o.taskUser = "foo"; 3678 o.taskUser = "foo";
3679 o.tempStoragePrefix = "foo"; 3679 o.tempStoragePrefix = "foo";
3680 o.vmId = "foo"; 3680 o.vmId = "foo";
3681 o.workflowFileName = "foo"; 3681 o.workflowFileName = "foo";
3682 } 3682 }
3683 buildCounterTaskRunnerSettings--; 3683 buildCounterTaskRunnerSettings--;
3684 return o; 3684 return o;
3685 } 3685 }
3686 3686
3687 checkTaskRunnerSettings(api.TaskRunnerSettings o) { 3687 checkTaskRunnerSettings(api.TaskRunnerSettings o) {
3688 buildCounterTaskRunnerSettings++; 3688 buildCounterTaskRunnerSettings++;
3689 if (buildCounterTaskRunnerSettings < 3) { 3689 if (buildCounterTaskRunnerSettings < 3) {
3690 unittest.expect(o.alsologtostderr, unittest.isTrue); 3690 unittest.expect(o.alsologtostderr, unittest.isTrue);
3691 unittest.expect(o.baseTaskDir, unittest.equals('foo')); 3691 unittest.expect(o.baseTaskDir, unittest.equals('foo'));
3692 unittest.expect(o.baseUrl, unittest.equals('foo')); 3692 unittest.expect(o.baseUrl, unittest.equals('foo'));
3693 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); 3693 unittest.expect(o.commandlinesFileName, unittest.equals('foo'));
3694 unittest.expect(o.continueOnException, unittest.isTrue); 3694 unittest.expect(o.continueOnException, unittest.isTrue);
3695 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); 3695 unittest.expect(o.dataflowApiVersion, unittest.equals('foo'));
3696 unittest.expect(o.harnessCommand, unittest.equals('foo')); 3696 unittest.expect(o.harnessCommand, unittest.equals('foo'));
3697 unittest.expect(o.languageHint, unittest.equals('foo')); 3697 unittest.expect(o.languageHint, unittest.equals('foo'));
3698 unittest.expect(o.logDir, unittest.equals('foo')); 3698 unittest.expect(o.logDir, unittest.equals('foo'));
3699 unittest.expect(o.logToSerialconsole, unittest.isTrue); 3699 unittest.expect(o.logToSerialconsole, unittest.isTrue);
3700 unittest.expect(o.logUploadLocation, unittest.equals('foo')); 3700 unittest.expect(o.logUploadLocation, unittest.equals('foo'));
3701 checkUnnamed3148(o.oauthScopes); 3701 checkUnnamed3169(o.oauthScopes);
3702 checkWorkerSettings(o.parallelWorkerSettings); 3702 checkWorkerSettings(o.parallelWorkerSettings);
3703 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); 3703 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
3704 unittest.expect(o.taskGroup, unittest.equals('foo')); 3704 unittest.expect(o.taskGroup, unittest.equals('foo'));
3705 unittest.expect(o.taskUser, unittest.equals('foo')); 3705 unittest.expect(o.taskUser, unittest.equals('foo'));
3706 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 3706 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
3707 unittest.expect(o.vmId, unittest.equals('foo')); 3707 unittest.expect(o.vmId, unittest.equals('foo'));
3708 unittest.expect(o.workflowFileName, unittest.equals('foo')); 3708 unittest.expect(o.workflowFileName, unittest.equals('foo'));
3709 } 3709 }
3710 buildCounterTaskRunnerSettings--; 3710 buildCounterTaskRunnerSettings--;
3711 } 3711 }
3712 3712
3713 buildUnnamed3149() { 3713 buildUnnamed3170() {
3714 var o = new core.List<api.ParameterMetadata>(); 3714 var o = new core.List<api.ParameterMetadata>();
3715 o.add(buildParameterMetadata()); 3715 o.add(buildParameterMetadata());
3716 o.add(buildParameterMetadata()); 3716 o.add(buildParameterMetadata());
3717 return o; 3717 return o;
3718 } 3718 }
3719 3719
3720 checkUnnamed3149(core.List<api.ParameterMetadata> o) { 3720 checkUnnamed3170(core.List<api.ParameterMetadata> o) {
3721 unittest.expect(o, unittest.hasLength(2)); 3721 unittest.expect(o, unittest.hasLength(2));
3722 checkParameterMetadata(o[0]); 3722 checkParameterMetadata(o[0]);
3723 checkParameterMetadata(o[1]); 3723 checkParameterMetadata(o[1]);
3724 } 3724 }
3725 3725
3726 core.int buildCounterTemplateMetadata = 0; 3726 core.int buildCounterTemplateMetadata = 0;
3727 buildTemplateMetadata() { 3727 buildTemplateMetadata() {
3728 var o = new api.TemplateMetadata(); 3728 var o = new api.TemplateMetadata();
3729 buildCounterTemplateMetadata++; 3729 buildCounterTemplateMetadata++;
3730 if (buildCounterTemplateMetadata < 3) { 3730 if (buildCounterTemplateMetadata < 3) {
3731 o.description = "foo"; 3731 o.description = "foo";
3732 o.name = "foo"; 3732 o.name = "foo";
3733 o.parameters = buildUnnamed3149(); 3733 o.parameters = buildUnnamed3170();
3734 } 3734 }
3735 buildCounterTemplateMetadata--; 3735 buildCounterTemplateMetadata--;
3736 return o; 3736 return o;
3737 } 3737 }
3738 3738
3739 checkTemplateMetadata(api.TemplateMetadata o) { 3739 checkTemplateMetadata(api.TemplateMetadata o) {
3740 buildCounterTemplateMetadata++; 3740 buildCounterTemplateMetadata++;
3741 if (buildCounterTemplateMetadata < 3) { 3741 if (buildCounterTemplateMetadata < 3) {
3742 unittest.expect(o.description, unittest.equals('foo')); 3742 unittest.expect(o.description, unittest.equals('foo'));
3743 unittest.expect(o.name, unittest.equals('foo')); 3743 unittest.expect(o.name, unittest.equals('foo'));
3744 checkUnnamed3149(o.parameters); 3744 checkUnnamed3170(o.parameters);
3745 } 3745 }
3746 buildCounterTemplateMetadata--; 3746 buildCounterTemplateMetadata--;
3747 } 3747 }
3748 3748
3749 buildUnnamed3150() { 3749 buildUnnamed3171() {
3750 var o = new core.List<api.ComputationTopology>(); 3750 var o = new core.List<api.ComputationTopology>();
3751 o.add(buildComputationTopology()); 3751 o.add(buildComputationTopology());
3752 o.add(buildComputationTopology()); 3752 o.add(buildComputationTopology());
3753 return o; 3753 return o;
3754 } 3754 }
3755 3755
3756 checkUnnamed3150(core.List<api.ComputationTopology> o) { 3756 checkUnnamed3171(core.List<api.ComputationTopology> o) {
3757 unittest.expect(o, unittest.hasLength(2)); 3757 unittest.expect(o, unittest.hasLength(2));
3758 checkComputationTopology(o[0]); 3758 checkComputationTopology(o[0]);
3759 checkComputationTopology(o[1]); 3759 checkComputationTopology(o[1]);
3760 } 3760 }
3761 3761
3762 buildUnnamed3151() { 3762 buildUnnamed3172() {
3763 var o = new core.List<api.DataDiskAssignment>(); 3763 var o = new core.List<api.DataDiskAssignment>();
3764 o.add(buildDataDiskAssignment()); 3764 o.add(buildDataDiskAssignment());
3765 o.add(buildDataDiskAssignment()); 3765 o.add(buildDataDiskAssignment());
3766 return o; 3766 return o;
3767 } 3767 }
3768 3768
3769 checkUnnamed3151(core.List<api.DataDiskAssignment> o) { 3769 checkUnnamed3172(core.List<api.DataDiskAssignment> o) {
3770 unittest.expect(o, unittest.hasLength(2)); 3770 unittest.expect(o, unittest.hasLength(2));
3771 checkDataDiskAssignment(o[0]); 3771 checkDataDiskAssignment(o[0]);
3772 checkDataDiskAssignment(o[1]); 3772 checkDataDiskAssignment(o[1]);
3773 } 3773 }
3774 3774
3775 buildUnnamed3152() { 3775 buildUnnamed3173() {
3776 var o = new core.Map<core.String, core.String>(); 3776 var o = new core.Map<core.String, core.String>();
3777 o["x"] = "foo"; 3777 o["x"] = "foo";
3778 o["y"] = "foo"; 3778 o["y"] = "foo";
3779 return o; 3779 return o;
3780 } 3780 }
3781 3781
3782 checkUnnamed3152(core.Map<core.String, core.String> o) { 3782 checkUnnamed3173(core.Map<core.String, core.String> o) {
3783 unittest.expect(o, unittest.hasLength(2)); 3783 unittest.expect(o, unittest.hasLength(2));
3784 unittest.expect(o["x"], unittest.equals('foo')); 3784 unittest.expect(o["x"], unittest.equals('foo'));
3785 unittest.expect(o["y"], unittest.equals('foo')); 3785 unittest.expect(o["y"], unittest.equals('foo'));
3786 } 3786 }
3787 3787
3788 core.int buildCounterTopologyConfig = 0; 3788 core.int buildCounterTopologyConfig = 0;
3789 buildTopologyConfig() { 3789 buildTopologyConfig() {
3790 var o = new api.TopologyConfig(); 3790 var o = new api.TopologyConfig();
3791 buildCounterTopologyConfig++; 3791 buildCounterTopologyConfig++;
3792 if (buildCounterTopologyConfig < 3) { 3792 if (buildCounterTopologyConfig < 3) {
3793 o.computations = buildUnnamed3150(); 3793 o.computations = buildUnnamed3171();
3794 o.dataDiskAssignments = buildUnnamed3151(); 3794 o.dataDiskAssignments = buildUnnamed3172();
3795 o.forwardingKeyBits = 42; 3795 o.forwardingKeyBits = 42;
3796 o.persistentStateVersion = 42; 3796 o.persistentStateVersion = 42;
3797 o.userStageToComputationNameMap = buildUnnamed3152(); 3797 o.userStageToComputationNameMap = buildUnnamed3173();
3798 } 3798 }
3799 buildCounterTopologyConfig--; 3799 buildCounterTopologyConfig--;
3800 return o; 3800 return o;
3801 } 3801 }
3802 3802
3803 checkTopologyConfig(api.TopologyConfig o) { 3803 checkTopologyConfig(api.TopologyConfig o) {
3804 buildCounterTopologyConfig++; 3804 buildCounterTopologyConfig++;
3805 if (buildCounterTopologyConfig < 3) { 3805 if (buildCounterTopologyConfig < 3) {
3806 checkUnnamed3150(o.computations); 3806 checkUnnamed3171(o.computations);
3807 checkUnnamed3151(o.dataDiskAssignments); 3807 checkUnnamed3172(o.dataDiskAssignments);
3808 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); 3808 unittest.expect(o.forwardingKeyBits, unittest.equals(42));
3809 unittest.expect(o.persistentStateVersion, unittest.equals(42)); 3809 unittest.expect(o.persistentStateVersion, unittest.equals(42));
3810 checkUnnamed3152(o.userStageToComputationNameMap); 3810 checkUnnamed3173(o.userStageToComputationNameMap);
3811 } 3811 }
3812 buildCounterTopologyConfig--; 3812 buildCounterTopologyConfig--;
3813 } 3813 }
3814 3814
3815 buildUnnamed3153() { 3815 buildUnnamed3174() {
3816 var o = new core.List<api.DisplayData>(); 3816 var o = new core.List<api.DisplayData>();
3817 o.add(buildDisplayData()); 3817 o.add(buildDisplayData());
3818 o.add(buildDisplayData()); 3818 o.add(buildDisplayData());
3819 return o; 3819 return o;
3820 } 3820 }
3821 3821
3822 checkUnnamed3153(core.List<api.DisplayData> o) { 3822 checkUnnamed3174(core.List<api.DisplayData> o) {
3823 unittest.expect(o, unittest.hasLength(2)); 3823 unittest.expect(o, unittest.hasLength(2));
3824 checkDisplayData(o[0]); 3824 checkDisplayData(o[0]);
3825 checkDisplayData(o[1]); 3825 checkDisplayData(o[1]);
3826 } 3826 }
3827 3827
3828 buildUnnamed3154() { 3828 buildUnnamed3175() {
3829 var o = new core.List<core.String>(); 3829 var o = new core.List<core.String>();
3830 o.add("foo"); 3830 o.add("foo");
3831 o.add("foo"); 3831 o.add("foo");
3832 return o; 3832 return o;
3833 } 3833 }
3834 3834
3835 checkUnnamed3154(core.List<core.String> o) { 3835 checkUnnamed3175(core.List<core.String> o) {
3836 unittest.expect(o, unittest.hasLength(2)); 3836 unittest.expect(o, unittest.hasLength(2));
3837 unittest.expect(o[0], unittest.equals('foo')); 3837 unittest.expect(o[0], unittest.equals('foo'));
3838 unittest.expect(o[1], unittest.equals('foo')); 3838 unittest.expect(o[1], unittest.equals('foo'));
3839 } 3839 }
3840 3840
3841 buildUnnamed3155() { 3841 buildUnnamed3176() {
3842 var o = new core.List<core.String>(); 3842 var o = new core.List<core.String>();
3843 o.add("foo"); 3843 o.add("foo");
3844 o.add("foo"); 3844 o.add("foo");
3845 return o; 3845 return o;
3846 } 3846 }
3847 3847
3848 checkUnnamed3155(core.List<core.String> o) { 3848 checkUnnamed3176(core.List<core.String> o) {
3849 unittest.expect(o, unittest.hasLength(2)); 3849 unittest.expect(o, unittest.hasLength(2));
3850 unittest.expect(o[0], unittest.equals('foo')); 3850 unittest.expect(o[0], unittest.equals('foo'));
3851 unittest.expect(o[1], unittest.equals('foo')); 3851 unittest.expect(o[1], unittest.equals('foo'));
3852 } 3852 }
3853 3853
3854 core.int buildCounterTransformSummary = 0; 3854 core.int buildCounterTransformSummary = 0;
3855 buildTransformSummary() { 3855 buildTransformSummary() {
3856 var o = new api.TransformSummary(); 3856 var o = new api.TransformSummary();
3857 buildCounterTransformSummary++; 3857 buildCounterTransformSummary++;
3858 if (buildCounterTransformSummary < 3) { 3858 if (buildCounterTransformSummary < 3) {
3859 o.displayData = buildUnnamed3153(); 3859 o.displayData = buildUnnamed3174();
3860 o.id = "foo"; 3860 o.id = "foo";
3861 o.inputCollectionName = buildUnnamed3154(); 3861 o.inputCollectionName = buildUnnamed3175();
3862 o.kind = "foo"; 3862 o.kind = "foo";
3863 o.name = "foo"; 3863 o.name = "foo";
3864 o.outputCollectionName = buildUnnamed3155(); 3864 o.outputCollectionName = buildUnnamed3176();
3865 } 3865 }
3866 buildCounterTransformSummary--; 3866 buildCounterTransformSummary--;
3867 return o; 3867 return o;
3868 } 3868 }
3869 3869
3870 checkTransformSummary(api.TransformSummary o) { 3870 checkTransformSummary(api.TransformSummary o) {
3871 buildCounterTransformSummary++; 3871 buildCounterTransformSummary++;
3872 if (buildCounterTransformSummary < 3) { 3872 if (buildCounterTransformSummary < 3) {
3873 checkUnnamed3153(o.displayData); 3873 checkUnnamed3174(o.displayData);
3874 unittest.expect(o.id, unittest.equals('foo')); 3874 unittest.expect(o.id, unittest.equals('foo'));
3875 checkUnnamed3154(o.inputCollectionName); 3875 checkUnnamed3175(o.inputCollectionName);
3876 unittest.expect(o.kind, unittest.equals('foo')); 3876 unittest.expect(o.kind, unittest.equals('foo'));
3877 unittest.expect(o.name, unittest.equals('foo')); 3877 unittest.expect(o.name, unittest.equals('foo'));
3878 checkUnnamed3155(o.outputCollectionName); 3878 checkUnnamed3176(o.outputCollectionName);
3879 } 3879 }
3880 buildCounterTransformSummary--; 3880 buildCounterTransformSummary--;
3881 } 3881 }
3882 3882
3883 buildUnnamed3156() { 3883 buildUnnamed3177() {
3884 var o = new core.List<api.Package>(); 3884 var o = new core.List<api.Package>();
3885 o.add(buildPackage()); 3885 o.add(buildPackage());
3886 o.add(buildPackage()); 3886 o.add(buildPackage());
3887 return o; 3887 return o;
3888 } 3888 }
3889 3889
3890 checkUnnamed3156(core.List<api.Package> o) { 3890 checkUnnamed3177(core.List<api.Package> o) {
3891 unittest.expect(o, unittest.hasLength(2)); 3891 unittest.expect(o, unittest.hasLength(2));
3892 checkPackage(o[0]); 3892 checkPackage(o[0]);
3893 checkPackage(o[1]); 3893 checkPackage(o[1]);
3894 } 3894 }
3895 3895
3896 core.int buildCounterWorkItem = 0; 3896 core.int buildCounterWorkItem = 0;
3897 buildWorkItem() { 3897 buildWorkItem() {
3898 var o = new api.WorkItem(); 3898 var o = new api.WorkItem();
3899 buildCounterWorkItem++; 3899 buildCounterWorkItem++;
3900 if (buildCounterWorkItem < 3) { 3900 if (buildCounterWorkItem < 3) {
3901 o.configuration = "foo"; 3901 o.configuration = "foo";
3902 o.id = "foo"; 3902 o.id = "foo";
3903 o.initialReportIndex = "foo"; 3903 o.initialReportIndex = "foo";
3904 o.jobId = "foo"; 3904 o.jobId = "foo";
3905 o.leaseExpireTime = "foo"; 3905 o.leaseExpireTime = "foo";
3906 o.mapTask = buildMapTask(); 3906 o.mapTask = buildMapTask();
3907 o.packages = buildUnnamed3156(); 3907 o.packages = buildUnnamed3177();
3908 o.projectId = "foo"; 3908 o.projectId = "foo";
3909 o.reportStatusInterval = "foo"; 3909 o.reportStatusInterval = "foo";
3910 o.seqMapTask = buildSeqMapTask(); 3910 o.seqMapTask = buildSeqMapTask();
3911 o.shellTask = buildShellTask(); 3911 o.shellTask = buildShellTask();
3912 o.sourceOperationTask = buildSourceOperationRequest(); 3912 o.sourceOperationTask = buildSourceOperationRequest();
3913 o.streamingComputationTask = buildStreamingComputationTask(); 3913 o.streamingComputationTask = buildStreamingComputationTask();
3914 o.streamingConfigTask = buildStreamingConfigTask(); 3914 o.streamingConfigTask = buildStreamingConfigTask();
3915 o.streamingSetupTask = buildStreamingSetupTask(); 3915 o.streamingSetupTask = buildStreamingSetupTask();
3916 } 3916 }
3917 buildCounterWorkItem--; 3917 buildCounterWorkItem--;
3918 return o; 3918 return o;
3919 } 3919 }
3920 3920
3921 checkWorkItem(api.WorkItem o) { 3921 checkWorkItem(api.WorkItem o) {
3922 buildCounterWorkItem++; 3922 buildCounterWorkItem++;
3923 if (buildCounterWorkItem < 3) { 3923 if (buildCounterWorkItem < 3) {
3924 unittest.expect(o.configuration, unittest.equals('foo')); 3924 unittest.expect(o.configuration, unittest.equals('foo'));
3925 unittest.expect(o.id, unittest.equals('foo')); 3925 unittest.expect(o.id, unittest.equals('foo'));
3926 unittest.expect(o.initialReportIndex, unittest.equals('foo')); 3926 unittest.expect(o.initialReportIndex, unittest.equals('foo'));
3927 unittest.expect(o.jobId, unittest.equals('foo')); 3927 unittest.expect(o.jobId, unittest.equals('foo'));
3928 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 3928 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
3929 checkMapTask(o.mapTask); 3929 checkMapTask(o.mapTask);
3930 checkUnnamed3156(o.packages); 3930 checkUnnamed3177(o.packages);
3931 unittest.expect(o.projectId, unittest.equals('foo')); 3931 unittest.expect(o.projectId, unittest.equals('foo'));
3932 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 3932 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
3933 checkSeqMapTask(o.seqMapTask); 3933 checkSeqMapTask(o.seqMapTask);
3934 checkShellTask(o.shellTask); 3934 checkShellTask(o.shellTask);
3935 checkSourceOperationRequest(o.sourceOperationTask); 3935 checkSourceOperationRequest(o.sourceOperationTask);
3936 checkStreamingComputationTask(o.streamingComputationTask); 3936 checkStreamingComputationTask(o.streamingComputationTask);
3937 checkStreamingConfigTask(o.streamingConfigTask); 3937 checkStreamingConfigTask(o.streamingConfigTask);
3938 checkStreamingSetupTask(o.streamingSetupTask); 3938 checkStreamingSetupTask(o.streamingSetupTask);
3939 } 3939 }
3940 buildCounterWorkItem--; 3940 buildCounterWorkItem--;
3941 } 3941 }
3942 3942
3943 buildUnnamed3157() { 3943 buildUnnamed3178() {
3944 var o = new core.Map<core.String, core.Object>(); 3944 var o = new core.Map<core.String, core.Object>();
3945 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3945 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3946 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3946 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3947 return o; 3947 return o;
3948 } 3948 }
3949 3949
3950 checkUnnamed3157(core.Map<core.String, core.Object> o) { 3950 checkUnnamed3178(core.Map<core.String, core.Object> o) {
3951 unittest.expect(o, unittest.hasLength(2)); 3951 unittest.expect(o, unittest.hasLength(2));
3952 var casted43 = (o["x"]) as core.Map; unittest.expect(casted43, unittest.hasLen gth(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest .expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["stri ng"], unittest.equals('foo')); 3952 var casted43 = (o["x"]) as core.Map; unittest.expect(casted43, unittest.hasLen gth(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest .expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["stri ng"], unittest.equals('foo'));
3953 var casted44 = (o["y"]) as core.Map; unittest.expect(casted44, unittest.hasLen gth(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest .expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["stri ng"], unittest.equals('foo')); 3953 var casted44 = (o["y"]) as core.Map; unittest.expect(casted44, unittest.hasLen gth(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest .expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["stri ng"], unittest.equals('foo'));
3954 } 3954 }
3955 3955
3956 buildUnnamed3158() { 3956 buildUnnamed3179() {
3957 var o = new core.List<api.MetricShortId>(); 3957 var o = new core.List<api.MetricShortId>();
3958 o.add(buildMetricShortId()); 3958 o.add(buildMetricShortId());
3959 o.add(buildMetricShortId()); 3959 o.add(buildMetricShortId());
3960 return o; 3960 return o;
3961 } 3961 }
3962 3962
3963 checkUnnamed3158(core.List<api.MetricShortId> o) { 3963 checkUnnamed3179(core.List<api.MetricShortId> o) {
3964 unittest.expect(o, unittest.hasLength(2)); 3964 unittest.expect(o, unittest.hasLength(2));
3965 checkMetricShortId(o[0]); 3965 checkMetricShortId(o[0]);
3966 checkMetricShortId(o[1]); 3966 checkMetricShortId(o[1]);
3967 } 3967 }
3968 3968
3969 core.int buildCounterWorkItemServiceState = 0; 3969 core.int buildCounterWorkItemServiceState = 0;
3970 buildWorkItemServiceState() { 3970 buildWorkItemServiceState() {
3971 var o = new api.WorkItemServiceState(); 3971 var o = new api.WorkItemServiceState();
3972 buildCounterWorkItemServiceState++; 3972 buildCounterWorkItemServiceState++;
3973 if (buildCounterWorkItemServiceState < 3) { 3973 if (buildCounterWorkItemServiceState < 3) {
3974 o.harnessData = buildUnnamed3157(); 3974 o.harnessData = buildUnnamed3178();
3975 o.leaseExpireTime = "foo"; 3975 o.leaseExpireTime = "foo";
3976 o.metricShortId = buildUnnamed3158(); 3976 o.metricShortId = buildUnnamed3179();
3977 o.nextReportIndex = "foo"; 3977 o.nextReportIndex = "foo";
3978 o.reportStatusInterval = "foo"; 3978 o.reportStatusInterval = "foo";
3979 o.splitRequest = buildApproximateSplitRequest(); 3979 o.splitRequest = buildApproximateSplitRequest();
3980 o.suggestedStopPoint = buildApproximateProgress(); 3980 o.suggestedStopPoint = buildApproximateProgress();
3981 o.suggestedStopPosition = buildPosition(); 3981 o.suggestedStopPosition = buildPosition();
3982 } 3982 }
3983 buildCounterWorkItemServiceState--; 3983 buildCounterWorkItemServiceState--;
3984 return o; 3984 return o;
3985 } 3985 }
3986 3986
3987 checkWorkItemServiceState(api.WorkItemServiceState o) { 3987 checkWorkItemServiceState(api.WorkItemServiceState o) {
3988 buildCounterWorkItemServiceState++; 3988 buildCounterWorkItemServiceState++;
3989 if (buildCounterWorkItemServiceState < 3) { 3989 if (buildCounterWorkItemServiceState < 3) {
3990 checkUnnamed3157(o.harnessData); 3990 checkUnnamed3178(o.harnessData);
3991 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 3991 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
3992 checkUnnamed3158(o.metricShortId); 3992 checkUnnamed3179(o.metricShortId);
3993 unittest.expect(o.nextReportIndex, unittest.equals('foo')); 3993 unittest.expect(o.nextReportIndex, unittest.equals('foo'));
3994 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 3994 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
3995 checkApproximateSplitRequest(o.splitRequest); 3995 checkApproximateSplitRequest(o.splitRequest);
3996 checkApproximateProgress(o.suggestedStopPoint); 3996 checkApproximateProgress(o.suggestedStopPoint);
3997 checkPosition(o.suggestedStopPosition); 3997 checkPosition(o.suggestedStopPosition);
3998 } 3998 }
3999 buildCounterWorkItemServiceState--; 3999 buildCounterWorkItemServiceState--;
4000 } 4000 }
4001 4001
4002 buildUnnamed3159() { 4002 buildUnnamed3180() {
4003 var o = new core.List<api.CounterUpdate>(); 4003 var o = new core.List<api.CounterUpdate>();
4004 o.add(buildCounterUpdate()); 4004 o.add(buildCounterUpdate());
4005 o.add(buildCounterUpdate()); 4005 o.add(buildCounterUpdate());
4006 return o; 4006 return o;
4007 } 4007 }
4008 4008
4009 checkUnnamed3159(core.List<api.CounterUpdate> o) { 4009 checkUnnamed3180(core.List<api.CounterUpdate> o) {
4010 unittest.expect(o, unittest.hasLength(2)); 4010 unittest.expect(o, unittest.hasLength(2));
4011 checkCounterUpdate(o[0]); 4011 checkCounterUpdate(o[0]);
4012 checkCounterUpdate(o[1]); 4012 checkCounterUpdate(o[1]);
4013 } 4013 }
4014 4014
4015 buildUnnamed3160() { 4015 buildUnnamed3181() {
4016 var o = new core.List<api.Status>(); 4016 var o = new core.List<api.Status>();
4017 o.add(buildStatus()); 4017 o.add(buildStatus());
4018 o.add(buildStatus()); 4018 o.add(buildStatus());
4019 return o; 4019 return o;
4020 } 4020 }
4021 4021
4022 checkUnnamed3160(core.List<api.Status> o) { 4022 checkUnnamed3181(core.List<api.Status> o) {
4023 unittest.expect(o, unittest.hasLength(2)); 4023 unittest.expect(o, unittest.hasLength(2));
4024 checkStatus(o[0]); 4024 checkStatus(o[0]);
4025 checkStatus(o[1]); 4025 checkStatus(o[1]);
4026 } 4026 }
4027 4027
4028 buildUnnamed3161() { 4028 buildUnnamed3182() {
4029 var o = new core.List<api.MetricUpdate>(); 4029 var o = new core.List<api.MetricUpdate>();
4030 o.add(buildMetricUpdate()); 4030 o.add(buildMetricUpdate());
4031 o.add(buildMetricUpdate()); 4031 o.add(buildMetricUpdate());
4032 return o; 4032 return o;
4033 } 4033 }
4034 4034
4035 checkUnnamed3161(core.List<api.MetricUpdate> o) { 4035 checkUnnamed3182(core.List<api.MetricUpdate> o) {
4036 unittest.expect(o, unittest.hasLength(2)); 4036 unittest.expect(o, unittest.hasLength(2));
4037 checkMetricUpdate(o[0]); 4037 checkMetricUpdate(o[0]);
4038 checkMetricUpdate(o[1]); 4038 checkMetricUpdate(o[1]);
4039 } 4039 }
4040 4040
4041 core.int buildCounterWorkItemStatus = 0; 4041 core.int buildCounterWorkItemStatus = 0;
4042 buildWorkItemStatus() { 4042 buildWorkItemStatus() {
4043 var o = new api.WorkItemStatus(); 4043 var o = new api.WorkItemStatus();
4044 buildCounterWorkItemStatus++; 4044 buildCounterWorkItemStatus++;
4045 if (buildCounterWorkItemStatus < 3) { 4045 if (buildCounterWorkItemStatus < 3) {
4046 o.completed = true; 4046 o.completed = true;
4047 o.counterUpdates = buildUnnamed3159(); 4047 o.counterUpdates = buildUnnamed3180();
4048 o.dynamicSourceSplit = buildDynamicSourceSplit(); 4048 o.dynamicSourceSplit = buildDynamicSourceSplit();
4049 o.errors = buildUnnamed3160(); 4049 o.errors = buildUnnamed3181();
4050 o.metricUpdates = buildUnnamed3161(); 4050 o.metricUpdates = buildUnnamed3182();
4051 o.progress = buildApproximateProgress(); 4051 o.progress = buildApproximateProgress();
4052 o.reportIndex = "foo"; 4052 o.reportIndex = "foo";
4053 o.reportedProgress = buildApproximateReportedProgress(); 4053 o.reportedProgress = buildApproximateReportedProgress();
4054 o.requestedLeaseDuration = "foo"; 4054 o.requestedLeaseDuration = "foo";
4055 o.sourceFork = buildSourceFork(); 4055 o.sourceFork = buildSourceFork();
4056 o.sourceOperationResponse = buildSourceOperationResponse(); 4056 o.sourceOperationResponse = buildSourceOperationResponse();
4057 o.stopPosition = buildPosition(); 4057 o.stopPosition = buildPosition();
4058 o.workItemId = "foo"; 4058 o.workItemId = "foo";
4059 } 4059 }
4060 buildCounterWorkItemStatus--; 4060 buildCounterWorkItemStatus--;
4061 return o; 4061 return o;
4062 } 4062 }
4063 4063
4064 checkWorkItemStatus(api.WorkItemStatus o) { 4064 checkWorkItemStatus(api.WorkItemStatus o) {
4065 buildCounterWorkItemStatus++; 4065 buildCounterWorkItemStatus++;
4066 if (buildCounterWorkItemStatus < 3) { 4066 if (buildCounterWorkItemStatus < 3) {
4067 unittest.expect(o.completed, unittest.isTrue); 4067 unittest.expect(o.completed, unittest.isTrue);
4068 checkUnnamed3159(o.counterUpdates); 4068 checkUnnamed3180(o.counterUpdates);
4069 checkDynamicSourceSplit(o.dynamicSourceSplit); 4069 checkDynamicSourceSplit(o.dynamicSourceSplit);
4070 checkUnnamed3160(o.errors); 4070 checkUnnamed3181(o.errors);
4071 checkUnnamed3161(o.metricUpdates); 4071 checkUnnamed3182(o.metricUpdates);
4072 checkApproximateProgress(o.progress); 4072 checkApproximateProgress(o.progress);
4073 unittest.expect(o.reportIndex, unittest.equals('foo')); 4073 unittest.expect(o.reportIndex, unittest.equals('foo'));
4074 checkApproximateReportedProgress(o.reportedProgress); 4074 checkApproximateReportedProgress(o.reportedProgress);
4075 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 4075 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
4076 checkSourceFork(o.sourceFork); 4076 checkSourceFork(o.sourceFork);
4077 checkSourceOperationResponse(o.sourceOperationResponse); 4077 checkSourceOperationResponse(o.sourceOperationResponse);
4078 checkPosition(o.stopPosition); 4078 checkPosition(o.stopPosition);
4079 unittest.expect(o.workItemId, unittest.equals('foo')); 4079 unittest.expect(o.workItemId, unittest.equals('foo'));
4080 } 4080 }
4081 buildCounterWorkItemStatus--; 4081 buildCounterWorkItemStatus--;
4082 } 4082 }
4083 4083
4084 buildUnnamed3162() { 4084 buildUnnamed3183() {
4085 var o = new core.Map<core.String, core.Object>(); 4085 var o = new core.Map<core.String, core.Object>();
4086 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 4086 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
4087 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 4087 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
4088 return o; 4088 return o;
4089 } 4089 }
4090 4090
4091 checkUnnamed3162(core.Map<core.String, core.Object> o) { 4091 checkUnnamed3183(core.Map<core.String, core.Object> o) {
4092 unittest.expect(o, unittest.hasLength(2)); 4092 unittest.expect(o, unittest.hasLength(2));
4093 var casted45 = (o["x"]) as core.Map; unittest.expect(casted45, unittest.hasLen gth(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest .expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["stri ng"], unittest.equals('foo')); 4093 var casted45 = (o["x"]) as core.Map; unittest.expect(casted45, unittest.hasLen gth(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest .expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["stri ng"], unittest.equals('foo'));
4094 var casted46 = (o["y"]) as core.Map; unittest.expect(casted46, unittest.hasLen gth(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest .expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["stri ng"], unittest.equals('foo')); 4094 var casted46 = (o["y"]) as core.Map; unittest.expect(casted46, unittest.hasLen gth(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest .expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["stri ng"], unittest.equals('foo'));
4095 } 4095 }
4096 4096
4097 buildUnnamed3163() { 4097 buildUnnamed3184() {
4098 var o = new core.List<core.Map<core.String, core.Object>>(); 4098 var o = new core.List<core.Map<core.String, core.Object>>();
4099 o.add(buildUnnamed3162()); 4099 o.add(buildUnnamed3183());
4100 o.add(buildUnnamed3162()); 4100 o.add(buildUnnamed3183());
4101 return o; 4101 return o;
4102 } 4102 }
4103 4103
4104 checkUnnamed3163(core.List<core.Map<core.String, core.Object>> o) { 4104 checkUnnamed3184(core.List<core.Map<core.String, core.Object>> o) {
4105 unittest.expect(o, unittest.hasLength(2)); 4105 unittest.expect(o, unittest.hasLength(2));
4106 checkUnnamed3162(o[0]); 4106 checkUnnamed3183(o[0]);
4107 checkUnnamed3162(o[1]); 4107 checkUnnamed3183(o[1]);
4108 } 4108 }
4109 4109
4110 core.int buildCounterWorkerHealthReport = 0; 4110 core.int buildCounterWorkerHealthReport = 0;
4111 buildWorkerHealthReport() { 4111 buildWorkerHealthReport() {
4112 var o = new api.WorkerHealthReport(); 4112 var o = new api.WorkerHealthReport();
4113 buildCounterWorkerHealthReport++; 4113 buildCounterWorkerHealthReport++;
4114 if (buildCounterWorkerHealthReport < 3) { 4114 if (buildCounterWorkerHealthReport < 3) {
4115 o.pods = buildUnnamed3163(); 4115 o.pods = buildUnnamed3184();
4116 o.reportInterval = "foo"; 4116 o.reportInterval = "foo";
4117 o.vmIsHealthy = true; 4117 o.vmIsHealthy = true;
4118 o.vmStartupTime = "foo"; 4118 o.vmStartupTime = "foo";
4119 } 4119 }
4120 buildCounterWorkerHealthReport--; 4120 buildCounterWorkerHealthReport--;
4121 return o; 4121 return o;
4122 } 4122 }
4123 4123
4124 checkWorkerHealthReport(api.WorkerHealthReport o) { 4124 checkWorkerHealthReport(api.WorkerHealthReport o) {
4125 buildCounterWorkerHealthReport++; 4125 buildCounterWorkerHealthReport++;
4126 if (buildCounterWorkerHealthReport < 3) { 4126 if (buildCounterWorkerHealthReport < 3) {
4127 checkUnnamed3163(o.pods); 4127 checkUnnamed3184(o.pods);
4128 unittest.expect(o.reportInterval, unittest.equals('foo')); 4128 unittest.expect(o.reportInterval, unittest.equals('foo'));
4129 unittest.expect(o.vmIsHealthy, unittest.isTrue); 4129 unittest.expect(o.vmIsHealthy, unittest.isTrue);
4130 unittest.expect(o.vmStartupTime, unittest.equals('foo')); 4130 unittest.expect(o.vmStartupTime, unittest.equals('foo'));
4131 } 4131 }
4132 buildCounterWorkerHealthReport--; 4132 buildCounterWorkerHealthReport--;
4133 } 4133 }
4134 4134
4135 core.int buildCounterWorkerHealthReportResponse = 0; 4135 core.int buildCounterWorkerHealthReportResponse = 0;
4136 buildWorkerHealthReportResponse() { 4136 buildWorkerHealthReportResponse() {
4137 var o = new api.WorkerHealthReportResponse(); 4137 var o = new api.WorkerHealthReportResponse();
4138 buildCounterWorkerHealthReportResponse++; 4138 buildCounterWorkerHealthReportResponse++;
4139 if (buildCounterWorkerHealthReportResponse < 3) { 4139 if (buildCounterWorkerHealthReportResponse < 3) {
4140 o.reportInterval = "foo"; 4140 o.reportInterval = "foo";
4141 } 4141 }
4142 buildCounterWorkerHealthReportResponse--; 4142 buildCounterWorkerHealthReportResponse--;
4143 return o; 4143 return o;
4144 } 4144 }
4145 4145
4146 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { 4146 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) {
4147 buildCounterWorkerHealthReportResponse++; 4147 buildCounterWorkerHealthReportResponse++;
4148 if (buildCounterWorkerHealthReportResponse < 3) { 4148 if (buildCounterWorkerHealthReportResponse < 3) {
4149 unittest.expect(o.reportInterval, unittest.equals('foo')); 4149 unittest.expect(o.reportInterval, unittest.equals('foo'));
4150 } 4150 }
4151 buildCounterWorkerHealthReportResponse--; 4151 buildCounterWorkerHealthReportResponse--;
4152 } 4152 }
4153 4153
4154 buildUnnamed3164() { 4154 buildUnnamed3185() {
4155 var o = new core.Map<core.String, core.String>(); 4155 var o = new core.Map<core.String, core.String>();
4156 o["x"] = "foo"; 4156 o["x"] = "foo";
4157 o["y"] = "foo"; 4157 o["y"] = "foo";
4158 return o; 4158 return o;
4159 } 4159 }
4160 4160
4161 checkUnnamed3164(core.Map<core.String, core.String> o) { 4161 checkUnnamed3185(core.Map<core.String, core.String> o) {
4162 unittest.expect(o, unittest.hasLength(2)); 4162 unittest.expect(o, unittest.hasLength(2));
4163 unittest.expect(o["x"], unittest.equals('foo')); 4163 unittest.expect(o["x"], unittest.equals('foo'));
4164 unittest.expect(o["y"], unittest.equals('foo')); 4164 unittest.expect(o["y"], unittest.equals('foo'));
4165 } 4165 }
4166 4166
4167 core.int buildCounterWorkerMessage = 0; 4167 core.int buildCounterWorkerMessage = 0;
4168 buildWorkerMessage() { 4168 buildWorkerMessage() {
4169 var o = new api.WorkerMessage(); 4169 var o = new api.WorkerMessage();
4170 buildCounterWorkerMessage++; 4170 buildCounterWorkerMessage++;
4171 if (buildCounterWorkerMessage < 3) { 4171 if (buildCounterWorkerMessage < 3) {
4172 o.labels = buildUnnamed3164(); 4172 o.labels = buildUnnamed3185();
4173 o.time = "foo"; 4173 o.time = "foo";
4174 o.workerHealthReport = buildWorkerHealthReport(); 4174 o.workerHealthReport = buildWorkerHealthReport();
4175 o.workerMessageCode = buildWorkerMessageCode(); 4175 o.workerMessageCode = buildWorkerMessageCode();
4176 o.workerMetrics = buildResourceUtilizationReport(); 4176 o.workerMetrics = buildResourceUtilizationReport();
4177 } 4177 }
4178 buildCounterWorkerMessage--; 4178 buildCounterWorkerMessage--;
4179 return o; 4179 return o;
4180 } 4180 }
4181 4181
4182 checkWorkerMessage(api.WorkerMessage o) { 4182 checkWorkerMessage(api.WorkerMessage o) {
4183 buildCounterWorkerMessage++; 4183 buildCounterWorkerMessage++;
4184 if (buildCounterWorkerMessage < 3) { 4184 if (buildCounterWorkerMessage < 3) {
4185 checkUnnamed3164(o.labels); 4185 checkUnnamed3185(o.labels);
4186 unittest.expect(o.time, unittest.equals('foo')); 4186 unittest.expect(o.time, unittest.equals('foo'));
4187 checkWorkerHealthReport(o.workerHealthReport); 4187 checkWorkerHealthReport(o.workerHealthReport);
4188 checkWorkerMessageCode(o.workerMessageCode); 4188 checkWorkerMessageCode(o.workerMessageCode);
4189 checkResourceUtilizationReport(o.workerMetrics); 4189 checkResourceUtilizationReport(o.workerMetrics);
4190 } 4190 }
4191 buildCounterWorkerMessage--; 4191 buildCounterWorkerMessage--;
4192 } 4192 }
4193 4193
4194 buildUnnamed3165() { 4194 buildUnnamed3186() {
4195 var o = new core.Map<core.String, core.Object>(); 4195 var o = new core.Map<core.String, core.Object>();
4196 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 4196 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
4197 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 4197 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
4198 return o; 4198 return o;
4199 } 4199 }
4200 4200
4201 checkUnnamed3165(core.Map<core.String, core.Object> o) { 4201 checkUnnamed3186(core.Map<core.String, core.Object> o) {
4202 unittest.expect(o, unittest.hasLength(2)); 4202 unittest.expect(o, unittest.hasLength(2));
4203 var casted47 = (o["x"]) as core.Map; unittest.expect(casted47, unittest.hasLen gth(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest .expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["stri ng"], unittest.equals('foo')); 4203 var casted47 = (o["x"]) as core.Map; unittest.expect(casted47, unittest.hasLen gth(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest .expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["stri ng"], unittest.equals('foo'));
4204 var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLen gth(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest .expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["stri ng"], unittest.equals('foo')); 4204 var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLen gth(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest .expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["stri ng"], unittest.equals('foo'));
4205 } 4205 }
4206 4206
4207 core.int buildCounterWorkerMessageCode = 0; 4207 core.int buildCounterWorkerMessageCode = 0;
4208 buildWorkerMessageCode() { 4208 buildWorkerMessageCode() {
4209 var o = new api.WorkerMessageCode(); 4209 var o = new api.WorkerMessageCode();
4210 buildCounterWorkerMessageCode++; 4210 buildCounterWorkerMessageCode++;
4211 if (buildCounterWorkerMessageCode < 3) { 4211 if (buildCounterWorkerMessageCode < 3) {
4212 o.code = "foo"; 4212 o.code = "foo";
4213 o.parameters = buildUnnamed3165(); 4213 o.parameters = buildUnnamed3186();
4214 } 4214 }
4215 buildCounterWorkerMessageCode--; 4215 buildCounterWorkerMessageCode--;
4216 return o; 4216 return o;
4217 } 4217 }
4218 4218
4219 checkWorkerMessageCode(api.WorkerMessageCode o) { 4219 checkWorkerMessageCode(api.WorkerMessageCode o) {
4220 buildCounterWorkerMessageCode++; 4220 buildCounterWorkerMessageCode++;
4221 if (buildCounterWorkerMessageCode < 3) { 4221 if (buildCounterWorkerMessageCode < 3) {
4222 unittest.expect(o.code, unittest.equals('foo')); 4222 unittest.expect(o.code, unittest.equals('foo'));
4223 checkUnnamed3165(o.parameters); 4223 checkUnnamed3186(o.parameters);
4224 } 4224 }
4225 buildCounterWorkerMessageCode--; 4225 buildCounterWorkerMessageCode--;
4226 } 4226 }
4227 4227
4228 core.int buildCounterWorkerMessageResponse = 0; 4228 core.int buildCounterWorkerMessageResponse = 0;
4229 buildWorkerMessageResponse() { 4229 buildWorkerMessageResponse() {
4230 var o = new api.WorkerMessageResponse(); 4230 var o = new api.WorkerMessageResponse();
4231 buildCounterWorkerMessageResponse++; 4231 buildCounterWorkerMessageResponse++;
4232 if (buildCounterWorkerMessageResponse < 3) { 4232 if (buildCounterWorkerMessageResponse < 3) {
4233 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); 4233 o.workerHealthReportResponse = buildWorkerHealthReportResponse();
4234 o.workerMetricsResponse = buildResourceUtilizationReportResponse(); 4234 o.workerMetricsResponse = buildResourceUtilizationReportResponse();
4235 } 4235 }
4236 buildCounterWorkerMessageResponse--; 4236 buildCounterWorkerMessageResponse--;
4237 return o; 4237 return o;
4238 } 4238 }
4239 4239
4240 checkWorkerMessageResponse(api.WorkerMessageResponse o) { 4240 checkWorkerMessageResponse(api.WorkerMessageResponse o) {
4241 buildCounterWorkerMessageResponse++; 4241 buildCounterWorkerMessageResponse++;
4242 if (buildCounterWorkerMessageResponse < 3) { 4242 if (buildCounterWorkerMessageResponse < 3) {
4243 checkWorkerHealthReportResponse(o.workerHealthReportResponse); 4243 checkWorkerHealthReportResponse(o.workerHealthReportResponse);
4244 checkResourceUtilizationReportResponse(o.workerMetricsResponse); 4244 checkResourceUtilizationReportResponse(o.workerMetricsResponse);
4245 } 4245 }
4246 buildCounterWorkerMessageResponse--; 4246 buildCounterWorkerMessageResponse--;
4247 } 4247 }
4248 4248
4249 buildUnnamed3166() { 4249 buildUnnamed3187() {
4250 var o = new core.List<api.Disk>(); 4250 var o = new core.List<api.Disk>();
4251 o.add(buildDisk()); 4251 o.add(buildDisk());
4252 o.add(buildDisk()); 4252 o.add(buildDisk());
4253 return o; 4253 return o;
4254 } 4254 }
4255 4255
4256 checkUnnamed3166(core.List<api.Disk> o) { 4256 checkUnnamed3187(core.List<api.Disk> o) {
4257 unittest.expect(o, unittest.hasLength(2)); 4257 unittest.expect(o, unittest.hasLength(2));
4258 checkDisk(o[0]); 4258 checkDisk(o[0]);
4259 checkDisk(o[1]); 4259 checkDisk(o[1]);
4260 } 4260 }
4261 4261
4262 buildUnnamed3167() { 4262 buildUnnamed3188() {
4263 var o = new core.Map<core.String, core.String>(); 4263 var o = new core.Map<core.String, core.String>();
4264 o["x"] = "foo"; 4264 o["x"] = "foo";
4265 o["y"] = "foo"; 4265 o["y"] = "foo";
4266 return o; 4266 return o;
4267 } 4267 }
4268 4268
4269 checkUnnamed3167(core.Map<core.String, core.String> o) { 4269 checkUnnamed3188(core.Map<core.String, core.String> o) {
4270 unittest.expect(o, unittest.hasLength(2)); 4270 unittest.expect(o, unittest.hasLength(2));
4271 unittest.expect(o["x"], unittest.equals('foo')); 4271 unittest.expect(o["x"], unittest.equals('foo'));
4272 unittest.expect(o["y"], unittest.equals('foo')); 4272 unittest.expect(o["y"], unittest.equals('foo'));
4273 } 4273 }
4274 4274
4275 buildUnnamed3168() { 4275 buildUnnamed3189() {
4276 var o = new core.List<api.Package>(); 4276 var o = new core.List<api.Package>();
4277 o.add(buildPackage()); 4277 o.add(buildPackage());
4278 o.add(buildPackage()); 4278 o.add(buildPackage());
4279 return o; 4279 return o;
4280 } 4280 }
4281 4281
4282 checkUnnamed3168(core.List<api.Package> o) { 4282 checkUnnamed3189(core.List<api.Package> o) {
4283 unittest.expect(o, unittest.hasLength(2)); 4283 unittest.expect(o, unittest.hasLength(2));
4284 checkPackage(o[0]); 4284 checkPackage(o[0]);
4285 checkPackage(o[1]); 4285 checkPackage(o[1]);
4286 } 4286 }
4287 4287
4288 buildUnnamed3169() { 4288 buildUnnamed3190() {
4289 var o = new core.Map<core.String, core.Object>(); 4289 var o = new core.Map<core.String, core.Object>();
4290 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 4290 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
4291 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 4291 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
4292 return o; 4292 return o;
4293 } 4293 }
4294 4294
4295 checkUnnamed3169(core.Map<core.String, core.Object> o) { 4295 checkUnnamed3190(core.Map<core.String, core.Object> o) {
4296 unittest.expect(o, unittest.hasLength(2)); 4296 unittest.expect(o, unittest.hasLength(2));
4297 var casted49 = (o["x"]) as core.Map; unittest.expect(casted49, unittest.hasLen gth(3)); unittest.expect(casted49["list"], unittest.equals([1, 2, 3])); unittest .expect(casted49["bool"], unittest.equals(true)); unittest.expect(casted49["stri ng"], unittest.equals('foo')); 4297 var casted49 = (o["x"]) as core.Map; unittest.expect(casted49, unittest.hasLen gth(3)); unittest.expect(casted49["list"], unittest.equals([1, 2, 3])); unittest .expect(casted49["bool"], unittest.equals(true)); unittest.expect(casted49["stri ng"], unittest.equals('foo'));
4298 var casted50 = (o["y"]) as core.Map; unittest.expect(casted50, unittest.hasLen gth(3)); unittest.expect(casted50["list"], unittest.equals([1, 2, 3])); unittest .expect(casted50["bool"], unittest.equals(true)); unittest.expect(casted50["stri ng"], unittest.equals('foo')); 4298 var casted50 = (o["y"]) as core.Map; unittest.expect(casted50, unittest.hasLen gth(3)); unittest.expect(casted50["list"], unittest.equals([1, 2, 3])); unittest .expect(casted50["bool"], unittest.equals(true)); unittest.expect(casted50["stri ng"], unittest.equals('foo'));
4299 } 4299 }
4300 4300
4301 core.int buildCounterWorkerPool = 0; 4301 core.int buildCounterWorkerPool = 0;
4302 buildWorkerPool() { 4302 buildWorkerPool() {
4303 var o = new api.WorkerPool(); 4303 var o = new api.WorkerPool();
4304 buildCounterWorkerPool++; 4304 buildCounterWorkerPool++;
4305 if (buildCounterWorkerPool < 3) { 4305 if (buildCounterWorkerPool < 3) {
4306 o.autoscalingSettings = buildAutoscalingSettings(); 4306 o.autoscalingSettings = buildAutoscalingSettings();
4307 o.dataDisks = buildUnnamed3166(); 4307 o.dataDisks = buildUnnamed3187();
4308 o.defaultPackageSet = "foo"; 4308 o.defaultPackageSet = "foo";
4309 o.diskSizeGb = 42; 4309 o.diskSizeGb = 42;
4310 o.diskSourceImage = "foo"; 4310 o.diskSourceImage = "foo";
4311 o.diskType = "foo"; 4311 o.diskType = "foo";
4312 o.ipConfiguration = "foo"; 4312 o.ipConfiguration = "foo";
4313 o.kind = "foo"; 4313 o.kind = "foo";
4314 o.machineType = "foo"; 4314 o.machineType = "foo";
4315 o.metadata = buildUnnamed3167(); 4315 o.metadata = buildUnnamed3188();
4316 o.network = "foo"; 4316 o.network = "foo";
4317 o.numThreadsPerWorker = 42; 4317 o.numThreadsPerWorker = 42;
4318 o.numWorkers = 42; 4318 o.numWorkers = 42;
4319 o.onHostMaintenance = "foo"; 4319 o.onHostMaintenance = "foo";
4320 o.packages = buildUnnamed3168(); 4320 o.packages = buildUnnamed3189();
4321 o.poolArgs = buildUnnamed3169(); 4321 o.poolArgs = buildUnnamed3190();
4322 o.subnetwork = "foo"; 4322 o.subnetwork = "foo";
4323 o.taskrunnerSettings = buildTaskRunnerSettings(); 4323 o.taskrunnerSettings = buildTaskRunnerSettings();
4324 o.teardownPolicy = "foo"; 4324 o.teardownPolicy = "foo";
4325 o.workerHarnessContainerImage = "foo"; 4325 o.workerHarnessContainerImage = "foo";
4326 o.zone = "foo"; 4326 o.zone = "foo";
4327 } 4327 }
4328 buildCounterWorkerPool--; 4328 buildCounterWorkerPool--;
4329 return o; 4329 return o;
4330 } 4330 }
4331 4331
4332 checkWorkerPool(api.WorkerPool o) { 4332 checkWorkerPool(api.WorkerPool o) {
4333 buildCounterWorkerPool++; 4333 buildCounterWorkerPool++;
4334 if (buildCounterWorkerPool < 3) { 4334 if (buildCounterWorkerPool < 3) {
4335 checkAutoscalingSettings(o.autoscalingSettings); 4335 checkAutoscalingSettings(o.autoscalingSettings);
4336 checkUnnamed3166(o.dataDisks); 4336 checkUnnamed3187(o.dataDisks);
4337 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); 4337 unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
4338 unittest.expect(o.diskSizeGb, unittest.equals(42)); 4338 unittest.expect(o.diskSizeGb, unittest.equals(42));
4339 unittest.expect(o.diskSourceImage, unittest.equals('foo')); 4339 unittest.expect(o.diskSourceImage, unittest.equals('foo'));
4340 unittest.expect(o.diskType, unittest.equals('foo')); 4340 unittest.expect(o.diskType, unittest.equals('foo'));
4341 unittest.expect(o.ipConfiguration, unittest.equals('foo')); 4341 unittest.expect(o.ipConfiguration, unittest.equals('foo'));
4342 unittest.expect(o.kind, unittest.equals('foo')); 4342 unittest.expect(o.kind, unittest.equals('foo'));
4343 unittest.expect(o.machineType, unittest.equals('foo')); 4343 unittest.expect(o.machineType, unittest.equals('foo'));
4344 checkUnnamed3167(o.metadata); 4344 checkUnnamed3188(o.metadata);
4345 unittest.expect(o.network, unittest.equals('foo')); 4345 unittest.expect(o.network, unittest.equals('foo'));
4346 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); 4346 unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
4347 unittest.expect(o.numWorkers, unittest.equals(42)); 4347 unittest.expect(o.numWorkers, unittest.equals(42));
4348 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); 4348 unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
4349 checkUnnamed3168(o.packages); 4349 checkUnnamed3189(o.packages);
4350 checkUnnamed3169(o.poolArgs); 4350 checkUnnamed3190(o.poolArgs);
4351 unittest.expect(o.subnetwork, unittest.equals('foo')); 4351 unittest.expect(o.subnetwork, unittest.equals('foo'));
4352 checkTaskRunnerSettings(o.taskrunnerSettings); 4352 checkTaskRunnerSettings(o.taskrunnerSettings);
4353 unittest.expect(o.teardownPolicy, unittest.equals('foo')); 4353 unittest.expect(o.teardownPolicy, unittest.equals('foo'));
4354 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); 4354 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo'));
4355 unittest.expect(o.zone, unittest.equals('foo')); 4355 unittest.expect(o.zone, unittest.equals('foo'));
4356 } 4356 }
4357 buildCounterWorkerPool--; 4357 buildCounterWorkerPool--;
4358 } 4358 }
4359 4359
4360 core.int buildCounterWorkerSettings = 0; 4360 core.int buildCounterWorkerSettings = 0;
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
5569 }), true); 5569 }), true);
5570 res.workerMessages(arg_request, arg_projectId).then(unittest.expectAsync1( ((api.SendWorkerMessagesResponse response) { 5570 res.workerMessages(arg_request, arg_projectId).then(unittest.expectAsync1( ((api.SendWorkerMessagesResponse response) {
5571 checkSendWorkerMessagesResponse(response); 5571 checkSendWorkerMessagesResponse(response);
5572 }))); 5572 })));
5573 }); 5573 });
5574 5574
5575 }); 5575 });
5576 5576
5577 5577
5578 unittest.group("resource-ProjectsJobsResourceApi", () { 5578 unittest.group("resource-ProjectsJobsResourceApi", () {
5579 unittest.test("method--aggregated", () {
5580
5581 var mock = new HttpServerMock();
5582 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
5583 var arg_projectId = "foo";
5584 var arg_filter = "foo";
5585 var arg_location = "foo";
5586 var arg_pageToken = "foo";
5587 var arg_pageSize = 42;
5588 var arg_view = "foo";
5589 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5590 var path = (req.url).path;
5591 var pathOffset = 0;
5592 var index;
5593 var subPart;
5594 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5595 pathOffset += 1;
5596 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/"));
5597 pathOffset += 14;
5598 index = path.indexOf("/jobs:aggregated", pathOffset);
5599 unittest.expect(index >= 0, unittest.isTrue);
5600 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
5601 pathOffset = index;
5602 unittest.expect(subPart, unittest.equals("$arg_projectId"));
5603 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq uals("/jobs:aggregated"));
5604 pathOffset += 16;
5605
5606 var query = (req.url).query;
5607 var queryOffset = 0;
5608 var queryMap = {};
5609 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5610 parseBool(n) {
5611 if (n == "true") return true;
5612 if (n == "false") return false;
5613 if (n == null) return null;
5614 throw new core.ArgumentError("Invalid boolean: $n");
5615 }
5616 if (query.length > 0) {
5617 for (var part in query.split("&")) {
5618 var keyvalue = part.split("=");
5619 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5620 }
5621 }
5622 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
5623 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5624 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
5625 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
5626 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
5627
5628
5629 var h = {
5630 "content-type" : "application/json; charset=utf-8",
5631 };
5632 var resp = convert.JSON.encode(buildListJobsResponse());
5633 return new async.Future.value(stringResponse(200, h, resp));
5634 }), true);
5635 res.aggregated(arg_projectId, filter: arg_filter, location: arg_location, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest. expectAsync1(((api.ListJobsResponse response) {
5636 checkListJobsResponse(response);
5637 })));
5638 });
5639
5579 unittest.test("method--create", () { 5640 unittest.test("method--create", () {
5580 5641
5581 var mock = new HttpServerMock(); 5642 var mock = new HttpServerMock();
5582 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; 5643 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
5583 var arg_request = buildJob(); 5644 var arg_request = buildJob();
5584 var arg_projectId = "foo"; 5645 var arg_projectId = "foo";
5646 var arg_location = "foo";
5585 var arg_replaceJobId = "foo"; 5647 var arg_replaceJobId = "foo";
5586 var arg_view = "foo"; 5648 var arg_view = "foo";
5587 var arg_location = "foo";
5588 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5649 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5589 var obj = new api.Job.fromJson(json); 5650 var obj = new api.Job.fromJson(json);
5590 checkJob(obj); 5651 checkJob(obj);
5591 5652
5592 var path = (req.url).path; 5653 var path = (req.url).path;
5593 var pathOffset = 0; 5654 var pathOffset = 0;
5594 var index; 5655 var index;
5595 var subPart; 5656 var subPart;
5596 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5657 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5597 pathOffset += 1; 5658 pathOffset += 1;
(...skipping 16 matching lines...) Expand all
5614 if (n == "false") return false; 5675 if (n == "false") return false;
5615 if (n == null) return null; 5676 if (n == null) return null;
5616 throw new core.ArgumentError("Invalid boolean: $n"); 5677 throw new core.ArgumentError("Invalid boolean: $n");
5617 } 5678 }
5618 if (query.length > 0) { 5679 if (query.length > 0) {
5619 for (var part in query.split("&")) { 5680 for (var part in query.split("&")) {
5620 var keyvalue = part.split("="); 5681 var keyvalue = part.split("=");
5621 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5682 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5622 } 5683 }
5623 } 5684 }
5685 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5624 unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_repl aceJobId)); 5686 unittest.expect(queryMap["replaceJobId"].first, unittest.equals(arg_repl aceJobId));
5625 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); 5687 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
5626 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5627 5688
5628 5689
5629 var h = { 5690 var h = {
5630 "content-type" : "application/json; charset=utf-8", 5691 "content-type" : "application/json; charset=utf-8",
5631 }; 5692 };
5632 var resp = convert.JSON.encode(buildJob()); 5693 var resp = convert.JSON.encode(buildJob());
5633 return new async.Future.value(stringResponse(200, h, resp)); 5694 return new async.Future.value(stringResponse(200, h, resp));
5634 }), true); 5695 }), true);
5635 res.create(arg_request, arg_projectId, replaceJobId: arg_replaceJobId, vie w: arg_view, location: arg_location).then(unittest.expectAsync1(((api.Job respon se) { 5696 res.create(arg_request, arg_projectId, location: arg_location, replaceJobI d: arg_replaceJobId, view: arg_view).then(unittest.expectAsync1(((api.Job respon se) {
5636 checkJob(response); 5697 checkJob(response);
5637 }))); 5698 })));
5638 }); 5699 });
5639 5700
5640 unittest.test("method--get", () { 5701 unittest.test("method--get", () {
5641 5702
5642 var mock = new HttpServerMock(); 5703 var mock = new HttpServerMock();
5643 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; 5704 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
5644 var arg_projectId = "foo"; 5705 var arg_projectId = "foo";
5645 var arg_jobId = "foo"; 5706 var arg_jobId = "foo";
5707 var arg_location = "foo";
5646 var arg_view = "foo"; 5708 var arg_view = "foo";
5647 var arg_location = "foo";
5648 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5709 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5649 var path = (req.url).path; 5710 var path = (req.url).path;
5650 var pathOffset = 0; 5711 var pathOffset = 0;
5651 var index; 5712 var index;
5652 var subPart; 5713 var subPart;
5653 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5714 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5654 pathOffset += 1; 5715 pathOffset += 1;
5655 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/")); 5716 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/"));
5656 pathOffset += 14; 5717 pathOffset += 14;
5657 index = path.indexOf("/jobs/", pathOffset); 5718 index = path.indexOf("/jobs/", pathOffset);
(...skipping 16 matching lines...) Expand all
5674 if (n == "false") return false; 5735 if (n == "false") return false;
5675 if (n == null) return null; 5736 if (n == null) return null;
5676 throw new core.ArgumentError("Invalid boolean: $n"); 5737 throw new core.ArgumentError("Invalid boolean: $n");
5677 } 5738 }
5678 if (query.length > 0) { 5739 if (query.length > 0) {
5679 for (var part in query.split("&")) { 5740 for (var part in query.split("&")) {
5680 var keyvalue = part.split("="); 5741 var keyvalue = part.split("=");
5681 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5742 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5682 } 5743 }
5683 } 5744 }
5745 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5684 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); 5746 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
5685 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5686 5747
5687 5748
5688 var h = { 5749 var h = {
5689 "content-type" : "application/json; charset=utf-8", 5750 "content-type" : "application/json; charset=utf-8",
5690 }; 5751 };
5691 var resp = convert.JSON.encode(buildJob()); 5752 var resp = convert.JSON.encode(buildJob());
5692 return new async.Future.value(stringResponse(200, h, resp)); 5753 return new async.Future.value(stringResponse(200, h, resp));
5693 }), true); 5754 }), true);
5694 res.get(arg_projectId, arg_jobId, view: arg_view, location: arg_location). then(unittest.expectAsync1(((api.Job response) { 5755 res.get(arg_projectId, arg_jobId, location: arg_location, view: arg_view). then(unittest.expectAsync1(((api.Job response) {
5695 checkJob(response); 5756 checkJob(response);
5696 }))); 5757 })));
5697 }); 5758 });
5698 5759
5699 unittest.test("method--getMetrics", () { 5760 unittest.test("method--getMetrics", () {
5700 5761
5701 var mock = new HttpServerMock(); 5762 var mock = new HttpServerMock();
5702 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; 5763 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
5703 var arg_projectId = "foo"; 5764 var arg_projectId = "foo";
5704 var arg_jobId = "foo"; 5765 var arg_jobId = "foo";
5766 var arg_location = "foo";
5705 var arg_startTime = "foo"; 5767 var arg_startTime = "foo";
5706 var arg_location = "foo";
5707 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5768 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5708 var path = (req.url).path; 5769 var path = (req.url).path;
5709 var pathOffset = 0; 5770 var pathOffset = 0;
5710 var index; 5771 var index;
5711 var subPart; 5772 var subPart;
5712 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5773 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5713 pathOffset += 1; 5774 pathOffset += 1;
5714 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/")); 5775 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/"));
5715 pathOffset += 14; 5776 pathOffset += 14;
5716 index = path.indexOf("/jobs/", pathOffset); 5777 index = path.indexOf("/jobs/", pathOffset);
(...skipping 20 matching lines...) Expand all
5737 if (n == "false") return false; 5798 if (n == "false") return false;
5738 if (n == null) return null; 5799 if (n == null) return null;
5739 throw new core.ArgumentError("Invalid boolean: $n"); 5800 throw new core.ArgumentError("Invalid boolean: $n");
5740 } 5801 }
5741 if (query.length > 0) { 5802 if (query.length > 0) {
5742 for (var part in query.split("&")) { 5803 for (var part in query.split("&")) {
5743 var keyvalue = part.split("="); 5804 var keyvalue = part.split("=");
5744 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5805 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5745 } 5806 }
5746 } 5807 }
5808 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5747 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi me)); 5809 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi me));
5748 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5749 5810
5750 5811
5751 var h = { 5812 var h = {
5752 "content-type" : "application/json; charset=utf-8", 5813 "content-type" : "application/json; charset=utf-8",
5753 }; 5814 };
5754 var resp = convert.JSON.encode(buildJobMetrics()); 5815 var resp = convert.JSON.encode(buildJobMetrics());
5755 return new async.Future.value(stringResponse(200, h, resp)); 5816 return new async.Future.value(stringResponse(200, h, resp));
5756 }), true); 5817 }), true);
5757 res.getMetrics(arg_projectId, arg_jobId, startTime: arg_startTime, locatio n: arg_location).then(unittest.expectAsync1(((api.JobMetrics response) { 5818 res.getMetrics(arg_projectId, arg_jobId, location: arg_location, startTime : arg_startTime).then(unittest.expectAsync1(((api.JobMetrics response) {
5758 checkJobMetrics(response); 5819 checkJobMetrics(response);
5759 }))); 5820 })));
5760 }); 5821 });
5761 5822
5762 unittest.test("method--list", () { 5823 unittest.test("method--list", () {
5763 5824
5764 var mock = new HttpServerMock(); 5825 var mock = new HttpServerMock();
5765 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; 5826 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
5766 var arg_projectId = "foo"; 5827 var arg_projectId = "foo";
5767 var arg_pageSize = 42;
5768 var arg_view = "foo"; 5828 var arg_view = "foo";
5769 var arg_filter = "foo"; 5829 var arg_filter = "foo";
5770 var arg_location = "foo"; 5830 var arg_location = "foo";
5771 var arg_pageToken = "foo"; 5831 var arg_pageToken = "foo";
5832 var arg_pageSize = 42;
5772 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5833 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5773 var path = (req.url).path; 5834 var path = (req.url).path;
5774 var pathOffset = 0; 5835 var pathOffset = 0;
5775 var index; 5836 var index;
5776 var subPart; 5837 var subPart;
5777 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5838 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5778 pathOffset += 1; 5839 pathOffset += 1;
5779 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/")); 5840 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/"));
5780 pathOffset += 14; 5841 pathOffset += 14;
5781 index = path.indexOf("/jobs", pathOffset); 5842 index = path.indexOf("/jobs", pathOffset);
(...skipping 13 matching lines...) Expand all
5795 if (n == "false") return false; 5856 if (n == "false") return false;
5796 if (n == null) return null; 5857 if (n == null) return null;
5797 throw new core.ArgumentError("Invalid boolean: $n"); 5858 throw new core.ArgumentError("Invalid boolean: $n");
5798 } 5859 }
5799 if (query.length > 0) { 5860 if (query.length > 0) {
5800 for (var part in query.split("&")) { 5861 for (var part in query.split("&")) {
5801 var keyvalue = part.split("="); 5862 var keyvalue = part.split("=");
5802 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5863 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5803 } 5864 }
5804 } 5865 }
5805 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
5806 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); 5866 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
5807 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); 5867 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
5808 unittest.expect(queryMap["location"].first, unittest.equals(arg_location )); 5868 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
5809 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 5869 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
5870 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
5810 5871
5811 5872
5812 var h = { 5873 var h = {
5813 "content-type" : "application/json; charset=utf-8", 5874 "content-type" : "application/json; charset=utf-8",
5814 }; 5875 };
5815 var resp = convert.JSON.encode(buildListJobsResponse()); 5876 var resp = convert.JSON.encode(buildListJobsResponse());
5816 return new async.Future.value(stringResponse(200, h, resp)); 5877 return new async.Future.value(stringResponse(200, h, resp));
5817 }), true); 5878 }), true);
5818 res.list(arg_projectId, pageSize: arg_pageSize, view: arg_view, filter: ar g_filter, location: arg_location, pageToken: arg_pageToken).then(unittest.expect Async1(((api.ListJobsResponse response) { 5879 res.list(arg_projectId, view: arg_view, filter: arg_filter, location: arg_ location, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expect Async1(((api.ListJobsResponse response) {
5819 checkListJobsResponse(response); 5880 checkListJobsResponse(response);
5820 }))); 5881 })));
5821 }); 5882 });
5822 5883
5823 unittest.test("method--update", () { 5884 unittest.test("method--update", () {
5824 5885
5825 var mock = new HttpServerMock(); 5886 var mock = new HttpServerMock();
5826 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs; 5887 api.ProjectsJobsResourceApi res = new api.DataflowApi(mock).projects.jobs;
5827 var arg_request = buildJob(); 5888 var arg_request = buildJob();
5828 var arg_projectId = "foo"; 5889 var arg_projectId = "foo";
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
6014 }); 6075 });
6015 6076
6016 6077
6017 unittest.group("resource-ProjectsJobsMessagesResourceApi", () { 6078 unittest.group("resource-ProjectsJobsMessagesResourceApi", () {
6018 unittest.test("method--list", () { 6079 unittest.test("method--list", () {
6019 6080
6020 var mock = new HttpServerMock(); 6081 var mock = new HttpServerMock();
6021 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec ts.jobs.messages; 6082 api.ProjectsJobsMessagesResourceApi res = new api.DataflowApi(mock).projec ts.jobs.messages;
6022 var arg_projectId = "foo"; 6083 var arg_projectId = "foo";
6023 var arg_jobId = "foo"; 6084 var arg_jobId = "foo";
6024 var arg_pageSize = 42;
6025 var arg_minimumImportance = "foo";
6026 var arg_location = "foo"; 6085 var arg_location = "foo";
6027 var arg_endTime = "foo"; 6086 var arg_endTime = "foo";
6028 var arg_startTime = "foo"; 6087 var arg_startTime = "foo";
6029 var arg_pageToken = "foo"; 6088 var arg_pageToken = "foo";
6089 var arg_pageSize = 42;
6090 var arg_minimumImportance = "foo";
6030 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 6091 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
6031 var path = (req.url).path; 6092 var path = (req.url).path;
6032 var pathOffset = 0; 6093 var pathOffset = 0;
6033 var index; 6094 var index;
6034 var subPart; 6095 var subPart;
6035 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6096 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6036 pathOffset += 1; 6097 pathOffset += 1;
6037 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/")); 6098 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/"));
6038 pathOffset += 14; 6099 pathOffset += 14;
6039 index = path.indexOf("/jobs/", pathOffset); 6100 index = path.indexOf("/jobs/", pathOffset);
(...skipping 20 matching lines...) Expand all
6060 if (n == "false") return false; 6121 if (n == "false") return false;
6061 if (n == null) return null; 6122 if (n == null) return null;
6062 throw new core.ArgumentError("Invalid boolean: $n"); 6123 throw new core.ArgumentError("Invalid boolean: $n");
6063 } 6124 }
6064 if (query.length > 0) { 6125 if (query.length > 0) {
6065 for (var part in query.split("&")) { 6126 for (var part in query.split("&")) {
6066 var keyvalue = part.split("="); 6127 var keyvalue = part.split("=");
6067 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6128 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6068 } 6129 }
6069 } 6130 }
6070 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
6071 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg _minimumImportance));
6072 unittest.expect(queryMap["location"].first, unittest.equals(arg_location )); 6131 unittest.expect(queryMap["location"].first, unittest.equals(arg_location ));
6073 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime)) ; 6132 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime)) ;
6074 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi me)); 6133 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi me));
6075 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 6134 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
6135 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
6136 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg _minimumImportance));
6076 6137
6077 6138
6078 var h = { 6139 var h = {
6079 "content-type" : "application/json; charset=utf-8", 6140 "content-type" : "application/json; charset=utf-8",
6080 }; 6141 };
6081 var resp = convert.JSON.encode(buildListJobMessagesResponse()); 6142 var resp = convert.JSON.encode(buildListJobMessagesResponse());
6082 return new async.Future.value(stringResponse(200, h, resp)); 6143 return new async.Future.value(stringResponse(200, h, resp));
6083 }), true); 6144 }), true);
6084 res.list(arg_projectId, arg_jobId, pageSize: arg_pageSize, minimumImportan ce: arg_minimumImportance, location: arg_location, endTime: arg_endTime, startTi me: arg_startTime, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.Li stJobMessagesResponse response) { 6145 res.list(arg_projectId, arg_jobId, location: arg_location, endTime: arg_en dTime, startTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSiz e, minimumImportance: arg_minimumImportance).then(unittest.expectAsync1(((api.Li stJobMessagesResponse response) {
6085 checkListJobMessagesResponse(response); 6146 checkListJobMessagesResponse(response);
6086 }))); 6147 })));
6087 }); 6148 });
6088 6149
6089 }); 6150 });
6090 6151
6091 6152
6092 unittest.group("resource-ProjectsJobsWorkItemsResourceApi", () { 6153 unittest.group("resource-ProjectsJobsWorkItemsResourceApi", () {
6093 unittest.test("method--lease", () { 6154 unittest.test("method--lease", () {
6094 6155
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
6772 6833
6773 6834
6774 unittest.group("resource-ProjectsLocationsJobsMessagesResourceApi", () { 6835 unittest.group("resource-ProjectsLocationsJobsMessagesResourceApi", () {
6775 unittest.test("method--list", () { 6836 unittest.test("method--list", () {
6776 6837
6777 var mock = new HttpServerMock(); 6838 var mock = new HttpServerMock();
6778 api.ProjectsLocationsJobsMessagesResourceApi res = new api.DataflowApi(moc k).projects.locations.jobs.messages; 6839 api.ProjectsLocationsJobsMessagesResourceApi res = new api.DataflowApi(moc k).projects.locations.jobs.messages;
6779 var arg_projectId = "foo"; 6840 var arg_projectId = "foo";
6780 var arg_location = "foo"; 6841 var arg_location = "foo";
6781 var arg_jobId = "foo"; 6842 var arg_jobId = "foo";
6782 var arg_pageSize = 42;
6783 var arg_minimumImportance = "foo";
6784 var arg_endTime = "foo"; 6843 var arg_endTime = "foo";
6785 var arg_startTime = "foo"; 6844 var arg_startTime = "foo";
6786 var arg_pageToken = "foo"; 6845 var arg_pageToken = "foo";
6846 var arg_pageSize = 42;
6847 var arg_minimumImportance = "foo";
6787 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 6848 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
6788 var path = (req.url).path; 6849 var path = (req.url).path;
6789 var pathOffset = 0; 6850 var pathOffset = 0;
6790 var index; 6851 var index;
6791 var subPart; 6852 var subPart;
6792 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6793 pathOffset += 1; 6854 pathOffset += 1;
6794 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/")); 6855 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq uals("v1b3/projects/"));
6795 pathOffset += 14; 6856 pathOffset += 14;
6796 index = path.indexOf("/locations/", pathOffset); 6857 index = path.indexOf("/locations/", pathOffset);
(...skipping 27 matching lines...) Expand all
6824 if (n == "false") return false; 6885 if (n == "false") return false;
6825 if (n == null) return null; 6886 if (n == null) return null;
6826 throw new core.ArgumentError("Invalid boolean: $n"); 6887 throw new core.ArgumentError("Invalid boolean: $n");
6827 } 6888 }
6828 if (query.length > 0) { 6889 if (query.length > 0) {
6829 for (var part in query.split("&")) { 6890 for (var part in query.split("&")) {
6830 var keyvalue = part.split("="); 6891 var keyvalue = part.split("=");
6831 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6892 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6832 } 6893 }
6833 } 6894 }
6834 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
6835 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg _minimumImportance));
6836 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime)) ; 6895 unittest.expect(queryMap["endTime"].first, unittest.equals(arg_endTime)) ;
6837 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi me)); 6896 unittest.expect(queryMap["startTime"].first, unittest.equals(arg_startTi me));
6838 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 6897 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
6898 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
6899 unittest.expect(queryMap["minimumImportance"].first, unittest.equals(arg _minimumImportance));
6839 6900
6840 6901
6841 var h = { 6902 var h = {
6842 "content-type" : "application/json; charset=utf-8", 6903 "content-type" : "application/json; charset=utf-8",
6843 }; 6904 };
6844 var resp = convert.JSON.encode(buildListJobMessagesResponse()); 6905 var resp = convert.JSON.encode(buildListJobMessagesResponse());
6845 return new async.Future.value(stringResponse(200, h, resp)); 6906 return new async.Future.value(stringResponse(200, h, resp));
6846 }), true); 6907 }), true);
6847 res.list(arg_projectId, arg_location, arg_jobId, pageSize: arg_pageSize, m inimumImportance: arg_minimumImportance, endTime: arg_endTime, startTime: arg_st artTime, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListJobMessa gesResponse response) { 6908 res.list(arg_projectId, arg_location, arg_jobId, endTime: arg_endTime, sta rtTime: arg_startTime, pageToken: arg_pageToken, pageSize: arg_pageSize, minimum Importance: arg_minimumImportance).then(unittest.expectAsync1(((api.ListJobMessa gesResponse response) {
6848 checkListJobMessagesResponse(response); 6909 checkListJobMessagesResponse(response);
6849 }))); 6910 })));
6850 }); 6911 });
6851 6912
6852 }); 6913 });
6853 6914
6854 6915
6855 unittest.group("resource-ProjectsLocationsJobsWorkItemsResourceApi", () { 6916 unittest.group("resource-ProjectsLocationsJobsWorkItemsResourceApi", () {
6856 unittest.test("method--lease", () { 6917 unittest.test("method--lease", () {
6857 6918
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
7125 }))); 7186 })));
7126 }); 7187 });
7127 7188
7128 unittest.test("method--launch", () { 7189 unittest.test("method--launch", () {
7129 7190
7130 var mock = new HttpServerMock(); 7191 var mock = new HttpServerMock();
7131 api.ProjectsLocationsTemplatesResourceApi res = new api.DataflowApi(mock). projects.locations.templates; 7192 api.ProjectsLocationsTemplatesResourceApi res = new api.DataflowApi(mock). projects.locations.templates;
7132 var arg_request = buildLaunchTemplateParameters(); 7193 var arg_request = buildLaunchTemplateParameters();
7133 var arg_projectId = "foo"; 7194 var arg_projectId = "foo";
7134 var arg_location = "foo"; 7195 var arg_location = "foo";
7196 var arg_gcsPath = "foo";
7135 var arg_validateOnly = true; 7197 var arg_validateOnly = true;
7136 var arg_gcsPath = "foo";
7137 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 7198 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
7138 var obj = new api.LaunchTemplateParameters.fromJson(json); 7199 var obj = new api.LaunchTemplateParameters.fromJson(json);
7139 checkLaunchTemplateParameters(obj); 7200 checkLaunchTemplateParameters(obj);
7140 7201
7141 var path = (req.url).path; 7202 var path = (req.url).path;
7142 var pathOffset = 0; 7203 var pathOffset = 0;
7143 var index; 7204 var index;
7144 var subPart; 7205 var subPart;
7145 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 7206 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
7146 pathOffset += 1; 7207 pathOffset += 1;
(...skipping 23 matching lines...) Expand all
7170 if (n == "false") return false; 7231 if (n == "false") return false;
7171 if (n == null) return null; 7232 if (n == null) return null;
7172 throw new core.ArgumentError("Invalid boolean: $n"); 7233 throw new core.ArgumentError("Invalid boolean: $n");
7173 } 7234 }
7174 if (query.length > 0) { 7235 if (query.length > 0) {
7175 for (var part in query.split("&")) { 7236 for (var part in query.split("&")) {
7176 var keyvalue = part.split("="); 7237 var keyvalue = part.split("=");
7177 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 7238 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
7178 } 7239 }
7179 } 7240 }
7241 unittest.expect(queryMap["gcsPath"].first, unittest.equals(arg_gcsPath)) ;
7180 unittest.expect(queryMap["validateOnly"].first, unittest.equals("$arg_va lidateOnly")); 7242 unittest.expect(queryMap["validateOnly"].first, unittest.equals("$arg_va lidateOnly"));
7181 unittest.expect(queryMap["gcsPath"].first, unittest.equals(arg_gcsPath)) ;
7182 7243
7183 7244
7184 var h = { 7245 var h = {
7185 "content-type" : "application/json; charset=utf-8", 7246 "content-type" : "application/json; charset=utf-8",
7186 }; 7247 };
7187 var resp = convert.JSON.encode(buildLaunchTemplateResponse()); 7248 var resp = convert.JSON.encode(buildLaunchTemplateResponse());
7188 return new async.Future.value(stringResponse(200, h, resp)); 7249 return new async.Future.value(stringResponse(200, h, resp));
7189 }), true); 7250 }), true);
7190 res.launch(arg_request, arg_projectId, arg_location, validateOnly: arg_val idateOnly, gcsPath: arg_gcsPath).then(unittest.expectAsync1(((api.LaunchTemplate Response response) { 7251 res.launch(arg_request, arg_projectId, arg_location, gcsPath: arg_gcsPath, validateOnly: arg_validateOnly).then(unittest.expectAsync1(((api.LaunchTemplate Response response) {
7191 checkLaunchTemplateResponse(response); 7252 checkLaunchTemplateResponse(response);
7192 }))); 7253 })));
7193 }); 7254 });
7194 7255
7195 }); 7256 });
7196 7257
7197 7258
7198 unittest.group("resource-ProjectsTemplatesResourceApi", () { 7259 unittest.group("resource-ProjectsTemplatesResourceApi", () {
7199 unittest.test("method--create", () { 7260 unittest.test("method--create", () {
7200 7261
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
7367 res.launch(arg_request, arg_projectId, location: arg_location, validateOnl y: arg_validateOnly, gcsPath: arg_gcsPath).then(unittest.expectAsync1(((api.Laun chTemplateResponse response) { 7428 res.launch(arg_request, arg_projectId, location: arg_location, validateOnl y: arg_validateOnly, gcsPath: arg_gcsPath).then(unittest.expectAsync1(((api.Laun chTemplateResponse response) {
7368 checkLaunchTemplateResponse(response); 7429 checkLaunchTemplateResponse(response);
7369 }))); 7430 })));
7370 }); 7431 });
7371 7432
7372 }); 7433 });
7373 7434
7374 7435
7375 } 7436 }
7376 7437
OLDNEW
« no previous file with comments | « generated/googleapis_beta/test/clouduseraccounts/beta_test.dart ('k') | generated/googleapis_beta/test/dlp/v2beta1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698