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

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

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 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:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 checkAutoscalingSettings(api.AutoscalingSettings o) { 135 checkAutoscalingSettings(api.AutoscalingSettings o) {
136 buildCounterAutoscalingSettings++; 136 buildCounterAutoscalingSettings++;
137 if (buildCounterAutoscalingSettings < 3) { 137 if (buildCounterAutoscalingSettings < 3) {
138 unittest.expect(o.algorithm, unittest.equals('foo')); 138 unittest.expect(o.algorithm, unittest.equals('foo'));
139 unittest.expect(o.maxNumWorkers, unittest.equals(42)); 139 unittest.expect(o.maxNumWorkers, unittest.equals(42));
140 } 140 }
141 buildCounterAutoscalingSettings--; 141 buildCounterAutoscalingSettings--;
142 } 142 }
143 143
144 buildUnnamed3490() { 144 buildUnnamed3540() {
145 var o = new core.List<api.StreamLocation>(); 145 var o = new core.List<api.StreamLocation>();
146 o.add(buildStreamLocation()); 146 o.add(buildStreamLocation());
147 o.add(buildStreamLocation()); 147 o.add(buildStreamLocation());
148 return o; 148 return o;
149 } 149 }
150 150
151 checkUnnamed3490(core.List<api.StreamLocation> o) { 151 checkUnnamed3540(core.List<api.StreamLocation> o) {
152 unittest.expect(o, unittest.hasLength(2)); 152 unittest.expect(o, unittest.hasLength(2));
153 checkStreamLocation(o[0]); 153 checkStreamLocation(o[0]);
154 checkStreamLocation(o[1]); 154 checkStreamLocation(o[1]);
155 } 155 }
156 156
157 buildUnnamed3491() { 157 buildUnnamed3541() {
158 var o = new core.List<api.KeyRangeLocation>(); 158 var o = new core.List<api.KeyRangeLocation>();
159 o.add(buildKeyRangeLocation()); 159 o.add(buildKeyRangeLocation());
160 o.add(buildKeyRangeLocation()); 160 o.add(buildKeyRangeLocation());
161 return o; 161 return o;
162 } 162 }
163 163
164 checkUnnamed3491(core.List<api.KeyRangeLocation> o) { 164 checkUnnamed3541(core.List<api.KeyRangeLocation> o) {
165 unittest.expect(o, unittest.hasLength(2)); 165 unittest.expect(o, unittest.hasLength(2));
166 checkKeyRangeLocation(o[0]); 166 checkKeyRangeLocation(o[0]);
167 checkKeyRangeLocation(o[1]); 167 checkKeyRangeLocation(o[1]);
168 } 168 }
169 169
170 buildUnnamed3492() { 170 buildUnnamed3542() {
171 var o = new core.List<api.StreamLocation>(); 171 var o = new core.List<api.StreamLocation>();
172 o.add(buildStreamLocation()); 172 o.add(buildStreamLocation());
173 o.add(buildStreamLocation()); 173 o.add(buildStreamLocation());
174 return o; 174 return o;
175 } 175 }
176 176
177 checkUnnamed3492(core.List<api.StreamLocation> o) { 177 checkUnnamed3542(core.List<api.StreamLocation> o) {
178 unittest.expect(o, unittest.hasLength(2)); 178 unittest.expect(o, unittest.hasLength(2));
179 checkStreamLocation(o[0]); 179 checkStreamLocation(o[0]);
180 checkStreamLocation(o[1]); 180 checkStreamLocation(o[1]);
181 } 181 }
182 182
183 buildUnnamed3493() { 183 buildUnnamed3543() {
184 var o = new core.List<api.StateFamilyConfig>(); 184 var o = new core.List<api.StateFamilyConfig>();
185 o.add(buildStateFamilyConfig()); 185 o.add(buildStateFamilyConfig());
186 o.add(buildStateFamilyConfig()); 186 o.add(buildStateFamilyConfig());
187 return o; 187 return o;
188 } 188 }
189 189
190 checkUnnamed3493(core.List<api.StateFamilyConfig> o) { 190 checkUnnamed3543(core.List<api.StateFamilyConfig> o) {
191 unittest.expect(o, unittest.hasLength(2)); 191 unittest.expect(o, unittest.hasLength(2));
192 checkStateFamilyConfig(o[0]); 192 checkStateFamilyConfig(o[0]);
193 checkStateFamilyConfig(o[1]); 193 checkStateFamilyConfig(o[1]);
194 } 194 }
195 195
196 core.int buildCounterComputationTopology = 0; 196 core.int buildCounterComputationTopology = 0;
197 buildComputationTopology() { 197 buildComputationTopology() {
198 var o = new api.ComputationTopology(); 198 var o = new api.ComputationTopology();
199 buildCounterComputationTopology++; 199 buildCounterComputationTopology++;
200 if (buildCounterComputationTopology < 3) { 200 if (buildCounterComputationTopology < 3) {
201 o.computationId = "foo"; 201 o.computationId = "foo";
202 o.inputs = buildUnnamed3490(); 202 o.inputs = buildUnnamed3540();
203 o.keyRanges = buildUnnamed3491(); 203 o.keyRanges = buildUnnamed3541();
204 o.outputs = buildUnnamed3492(); 204 o.outputs = buildUnnamed3542();
205 o.stateFamilies = buildUnnamed3493(); 205 o.stateFamilies = buildUnnamed3543();
206 o.systemStageName = "foo"; 206 o.systemStageName = "foo";
207 o.userStageName = "foo"; 207 o.userStageName = "foo";
208 } 208 }
209 buildCounterComputationTopology--; 209 buildCounterComputationTopology--;
210 return o; 210 return o;
211 } 211 }
212 212
213 checkComputationTopology(api.ComputationTopology o) { 213 checkComputationTopology(api.ComputationTopology o) {
214 buildCounterComputationTopology++; 214 buildCounterComputationTopology++;
215 if (buildCounterComputationTopology < 3) { 215 if (buildCounterComputationTopology < 3) {
216 unittest.expect(o.computationId, unittest.equals('foo')); 216 unittest.expect(o.computationId, unittest.equals('foo'));
217 checkUnnamed3490(o.inputs); 217 checkUnnamed3540(o.inputs);
218 checkUnnamed3491(o.keyRanges); 218 checkUnnamed3541(o.keyRanges);
219 checkUnnamed3492(o.outputs); 219 checkUnnamed3542(o.outputs);
220 checkUnnamed3493(o.stateFamilies); 220 checkUnnamed3543(o.stateFamilies);
221 unittest.expect(o.systemStageName, unittest.equals('foo')); 221 unittest.expect(o.systemStageName, unittest.equals('foo'));
222 unittest.expect(o.userStageName, unittest.equals('foo')); 222 unittest.expect(o.userStageName, unittest.equals('foo'));
223 } 223 }
224 buildCounterComputationTopology--; 224 buildCounterComputationTopology--;
225 } 225 }
226 226
227 core.int buildCounterConcatPosition = 0; 227 core.int buildCounterConcatPosition = 0;
228 buildConcatPosition() { 228 buildConcatPosition() {
229 var o = new api.ConcatPosition(); 229 var o = new api.ConcatPosition();
230 buildCounterConcatPosition++; 230 buildCounterConcatPosition++;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 checkIntegerMean(o.integerMean); 360 checkIntegerMean(o.integerMean);
361 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')); 361 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'));
362 checkNameAndKind(o.nameAndKind); 362 checkNameAndKind(o.nameAndKind);
363 unittest.expect(o.shortId, unittest.equals('foo')); 363 unittest.expect(o.shortId, unittest.equals('foo'));
364 checkStringList(o.stringList); 364 checkStringList(o.stringList);
365 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata); 365 checkCounterStructuredNameAndMetadata(o.structuredNameAndMetadata);
366 } 366 }
367 buildCounterCounterUpdate--; 367 buildCounterCounterUpdate--;
368 } 368 }
369 369
370 buildUnnamed3494() { 370 buildUnnamed3544() {
371 var o = new core.Map<core.String, core.String>(); 371 var o = new core.Map<core.String, core.String>();
372 o["x"] = "foo"; 372 o["x"] = "foo";
373 o["y"] = "foo"; 373 o["y"] = "foo";
374 return o; 374 return o;
375 } 375 }
376 376
377 checkUnnamed3494(core.Map<core.String, core.String> o) { 377 checkUnnamed3544(core.Map<core.String, core.String> o) {
378 unittest.expect(o, unittest.hasLength(2)); 378 unittest.expect(o, unittest.hasLength(2));
379 unittest.expect(o["x"], unittest.equals('foo')); 379 unittest.expect(o["x"], unittest.equals('foo'));
380 unittest.expect(o["y"], unittest.equals('foo')); 380 unittest.expect(o["y"], unittest.equals('foo'));
381 } 381 }
382 382
383 core.int buildCounterCreateJobFromTemplateRequest = 0; 383 core.int buildCounterCreateJobFromTemplateRequest = 0;
384 buildCreateJobFromTemplateRequest() { 384 buildCreateJobFromTemplateRequest() {
385 var o = new api.CreateJobFromTemplateRequest(); 385 var o = new api.CreateJobFromTemplateRequest();
386 buildCounterCreateJobFromTemplateRequest++; 386 buildCounterCreateJobFromTemplateRequest++;
387 if (buildCounterCreateJobFromTemplateRequest < 3) { 387 if (buildCounterCreateJobFromTemplateRequest < 3) {
388 o.gcsPath = "foo"; 388 o.gcsPath = "foo";
389 o.parameters = buildUnnamed3494(); 389 o.parameters = buildUnnamed3544();
390 } 390 }
391 buildCounterCreateJobFromTemplateRequest--; 391 buildCounterCreateJobFromTemplateRequest--;
392 return o; 392 return o;
393 } 393 }
394 394
395 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { 395 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) {
396 buildCounterCreateJobFromTemplateRequest++; 396 buildCounterCreateJobFromTemplateRequest++;
397 if (buildCounterCreateJobFromTemplateRequest < 3) { 397 if (buildCounterCreateJobFromTemplateRequest < 3) {
398 unittest.expect(o.gcsPath, unittest.equals('foo')); 398 unittest.expect(o.gcsPath, unittest.equals('foo'));
399 checkUnnamed3494(o.parameters); 399 checkUnnamed3544(o.parameters);
400 } 400 }
401 buildCounterCreateJobFromTemplateRequest--; 401 buildCounterCreateJobFromTemplateRequest--;
402 } 402 }
403 403
404 core.int buildCounterCustomSourceLocation = 0; 404 core.int buildCounterCustomSourceLocation = 0;
405 buildCustomSourceLocation() { 405 buildCustomSourceLocation() {
406 var o = new api.CustomSourceLocation(); 406 var o = new api.CustomSourceLocation();
407 buildCounterCustomSourceLocation++; 407 buildCounterCustomSourceLocation++;
408 if (buildCounterCustomSourceLocation < 3) { 408 if (buildCounterCustomSourceLocation < 3) {
409 o.stateful = true; 409 o.stateful = true;
410 } 410 }
411 buildCounterCustomSourceLocation--; 411 buildCounterCustomSourceLocation--;
412 return o; 412 return o;
413 } 413 }
414 414
415 checkCustomSourceLocation(api.CustomSourceLocation o) { 415 checkCustomSourceLocation(api.CustomSourceLocation o) {
416 buildCounterCustomSourceLocation++; 416 buildCounterCustomSourceLocation++;
417 if (buildCounterCustomSourceLocation < 3) { 417 if (buildCounterCustomSourceLocation < 3) {
418 unittest.expect(o.stateful, unittest.isTrue); 418 unittest.expect(o.stateful, unittest.isTrue);
419 } 419 }
420 buildCounterCustomSourceLocation--; 420 buildCounterCustomSourceLocation--;
421 } 421 }
422 422
423 buildUnnamed3495() { 423 buildUnnamed3545() {
424 var o = new core.List<core.String>(); 424 var o = new core.List<core.String>();
425 o.add("foo"); 425 o.add("foo");
426 o.add("foo"); 426 o.add("foo");
427 return o; 427 return o;
428 } 428 }
429 429
430 checkUnnamed3495(core.List<core.String> o) { 430 checkUnnamed3545(core.List<core.String> o) {
431 unittest.expect(o, unittest.hasLength(2)); 431 unittest.expect(o, unittest.hasLength(2));
432 unittest.expect(o[0], unittest.equals('foo')); 432 unittest.expect(o[0], unittest.equals('foo'));
433 unittest.expect(o[1], unittest.equals('foo')); 433 unittest.expect(o[1], unittest.equals('foo'));
434 } 434 }
435 435
436 core.int buildCounterDataDiskAssignment = 0; 436 core.int buildCounterDataDiskAssignment = 0;
437 buildDataDiskAssignment() { 437 buildDataDiskAssignment() {
438 var o = new api.DataDiskAssignment(); 438 var o = new api.DataDiskAssignment();
439 buildCounterDataDiskAssignment++; 439 buildCounterDataDiskAssignment++;
440 if (buildCounterDataDiskAssignment < 3) { 440 if (buildCounterDataDiskAssignment < 3) {
441 o.dataDisks = buildUnnamed3495(); 441 o.dataDisks = buildUnnamed3545();
442 o.vmInstance = "foo"; 442 o.vmInstance = "foo";
443 } 443 }
444 buildCounterDataDiskAssignment--; 444 buildCounterDataDiskAssignment--;
445 return o; 445 return o;
446 } 446 }
447 447
448 checkDataDiskAssignment(api.DataDiskAssignment o) { 448 checkDataDiskAssignment(api.DataDiskAssignment o) {
449 buildCounterDataDiskAssignment++; 449 buildCounterDataDiskAssignment++;
450 if (buildCounterDataDiskAssignment < 3) { 450 if (buildCounterDataDiskAssignment < 3) {
451 checkUnnamed3495(o.dataDisks); 451 checkUnnamed3545(o.dataDisks);
452 unittest.expect(o.vmInstance, unittest.equals('foo')); 452 unittest.expect(o.vmInstance, unittest.equals('foo'));
453 } 453 }
454 buildCounterDataDiskAssignment--; 454 buildCounterDataDiskAssignment--;
455 } 455 }
456 456
457 core.int buildCounterDerivedSource = 0; 457 core.int buildCounterDerivedSource = 0;
458 buildDerivedSource() { 458 buildDerivedSource() {
459 var o = new api.DerivedSource(); 459 var o = new api.DerivedSource();
460 buildCounterDerivedSource++; 460 buildCounterDerivedSource++;
461 if (buildCounterDerivedSource < 3) { 461 if (buildCounterDerivedSource < 3) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 512
513 checkDynamicSourceSplit(api.DynamicSourceSplit o) { 513 checkDynamicSourceSplit(api.DynamicSourceSplit o) {
514 buildCounterDynamicSourceSplit++; 514 buildCounterDynamicSourceSplit++;
515 if (buildCounterDynamicSourceSplit < 3) { 515 if (buildCounterDynamicSourceSplit < 3) {
516 checkDerivedSource(o.primary); 516 checkDerivedSource(o.primary);
517 checkDerivedSource(o.residual); 517 checkDerivedSource(o.residual);
518 } 518 }
519 buildCounterDynamicSourceSplit--; 519 buildCounterDynamicSourceSplit--;
520 } 520 }
521 521
522 buildUnnamed3496() { 522 buildUnnamed3546() {
523 var o = new core.List<core.String>(); 523 var o = new core.List<core.String>();
524 o.add("foo"); 524 o.add("foo");
525 o.add("foo"); 525 o.add("foo");
526 return o; 526 return o;
527 } 527 }
528 528
529 checkUnnamed3496(core.List<core.String> o) { 529 checkUnnamed3546(core.List<core.String> o) {
530 unittest.expect(o, unittest.hasLength(2)); 530 unittest.expect(o, unittest.hasLength(2));
531 unittest.expect(o[0], unittest.equals('foo')); 531 unittest.expect(o[0], unittest.equals('foo'));
532 unittest.expect(o[1], unittest.equals('foo')); 532 unittest.expect(o[1], unittest.equals('foo'));
533 } 533 }
534 534
535 buildUnnamed3497() { 535 buildUnnamed3547() {
536 var o = new core.Map<core.String, core.Object>(); 536 var o = new core.Map<core.String, core.Object>();
537 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 537 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
538 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 538 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
539 return o; 539 return o;
540 } 540 }
541 541
542 checkUnnamed3497(core.Map<core.String, core.Object> o) { 542 checkUnnamed3547(core.Map<core.String, core.Object> o) {
543 unittest.expect(o, unittest.hasLength(2)); 543 unittest.expect(o, unittest.hasLength(2));
544 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')); 544 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'));
545 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')); 545 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'));
546 } 546 }
547 547
548 buildUnnamed3498() { 548 buildUnnamed3548() {
549 var o = new core.Map<core.String, core.Object>(); 549 var o = new core.Map<core.String, core.Object>();
550 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 550 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
551 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 551 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
552 return o; 552 return o;
553 } 553 }
554 554
555 checkUnnamed3498(core.Map<core.String, core.Object> o) { 555 checkUnnamed3548(core.Map<core.String, core.Object> o) {
556 unittest.expect(o, unittest.hasLength(2)); 556 unittest.expect(o, unittest.hasLength(2));
557 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')); 557 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'));
558 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')); 558 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'));
559 } 559 }
560 560
561 buildUnnamed3499() { 561 buildUnnamed3549() {
562 var o = new core.Map<core.String, core.Object>(); 562 var o = new core.Map<core.String, core.Object>();
563 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 563 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
564 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 564 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
565 return o; 565 return o;
566 } 566 }
567 567
568 checkUnnamed3499(core.Map<core.String, core.Object> o) { 568 checkUnnamed3549(core.Map<core.String, core.Object> o) {
569 unittest.expect(o, unittest.hasLength(2)); 569 unittest.expect(o, unittest.hasLength(2));
570 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')); 570 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'));
571 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')); 571 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'));
572 } 572 }
573 573
574 buildUnnamed3500() { 574 buildUnnamed3550() {
575 var o = new core.Map<core.String, core.Object>(); 575 var o = new core.Map<core.String, core.Object>();
576 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 576 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
577 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 577 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
578 return o; 578 return o;
579 } 579 }
580 580
581 checkUnnamed3500(core.Map<core.String, core.Object> o) { 581 checkUnnamed3550(core.Map<core.String, core.Object> o) {
582 unittest.expect(o, unittest.hasLength(2)); 582 unittest.expect(o, unittest.hasLength(2));
583 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')); 583 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'));
584 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')); 584 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'));
585 } 585 }
586 586
587 buildUnnamed3501() { 587 buildUnnamed3551() {
588 var o = new core.List<api.WorkerPool>(); 588 var o = new core.List<api.WorkerPool>();
589 o.add(buildWorkerPool()); 589 o.add(buildWorkerPool());
590 o.add(buildWorkerPool()); 590 o.add(buildWorkerPool());
591 return o; 591 return o;
592 } 592 }
593 593
594 checkUnnamed3501(core.List<api.WorkerPool> o) { 594 checkUnnamed3551(core.List<api.WorkerPool> o) {
595 unittest.expect(o, unittest.hasLength(2)); 595 unittest.expect(o, unittest.hasLength(2));
596 checkWorkerPool(o[0]); 596 checkWorkerPool(o[0]);
597 checkWorkerPool(o[1]); 597 checkWorkerPool(o[1]);
598 } 598 }
599 599
600 core.int buildCounterEnvironment = 0; 600 core.int buildCounterEnvironment = 0;
601 buildEnvironment() { 601 buildEnvironment() {
602 var o = new api.Environment(); 602 var o = new api.Environment();
603 buildCounterEnvironment++; 603 buildCounterEnvironment++;
604 if (buildCounterEnvironment < 3) { 604 if (buildCounterEnvironment < 3) {
605 o.clusterManagerApiService = "foo"; 605 o.clusterManagerApiService = "foo";
606 o.dataset = "foo"; 606 o.dataset = "foo";
607 o.experiments = buildUnnamed3496(); 607 o.experiments = buildUnnamed3546();
608 o.internalExperiments = buildUnnamed3497(); 608 o.internalExperiments = buildUnnamed3547();
609 o.sdkPipelineOptions = buildUnnamed3498(); 609 o.sdkPipelineOptions = buildUnnamed3548();
610 o.tempStoragePrefix = "foo"; 610 o.tempStoragePrefix = "foo";
611 o.userAgent = buildUnnamed3499(); 611 o.userAgent = buildUnnamed3549();
612 o.version = buildUnnamed3500(); 612 o.version = buildUnnamed3550();
613 o.workerPools = buildUnnamed3501(); 613 o.workerPools = buildUnnamed3551();
614 } 614 }
615 buildCounterEnvironment--; 615 buildCounterEnvironment--;
616 return o; 616 return o;
617 } 617 }
618 618
619 checkEnvironment(api.Environment o) { 619 checkEnvironment(api.Environment o) {
620 buildCounterEnvironment++; 620 buildCounterEnvironment++;
621 if (buildCounterEnvironment < 3) { 621 if (buildCounterEnvironment < 3) {
622 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); 622 unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
623 unittest.expect(o.dataset, unittest.equals('foo')); 623 unittest.expect(o.dataset, unittest.equals('foo'));
624 checkUnnamed3496(o.experiments); 624 checkUnnamed3546(o.experiments);
625 checkUnnamed3497(o.internalExperiments); 625 checkUnnamed3547(o.internalExperiments);
626 checkUnnamed3498(o.sdkPipelineOptions); 626 checkUnnamed3548(o.sdkPipelineOptions);
627 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 627 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
628 checkUnnamed3499(o.userAgent); 628 checkUnnamed3549(o.userAgent);
629 checkUnnamed3500(o.version); 629 checkUnnamed3550(o.version);
630 checkUnnamed3501(o.workerPools); 630 checkUnnamed3551(o.workerPools);
631 } 631 }
632 buildCounterEnvironment--; 632 buildCounterEnvironment--;
633 } 633 }
634 634
635 buildUnnamed3502() { 635 buildUnnamed3552() {
636 var o = new core.List<api.InstructionInput>(); 636 var o = new core.List<api.InstructionInput>();
637 o.add(buildInstructionInput()); 637 o.add(buildInstructionInput());
638 o.add(buildInstructionInput()); 638 o.add(buildInstructionInput());
639 return o; 639 return o;
640 } 640 }
641 641
642 checkUnnamed3502(core.List<api.InstructionInput> o) { 642 checkUnnamed3552(core.List<api.InstructionInput> o) {
643 unittest.expect(o, unittest.hasLength(2)); 643 unittest.expect(o, unittest.hasLength(2));
644 checkInstructionInput(o[0]); 644 checkInstructionInput(o[0]);
645 checkInstructionInput(o[1]); 645 checkInstructionInput(o[1]);
646 } 646 }
647 647
648 core.int buildCounterFlattenInstruction = 0; 648 core.int buildCounterFlattenInstruction = 0;
649 buildFlattenInstruction() { 649 buildFlattenInstruction() {
650 var o = new api.FlattenInstruction(); 650 var o = new api.FlattenInstruction();
651 buildCounterFlattenInstruction++; 651 buildCounterFlattenInstruction++;
652 if (buildCounterFlattenInstruction < 3) { 652 if (buildCounterFlattenInstruction < 3) {
653 o.inputs = buildUnnamed3502(); 653 o.inputs = buildUnnamed3552();
654 } 654 }
655 buildCounterFlattenInstruction--; 655 buildCounterFlattenInstruction--;
656 return o; 656 return o;
657 } 657 }
658 658
659 checkFlattenInstruction(api.FlattenInstruction o) { 659 checkFlattenInstruction(api.FlattenInstruction o) {
660 buildCounterFlattenInstruction++; 660 buildCounterFlattenInstruction++;
661 if (buildCounterFlattenInstruction < 3) { 661 if (buildCounterFlattenInstruction < 3) {
662 checkUnnamed3502(o.inputs); 662 checkUnnamed3552(o.inputs);
663 } 663 }
664 buildCounterFlattenInstruction--; 664 buildCounterFlattenInstruction--;
665 } 665 }
666 666
667 buildUnnamed3503() { 667 buildUnnamed3553() {
668 var o = new core.List<core.double>(); 668 var o = new core.List<core.double>();
669 o.add(42.0); 669 o.add(42.0);
670 o.add(42.0); 670 o.add(42.0);
671 return o; 671 return o;
672 } 672 }
673 673
674 checkUnnamed3503(core.List<core.double> o) { 674 checkUnnamed3553(core.List<core.double> o) {
675 unittest.expect(o, unittest.hasLength(2)); 675 unittest.expect(o, unittest.hasLength(2));
676 unittest.expect(o[0], unittest.equals(42.0)); 676 unittest.expect(o[0], unittest.equals(42.0));
677 unittest.expect(o[1], unittest.equals(42.0)); 677 unittest.expect(o[1], unittest.equals(42.0));
678 } 678 }
679 679
680 core.int buildCounterFloatingPointList = 0; 680 core.int buildCounterFloatingPointList = 0;
681 buildFloatingPointList() { 681 buildFloatingPointList() {
682 var o = new api.FloatingPointList(); 682 var o = new api.FloatingPointList();
683 buildCounterFloatingPointList++; 683 buildCounterFloatingPointList++;
684 if (buildCounterFloatingPointList < 3) { 684 if (buildCounterFloatingPointList < 3) {
685 o.elements = buildUnnamed3503(); 685 o.elements = buildUnnamed3553();
686 } 686 }
687 buildCounterFloatingPointList--; 687 buildCounterFloatingPointList--;
688 return o; 688 return o;
689 } 689 }
690 690
691 checkFloatingPointList(api.FloatingPointList o) { 691 checkFloatingPointList(api.FloatingPointList o) {
692 buildCounterFloatingPointList++; 692 buildCounterFloatingPointList++;
693 if (buildCounterFloatingPointList < 3) { 693 if (buildCounterFloatingPointList < 3) {
694 checkUnnamed3503(o.elements); 694 checkUnnamed3553(o.elements);
695 } 695 }
696 buildCounterFloatingPointList--; 696 buildCounterFloatingPointList--;
697 } 697 }
698 698
699 core.int buildCounterFloatingPointMean = 0; 699 core.int buildCounterFloatingPointMean = 0;
700 buildFloatingPointMean() { 700 buildFloatingPointMean() {
701 var o = new api.FloatingPointMean(); 701 var o = new api.FloatingPointMean();
702 buildCounterFloatingPointMean++; 702 buildCounterFloatingPointMean++;
703 if (buildCounterFloatingPointMean < 3) { 703 if (buildCounterFloatingPointMean < 3) {
704 o.count = buildSplitInt64(); 704 o.count = buildSplitInt64();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 771
772 checkInstructionInput(api.InstructionInput o) { 772 checkInstructionInput(api.InstructionInput o) {
773 buildCounterInstructionInput++; 773 buildCounterInstructionInput++;
774 if (buildCounterInstructionInput < 3) { 774 if (buildCounterInstructionInput < 3) {
775 unittest.expect(o.outputNum, unittest.equals(42)); 775 unittest.expect(o.outputNum, unittest.equals(42));
776 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); 776 unittest.expect(o.producerInstructionIndex, unittest.equals(42));
777 } 777 }
778 buildCounterInstructionInput--; 778 buildCounterInstructionInput--;
779 } 779 }
780 780
781 buildUnnamed3504() { 781 buildUnnamed3554() {
782 var o = new core.Map<core.String, core.Object>(); 782 var o = new core.Map<core.String, core.Object>();
783 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 783 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
784 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 784 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
785 return o; 785 return o;
786 } 786 }
787 787
788 checkUnnamed3504(core.Map<core.String, core.Object> o) { 788 checkUnnamed3554(core.Map<core.String, core.Object> o) {
789 unittest.expect(o, unittest.hasLength(2)); 789 unittest.expect(o, unittest.hasLength(2));
790 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')); 790 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'));
791 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')); 791 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'));
792 } 792 }
793 793
794 core.int buildCounterInstructionOutput = 0; 794 core.int buildCounterInstructionOutput = 0;
795 buildInstructionOutput() { 795 buildInstructionOutput() {
796 var o = new api.InstructionOutput(); 796 var o = new api.InstructionOutput();
797 buildCounterInstructionOutput++; 797 buildCounterInstructionOutput++;
798 if (buildCounterInstructionOutput < 3) { 798 if (buildCounterInstructionOutput < 3) {
799 o.codec = buildUnnamed3504(); 799 o.codec = buildUnnamed3554();
800 o.name = "foo"; 800 o.name = "foo";
801 o.onlyCountKeyBytes = true; 801 o.onlyCountKeyBytes = true;
802 o.onlyCountValueBytes = true; 802 o.onlyCountValueBytes = true;
803 o.originalName = "foo"; 803 o.originalName = "foo";
804 o.systemName = "foo"; 804 o.systemName = "foo";
805 } 805 }
806 buildCounterInstructionOutput--; 806 buildCounterInstructionOutput--;
807 return o; 807 return o;
808 } 808 }
809 809
810 checkInstructionOutput(api.InstructionOutput o) { 810 checkInstructionOutput(api.InstructionOutput o) {
811 buildCounterInstructionOutput++; 811 buildCounterInstructionOutput++;
812 if (buildCounterInstructionOutput < 3) { 812 if (buildCounterInstructionOutput < 3) {
813 checkUnnamed3504(o.codec); 813 checkUnnamed3554(o.codec);
814 unittest.expect(o.name, unittest.equals('foo')); 814 unittest.expect(o.name, unittest.equals('foo'));
815 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); 815 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue);
816 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); 816 unittest.expect(o.onlyCountValueBytes, unittest.isTrue);
817 unittest.expect(o.originalName, unittest.equals('foo')); 817 unittest.expect(o.originalName, unittest.equals('foo'));
818 unittest.expect(o.systemName, unittest.equals('foo')); 818 unittest.expect(o.systemName, unittest.equals('foo'));
819 } 819 }
820 buildCounterInstructionOutput--; 820 buildCounterInstructionOutput--;
821 } 821 }
822 822
823 buildUnnamed3505() { 823 buildUnnamed3555() {
824 var o = new core.List<api.SplitInt64>(); 824 var o = new core.List<api.SplitInt64>();
825 o.add(buildSplitInt64()); 825 o.add(buildSplitInt64());
826 o.add(buildSplitInt64()); 826 o.add(buildSplitInt64());
827 return o; 827 return o;
828 } 828 }
829 829
830 checkUnnamed3505(core.List<api.SplitInt64> o) { 830 checkUnnamed3555(core.List<api.SplitInt64> o) {
831 unittest.expect(o, unittest.hasLength(2)); 831 unittest.expect(o, unittest.hasLength(2));
832 checkSplitInt64(o[0]); 832 checkSplitInt64(o[0]);
833 checkSplitInt64(o[1]); 833 checkSplitInt64(o[1]);
834 } 834 }
835 835
836 core.int buildCounterIntegerList = 0; 836 core.int buildCounterIntegerList = 0;
837 buildIntegerList() { 837 buildIntegerList() {
838 var o = new api.IntegerList(); 838 var o = new api.IntegerList();
839 buildCounterIntegerList++; 839 buildCounterIntegerList++;
840 if (buildCounterIntegerList < 3) { 840 if (buildCounterIntegerList < 3) {
841 o.elements = buildUnnamed3505(); 841 o.elements = buildUnnamed3555();
842 } 842 }
843 buildCounterIntegerList--; 843 buildCounterIntegerList--;
844 return o; 844 return o;
845 } 845 }
846 846
847 checkIntegerList(api.IntegerList o) { 847 checkIntegerList(api.IntegerList o) {
848 buildCounterIntegerList++; 848 buildCounterIntegerList++;
849 if (buildCounterIntegerList < 3) { 849 if (buildCounterIntegerList < 3) {
850 checkUnnamed3505(o.elements); 850 checkUnnamed3555(o.elements);
851 } 851 }
852 buildCounterIntegerList--; 852 buildCounterIntegerList--;
853 } 853 }
854 854
855 core.int buildCounterIntegerMean = 0; 855 core.int buildCounterIntegerMean = 0;
856 buildIntegerMean() { 856 buildIntegerMean() {
857 var o = new api.IntegerMean(); 857 var o = new api.IntegerMean();
858 buildCounterIntegerMean++; 858 buildCounterIntegerMean++;
859 if (buildCounterIntegerMean < 3) { 859 if (buildCounterIntegerMean < 3) {
860 o.count = buildSplitInt64(); 860 o.count = buildSplitInt64();
861 o.sum = buildSplitInt64(); 861 o.sum = buildSplitInt64();
862 } 862 }
863 buildCounterIntegerMean--; 863 buildCounterIntegerMean--;
864 return o; 864 return o;
865 } 865 }
866 866
867 checkIntegerMean(api.IntegerMean o) { 867 checkIntegerMean(api.IntegerMean o) {
868 buildCounterIntegerMean++; 868 buildCounterIntegerMean++;
869 if (buildCounterIntegerMean < 3) { 869 if (buildCounterIntegerMean < 3) {
870 checkSplitInt64(o.count); 870 checkSplitInt64(o.count);
871 checkSplitInt64(o.sum); 871 checkSplitInt64(o.sum);
872 } 872 }
873 buildCounterIntegerMean--; 873 buildCounterIntegerMean--;
874 } 874 }
875 875
876 buildUnnamed3506() { 876 buildUnnamed3556() {
877 var o = new core.Map<core.String, core.String>(); 877 var o = new core.Map<core.String, core.String>();
878 o["x"] = "foo"; 878 o["x"] = "foo";
879 o["y"] = "foo"; 879 o["y"] = "foo";
880 return o; 880 return o;
881 } 881 }
882 882
883 checkUnnamed3506(core.Map<core.String, core.String> o) { 883 checkUnnamed3556(core.Map<core.String, core.String> o) {
884 unittest.expect(o, unittest.hasLength(2)); 884 unittest.expect(o, unittest.hasLength(2));
885 unittest.expect(o["x"], unittest.equals('foo')); 885 unittest.expect(o["x"], unittest.equals('foo'));
886 unittest.expect(o["y"], unittest.equals('foo')); 886 unittest.expect(o["y"], unittest.equals('foo'));
887 } 887 }
888 888
889 buildUnnamed3507() { 889 buildUnnamed3557() {
890 var o = new core.List<api.Step>(); 890 var o = new core.List<api.Step>();
891 o.add(buildStep()); 891 o.add(buildStep());
892 o.add(buildStep()); 892 o.add(buildStep());
893 return o; 893 return o;
894 } 894 }
895 895
896 checkUnnamed3507(core.List<api.Step> o) { 896 checkUnnamed3557(core.List<api.Step> o) {
897 unittest.expect(o, unittest.hasLength(2)); 897 unittest.expect(o, unittest.hasLength(2));
898 checkStep(o[0]); 898 checkStep(o[0]);
899 checkStep(o[1]); 899 checkStep(o[1]);
900 } 900 }
901 901
902 buildUnnamed3508() { 902 buildUnnamed3558() {
903 var o = new core.List<core.String>(); 903 var o = new core.List<core.String>();
904 o.add("foo"); 904 o.add("foo");
905 o.add("foo"); 905 o.add("foo");
906 return o; 906 return o;
907 } 907 }
908 908
909 checkUnnamed3508(core.List<core.String> o) { 909 checkUnnamed3558(core.List<core.String> o) {
910 unittest.expect(o, unittest.hasLength(2)); 910 unittest.expect(o, unittest.hasLength(2));
911 unittest.expect(o[0], unittest.equals('foo')); 911 unittest.expect(o[0], unittest.equals('foo'));
912 unittest.expect(o[1], unittest.equals('foo')); 912 unittest.expect(o[1], unittest.equals('foo'));
913 } 913 }
914 914
915 buildUnnamed3509() { 915 buildUnnamed3559() {
916 var o = new core.Map<core.String, core.String>(); 916 var o = new core.Map<core.String, core.String>();
917 o["x"] = "foo"; 917 o["x"] = "foo";
918 o["y"] = "foo"; 918 o["y"] = "foo";
919 return o; 919 return o;
920 } 920 }
921 921
922 checkUnnamed3509(core.Map<core.String, core.String> o) { 922 checkUnnamed3559(core.Map<core.String, core.String> o) {
923 unittest.expect(o, unittest.hasLength(2)); 923 unittest.expect(o, unittest.hasLength(2));
924 unittest.expect(o["x"], unittest.equals('foo')); 924 unittest.expect(o["x"], unittest.equals('foo'));
925 unittest.expect(o["y"], unittest.equals('foo')); 925 unittest.expect(o["y"], unittest.equals('foo'));
926 } 926 }
927 927
928 core.int buildCounterJob = 0; 928 core.int buildCounterJob = 0;
929 buildJob() { 929 buildJob() {
930 var o = new api.Job(); 930 var o = new api.Job();
931 buildCounterJob++; 931 buildCounterJob++;
932 if (buildCounterJob < 3) { 932 if (buildCounterJob < 3) {
933 o.clientRequestId = "foo"; 933 o.clientRequestId = "foo";
934 o.createTime = "foo"; 934 o.createTime = "foo";
935 o.currentState = "foo"; 935 o.currentState = "foo";
936 o.currentStateTime = "foo"; 936 o.currentStateTime = "foo";
937 o.environment = buildEnvironment(); 937 o.environment = buildEnvironment();
938 o.executionInfo = buildJobExecutionInfo(); 938 o.executionInfo = buildJobExecutionInfo();
939 o.id = "foo"; 939 o.id = "foo";
940 o.labels = buildUnnamed3506(); 940 o.labels = buildUnnamed3556();
941 o.name = "foo"; 941 o.name = "foo";
942 o.projectId = "foo"; 942 o.projectId = "foo";
943 o.replaceJobId = "foo"; 943 o.replaceJobId = "foo";
944 o.replacedByJobId = "foo"; 944 o.replacedByJobId = "foo";
945 o.requestedState = "foo"; 945 o.requestedState = "foo";
946 o.steps = buildUnnamed3507(); 946 o.steps = buildUnnamed3557();
947 o.tempFiles = buildUnnamed3508(); 947 o.tempFiles = buildUnnamed3558();
948 o.transformNameMapping = buildUnnamed3509(); 948 o.transformNameMapping = buildUnnamed3559();
949 o.type = "foo"; 949 o.type = "foo";
950 } 950 }
951 buildCounterJob--; 951 buildCounterJob--;
952 return o; 952 return o;
953 } 953 }
954 954
955 checkJob(api.Job o) { 955 checkJob(api.Job o) {
956 buildCounterJob++; 956 buildCounterJob++;
957 if (buildCounterJob < 3) { 957 if (buildCounterJob < 3) {
958 unittest.expect(o.clientRequestId, unittest.equals('foo')); 958 unittest.expect(o.clientRequestId, unittest.equals('foo'));
959 unittest.expect(o.createTime, unittest.equals('foo')); 959 unittest.expect(o.createTime, unittest.equals('foo'));
960 unittest.expect(o.currentState, unittest.equals('foo')); 960 unittest.expect(o.currentState, unittest.equals('foo'));
961 unittest.expect(o.currentStateTime, unittest.equals('foo')); 961 unittest.expect(o.currentStateTime, unittest.equals('foo'));
962 checkEnvironment(o.environment); 962 checkEnvironment(o.environment);
963 checkJobExecutionInfo(o.executionInfo); 963 checkJobExecutionInfo(o.executionInfo);
964 unittest.expect(o.id, unittest.equals('foo')); 964 unittest.expect(o.id, unittest.equals('foo'));
965 checkUnnamed3506(o.labels); 965 checkUnnamed3556(o.labels);
966 unittest.expect(o.name, unittest.equals('foo')); 966 unittest.expect(o.name, unittest.equals('foo'));
967 unittest.expect(o.projectId, unittest.equals('foo')); 967 unittest.expect(o.projectId, unittest.equals('foo'));
968 unittest.expect(o.replaceJobId, unittest.equals('foo')); 968 unittest.expect(o.replaceJobId, unittest.equals('foo'));
969 unittest.expect(o.replacedByJobId, unittest.equals('foo')); 969 unittest.expect(o.replacedByJobId, unittest.equals('foo'));
970 unittest.expect(o.requestedState, unittest.equals('foo')); 970 unittest.expect(o.requestedState, unittest.equals('foo'));
971 checkUnnamed3507(o.steps); 971 checkUnnamed3557(o.steps);
972 checkUnnamed3508(o.tempFiles); 972 checkUnnamed3558(o.tempFiles);
973 checkUnnamed3509(o.transformNameMapping); 973 checkUnnamed3559(o.transformNameMapping);
974 unittest.expect(o.type, unittest.equals('foo')); 974 unittest.expect(o.type, unittest.equals('foo'));
975 } 975 }
976 buildCounterJob--; 976 buildCounterJob--;
977 } 977 }
978 978
979 buildUnnamed3510() { 979 buildUnnamed3560() {
980 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); 980 var o = new core.Map<core.String, api.JobExecutionStageInfo>();
981 o["x"] = buildJobExecutionStageInfo(); 981 o["x"] = buildJobExecutionStageInfo();
982 o["y"] = buildJobExecutionStageInfo(); 982 o["y"] = buildJobExecutionStageInfo();
983 return o; 983 return o;
984 } 984 }
985 985
986 checkUnnamed3510(core.Map<core.String, api.JobExecutionStageInfo> o) { 986 checkUnnamed3560(core.Map<core.String, api.JobExecutionStageInfo> o) {
987 unittest.expect(o, unittest.hasLength(2)); 987 unittest.expect(o, unittest.hasLength(2));
988 checkJobExecutionStageInfo(o["x"]); 988 checkJobExecutionStageInfo(o["x"]);
989 checkJobExecutionStageInfo(o["y"]); 989 checkJobExecutionStageInfo(o["y"]);
990 } 990 }
991 991
992 core.int buildCounterJobExecutionInfo = 0; 992 core.int buildCounterJobExecutionInfo = 0;
993 buildJobExecutionInfo() { 993 buildJobExecutionInfo() {
994 var o = new api.JobExecutionInfo(); 994 var o = new api.JobExecutionInfo();
995 buildCounterJobExecutionInfo++; 995 buildCounterJobExecutionInfo++;
996 if (buildCounterJobExecutionInfo < 3) { 996 if (buildCounterJobExecutionInfo < 3) {
997 o.stages = buildUnnamed3510(); 997 o.stages = buildUnnamed3560();
998 } 998 }
999 buildCounterJobExecutionInfo--; 999 buildCounterJobExecutionInfo--;
1000 return o; 1000 return o;
1001 } 1001 }
1002 1002
1003 checkJobExecutionInfo(api.JobExecutionInfo o) { 1003 checkJobExecutionInfo(api.JobExecutionInfo o) {
1004 buildCounterJobExecutionInfo++; 1004 buildCounterJobExecutionInfo++;
1005 if (buildCounterJobExecutionInfo < 3) { 1005 if (buildCounterJobExecutionInfo < 3) {
1006 checkUnnamed3510(o.stages); 1006 checkUnnamed3560(o.stages);
1007 } 1007 }
1008 buildCounterJobExecutionInfo--; 1008 buildCounterJobExecutionInfo--;
1009 } 1009 }
1010 1010
1011 buildUnnamed3511() { 1011 buildUnnamed3561() {
1012 var o = new core.List<core.String>(); 1012 var o = new core.List<core.String>();
1013 o.add("foo"); 1013 o.add("foo");
1014 o.add("foo"); 1014 o.add("foo");
1015 return o; 1015 return o;
1016 } 1016 }
1017 1017
1018 checkUnnamed3511(core.List<core.String> o) { 1018 checkUnnamed3561(core.List<core.String> o) {
1019 unittest.expect(o, unittest.hasLength(2)); 1019 unittest.expect(o, unittest.hasLength(2));
1020 unittest.expect(o[0], unittest.equals('foo')); 1020 unittest.expect(o[0], unittest.equals('foo'));
1021 unittest.expect(o[1], unittest.equals('foo')); 1021 unittest.expect(o[1], unittest.equals('foo'));
1022 } 1022 }
1023 1023
1024 core.int buildCounterJobExecutionStageInfo = 0; 1024 core.int buildCounterJobExecutionStageInfo = 0;
1025 buildJobExecutionStageInfo() { 1025 buildJobExecutionStageInfo() {
1026 var o = new api.JobExecutionStageInfo(); 1026 var o = new api.JobExecutionStageInfo();
1027 buildCounterJobExecutionStageInfo++; 1027 buildCounterJobExecutionStageInfo++;
1028 if (buildCounterJobExecutionStageInfo < 3) { 1028 if (buildCounterJobExecutionStageInfo < 3) {
1029 o.stepName = buildUnnamed3511(); 1029 o.stepName = buildUnnamed3561();
1030 } 1030 }
1031 buildCounterJobExecutionStageInfo--; 1031 buildCounterJobExecutionStageInfo--;
1032 return o; 1032 return o;
1033 } 1033 }
1034 1034
1035 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { 1035 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
1036 buildCounterJobExecutionStageInfo++; 1036 buildCounterJobExecutionStageInfo++;
1037 if (buildCounterJobExecutionStageInfo < 3) { 1037 if (buildCounterJobExecutionStageInfo < 3) {
1038 checkUnnamed3511(o.stepName); 1038 checkUnnamed3561(o.stepName);
1039 } 1039 }
1040 buildCounterJobExecutionStageInfo--; 1040 buildCounterJobExecutionStageInfo--;
1041 } 1041 }
1042 1042
1043 core.int buildCounterJobMessage = 0; 1043 core.int buildCounterJobMessage = 0;
1044 buildJobMessage() { 1044 buildJobMessage() {
1045 var o = new api.JobMessage(); 1045 var o = new api.JobMessage();
1046 buildCounterJobMessage++; 1046 buildCounterJobMessage++;
1047 if (buildCounterJobMessage < 3) { 1047 if (buildCounterJobMessage < 3) {
1048 o.id = "foo"; 1048 o.id = "foo";
1049 o.messageImportance = "foo"; 1049 o.messageImportance = "foo";
1050 o.messageText = "foo"; 1050 o.messageText = "foo";
1051 o.time = "foo"; 1051 o.time = "foo";
1052 } 1052 }
1053 buildCounterJobMessage--; 1053 buildCounterJobMessage--;
1054 return o; 1054 return o;
1055 } 1055 }
1056 1056
1057 checkJobMessage(api.JobMessage o) { 1057 checkJobMessage(api.JobMessage o) {
1058 buildCounterJobMessage++; 1058 buildCounterJobMessage++;
1059 if (buildCounterJobMessage < 3) { 1059 if (buildCounterJobMessage < 3) {
1060 unittest.expect(o.id, unittest.equals('foo')); 1060 unittest.expect(o.id, unittest.equals('foo'));
1061 unittest.expect(o.messageImportance, unittest.equals('foo')); 1061 unittest.expect(o.messageImportance, unittest.equals('foo'));
1062 unittest.expect(o.messageText, unittest.equals('foo')); 1062 unittest.expect(o.messageText, unittest.equals('foo'));
1063 unittest.expect(o.time, unittest.equals('foo')); 1063 unittest.expect(o.time, unittest.equals('foo'));
1064 } 1064 }
1065 buildCounterJobMessage--; 1065 buildCounterJobMessage--;
1066 } 1066 }
1067 1067
1068 buildUnnamed3512() { 1068 buildUnnamed3562() {
1069 var o = new core.List<api.MetricUpdate>(); 1069 var o = new core.List<api.MetricUpdate>();
1070 o.add(buildMetricUpdate()); 1070 o.add(buildMetricUpdate());
1071 o.add(buildMetricUpdate()); 1071 o.add(buildMetricUpdate());
1072 return o; 1072 return o;
1073 } 1073 }
1074 1074
1075 checkUnnamed3512(core.List<api.MetricUpdate> o) { 1075 checkUnnamed3562(core.List<api.MetricUpdate> o) {
1076 unittest.expect(o, unittest.hasLength(2)); 1076 unittest.expect(o, unittest.hasLength(2));
1077 checkMetricUpdate(o[0]); 1077 checkMetricUpdate(o[0]);
1078 checkMetricUpdate(o[1]); 1078 checkMetricUpdate(o[1]);
1079 } 1079 }
1080 1080
1081 core.int buildCounterJobMetrics = 0; 1081 core.int buildCounterJobMetrics = 0;
1082 buildJobMetrics() { 1082 buildJobMetrics() {
1083 var o = new api.JobMetrics(); 1083 var o = new api.JobMetrics();
1084 buildCounterJobMetrics++; 1084 buildCounterJobMetrics++;
1085 if (buildCounterJobMetrics < 3) { 1085 if (buildCounterJobMetrics < 3) {
1086 o.metricTime = "foo"; 1086 o.metricTime = "foo";
1087 o.metrics = buildUnnamed3512(); 1087 o.metrics = buildUnnamed3562();
1088 } 1088 }
1089 buildCounterJobMetrics--; 1089 buildCounterJobMetrics--;
1090 return o; 1090 return o;
1091 } 1091 }
1092 1092
1093 checkJobMetrics(api.JobMetrics o) { 1093 checkJobMetrics(api.JobMetrics o) {
1094 buildCounterJobMetrics++; 1094 buildCounterJobMetrics++;
1095 if (buildCounterJobMetrics < 3) { 1095 if (buildCounterJobMetrics < 3) {
1096 unittest.expect(o.metricTime, unittest.equals('foo')); 1096 unittest.expect(o.metricTime, unittest.equals('foo'));
1097 checkUnnamed3512(o.metrics); 1097 checkUnnamed3562(o.metrics);
1098 } 1098 }
1099 buildCounterJobMetrics--; 1099 buildCounterJobMetrics--;
1100 } 1100 }
1101 1101
1102 core.int buildCounterKeyRangeDataDiskAssignment = 0; 1102 core.int buildCounterKeyRangeDataDiskAssignment = 0;
1103 buildKeyRangeDataDiskAssignment() { 1103 buildKeyRangeDataDiskAssignment() {
1104 var o = new api.KeyRangeDataDiskAssignment(); 1104 var o = new api.KeyRangeDataDiskAssignment();
1105 buildCounterKeyRangeDataDiskAssignment++; 1105 buildCounterKeyRangeDataDiskAssignment++;
1106 if (buildCounterKeyRangeDataDiskAssignment < 3) { 1106 if (buildCounterKeyRangeDataDiskAssignment < 3) {
1107 o.dataDisk = "foo"; 1107 o.dataDisk = "foo";
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 if (buildCounterKeyRangeLocation < 3) { 1142 if (buildCounterKeyRangeLocation < 3) {
1143 unittest.expect(o.dataDisk, unittest.equals('foo')); 1143 unittest.expect(o.dataDisk, unittest.equals('foo'));
1144 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); 1144 unittest.expect(o.deliveryEndpoint, unittest.equals('foo'));
1145 unittest.expect(o.end, unittest.equals('foo')); 1145 unittest.expect(o.end, unittest.equals('foo'));
1146 unittest.expect(o.persistentDirectory, unittest.equals('foo')); 1146 unittest.expect(o.persistentDirectory, unittest.equals('foo'));
1147 unittest.expect(o.start, unittest.equals('foo')); 1147 unittest.expect(o.start, unittest.equals('foo'));
1148 } 1148 }
1149 buildCounterKeyRangeLocation--; 1149 buildCounterKeyRangeLocation--;
1150 } 1150 }
1151 1151
1152 buildUnnamed3513() { 1152 buildUnnamed3563() {
1153 var o = new core.List<core.String>(); 1153 var o = new core.List<core.String>();
1154 o.add("foo"); 1154 o.add("foo");
1155 o.add("foo"); 1155 o.add("foo");
1156 return o; 1156 return o;
1157 } 1157 }
1158 1158
1159 checkUnnamed3513(core.List<core.String> o) { 1159 checkUnnamed3563(core.List<core.String> o) {
1160 unittest.expect(o, unittest.hasLength(2)); 1160 unittest.expect(o, unittest.hasLength(2));
1161 unittest.expect(o[0], unittest.equals('foo')); 1161 unittest.expect(o[0], unittest.equals('foo'));
1162 unittest.expect(o[1], unittest.equals('foo')); 1162 unittest.expect(o[1], unittest.equals('foo'));
1163 } 1163 }
1164 1164
1165 buildUnnamed3514() { 1165 buildUnnamed3564() {
1166 var o = new core.List<core.String>(); 1166 var o = new core.List<core.String>();
1167 o.add("foo"); 1167 o.add("foo");
1168 o.add("foo"); 1168 o.add("foo");
1169 return o; 1169 return o;
1170 } 1170 }
1171 1171
1172 checkUnnamed3514(core.List<core.String> o) { 1172 checkUnnamed3564(core.List<core.String> o) {
1173 unittest.expect(o, unittest.hasLength(2)); 1173 unittest.expect(o, unittest.hasLength(2));
1174 unittest.expect(o[0], unittest.equals('foo')); 1174 unittest.expect(o[0], unittest.equals('foo'));
1175 unittest.expect(o[1], unittest.equals('foo')); 1175 unittest.expect(o[1], unittest.equals('foo'));
1176 } 1176 }
1177 1177
1178 core.int buildCounterLeaseWorkItemRequest = 0; 1178 core.int buildCounterLeaseWorkItemRequest = 0;
1179 buildLeaseWorkItemRequest() { 1179 buildLeaseWorkItemRequest() {
1180 var o = new api.LeaseWorkItemRequest(); 1180 var o = new api.LeaseWorkItemRequest();
1181 buildCounterLeaseWorkItemRequest++; 1181 buildCounterLeaseWorkItemRequest++;
1182 if (buildCounterLeaseWorkItemRequest < 3) { 1182 if (buildCounterLeaseWorkItemRequest < 3) {
1183 o.currentWorkerTime = "foo"; 1183 o.currentWorkerTime = "foo";
1184 o.requestedLeaseDuration = "foo"; 1184 o.requestedLeaseDuration = "foo";
1185 o.workItemTypes = buildUnnamed3513(); 1185 o.workItemTypes = buildUnnamed3563();
1186 o.workerCapabilities = buildUnnamed3514(); 1186 o.workerCapabilities = buildUnnamed3564();
1187 o.workerId = "foo"; 1187 o.workerId = "foo";
1188 } 1188 }
1189 buildCounterLeaseWorkItemRequest--; 1189 buildCounterLeaseWorkItemRequest--;
1190 return o; 1190 return o;
1191 } 1191 }
1192 1192
1193 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { 1193 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) {
1194 buildCounterLeaseWorkItemRequest++; 1194 buildCounterLeaseWorkItemRequest++;
1195 if (buildCounterLeaseWorkItemRequest < 3) { 1195 if (buildCounterLeaseWorkItemRequest < 3) {
1196 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 1196 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
1197 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 1197 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
1198 checkUnnamed3513(o.workItemTypes); 1198 checkUnnamed3563(o.workItemTypes);
1199 checkUnnamed3514(o.workerCapabilities); 1199 checkUnnamed3564(o.workerCapabilities);
1200 unittest.expect(o.workerId, unittest.equals('foo')); 1200 unittest.expect(o.workerId, unittest.equals('foo'));
1201 } 1201 }
1202 buildCounterLeaseWorkItemRequest--; 1202 buildCounterLeaseWorkItemRequest--;
1203 } 1203 }
1204 1204
1205 buildUnnamed3515() { 1205 buildUnnamed3565() {
1206 var o = new core.List<api.WorkItem>(); 1206 var o = new core.List<api.WorkItem>();
1207 o.add(buildWorkItem()); 1207 o.add(buildWorkItem());
1208 o.add(buildWorkItem()); 1208 o.add(buildWorkItem());
1209 return o; 1209 return o;
1210 } 1210 }
1211 1211
1212 checkUnnamed3515(core.List<api.WorkItem> o) { 1212 checkUnnamed3565(core.List<api.WorkItem> o) {
1213 unittest.expect(o, unittest.hasLength(2)); 1213 unittest.expect(o, unittest.hasLength(2));
1214 checkWorkItem(o[0]); 1214 checkWorkItem(o[0]);
1215 checkWorkItem(o[1]); 1215 checkWorkItem(o[1]);
1216 } 1216 }
1217 1217
1218 core.int buildCounterLeaseWorkItemResponse = 0; 1218 core.int buildCounterLeaseWorkItemResponse = 0;
1219 buildLeaseWorkItemResponse() { 1219 buildLeaseWorkItemResponse() {
1220 var o = new api.LeaseWorkItemResponse(); 1220 var o = new api.LeaseWorkItemResponse();
1221 buildCounterLeaseWorkItemResponse++; 1221 buildCounterLeaseWorkItemResponse++;
1222 if (buildCounterLeaseWorkItemResponse < 3) { 1222 if (buildCounterLeaseWorkItemResponse < 3) {
1223 o.workItems = buildUnnamed3515(); 1223 o.workItems = buildUnnamed3565();
1224 } 1224 }
1225 buildCounterLeaseWorkItemResponse--; 1225 buildCounterLeaseWorkItemResponse--;
1226 return o; 1226 return o;
1227 } 1227 }
1228 1228
1229 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { 1229 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
1230 buildCounterLeaseWorkItemResponse++; 1230 buildCounterLeaseWorkItemResponse++;
1231 if (buildCounterLeaseWorkItemResponse < 3) { 1231 if (buildCounterLeaseWorkItemResponse < 3) {
1232 checkUnnamed3515(o.workItems); 1232 checkUnnamed3565(o.workItems);
1233 } 1233 }
1234 buildCounterLeaseWorkItemResponse--; 1234 buildCounterLeaseWorkItemResponse--;
1235 } 1235 }
1236 1236
1237 buildUnnamed3516() { 1237 buildUnnamed3566() {
1238 var o = new core.List<api.JobMessage>(); 1238 var o = new core.List<api.JobMessage>();
1239 o.add(buildJobMessage()); 1239 o.add(buildJobMessage());
1240 o.add(buildJobMessage()); 1240 o.add(buildJobMessage());
1241 return o; 1241 return o;
1242 } 1242 }
1243 1243
1244 checkUnnamed3516(core.List<api.JobMessage> o) { 1244 checkUnnamed3566(core.List<api.JobMessage> o) {
1245 unittest.expect(o, unittest.hasLength(2)); 1245 unittest.expect(o, unittest.hasLength(2));
1246 checkJobMessage(o[0]); 1246 checkJobMessage(o[0]);
1247 checkJobMessage(o[1]); 1247 checkJobMessage(o[1]);
1248 } 1248 }
1249 1249
1250 core.int buildCounterListJobMessagesResponse = 0; 1250 core.int buildCounterListJobMessagesResponse = 0;
1251 buildListJobMessagesResponse() { 1251 buildListJobMessagesResponse() {
1252 var o = new api.ListJobMessagesResponse(); 1252 var o = new api.ListJobMessagesResponse();
1253 buildCounterListJobMessagesResponse++; 1253 buildCounterListJobMessagesResponse++;
1254 if (buildCounterListJobMessagesResponse < 3) { 1254 if (buildCounterListJobMessagesResponse < 3) {
1255 o.jobMessages = buildUnnamed3516(); 1255 o.jobMessages = buildUnnamed3566();
1256 o.nextPageToken = "foo"; 1256 o.nextPageToken = "foo";
1257 } 1257 }
1258 buildCounterListJobMessagesResponse--; 1258 buildCounterListJobMessagesResponse--;
1259 return o; 1259 return o;
1260 } 1260 }
1261 1261
1262 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { 1262 checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
1263 buildCounterListJobMessagesResponse++; 1263 buildCounterListJobMessagesResponse++;
1264 if (buildCounterListJobMessagesResponse < 3) { 1264 if (buildCounterListJobMessagesResponse < 3) {
1265 checkUnnamed3516(o.jobMessages); 1265 checkUnnamed3566(o.jobMessages);
1266 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1266 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1267 } 1267 }
1268 buildCounterListJobMessagesResponse--; 1268 buildCounterListJobMessagesResponse--;
1269 } 1269 }
1270 1270
1271 buildUnnamed3517() { 1271 buildUnnamed3567() {
1272 var o = new core.List<api.Job>(); 1272 var o = new core.List<api.Job>();
1273 o.add(buildJob()); 1273 o.add(buildJob());
1274 o.add(buildJob()); 1274 o.add(buildJob());
1275 return o; 1275 return o;
1276 } 1276 }
1277 1277
1278 checkUnnamed3517(core.List<api.Job> o) { 1278 checkUnnamed3567(core.List<api.Job> o) {
1279 unittest.expect(o, unittest.hasLength(2)); 1279 unittest.expect(o, unittest.hasLength(2));
1280 checkJob(o[0]); 1280 checkJob(o[0]);
1281 checkJob(o[1]); 1281 checkJob(o[1]);
1282 } 1282 }
1283 1283
1284 core.int buildCounterListJobsResponse = 0; 1284 core.int buildCounterListJobsResponse = 0;
1285 buildListJobsResponse() { 1285 buildListJobsResponse() {
1286 var o = new api.ListJobsResponse(); 1286 var o = new api.ListJobsResponse();
1287 buildCounterListJobsResponse++; 1287 buildCounterListJobsResponse++;
1288 if (buildCounterListJobsResponse < 3) { 1288 if (buildCounterListJobsResponse < 3) {
1289 o.jobs = buildUnnamed3517(); 1289 o.jobs = buildUnnamed3567();
1290 o.nextPageToken = "foo"; 1290 o.nextPageToken = "foo";
1291 } 1291 }
1292 buildCounterListJobsResponse--; 1292 buildCounterListJobsResponse--;
1293 return o; 1293 return o;
1294 } 1294 }
1295 1295
1296 checkListJobsResponse(api.ListJobsResponse o) { 1296 checkListJobsResponse(api.ListJobsResponse o) {
1297 buildCounterListJobsResponse++; 1297 buildCounterListJobsResponse++;
1298 if (buildCounterListJobsResponse < 3) { 1298 if (buildCounterListJobsResponse < 3) {
1299 checkUnnamed3517(o.jobs); 1299 checkUnnamed3567(o.jobs);
1300 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1300 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1301 } 1301 }
1302 buildCounterListJobsResponse--; 1302 buildCounterListJobsResponse--;
1303 } 1303 }
1304 1304
1305 buildUnnamed3518() { 1305 buildUnnamed3568() {
1306 var o = new core.List<api.ParallelInstruction>(); 1306 var o = new core.List<api.ParallelInstruction>();
1307 o.add(buildParallelInstruction()); 1307 o.add(buildParallelInstruction());
1308 o.add(buildParallelInstruction()); 1308 o.add(buildParallelInstruction());
1309 return o; 1309 return o;
1310 } 1310 }
1311 1311
1312 checkUnnamed3518(core.List<api.ParallelInstruction> o) { 1312 checkUnnamed3568(core.List<api.ParallelInstruction> o) {
1313 unittest.expect(o, unittest.hasLength(2)); 1313 unittest.expect(o, unittest.hasLength(2));
1314 checkParallelInstruction(o[0]); 1314 checkParallelInstruction(o[0]);
1315 checkParallelInstruction(o[1]); 1315 checkParallelInstruction(o[1]);
1316 } 1316 }
1317 1317
1318 core.int buildCounterMapTask = 0; 1318 core.int buildCounterMapTask = 0;
1319 buildMapTask() { 1319 buildMapTask() {
1320 var o = new api.MapTask(); 1320 var o = new api.MapTask();
1321 buildCounterMapTask++; 1321 buildCounterMapTask++;
1322 if (buildCounterMapTask < 3) { 1322 if (buildCounterMapTask < 3) {
1323 o.instructions = buildUnnamed3518(); 1323 o.instructions = buildUnnamed3568();
1324 o.stageName = "foo"; 1324 o.stageName = "foo";
1325 o.systemName = "foo"; 1325 o.systemName = "foo";
1326 } 1326 }
1327 buildCounterMapTask--; 1327 buildCounterMapTask--;
1328 return o; 1328 return o;
1329 } 1329 }
1330 1330
1331 checkMapTask(api.MapTask o) { 1331 checkMapTask(api.MapTask o) {
1332 buildCounterMapTask++; 1332 buildCounterMapTask++;
1333 if (buildCounterMapTask < 3) { 1333 if (buildCounterMapTask < 3) {
1334 checkUnnamed3518(o.instructions); 1334 checkUnnamed3568(o.instructions);
1335 unittest.expect(o.stageName, unittest.equals('foo')); 1335 unittest.expect(o.stageName, unittest.equals('foo'));
1336 unittest.expect(o.systemName, unittest.equals('foo')); 1336 unittest.expect(o.systemName, unittest.equals('foo'));
1337 } 1337 }
1338 buildCounterMapTask--; 1338 buildCounterMapTask--;
1339 } 1339 }
1340 1340
1341 core.int buildCounterMetricShortId = 0; 1341 core.int buildCounterMetricShortId = 0;
1342 buildMetricShortId() { 1342 buildMetricShortId() {
1343 var o = new api.MetricShortId(); 1343 var o = new api.MetricShortId();
1344 buildCounterMetricShortId++; 1344 buildCounterMetricShortId++;
1345 if (buildCounterMetricShortId < 3) { 1345 if (buildCounterMetricShortId < 3) {
1346 o.metricIndex = 42; 1346 o.metricIndex = 42;
1347 o.shortId = "foo"; 1347 o.shortId = "foo";
1348 } 1348 }
1349 buildCounterMetricShortId--; 1349 buildCounterMetricShortId--;
1350 return o; 1350 return o;
1351 } 1351 }
1352 1352
1353 checkMetricShortId(api.MetricShortId o) { 1353 checkMetricShortId(api.MetricShortId o) {
1354 buildCounterMetricShortId++; 1354 buildCounterMetricShortId++;
1355 if (buildCounterMetricShortId < 3) { 1355 if (buildCounterMetricShortId < 3) {
1356 unittest.expect(o.metricIndex, unittest.equals(42)); 1356 unittest.expect(o.metricIndex, unittest.equals(42));
1357 unittest.expect(o.shortId, unittest.equals('foo')); 1357 unittest.expect(o.shortId, unittest.equals('foo'));
1358 } 1358 }
1359 buildCounterMetricShortId--; 1359 buildCounterMetricShortId--;
1360 } 1360 }
1361 1361
1362 buildUnnamed3519() { 1362 buildUnnamed3569() {
1363 var o = new core.Map<core.String, core.String>(); 1363 var o = new core.Map<core.String, core.String>();
1364 o["x"] = "foo"; 1364 o["x"] = "foo";
1365 o["y"] = "foo"; 1365 o["y"] = "foo";
1366 return o; 1366 return o;
1367 } 1367 }
1368 1368
1369 checkUnnamed3519(core.Map<core.String, core.String> o) { 1369 checkUnnamed3569(core.Map<core.String, core.String> o) {
1370 unittest.expect(o, unittest.hasLength(2)); 1370 unittest.expect(o, unittest.hasLength(2));
1371 unittest.expect(o["x"], unittest.equals('foo')); 1371 unittest.expect(o["x"], unittest.equals('foo'));
1372 unittest.expect(o["y"], unittest.equals('foo')); 1372 unittest.expect(o["y"], unittest.equals('foo'));
1373 } 1373 }
1374 1374
1375 core.int buildCounterMetricStructuredName = 0; 1375 core.int buildCounterMetricStructuredName = 0;
1376 buildMetricStructuredName() { 1376 buildMetricStructuredName() {
1377 var o = new api.MetricStructuredName(); 1377 var o = new api.MetricStructuredName();
1378 buildCounterMetricStructuredName++; 1378 buildCounterMetricStructuredName++;
1379 if (buildCounterMetricStructuredName < 3) { 1379 if (buildCounterMetricStructuredName < 3) {
1380 o.context = buildUnnamed3519(); 1380 o.context = buildUnnamed3569();
1381 o.name = "foo"; 1381 o.name = "foo";
1382 o.origin = "foo"; 1382 o.origin = "foo";
1383 } 1383 }
1384 buildCounterMetricStructuredName--; 1384 buildCounterMetricStructuredName--;
1385 return o; 1385 return o;
1386 } 1386 }
1387 1387
1388 checkMetricStructuredName(api.MetricStructuredName o) { 1388 checkMetricStructuredName(api.MetricStructuredName o) {
1389 buildCounterMetricStructuredName++; 1389 buildCounterMetricStructuredName++;
1390 if (buildCounterMetricStructuredName < 3) { 1390 if (buildCounterMetricStructuredName < 3) {
1391 checkUnnamed3519(o.context); 1391 checkUnnamed3569(o.context);
1392 unittest.expect(o.name, unittest.equals('foo')); 1392 unittest.expect(o.name, unittest.equals('foo'));
1393 unittest.expect(o.origin, unittest.equals('foo')); 1393 unittest.expect(o.origin, unittest.equals('foo'));
1394 } 1394 }
1395 buildCounterMetricStructuredName--; 1395 buildCounterMetricStructuredName--;
1396 } 1396 }
1397 1397
1398 core.int buildCounterMetricUpdate = 0; 1398 core.int buildCounterMetricUpdate = 0;
1399 buildMetricUpdate() { 1399 buildMetricUpdate() {
1400 var o = new api.MetricUpdate(); 1400 var o = new api.MetricUpdate();
1401 buildCounterMetricUpdate++; 1401 buildCounterMetricUpdate++;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 1503
1504 checkPackage(api.Package o) { 1504 checkPackage(api.Package o) {
1505 buildCounterPackage++; 1505 buildCounterPackage++;
1506 if (buildCounterPackage < 3) { 1506 if (buildCounterPackage < 3) {
1507 unittest.expect(o.location, unittest.equals('foo')); 1507 unittest.expect(o.location, unittest.equals('foo'));
1508 unittest.expect(o.name, unittest.equals('foo')); 1508 unittest.expect(o.name, unittest.equals('foo'));
1509 } 1509 }
1510 buildCounterPackage--; 1510 buildCounterPackage--;
1511 } 1511 }
1512 1512
1513 buildUnnamed3520() { 1513 buildUnnamed3570() {
1514 var o = new core.List<api.MultiOutputInfo>(); 1514 var o = new core.List<api.MultiOutputInfo>();
1515 o.add(buildMultiOutputInfo()); 1515 o.add(buildMultiOutputInfo());
1516 o.add(buildMultiOutputInfo()); 1516 o.add(buildMultiOutputInfo());
1517 return o; 1517 return o;
1518 } 1518 }
1519 1519
1520 checkUnnamed3520(core.List<api.MultiOutputInfo> o) { 1520 checkUnnamed3570(core.List<api.MultiOutputInfo> o) {
1521 unittest.expect(o, unittest.hasLength(2)); 1521 unittest.expect(o, unittest.hasLength(2));
1522 checkMultiOutputInfo(o[0]); 1522 checkMultiOutputInfo(o[0]);
1523 checkMultiOutputInfo(o[1]); 1523 checkMultiOutputInfo(o[1]);
1524 } 1524 }
1525 1525
1526 buildUnnamed3521() { 1526 buildUnnamed3571() {
1527 var o = new core.List<api.SideInputInfo>(); 1527 var o = new core.List<api.SideInputInfo>();
1528 o.add(buildSideInputInfo()); 1528 o.add(buildSideInputInfo());
1529 o.add(buildSideInputInfo()); 1529 o.add(buildSideInputInfo());
1530 return o; 1530 return o;
1531 } 1531 }
1532 1532
1533 checkUnnamed3521(core.List<api.SideInputInfo> o) { 1533 checkUnnamed3571(core.List<api.SideInputInfo> o) {
1534 unittest.expect(o, unittest.hasLength(2)); 1534 unittest.expect(o, unittest.hasLength(2));
1535 checkSideInputInfo(o[0]); 1535 checkSideInputInfo(o[0]);
1536 checkSideInputInfo(o[1]); 1536 checkSideInputInfo(o[1]);
1537 } 1537 }
1538 1538
1539 buildUnnamed3522() { 1539 buildUnnamed3572() {
1540 var o = new core.Map<core.String, core.Object>(); 1540 var o = new core.Map<core.String, core.Object>();
1541 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1541 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1542 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1542 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1543 return o; 1543 return o;
1544 } 1544 }
1545 1545
1546 checkUnnamed3522(core.Map<core.String, core.Object> o) { 1546 checkUnnamed3572(core.Map<core.String, core.Object> o) {
1547 unittest.expect(o, unittest.hasLength(2)); 1547 unittest.expect(o, unittest.hasLength(2));
1548 var casted17 = (o["x"]) as core.Map; unittest.expect(casted17, unittest.hasLen gth(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest .expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["stri ng"], unittest.equals('foo')); 1548 var casted17 = (o["x"]) as core.Map; unittest.expect(casted17, unittest.hasLen gth(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest .expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["stri ng"], unittest.equals('foo'));
1549 var casted18 = (o["y"]) 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')); 1549 var casted18 = (o["y"]) 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'));
1550 } 1550 }
1551 1551
1552 core.int buildCounterParDoInstruction = 0; 1552 core.int buildCounterParDoInstruction = 0;
1553 buildParDoInstruction() { 1553 buildParDoInstruction() {
1554 var o = new api.ParDoInstruction(); 1554 var o = new api.ParDoInstruction();
1555 buildCounterParDoInstruction++; 1555 buildCounterParDoInstruction++;
1556 if (buildCounterParDoInstruction < 3) { 1556 if (buildCounterParDoInstruction < 3) {
1557 o.input = buildInstructionInput(); 1557 o.input = buildInstructionInput();
1558 o.multiOutputInfos = buildUnnamed3520(); 1558 o.multiOutputInfos = buildUnnamed3570();
1559 o.numOutputs = 42; 1559 o.numOutputs = 42;
1560 o.sideInputs = buildUnnamed3521(); 1560 o.sideInputs = buildUnnamed3571();
1561 o.userFn = buildUnnamed3522(); 1561 o.userFn = buildUnnamed3572();
1562 } 1562 }
1563 buildCounterParDoInstruction--; 1563 buildCounterParDoInstruction--;
1564 return o; 1564 return o;
1565 } 1565 }
1566 1566
1567 checkParDoInstruction(api.ParDoInstruction o) { 1567 checkParDoInstruction(api.ParDoInstruction o) {
1568 buildCounterParDoInstruction++; 1568 buildCounterParDoInstruction++;
1569 if (buildCounterParDoInstruction < 3) { 1569 if (buildCounterParDoInstruction < 3) {
1570 checkInstructionInput(o.input); 1570 checkInstructionInput(o.input);
1571 checkUnnamed3520(o.multiOutputInfos); 1571 checkUnnamed3570(o.multiOutputInfos);
1572 unittest.expect(o.numOutputs, unittest.equals(42)); 1572 unittest.expect(o.numOutputs, unittest.equals(42));
1573 checkUnnamed3521(o.sideInputs); 1573 checkUnnamed3571(o.sideInputs);
1574 checkUnnamed3522(o.userFn); 1574 checkUnnamed3572(o.userFn);
1575 } 1575 }
1576 buildCounterParDoInstruction--; 1576 buildCounterParDoInstruction--;
1577 } 1577 }
1578 1578
1579 buildUnnamed3523() { 1579 buildUnnamed3573() {
1580 var o = new core.List<api.InstructionOutput>(); 1580 var o = new core.List<api.InstructionOutput>();
1581 o.add(buildInstructionOutput()); 1581 o.add(buildInstructionOutput());
1582 o.add(buildInstructionOutput()); 1582 o.add(buildInstructionOutput());
1583 return o; 1583 return o;
1584 } 1584 }
1585 1585
1586 checkUnnamed3523(core.List<api.InstructionOutput> o) { 1586 checkUnnamed3573(core.List<api.InstructionOutput> o) {
1587 unittest.expect(o, unittest.hasLength(2)); 1587 unittest.expect(o, unittest.hasLength(2));
1588 checkInstructionOutput(o[0]); 1588 checkInstructionOutput(o[0]);
1589 checkInstructionOutput(o[1]); 1589 checkInstructionOutput(o[1]);
1590 } 1590 }
1591 1591
1592 core.int buildCounterParallelInstruction = 0; 1592 core.int buildCounterParallelInstruction = 0;
1593 buildParallelInstruction() { 1593 buildParallelInstruction() {
1594 var o = new api.ParallelInstruction(); 1594 var o = new api.ParallelInstruction();
1595 buildCounterParallelInstruction++; 1595 buildCounterParallelInstruction++;
1596 if (buildCounterParallelInstruction < 3) { 1596 if (buildCounterParallelInstruction < 3) {
1597 o.flatten = buildFlattenInstruction(); 1597 o.flatten = buildFlattenInstruction();
1598 o.name = "foo"; 1598 o.name = "foo";
1599 o.originalName = "foo"; 1599 o.originalName = "foo";
1600 o.outputs = buildUnnamed3523(); 1600 o.outputs = buildUnnamed3573();
1601 o.parDo = buildParDoInstruction(); 1601 o.parDo = buildParDoInstruction();
1602 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); 1602 o.partialGroupByKey = buildPartialGroupByKeyInstruction();
1603 o.read = buildReadInstruction(); 1603 o.read = buildReadInstruction();
1604 o.systemName = "foo"; 1604 o.systemName = "foo";
1605 o.write = buildWriteInstruction(); 1605 o.write = buildWriteInstruction();
1606 } 1606 }
1607 buildCounterParallelInstruction--; 1607 buildCounterParallelInstruction--;
1608 return o; 1608 return o;
1609 } 1609 }
1610 1610
1611 checkParallelInstruction(api.ParallelInstruction o) { 1611 checkParallelInstruction(api.ParallelInstruction o) {
1612 buildCounterParallelInstruction++; 1612 buildCounterParallelInstruction++;
1613 if (buildCounterParallelInstruction < 3) { 1613 if (buildCounterParallelInstruction < 3) {
1614 checkFlattenInstruction(o.flatten); 1614 checkFlattenInstruction(o.flatten);
1615 unittest.expect(o.name, unittest.equals('foo')); 1615 unittest.expect(o.name, unittest.equals('foo'));
1616 unittest.expect(o.originalName, unittest.equals('foo')); 1616 unittest.expect(o.originalName, unittest.equals('foo'));
1617 checkUnnamed3523(o.outputs); 1617 checkUnnamed3573(o.outputs);
1618 checkParDoInstruction(o.parDo); 1618 checkParDoInstruction(o.parDo);
1619 checkPartialGroupByKeyInstruction(o.partialGroupByKey); 1619 checkPartialGroupByKeyInstruction(o.partialGroupByKey);
1620 checkReadInstruction(o.read); 1620 checkReadInstruction(o.read);
1621 unittest.expect(o.systemName, unittest.equals('foo')); 1621 unittest.expect(o.systemName, unittest.equals('foo'));
1622 checkWriteInstruction(o.write); 1622 checkWriteInstruction(o.write);
1623 } 1623 }
1624 buildCounterParallelInstruction--; 1624 buildCounterParallelInstruction--;
1625 } 1625 }
1626 1626
1627 buildUnnamed3524() { 1627 buildUnnamed3574() {
1628 var o = new core.Map<core.String, core.Object>(); 1628 var o = new core.Map<core.String, core.Object>();
1629 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1629 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1630 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1630 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1631 return o; 1631 return o;
1632 } 1632 }
1633 1633
1634 checkUnnamed3524(core.Map<core.String, core.Object> o) { 1634 checkUnnamed3574(core.Map<core.String, core.Object> o) {
1635 unittest.expect(o, unittest.hasLength(2)); 1635 unittest.expect(o, unittest.hasLength(2));
1636 var casted19 = (o["x"]) 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')); 1636 var casted19 = (o["x"]) 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'));
1637 var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLen gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest .expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri ng"], unittest.equals('foo')); 1637 var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLen gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest .expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri ng"], unittest.equals('foo'));
1638 } 1638 }
1639 1639
1640 buildUnnamed3525() { 1640 buildUnnamed3575() {
1641 var o = new core.List<api.SideInputInfo>(); 1641 var o = new core.List<api.SideInputInfo>();
1642 o.add(buildSideInputInfo()); 1642 o.add(buildSideInputInfo());
1643 o.add(buildSideInputInfo()); 1643 o.add(buildSideInputInfo());
1644 return o; 1644 return o;
1645 } 1645 }
1646 1646
1647 checkUnnamed3525(core.List<api.SideInputInfo> o) { 1647 checkUnnamed3575(core.List<api.SideInputInfo> o) {
1648 unittest.expect(o, unittest.hasLength(2)); 1648 unittest.expect(o, unittest.hasLength(2));
1649 checkSideInputInfo(o[0]); 1649 checkSideInputInfo(o[0]);
1650 checkSideInputInfo(o[1]); 1650 checkSideInputInfo(o[1]);
1651 } 1651 }
1652 1652
1653 buildUnnamed3526() { 1653 buildUnnamed3576() {
1654 var o = new core.Map<core.String, core.Object>(); 1654 var o = new core.Map<core.String, core.Object>();
1655 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1655 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1656 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1656 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1657 return o; 1657 return o;
1658 } 1658 }
1659 1659
1660 checkUnnamed3526(core.Map<core.String, core.Object> o) { 1660 checkUnnamed3576(core.Map<core.String, core.Object> o) {
1661 unittest.expect(o, unittest.hasLength(2)); 1661 unittest.expect(o, unittest.hasLength(2));
1662 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')); 1662 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'));
1663 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')); 1663 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'));
1664 } 1664 }
1665 1665
1666 core.int buildCounterPartialGroupByKeyInstruction = 0; 1666 core.int buildCounterPartialGroupByKeyInstruction = 0;
1667 buildPartialGroupByKeyInstruction() { 1667 buildPartialGroupByKeyInstruction() {
1668 var o = new api.PartialGroupByKeyInstruction(); 1668 var o = new api.PartialGroupByKeyInstruction();
1669 buildCounterPartialGroupByKeyInstruction++; 1669 buildCounterPartialGroupByKeyInstruction++;
1670 if (buildCounterPartialGroupByKeyInstruction < 3) { 1670 if (buildCounterPartialGroupByKeyInstruction < 3) {
1671 o.input = buildInstructionInput(); 1671 o.input = buildInstructionInput();
1672 o.inputElementCodec = buildUnnamed3524(); 1672 o.inputElementCodec = buildUnnamed3574();
1673 o.originalCombineValuesInputStoreName = "foo"; 1673 o.originalCombineValuesInputStoreName = "foo";
1674 o.originalCombineValuesStepName = "foo"; 1674 o.originalCombineValuesStepName = "foo";
1675 o.sideInputs = buildUnnamed3525(); 1675 o.sideInputs = buildUnnamed3575();
1676 o.valueCombiningFn = buildUnnamed3526(); 1676 o.valueCombiningFn = buildUnnamed3576();
1677 } 1677 }
1678 buildCounterPartialGroupByKeyInstruction--; 1678 buildCounterPartialGroupByKeyInstruction--;
1679 return o; 1679 return o;
1680 } 1680 }
1681 1681
1682 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { 1682 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) {
1683 buildCounterPartialGroupByKeyInstruction++; 1683 buildCounterPartialGroupByKeyInstruction++;
1684 if (buildCounterPartialGroupByKeyInstruction < 3) { 1684 if (buildCounterPartialGroupByKeyInstruction < 3) {
1685 checkInstructionInput(o.input); 1685 checkInstructionInput(o.input);
1686 checkUnnamed3524(o.inputElementCodec); 1686 checkUnnamed3574(o.inputElementCodec);
1687 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo' )); 1687 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo' ));
1688 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); 1688 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo'));
1689 checkUnnamed3525(o.sideInputs); 1689 checkUnnamed3575(o.sideInputs);
1690 checkUnnamed3526(o.valueCombiningFn); 1690 checkUnnamed3576(o.valueCombiningFn);
1691 } 1691 }
1692 buildCounterPartialGroupByKeyInstruction--; 1692 buildCounterPartialGroupByKeyInstruction--;
1693 } 1693 }
1694 1694
1695 core.int buildCounterPosition = 0; 1695 core.int buildCounterPosition = 0;
1696 buildPosition() { 1696 buildPosition() {
1697 var o = new api.Position(); 1697 var o = new api.Position();
1698 buildCounterPosition++; 1698 buildCounterPosition++;
1699 if (buildCounterPosition < 3) { 1699 if (buildCounterPosition < 3) {
1700 o.byteOffset = "foo"; 1700 o.byteOffset = "foo";
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 } 1762 }
1763 1763
1764 checkReadInstruction(api.ReadInstruction o) { 1764 checkReadInstruction(api.ReadInstruction o) {
1765 buildCounterReadInstruction++; 1765 buildCounterReadInstruction++;
1766 if (buildCounterReadInstruction < 3) { 1766 if (buildCounterReadInstruction < 3) {
1767 checkSource(o.source); 1767 checkSource(o.source);
1768 } 1768 }
1769 buildCounterReadInstruction--; 1769 buildCounterReadInstruction--;
1770 } 1770 }
1771 1771
1772 buildUnnamed3527() { 1772 buildUnnamed3577() {
1773 var o = new core.List<api.WorkItemStatus>(); 1773 var o = new core.List<api.WorkItemStatus>();
1774 o.add(buildWorkItemStatus()); 1774 o.add(buildWorkItemStatus());
1775 o.add(buildWorkItemStatus()); 1775 o.add(buildWorkItemStatus());
1776 return o; 1776 return o;
1777 } 1777 }
1778 1778
1779 checkUnnamed3527(core.List<api.WorkItemStatus> o) { 1779 checkUnnamed3577(core.List<api.WorkItemStatus> o) {
1780 unittest.expect(o, unittest.hasLength(2)); 1780 unittest.expect(o, unittest.hasLength(2));
1781 checkWorkItemStatus(o[0]); 1781 checkWorkItemStatus(o[0]);
1782 checkWorkItemStatus(o[1]); 1782 checkWorkItemStatus(o[1]);
1783 } 1783 }
1784 1784
1785 core.int buildCounterReportWorkItemStatusRequest = 0; 1785 core.int buildCounterReportWorkItemStatusRequest = 0;
1786 buildReportWorkItemStatusRequest() { 1786 buildReportWorkItemStatusRequest() {
1787 var o = new api.ReportWorkItemStatusRequest(); 1787 var o = new api.ReportWorkItemStatusRequest();
1788 buildCounterReportWorkItemStatusRequest++; 1788 buildCounterReportWorkItemStatusRequest++;
1789 if (buildCounterReportWorkItemStatusRequest < 3) { 1789 if (buildCounterReportWorkItemStatusRequest < 3) {
1790 o.currentWorkerTime = "foo"; 1790 o.currentWorkerTime = "foo";
1791 o.workItemStatuses = buildUnnamed3527(); 1791 o.workItemStatuses = buildUnnamed3577();
1792 o.workerId = "foo"; 1792 o.workerId = "foo";
1793 } 1793 }
1794 buildCounterReportWorkItemStatusRequest--; 1794 buildCounterReportWorkItemStatusRequest--;
1795 return o; 1795 return o;
1796 } 1796 }
1797 1797
1798 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { 1798 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) {
1799 buildCounterReportWorkItemStatusRequest++; 1799 buildCounterReportWorkItemStatusRequest++;
1800 if (buildCounterReportWorkItemStatusRequest < 3) { 1800 if (buildCounterReportWorkItemStatusRequest < 3) {
1801 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 1801 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
1802 checkUnnamed3527(o.workItemStatuses); 1802 checkUnnamed3577(o.workItemStatuses);
1803 unittest.expect(o.workerId, unittest.equals('foo')); 1803 unittest.expect(o.workerId, unittest.equals('foo'));
1804 } 1804 }
1805 buildCounterReportWorkItemStatusRequest--; 1805 buildCounterReportWorkItemStatusRequest--;
1806 } 1806 }
1807 1807
1808 buildUnnamed3528() { 1808 buildUnnamed3578() {
1809 var o = new core.List<api.WorkItemServiceState>(); 1809 var o = new core.List<api.WorkItemServiceState>();
1810 o.add(buildWorkItemServiceState()); 1810 o.add(buildWorkItemServiceState());
1811 o.add(buildWorkItemServiceState()); 1811 o.add(buildWorkItemServiceState());
1812 return o; 1812 return o;
1813 } 1813 }
1814 1814
1815 checkUnnamed3528(core.List<api.WorkItemServiceState> o) { 1815 checkUnnamed3578(core.List<api.WorkItemServiceState> o) {
1816 unittest.expect(o, unittest.hasLength(2)); 1816 unittest.expect(o, unittest.hasLength(2));
1817 checkWorkItemServiceState(o[0]); 1817 checkWorkItemServiceState(o[0]);
1818 checkWorkItemServiceState(o[1]); 1818 checkWorkItemServiceState(o[1]);
1819 } 1819 }
1820 1820
1821 core.int buildCounterReportWorkItemStatusResponse = 0; 1821 core.int buildCounterReportWorkItemStatusResponse = 0;
1822 buildReportWorkItemStatusResponse() { 1822 buildReportWorkItemStatusResponse() {
1823 var o = new api.ReportWorkItemStatusResponse(); 1823 var o = new api.ReportWorkItemStatusResponse();
1824 buildCounterReportWorkItemStatusResponse++; 1824 buildCounterReportWorkItemStatusResponse++;
1825 if (buildCounterReportWorkItemStatusResponse < 3) { 1825 if (buildCounterReportWorkItemStatusResponse < 3) {
1826 o.workItemServiceStates = buildUnnamed3528(); 1826 o.workItemServiceStates = buildUnnamed3578();
1827 } 1827 }
1828 buildCounterReportWorkItemStatusResponse--; 1828 buildCounterReportWorkItemStatusResponse--;
1829 return o; 1829 return o;
1830 } 1830 }
1831 1831
1832 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { 1832 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
1833 buildCounterReportWorkItemStatusResponse++; 1833 buildCounterReportWorkItemStatusResponse++;
1834 if (buildCounterReportWorkItemStatusResponse < 3) { 1834 if (buildCounterReportWorkItemStatusResponse < 3) {
1835 checkUnnamed3528(o.workItemServiceStates); 1835 checkUnnamed3578(o.workItemServiceStates);
1836 } 1836 }
1837 buildCounterReportWorkItemStatusResponse--; 1837 buildCounterReportWorkItemStatusResponse--;
1838 } 1838 }
1839 1839
1840 core.int buildCounterReportedParallelism = 0; 1840 core.int buildCounterReportedParallelism = 0;
1841 buildReportedParallelism() { 1841 buildReportedParallelism() {
1842 var o = new api.ReportedParallelism(); 1842 var o = new api.ReportedParallelism();
1843 buildCounterReportedParallelism++; 1843 buildCounterReportedParallelism++;
1844 if (buildCounterReportedParallelism < 3) { 1844 if (buildCounterReportedParallelism < 3) {
1845 o.isInfinite = true; 1845 o.isInfinite = true;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1891 return o; 1891 return o;
1892 } 1892 }
1893 1893
1894 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { 1894 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) {
1895 buildCounterSendDebugCaptureResponse++; 1895 buildCounterSendDebugCaptureResponse++;
1896 if (buildCounterSendDebugCaptureResponse < 3) { 1896 if (buildCounterSendDebugCaptureResponse < 3) {
1897 } 1897 }
1898 buildCounterSendDebugCaptureResponse--; 1898 buildCounterSendDebugCaptureResponse--;
1899 } 1899 }
1900 1900
1901 buildUnnamed3529() { 1901 buildUnnamed3579() {
1902 var o = new core.List<api.WorkerMessage>(); 1902 var o = new core.List<api.WorkerMessage>();
1903 o.add(buildWorkerMessage()); 1903 o.add(buildWorkerMessage());
1904 o.add(buildWorkerMessage()); 1904 o.add(buildWorkerMessage());
1905 return o; 1905 return o;
1906 } 1906 }
1907 1907
1908 checkUnnamed3529(core.List<api.WorkerMessage> o) { 1908 checkUnnamed3579(core.List<api.WorkerMessage> o) {
1909 unittest.expect(o, unittest.hasLength(2)); 1909 unittest.expect(o, unittest.hasLength(2));
1910 checkWorkerMessage(o[0]); 1910 checkWorkerMessage(o[0]);
1911 checkWorkerMessage(o[1]); 1911 checkWorkerMessage(o[1]);
1912 } 1912 }
1913 1913
1914 core.int buildCounterSendWorkerMessagesRequest = 0; 1914 core.int buildCounterSendWorkerMessagesRequest = 0;
1915 buildSendWorkerMessagesRequest() { 1915 buildSendWorkerMessagesRequest() {
1916 var o = new api.SendWorkerMessagesRequest(); 1916 var o = new api.SendWorkerMessagesRequest();
1917 buildCounterSendWorkerMessagesRequest++; 1917 buildCounterSendWorkerMessagesRequest++;
1918 if (buildCounterSendWorkerMessagesRequest < 3) { 1918 if (buildCounterSendWorkerMessagesRequest < 3) {
1919 o.workerMessages = buildUnnamed3529(); 1919 o.workerMessages = buildUnnamed3579();
1920 } 1920 }
1921 buildCounterSendWorkerMessagesRequest--; 1921 buildCounterSendWorkerMessagesRequest--;
1922 return o; 1922 return o;
1923 } 1923 }
1924 1924
1925 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { 1925 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) {
1926 buildCounterSendWorkerMessagesRequest++; 1926 buildCounterSendWorkerMessagesRequest++;
1927 if (buildCounterSendWorkerMessagesRequest < 3) { 1927 if (buildCounterSendWorkerMessagesRequest < 3) {
1928 checkUnnamed3529(o.workerMessages); 1928 checkUnnamed3579(o.workerMessages);
1929 } 1929 }
1930 buildCounterSendWorkerMessagesRequest--; 1930 buildCounterSendWorkerMessagesRequest--;
1931 } 1931 }
1932 1932
1933 buildUnnamed3530() { 1933 buildUnnamed3580() {
1934 var o = new core.List<api.WorkerMessageResponse>(); 1934 var o = new core.List<api.WorkerMessageResponse>();
1935 o.add(buildWorkerMessageResponse()); 1935 o.add(buildWorkerMessageResponse());
1936 o.add(buildWorkerMessageResponse()); 1936 o.add(buildWorkerMessageResponse());
1937 return o; 1937 return o;
1938 } 1938 }
1939 1939
1940 checkUnnamed3530(core.List<api.WorkerMessageResponse> o) { 1940 checkUnnamed3580(core.List<api.WorkerMessageResponse> o) {
1941 unittest.expect(o, unittest.hasLength(2)); 1941 unittest.expect(o, unittest.hasLength(2));
1942 checkWorkerMessageResponse(o[0]); 1942 checkWorkerMessageResponse(o[0]);
1943 checkWorkerMessageResponse(o[1]); 1943 checkWorkerMessageResponse(o[1]);
1944 } 1944 }
1945 1945
1946 core.int buildCounterSendWorkerMessagesResponse = 0; 1946 core.int buildCounterSendWorkerMessagesResponse = 0;
1947 buildSendWorkerMessagesResponse() { 1947 buildSendWorkerMessagesResponse() {
1948 var o = new api.SendWorkerMessagesResponse(); 1948 var o = new api.SendWorkerMessagesResponse();
1949 buildCounterSendWorkerMessagesResponse++; 1949 buildCounterSendWorkerMessagesResponse++;
1950 if (buildCounterSendWorkerMessagesResponse < 3) { 1950 if (buildCounterSendWorkerMessagesResponse < 3) {
1951 o.workerMessageResponses = buildUnnamed3530(); 1951 o.workerMessageResponses = buildUnnamed3580();
1952 } 1952 }
1953 buildCounterSendWorkerMessagesResponse--; 1953 buildCounterSendWorkerMessagesResponse--;
1954 return o; 1954 return o;
1955 } 1955 }
1956 1956
1957 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { 1957 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
1958 buildCounterSendWorkerMessagesResponse++; 1958 buildCounterSendWorkerMessagesResponse++;
1959 if (buildCounterSendWorkerMessagesResponse < 3) { 1959 if (buildCounterSendWorkerMessagesResponse < 3) {
1960 checkUnnamed3530(o.workerMessageResponses); 1960 checkUnnamed3580(o.workerMessageResponses);
1961 } 1961 }
1962 buildCounterSendWorkerMessagesResponse--; 1962 buildCounterSendWorkerMessagesResponse--;
1963 } 1963 }
1964 1964
1965 buildUnnamed3531() { 1965 buildUnnamed3581() {
1966 var o = new core.List<api.SideInputInfo>(); 1966 var o = new core.List<api.SideInputInfo>();
1967 o.add(buildSideInputInfo()); 1967 o.add(buildSideInputInfo());
1968 o.add(buildSideInputInfo()); 1968 o.add(buildSideInputInfo());
1969 return o; 1969 return o;
1970 } 1970 }
1971 1971
1972 checkUnnamed3531(core.List<api.SideInputInfo> o) { 1972 checkUnnamed3581(core.List<api.SideInputInfo> o) {
1973 unittest.expect(o, unittest.hasLength(2)); 1973 unittest.expect(o, unittest.hasLength(2));
1974 checkSideInputInfo(o[0]); 1974 checkSideInputInfo(o[0]);
1975 checkSideInputInfo(o[1]); 1975 checkSideInputInfo(o[1]);
1976 } 1976 }
1977 1977
1978 buildUnnamed3532() { 1978 buildUnnamed3582() {
1979 var o = new core.List<api.SeqMapTaskOutputInfo>(); 1979 var o = new core.List<api.SeqMapTaskOutputInfo>();
1980 o.add(buildSeqMapTaskOutputInfo()); 1980 o.add(buildSeqMapTaskOutputInfo());
1981 o.add(buildSeqMapTaskOutputInfo()); 1981 o.add(buildSeqMapTaskOutputInfo());
1982 return o; 1982 return o;
1983 } 1983 }
1984 1984
1985 checkUnnamed3532(core.List<api.SeqMapTaskOutputInfo> o) { 1985 checkUnnamed3582(core.List<api.SeqMapTaskOutputInfo> o) {
1986 unittest.expect(o, unittest.hasLength(2)); 1986 unittest.expect(o, unittest.hasLength(2));
1987 checkSeqMapTaskOutputInfo(o[0]); 1987 checkSeqMapTaskOutputInfo(o[0]);
1988 checkSeqMapTaskOutputInfo(o[1]); 1988 checkSeqMapTaskOutputInfo(o[1]);
1989 } 1989 }
1990 1990
1991 buildUnnamed3533() { 1991 buildUnnamed3583() {
1992 var o = new core.Map<core.String, core.Object>(); 1992 var o = new core.Map<core.String, core.Object>();
1993 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1993 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1994 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1994 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1995 return o; 1995 return o;
1996 } 1996 }
1997 1997
1998 checkUnnamed3533(core.Map<core.String, core.Object> o) { 1998 checkUnnamed3583(core.Map<core.String, core.Object> o) {
1999 unittest.expect(o, unittest.hasLength(2)); 1999 unittest.expect(o, unittest.hasLength(2));
2000 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')); 2000 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'));
2001 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')); 2001 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'));
2002 } 2002 }
2003 2003
2004 core.int buildCounterSeqMapTask = 0; 2004 core.int buildCounterSeqMapTask = 0;
2005 buildSeqMapTask() { 2005 buildSeqMapTask() {
2006 var o = new api.SeqMapTask(); 2006 var o = new api.SeqMapTask();
2007 buildCounterSeqMapTask++; 2007 buildCounterSeqMapTask++;
2008 if (buildCounterSeqMapTask < 3) { 2008 if (buildCounterSeqMapTask < 3) {
2009 o.inputs = buildUnnamed3531(); 2009 o.inputs = buildUnnamed3581();
2010 o.name = "foo"; 2010 o.name = "foo";
2011 o.outputInfos = buildUnnamed3532(); 2011 o.outputInfos = buildUnnamed3582();
2012 o.stageName = "foo"; 2012 o.stageName = "foo";
2013 o.systemName = "foo"; 2013 o.systemName = "foo";
2014 o.userFn = buildUnnamed3533(); 2014 o.userFn = buildUnnamed3583();
2015 } 2015 }
2016 buildCounterSeqMapTask--; 2016 buildCounterSeqMapTask--;
2017 return o; 2017 return o;
2018 } 2018 }
2019 2019
2020 checkSeqMapTask(api.SeqMapTask o) { 2020 checkSeqMapTask(api.SeqMapTask o) {
2021 buildCounterSeqMapTask++; 2021 buildCounterSeqMapTask++;
2022 if (buildCounterSeqMapTask < 3) { 2022 if (buildCounterSeqMapTask < 3) {
2023 checkUnnamed3531(o.inputs); 2023 checkUnnamed3581(o.inputs);
2024 unittest.expect(o.name, unittest.equals('foo')); 2024 unittest.expect(o.name, unittest.equals('foo'));
2025 checkUnnamed3532(o.outputInfos); 2025 checkUnnamed3582(o.outputInfos);
2026 unittest.expect(o.stageName, unittest.equals('foo')); 2026 unittest.expect(o.stageName, unittest.equals('foo'));
2027 unittest.expect(o.systemName, unittest.equals('foo')); 2027 unittest.expect(o.systemName, unittest.equals('foo'));
2028 checkUnnamed3533(o.userFn); 2028 checkUnnamed3583(o.userFn);
2029 } 2029 }
2030 buildCounterSeqMapTask--; 2030 buildCounterSeqMapTask--;
2031 } 2031 }
2032 2032
2033 core.int buildCounterSeqMapTaskOutputInfo = 0; 2033 core.int buildCounterSeqMapTaskOutputInfo = 0;
2034 buildSeqMapTaskOutputInfo() { 2034 buildSeqMapTaskOutputInfo() {
2035 var o = new api.SeqMapTaskOutputInfo(); 2035 var o = new api.SeqMapTaskOutputInfo();
2036 buildCounterSeqMapTaskOutputInfo++; 2036 buildCounterSeqMapTaskOutputInfo++;
2037 if (buildCounterSeqMapTaskOutputInfo < 3) { 2037 if (buildCounterSeqMapTaskOutputInfo < 3) {
2038 o.sink = buildSink(); 2038 o.sink = buildSink();
(...skipping 26 matching lines...) Expand all
2065 2065
2066 checkShellTask(api.ShellTask o) { 2066 checkShellTask(api.ShellTask o) {
2067 buildCounterShellTask++; 2067 buildCounterShellTask++;
2068 if (buildCounterShellTask < 3) { 2068 if (buildCounterShellTask < 3) {
2069 unittest.expect(o.command, unittest.equals('foo')); 2069 unittest.expect(o.command, unittest.equals('foo'));
2070 unittest.expect(o.exitCode, unittest.equals(42)); 2070 unittest.expect(o.exitCode, unittest.equals(42));
2071 } 2071 }
2072 buildCounterShellTask--; 2072 buildCounterShellTask--;
2073 } 2073 }
2074 2074
2075 buildUnnamed3534() { 2075 buildUnnamed3584() {
2076 var o = new core.Map<core.String, core.Object>(); 2076 var o = new core.Map<core.String, core.Object>();
2077 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2077 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2078 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2078 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2079 return o; 2079 return o;
2080 } 2080 }
2081 2081
2082 checkUnnamed3534(core.Map<core.String, core.Object> o) { 2082 checkUnnamed3584(core.Map<core.String, core.Object> o) {
2083 unittest.expect(o, unittest.hasLength(2)); 2083 unittest.expect(o, unittest.hasLength(2));
2084 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')); 2084 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'));
2085 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')); 2085 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'));
2086 } 2086 }
2087 2087
2088 buildUnnamed3535() { 2088 buildUnnamed3585() {
2089 var o = new core.List<api.Source>(); 2089 var o = new core.List<api.Source>();
2090 o.add(buildSource()); 2090 o.add(buildSource());
2091 o.add(buildSource()); 2091 o.add(buildSource());
2092 return o; 2092 return o;
2093 } 2093 }
2094 2094
2095 checkUnnamed3535(core.List<api.Source> o) { 2095 checkUnnamed3585(core.List<api.Source> o) {
2096 unittest.expect(o, unittest.hasLength(2)); 2096 unittest.expect(o, unittest.hasLength(2));
2097 checkSource(o[0]); 2097 checkSource(o[0]);
2098 checkSource(o[1]); 2098 checkSource(o[1]);
2099 } 2099 }
2100 2100
2101 core.int buildCounterSideInputInfo = 0; 2101 core.int buildCounterSideInputInfo = 0;
2102 buildSideInputInfo() { 2102 buildSideInputInfo() {
2103 var o = new api.SideInputInfo(); 2103 var o = new api.SideInputInfo();
2104 buildCounterSideInputInfo++; 2104 buildCounterSideInputInfo++;
2105 if (buildCounterSideInputInfo < 3) { 2105 if (buildCounterSideInputInfo < 3) {
2106 o.kind = buildUnnamed3534(); 2106 o.kind = buildUnnamed3584();
2107 o.sources = buildUnnamed3535(); 2107 o.sources = buildUnnamed3585();
2108 o.tag = "foo"; 2108 o.tag = "foo";
2109 } 2109 }
2110 buildCounterSideInputInfo--; 2110 buildCounterSideInputInfo--;
2111 return o; 2111 return o;
2112 } 2112 }
2113 2113
2114 checkSideInputInfo(api.SideInputInfo o) { 2114 checkSideInputInfo(api.SideInputInfo o) {
2115 buildCounterSideInputInfo++; 2115 buildCounterSideInputInfo++;
2116 if (buildCounterSideInputInfo < 3) { 2116 if (buildCounterSideInputInfo < 3) {
2117 checkUnnamed3534(o.kind); 2117 checkUnnamed3584(o.kind);
2118 checkUnnamed3535(o.sources); 2118 checkUnnamed3585(o.sources);
2119 unittest.expect(o.tag, unittest.equals('foo')); 2119 unittest.expect(o.tag, unittest.equals('foo'));
2120 } 2120 }
2121 buildCounterSideInputInfo--; 2121 buildCounterSideInputInfo--;
2122 } 2122 }
2123 2123
2124 buildUnnamed3536() { 2124 buildUnnamed3586() {
2125 var o = new core.Map<core.String, core.Object>(); 2125 var o = new core.Map<core.String, core.Object>();
2126 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2126 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2127 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2127 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2128 return o; 2128 return o;
2129 } 2129 }
2130 2130
2131 checkUnnamed3536(core.Map<core.String, core.Object> o) { 2131 checkUnnamed3586(core.Map<core.String, core.Object> o) {
2132 unittest.expect(o, unittest.hasLength(2)); 2132 unittest.expect(o, unittest.hasLength(2));
2133 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')); 2133 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'));
2134 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')); 2134 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'));
2135 } 2135 }
2136 2136
2137 buildUnnamed3537() { 2137 buildUnnamed3587() {
2138 var o = new core.Map<core.String, core.Object>(); 2138 var o = new core.Map<core.String, core.Object>();
2139 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2139 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2140 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2140 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2141 return o; 2141 return o;
2142 } 2142 }
2143 2143
2144 checkUnnamed3537(core.Map<core.String, core.Object> o) { 2144 checkUnnamed3587(core.Map<core.String, core.Object> o) {
2145 unittest.expect(o, unittest.hasLength(2)); 2145 unittest.expect(o, unittest.hasLength(2));
2146 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')); 2146 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'));
2147 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')); 2147 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'));
2148 } 2148 }
2149 2149
2150 core.int buildCounterSink = 0; 2150 core.int buildCounterSink = 0;
2151 buildSink() { 2151 buildSink() {
2152 var o = new api.Sink(); 2152 var o = new api.Sink();
2153 buildCounterSink++; 2153 buildCounterSink++;
2154 if (buildCounterSink < 3) { 2154 if (buildCounterSink < 3) {
2155 o.codec = buildUnnamed3536(); 2155 o.codec = buildUnnamed3586();
2156 o.spec = buildUnnamed3537(); 2156 o.spec = buildUnnamed3587();
2157 } 2157 }
2158 buildCounterSink--; 2158 buildCounterSink--;
2159 return o; 2159 return o;
2160 } 2160 }
2161 2161
2162 checkSink(api.Sink o) { 2162 checkSink(api.Sink o) {
2163 buildCounterSink++; 2163 buildCounterSink++;
2164 if (buildCounterSink < 3) { 2164 if (buildCounterSink < 3) {
2165 checkUnnamed3536(o.codec); 2165 checkUnnamed3586(o.codec);
2166 checkUnnamed3537(o.spec); 2166 checkUnnamed3587(o.spec);
2167 } 2167 }
2168 buildCounterSink--; 2168 buildCounterSink--;
2169 } 2169 }
2170 2170
2171 buildUnnamed3538() { 2171 buildUnnamed3588() {
2172 var o = new core.Map<core.String, core.Object>(); 2172 var o = new core.Map<core.String, core.Object>();
2173 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2173 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2174 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2174 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2175 return o; 2175 return o;
2176 } 2176 }
2177 2177
2178 checkUnnamed3538(core.Map<core.String, core.Object> o) { 2178 checkUnnamed3588(core.Map<core.String, core.Object> o) {
2179 unittest.expect(o, unittest.hasLength(2)); 2179 unittest.expect(o, unittest.hasLength(2));
2180 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')); 2180 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'));
2181 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')); 2181 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'));
2182 } 2182 }
2183 2183
2184 buildUnnamed3539() { 2184 buildUnnamed3589() {
2185 var o = new core.List<core.Map<core.String, core.Object>>(); 2185 var o = new core.List<core.Map<core.String, core.Object>>();
2186 o.add(buildUnnamed3538()); 2186 o.add(buildUnnamed3588());
2187 o.add(buildUnnamed3538()); 2187 o.add(buildUnnamed3588());
2188 return o; 2188 return o;
2189 } 2189 }
2190 2190
2191 checkUnnamed3539(core.List<core.Map<core.String, core.Object>> o) { 2191 checkUnnamed3589(core.List<core.Map<core.String, core.Object>> o) {
2192 unittest.expect(o, unittest.hasLength(2)); 2192 unittest.expect(o, unittest.hasLength(2));
2193 checkUnnamed3538(o[0]); 2193 checkUnnamed3588(o[0]);
2194 checkUnnamed3538(o[1]); 2194 checkUnnamed3588(o[1]);
2195 } 2195 }
2196 2196
2197 buildUnnamed3540() { 2197 buildUnnamed3590() {
2198 var o = new core.Map<core.String, core.Object>(); 2198 var o = new core.Map<core.String, core.Object>();
2199 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2199 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2200 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2200 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2201 return o; 2201 return o;
2202 } 2202 }
2203 2203
2204 checkUnnamed3540(core.Map<core.String, core.Object> o) { 2204 checkUnnamed3590(core.Map<core.String, core.Object> o) {
2205 unittest.expect(o, unittest.hasLength(2)); 2205 unittest.expect(o, unittest.hasLength(2));
2206 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')); 2206 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'));
2207 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')); 2207 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'));
2208 } 2208 }
2209 2209
2210 buildUnnamed3541() { 2210 buildUnnamed3591() {
2211 var o = new core.Map<core.String, core.Object>(); 2211 var o = new core.Map<core.String, core.Object>();
2212 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2212 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2213 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2213 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2214 return o; 2214 return o;
2215 } 2215 }
2216 2216
2217 checkUnnamed3541(core.Map<core.String, core.Object> o) { 2217 checkUnnamed3591(core.Map<core.String, core.Object> o) {
2218 unittest.expect(o, unittest.hasLength(2)); 2218 unittest.expect(o, unittest.hasLength(2));
2219 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')); 2219 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'));
2220 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')); 2220 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'));
2221 } 2221 }
2222 2222
2223 core.int buildCounterSource = 0; 2223 core.int buildCounterSource = 0;
2224 buildSource() { 2224 buildSource() {
2225 var o = new api.Source(); 2225 var o = new api.Source();
2226 buildCounterSource++; 2226 buildCounterSource++;
2227 if (buildCounterSource < 3) { 2227 if (buildCounterSource < 3) {
2228 o.baseSpecs = buildUnnamed3539(); 2228 o.baseSpecs = buildUnnamed3589();
2229 o.codec = buildUnnamed3540(); 2229 o.codec = buildUnnamed3590();
2230 o.doesNotNeedSplitting = true; 2230 o.doesNotNeedSplitting = true;
2231 o.metadata = buildSourceMetadata(); 2231 o.metadata = buildSourceMetadata();
2232 o.spec = buildUnnamed3541(); 2232 o.spec = buildUnnamed3591();
2233 } 2233 }
2234 buildCounterSource--; 2234 buildCounterSource--;
2235 return o; 2235 return o;
2236 } 2236 }
2237 2237
2238 checkSource(api.Source o) { 2238 checkSource(api.Source o) {
2239 buildCounterSource++; 2239 buildCounterSource++;
2240 if (buildCounterSource < 3) { 2240 if (buildCounterSource < 3) {
2241 checkUnnamed3539(o.baseSpecs); 2241 checkUnnamed3589(o.baseSpecs);
2242 checkUnnamed3540(o.codec); 2242 checkUnnamed3590(o.codec);
2243 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); 2243 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
2244 checkSourceMetadata(o.metadata); 2244 checkSourceMetadata(o.metadata);
2245 checkUnnamed3541(o.spec); 2245 checkUnnamed3591(o.spec);
2246 } 2246 }
2247 buildCounterSource--; 2247 buildCounterSource--;
2248 } 2248 }
2249 2249
2250 core.int buildCounterSourceFork = 0; 2250 core.int buildCounterSourceFork = 0;
2251 buildSourceFork() { 2251 buildSourceFork() {
2252 var o = new api.SourceFork(); 2252 var o = new api.SourceFork();
2253 buildCounterSourceFork++; 2253 buildCounterSourceFork++;
2254 if (buildCounterSourceFork < 3) { 2254 if (buildCounterSourceFork < 3) {
2255 o.primary = buildSourceSplitShard(); 2255 o.primary = buildSourceSplitShard();
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 2410
2411 checkSourceSplitRequest(api.SourceSplitRequest o) { 2411 checkSourceSplitRequest(api.SourceSplitRequest o) {
2412 buildCounterSourceSplitRequest++; 2412 buildCounterSourceSplitRequest++;
2413 if (buildCounterSourceSplitRequest < 3) { 2413 if (buildCounterSourceSplitRequest < 3) {
2414 checkSourceSplitOptions(o.options); 2414 checkSourceSplitOptions(o.options);
2415 checkSource(o.source); 2415 checkSource(o.source);
2416 } 2416 }
2417 buildCounterSourceSplitRequest--; 2417 buildCounterSourceSplitRequest--;
2418 } 2418 }
2419 2419
2420 buildUnnamed3542() { 2420 buildUnnamed3592() {
2421 var o = new core.List<api.DerivedSource>(); 2421 var o = new core.List<api.DerivedSource>();
2422 o.add(buildDerivedSource()); 2422 o.add(buildDerivedSource());
2423 o.add(buildDerivedSource()); 2423 o.add(buildDerivedSource());
2424 return o; 2424 return o;
2425 } 2425 }
2426 2426
2427 checkUnnamed3542(core.List<api.DerivedSource> o) { 2427 checkUnnamed3592(core.List<api.DerivedSource> o) {
2428 unittest.expect(o, unittest.hasLength(2)); 2428 unittest.expect(o, unittest.hasLength(2));
2429 checkDerivedSource(o[0]); 2429 checkDerivedSource(o[0]);
2430 checkDerivedSource(o[1]); 2430 checkDerivedSource(o[1]);
2431 } 2431 }
2432 2432
2433 buildUnnamed3543() { 2433 buildUnnamed3593() {
2434 var o = new core.List<api.SourceSplitShard>(); 2434 var o = new core.List<api.SourceSplitShard>();
2435 o.add(buildSourceSplitShard()); 2435 o.add(buildSourceSplitShard());
2436 o.add(buildSourceSplitShard()); 2436 o.add(buildSourceSplitShard());
2437 return o; 2437 return o;
2438 } 2438 }
2439 2439
2440 checkUnnamed3543(core.List<api.SourceSplitShard> o) { 2440 checkUnnamed3593(core.List<api.SourceSplitShard> o) {
2441 unittest.expect(o, unittest.hasLength(2)); 2441 unittest.expect(o, unittest.hasLength(2));
2442 checkSourceSplitShard(o[0]); 2442 checkSourceSplitShard(o[0]);
2443 checkSourceSplitShard(o[1]); 2443 checkSourceSplitShard(o[1]);
2444 } 2444 }
2445 2445
2446 core.int buildCounterSourceSplitResponse = 0; 2446 core.int buildCounterSourceSplitResponse = 0;
2447 buildSourceSplitResponse() { 2447 buildSourceSplitResponse() {
2448 var o = new api.SourceSplitResponse(); 2448 var o = new api.SourceSplitResponse();
2449 buildCounterSourceSplitResponse++; 2449 buildCounterSourceSplitResponse++;
2450 if (buildCounterSourceSplitResponse < 3) { 2450 if (buildCounterSourceSplitResponse < 3) {
2451 o.bundles = buildUnnamed3542(); 2451 o.bundles = buildUnnamed3592();
2452 o.outcome = "foo"; 2452 o.outcome = "foo";
2453 o.shards = buildUnnamed3543(); 2453 o.shards = buildUnnamed3593();
2454 } 2454 }
2455 buildCounterSourceSplitResponse--; 2455 buildCounterSourceSplitResponse--;
2456 return o; 2456 return o;
2457 } 2457 }
2458 2458
2459 checkSourceSplitResponse(api.SourceSplitResponse o) { 2459 checkSourceSplitResponse(api.SourceSplitResponse o) {
2460 buildCounterSourceSplitResponse++; 2460 buildCounterSourceSplitResponse++;
2461 if (buildCounterSourceSplitResponse < 3) { 2461 if (buildCounterSourceSplitResponse < 3) {
2462 checkUnnamed3542(o.bundles); 2462 checkUnnamed3592(o.bundles);
2463 unittest.expect(o.outcome, unittest.equals('foo')); 2463 unittest.expect(o.outcome, unittest.equals('foo'));
2464 checkUnnamed3543(o.shards); 2464 checkUnnamed3593(o.shards);
2465 } 2465 }
2466 buildCounterSourceSplitResponse--; 2466 buildCounterSourceSplitResponse--;
2467 } 2467 }
2468 2468
2469 core.int buildCounterSourceSplitShard = 0; 2469 core.int buildCounterSourceSplitShard = 0;
2470 buildSourceSplitShard() { 2470 buildSourceSplitShard() {
2471 var o = new api.SourceSplitShard(); 2471 var o = new api.SourceSplitShard();
2472 buildCounterSourceSplitShard++; 2472 buildCounterSourceSplitShard++;
2473 if (buildCounterSourceSplitShard < 3) { 2473 if (buildCounterSourceSplitShard < 3) {
2474 o.derivationMode = "foo"; 2474 o.derivationMode = "foo";
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2522 2522
2523 checkStateFamilyConfig(api.StateFamilyConfig o) { 2523 checkStateFamilyConfig(api.StateFamilyConfig o) {
2524 buildCounterStateFamilyConfig++; 2524 buildCounterStateFamilyConfig++;
2525 if (buildCounterStateFamilyConfig < 3) { 2525 if (buildCounterStateFamilyConfig < 3) {
2526 unittest.expect(o.isRead, unittest.isTrue); 2526 unittest.expect(o.isRead, unittest.isTrue);
2527 unittest.expect(o.stateFamily, unittest.equals('foo')); 2527 unittest.expect(o.stateFamily, unittest.equals('foo'));
2528 } 2528 }
2529 buildCounterStateFamilyConfig--; 2529 buildCounterStateFamilyConfig--;
2530 } 2530 }
2531 2531
2532 buildUnnamed3544() { 2532 buildUnnamed3594() {
2533 var o = new core.Map<core.String, core.Object>(); 2533 var o = new core.Map<core.String, core.Object>();
2534 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2534 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2535 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2535 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2536 return o; 2536 return o;
2537 } 2537 }
2538 2538
2539 checkUnnamed3544(core.Map<core.String, core.Object> o) { 2539 checkUnnamed3594(core.Map<core.String, core.Object> o) {
2540 unittest.expect(o, unittest.hasLength(2)); 2540 unittest.expect(o, unittest.hasLength(2));
2541 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')); 2541 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'));
2542 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')); 2542 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'));
2543 } 2543 }
2544 2544
2545 buildUnnamed3545() { 2545 buildUnnamed3595() {
2546 var o = new core.List<core.Map<core.String, core.Object>>(); 2546 var o = new core.List<core.Map<core.String, core.Object>>();
2547 o.add(buildUnnamed3544()); 2547 o.add(buildUnnamed3594());
2548 o.add(buildUnnamed3544()); 2548 o.add(buildUnnamed3594());
2549 return o; 2549 return o;
2550 } 2550 }
2551 2551
2552 checkUnnamed3545(core.List<core.Map<core.String, core.Object>> o) { 2552 checkUnnamed3595(core.List<core.Map<core.String, core.Object>> o) {
2553 unittest.expect(o, unittest.hasLength(2)); 2553 unittest.expect(o, unittest.hasLength(2));
2554 checkUnnamed3544(o[0]); 2554 checkUnnamed3594(o[0]);
2555 checkUnnamed3544(o[1]); 2555 checkUnnamed3594(o[1]);
2556 } 2556 }
2557 2557
2558 core.int buildCounterStatus = 0; 2558 core.int buildCounterStatus = 0;
2559 buildStatus() { 2559 buildStatus() {
2560 var o = new api.Status(); 2560 var o = new api.Status();
2561 buildCounterStatus++; 2561 buildCounterStatus++;
2562 if (buildCounterStatus < 3) { 2562 if (buildCounterStatus < 3) {
2563 o.code = 42; 2563 o.code = 42;
2564 o.details = buildUnnamed3545(); 2564 o.details = buildUnnamed3595();
2565 o.message = "foo"; 2565 o.message = "foo";
2566 } 2566 }
2567 buildCounterStatus--; 2567 buildCounterStatus--;
2568 return o; 2568 return o;
2569 } 2569 }
2570 2570
2571 checkStatus(api.Status o) { 2571 checkStatus(api.Status o) {
2572 buildCounterStatus++; 2572 buildCounterStatus++;
2573 if (buildCounterStatus < 3) { 2573 if (buildCounterStatus < 3) {
2574 unittest.expect(o.code, unittest.equals(42)); 2574 unittest.expect(o.code, unittest.equals(42));
2575 checkUnnamed3545(o.details); 2575 checkUnnamed3595(o.details);
2576 unittest.expect(o.message, unittest.equals('foo')); 2576 unittest.expect(o.message, unittest.equals('foo'));
2577 } 2577 }
2578 buildCounterStatus--; 2578 buildCounterStatus--;
2579 } 2579 }
2580 2580
2581 buildUnnamed3546() { 2581 buildUnnamed3596() {
2582 var o = new core.Map<core.String, core.Object>(); 2582 var o = new core.Map<core.String, core.Object>();
2583 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2583 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2584 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2584 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2585 return o; 2585 return o;
2586 } 2586 }
2587 2587
2588 checkUnnamed3546(core.Map<core.String, core.Object> o) { 2588 checkUnnamed3596(core.Map<core.String, core.Object> o) {
2589 unittest.expect(o, unittest.hasLength(2)); 2589 unittest.expect(o, unittest.hasLength(2));
2590 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')); 2590 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'));
2591 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')); 2591 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'));
2592 } 2592 }
2593 2593
2594 core.int buildCounterStep = 0; 2594 core.int buildCounterStep = 0;
2595 buildStep() { 2595 buildStep() {
2596 var o = new api.Step(); 2596 var o = new api.Step();
2597 buildCounterStep++; 2597 buildCounterStep++;
2598 if (buildCounterStep < 3) { 2598 if (buildCounterStep < 3) {
2599 o.kind = "foo"; 2599 o.kind = "foo";
2600 o.name = "foo"; 2600 o.name = "foo";
2601 o.properties = buildUnnamed3546(); 2601 o.properties = buildUnnamed3596();
2602 } 2602 }
2603 buildCounterStep--; 2603 buildCounterStep--;
2604 return o; 2604 return o;
2605 } 2605 }
2606 2606
2607 checkStep(api.Step o) { 2607 checkStep(api.Step o) {
2608 buildCounterStep++; 2608 buildCounterStep++;
2609 if (buildCounterStep < 3) { 2609 if (buildCounterStep < 3) {
2610 unittest.expect(o.kind, unittest.equals('foo')); 2610 unittest.expect(o.kind, unittest.equals('foo'));
2611 unittest.expect(o.name, unittest.equals('foo')); 2611 unittest.expect(o.name, unittest.equals('foo'));
2612 checkUnnamed3546(o.properties); 2612 checkUnnamed3596(o.properties);
2613 } 2613 }
2614 buildCounterStep--; 2614 buildCounterStep--;
2615 } 2615 }
2616 2616
2617 core.int buildCounterStreamLocation = 0; 2617 core.int buildCounterStreamLocation = 0;
2618 buildStreamLocation() { 2618 buildStreamLocation() {
2619 var o = new api.StreamLocation(); 2619 var o = new api.StreamLocation();
2620 buildCounterStreamLocation++; 2620 buildCounterStreamLocation++;
2621 if (buildCounterStreamLocation < 3) { 2621 if (buildCounterStreamLocation < 3) {
2622 o.customSourceLocation = buildCustomSourceLocation(); 2622 o.customSourceLocation = buildCustomSourceLocation();
2623 o.pubsubLocation = buildPubsubLocation(); 2623 o.pubsubLocation = buildPubsubLocation();
2624 o.sideInputLocation = buildStreamingSideInputLocation(); 2624 o.sideInputLocation = buildStreamingSideInputLocation();
2625 o.streamingStageLocation = buildStreamingStageLocation(); 2625 o.streamingStageLocation = buildStreamingStageLocation();
2626 } 2626 }
2627 buildCounterStreamLocation--; 2627 buildCounterStreamLocation--;
2628 return o; 2628 return o;
2629 } 2629 }
2630 2630
2631 checkStreamLocation(api.StreamLocation o) { 2631 checkStreamLocation(api.StreamLocation o) {
2632 buildCounterStreamLocation++; 2632 buildCounterStreamLocation++;
2633 if (buildCounterStreamLocation < 3) { 2633 if (buildCounterStreamLocation < 3) {
2634 checkCustomSourceLocation(o.customSourceLocation); 2634 checkCustomSourceLocation(o.customSourceLocation);
2635 checkPubsubLocation(o.pubsubLocation); 2635 checkPubsubLocation(o.pubsubLocation);
2636 checkStreamingSideInputLocation(o.sideInputLocation); 2636 checkStreamingSideInputLocation(o.sideInputLocation);
2637 checkStreamingStageLocation(o.streamingStageLocation); 2637 checkStreamingStageLocation(o.streamingStageLocation);
2638 } 2638 }
2639 buildCounterStreamLocation--; 2639 buildCounterStreamLocation--;
2640 } 2640 }
2641 2641
2642 buildUnnamed3547() { 2642 buildUnnamed3597() {
2643 var o = new core.List<api.ParallelInstruction>(); 2643 var o = new core.List<api.ParallelInstruction>();
2644 o.add(buildParallelInstruction()); 2644 o.add(buildParallelInstruction());
2645 o.add(buildParallelInstruction()); 2645 o.add(buildParallelInstruction());
2646 return o; 2646 return o;
2647 } 2647 }
2648 2648
2649 checkUnnamed3547(core.List<api.ParallelInstruction> o) { 2649 checkUnnamed3597(core.List<api.ParallelInstruction> o) {
2650 unittest.expect(o, unittest.hasLength(2)); 2650 unittest.expect(o, unittest.hasLength(2));
2651 checkParallelInstruction(o[0]); 2651 checkParallelInstruction(o[0]);
2652 checkParallelInstruction(o[1]); 2652 checkParallelInstruction(o[1]);
2653 } 2653 }
2654 2654
2655 core.int buildCounterStreamingComputationConfig = 0; 2655 core.int buildCounterStreamingComputationConfig = 0;
2656 buildStreamingComputationConfig() { 2656 buildStreamingComputationConfig() {
2657 var o = new api.StreamingComputationConfig(); 2657 var o = new api.StreamingComputationConfig();
2658 buildCounterStreamingComputationConfig++; 2658 buildCounterStreamingComputationConfig++;
2659 if (buildCounterStreamingComputationConfig < 3) { 2659 if (buildCounterStreamingComputationConfig < 3) {
2660 o.computationId = "foo"; 2660 o.computationId = "foo";
2661 o.instructions = buildUnnamed3547(); 2661 o.instructions = buildUnnamed3597();
2662 o.stageName = "foo"; 2662 o.stageName = "foo";
2663 o.systemName = "foo"; 2663 o.systemName = "foo";
2664 } 2664 }
2665 buildCounterStreamingComputationConfig--; 2665 buildCounterStreamingComputationConfig--;
2666 return o; 2666 return o;
2667 } 2667 }
2668 2668
2669 checkStreamingComputationConfig(api.StreamingComputationConfig o) { 2669 checkStreamingComputationConfig(api.StreamingComputationConfig o) {
2670 buildCounterStreamingComputationConfig++; 2670 buildCounterStreamingComputationConfig++;
2671 if (buildCounterStreamingComputationConfig < 3) { 2671 if (buildCounterStreamingComputationConfig < 3) {
2672 unittest.expect(o.computationId, unittest.equals('foo')); 2672 unittest.expect(o.computationId, unittest.equals('foo'));
2673 checkUnnamed3547(o.instructions); 2673 checkUnnamed3597(o.instructions);
2674 unittest.expect(o.stageName, unittest.equals('foo')); 2674 unittest.expect(o.stageName, unittest.equals('foo'));
2675 unittest.expect(o.systemName, unittest.equals('foo')); 2675 unittest.expect(o.systemName, unittest.equals('foo'));
2676 } 2676 }
2677 buildCounterStreamingComputationConfig--; 2677 buildCounterStreamingComputationConfig--;
2678 } 2678 }
2679 2679
2680 buildUnnamed3548() { 2680 buildUnnamed3598() {
2681 var o = new core.List<api.KeyRangeDataDiskAssignment>(); 2681 var o = new core.List<api.KeyRangeDataDiskAssignment>();
2682 o.add(buildKeyRangeDataDiskAssignment()); 2682 o.add(buildKeyRangeDataDiskAssignment());
2683 o.add(buildKeyRangeDataDiskAssignment()); 2683 o.add(buildKeyRangeDataDiskAssignment());
2684 return o; 2684 return o;
2685 } 2685 }
2686 2686
2687 checkUnnamed3548(core.List<api.KeyRangeDataDiskAssignment> o) { 2687 checkUnnamed3598(core.List<api.KeyRangeDataDiskAssignment> o) {
2688 unittest.expect(o, unittest.hasLength(2)); 2688 unittest.expect(o, unittest.hasLength(2));
2689 checkKeyRangeDataDiskAssignment(o[0]); 2689 checkKeyRangeDataDiskAssignment(o[0]);
2690 checkKeyRangeDataDiskAssignment(o[1]); 2690 checkKeyRangeDataDiskAssignment(o[1]);
2691 } 2691 }
2692 2692
2693 core.int buildCounterStreamingComputationRanges = 0; 2693 core.int buildCounterStreamingComputationRanges = 0;
2694 buildStreamingComputationRanges() { 2694 buildStreamingComputationRanges() {
2695 var o = new api.StreamingComputationRanges(); 2695 var o = new api.StreamingComputationRanges();
2696 buildCounterStreamingComputationRanges++; 2696 buildCounterStreamingComputationRanges++;
2697 if (buildCounterStreamingComputationRanges < 3) { 2697 if (buildCounterStreamingComputationRanges < 3) {
2698 o.computationId = "foo"; 2698 o.computationId = "foo";
2699 o.rangeAssignments = buildUnnamed3548(); 2699 o.rangeAssignments = buildUnnamed3598();
2700 } 2700 }
2701 buildCounterStreamingComputationRanges--; 2701 buildCounterStreamingComputationRanges--;
2702 return o; 2702 return o;
2703 } 2703 }
2704 2704
2705 checkStreamingComputationRanges(api.StreamingComputationRanges o) { 2705 checkStreamingComputationRanges(api.StreamingComputationRanges o) {
2706 buildCounterStreamingComputationRanges++; 2706 buildCounterStreamingComputationRanges++;
2707 if (buildCounterStreamingComputationRanges < 3) { 2707 if (buildCounterStreamingComputationRanges < 3) {
2708 unittest.expect(o.computationId, unittest.equals('foo')); 2708 unittest.expect(o.computationId, unittest.equals('foo'));
2709 checkUnnamed3548(o.rangeAssignments); 2709 checkUnnamed3598(o.rangeAssignments);
2710 } 2710 }
2711 buildCounterStreamingComputationRanges--; 2711 buildCounterStreamingComputationRanges--;
2712 } 2712 }
2713 2713
2714 buildUnnamed3549() { 2714 buildUnnamed3599() {
2715 var o = new core.List<api.StreamingComputationRanges>(); 2715 var o = new core.List<api.StreamingComputationRanges>();
2716 o.add(buildStreamingComputationRanges()); 2716 o.add(buildStreamingComputationRanges());
2717 o.add(buildStreamingComputationRanges()); 2717 o.add(buildStreamingComputationRanges());
2718 return o; 2718 return o;
2719 } 2719 }
2720 2720
2721 checkUnnamed3549(core.List<api.StreamingComputationRanges> o) { 2721 checkUnnamed3599(core.List<api.StreamingComputationRanges> o) {
2722 unittest.expect(o, unittest.hasLength(2)); 2722 unittest.expect(o, unittest.hasLength(2));
2723 checkStreamingComputationRanges(o[0]); 2723 checkStreamingComputationRanges(o[0]);
2724 checkStreamingComputationRanges(o[1]); 2724 checkStreamingComputationRanges(o[1]);
2725 } 2725 }
2726 2726
2727 buildUnnamed3550() { 2727 buildUnnamed3600() {
2728 var o = new core.List<api.MountedDataDisk>(); 2728 var o = new core.List<api.MountedDataDisk>();
2729 o.add(buildMountedDataDisk()); 2729 o.add(buildMountedDataDisk());
2730 o.add(buildMountedDataDisk()); 2730 o.add(buildMountedDataDisk());
2731 return o; 2731 return o;
2732 } 2732 }
2733 2733
2734 checkUnnamed3550(core.List<api.MountedDataDisk> o) { 2734 checkUnnamed3600(core.List<api.MountedDataDisk> o) {
2735 unittest.expect(o, unittest.hasLength(2)); 2735 unittest.expect(o, unittest.hasLength(2));
2736 checkMountedDataDisk(o[0]); 2736 checkMountedDataDisk(o[0]);
2737 checkMountedDataDisk(o[1]); 2737 checkMountedDataDisk(o[1]);
2738 } 2738 }
2739 2739
2740 core.int buildCounterStreamingComputationTask = 0; 2740 core.int buildCounterStreamingComputationTask = 0;
2741 buildStreamingComputationTask() { 2741 buildStreamingComputationTask() {
2742 var o = new api.StreamingComputationTask(); 2742 var o = new api.StreamingComputationTask();
2743 buildCounterStreamingComputationTask++; 2743 buildCounterStreamingComputationTask++;
2744 if (buildCounterStreamingComputationTask < 3) { 2744 if (buildCounterStreamingComputationTask < 3) {
2745 o.computationRanges = buildUnnamed3549(); 2745 o.computationRanges = buildUnnamed3599();
2746 o.dataDisks = buildUnnamed3550(); 2746 o.dataDisks = buildUnnamed3600();
2747 o.taskType = "foo"; 2747 o.taskType = "foo";
2748 } 2748 }
2749 buildCounterStreamingComputationTask--; 2749 buildCounterStreamingComputationTask--;
2750 return o; 2750 return o;
2751 } 2751 }
2752 2752
2753 checkStreamingComputationTask(api.StreamingComputationTask o) { 2753 checkStreamingComputationTask(api.StreamingComputationTask o) {
2754 buildCounterStreamingComputationTask++; 2754 buildCounterStreamingComputationTask++;
2755 if (buildCounterStreamingComputationTask < 3) { 2755 if (buildCounterStreamingComputationTask < 3) {
2756 checkUnnamed3549(o.computationRanges); 2756 checkUnnamed3599(o.computationRanges);
2757 checkUnnamed3550(o.dataDisks); 2757 checkUnnamed3600(o.dataDisks);
2758 unittest.expect(o.taskType, unittest.equals('foo')); 2758 unittest.expect(o.taskType, unittest.equals('foo'));
2759 } 2759 }
2760 buildCounterStreamingComputationTask--; 2760 buildCounterStreamingComputationTask--;
2761 } 2761 }
2762 2762
2763 buildUnnamed3551() { 2763 buildUnnamed3601() {
2764 var o = new core.List<api.StreamingComputationConfig>(); 2764 var o = new core.List<api.StreamingComputationConfig>();
2765 o.add(buildStreamingComputationConfig()); 2765 o.add(buildStreamingComputationConfig());
2766 o.add(buildStreamingComputationConfig()); 2766 o.add(buildStreamingComputationConfig());
2767 return o; 2767 return o;
2768 } 2768 }
2769 2769
2770 checkUnnamed3551(core.List<api.StreamingComputationConfig> o) { 2770 checkUnnamed3601(core.List<api.StreamingComputationConfig> o) {
2771 unittest.expect(o, unittest.hasLength(2)); 2771 unittest.expect(o, unittest.hasLength(2));
2772 checkStreamingComputationConfig(o[0]); 2772 checkStreamingComputationConfig(o[0]);
2773 checkStreamingComputationConfig(o[1]); 2773 checkStreamingComputationConfig(o[1]);
2774 } 2774 }
2775 2775
2776 buildUnnamed3552() { 2776 buildUnnamed3602() {
2777 var o = new core.Map<core.String, core.String>(); 2777 var o = new core.Map<core.String, core.String>();
2778 o["x"] = "foo"; 2778 o["x"] = "foo";
2779 o["y"] = "foo"; 2779 o["y"] = "foo";
2780 return o; 2780 return o;
2781 } 2781 }
2782 2782
2783 checkUnnamed3552(core.Map<core.String, core.String> o) { 2783 checkUnnamed3602(core.Map<core.String, core.String> o) {
2784 unittest.expect(o, unittest.hasLength(2)); 2784 unittest.expect(o, unittest.hasLength(2));
2785 unittest.expect(o["x"], unittest.equals('foo')); 2785 unittest.expect(o["x"], unittest.equals('foo'));
2786 unittest.expect(o["y"], unittest.equals('foo')); 2786 unittest.expect(o["y"], unittest.equals('foo'));
2787 } 2787 }
2788 2788
2789 core.int buildCounterStreamingConfigTask = 0; 2789 core.int buildCounterStreamingConfigTask = 0;
2790 buildStreamingConfigTask() { 2790 buildStreamingConfigTask() {
2791 var o = new api.StreamingConfigTask(); 2791 var o = new api.StreamingConfigTask();
2792 buildCounterStreamingConfigTask++; 2792 buildCounterStreamingConfigTask++;
2793 if (buildCounterStreamingConfigTask < 3) { 2793 if (buildCounterStreamingConfigTask < 3) {
2794 o.streamingComputationConfigs = buildUnnamed3551(); 2794 o.streamingComputationConfigs = buildUnnamed3601();
2795 o.userStepToStateFamilyNameMap = buildUnnamed3552(); 2795 o.userStepToStateFamilyNameMap = buildUnnamed3602();
2796 } 2796 }
2797 buildCounterStreamingConfigTask--; 2797 buildCounterStreamingConfigTask--;
2798 return o; 2798 return o;
2799 } 2799 }
2800 2800
2801 checkStreamingConfigTask(api.StreamingConfigTask o) { 2801 checkStreamingConfigTask(api.StreamingConfigTask o) {
2802 buildCounterStreamingConfigTask++; 2802 buildCounterStreamingConfigTask++;
2803 if (buildCounterStreamingConfigTask < 3) { 2803 if (buildCounterStreamingConfigTask < 3) {
2804 checkUnnamed3551(o.streamingComputationConfigs); 2804 checkUnnamed3601(o.streamingComputationConfigs);
2805 checkUnnamed3552(o.userStepToStateFamilyNameMap); 2805 checkUnnamed3602(o.userStepToStateFamilyNameMap);
2806 } 2806 }
2807 buildCounterStreamingConfigTask--; 2807 buildCounterStreamingConfigTask--;
2808 } 2808 }
2809 2809
2810 core.int buildCounterStreamingSetupTask = 0; 2810 core.int buildCounterStreamingSetupTask = 0;
2811 buildStreamingSetupTask() { 2811 buildStreamingSetupTask() {
2812 var o = new api.StreamingSetupTask(); 2812 var o = new api.StreamingSetupTask();
2813 buildCounterStreamingSetupTask++; 2813 buildCounterStreamingSetupTask++;
2814 if (buildCounterStreamingSetupTask < 3) { 2814 if (buildCounterStreamingSetupTask < 3) {
2815 o.drain = true; 2815 o.drain = true;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2865 } 2865 }
2866 2866
2867 checkStreamingStageLocation(api.StreamingStageLocation o) { 2867 checkStreamingStageLocation(api.StreamingStageLocation o) {
2868 buildCounterStreamingStageLocation++; 2868 buildCounterStreamingStageLocation++;
2869 if (buildCounterStreamingStageLocation < 3) { 2869 if (buildCounterStreamingStageLocation < 3) {
2870 unittest.expect(o.streamId, unittest.equals('foo')); 2870 unittest.expect(o.streamId, unittest.equals('foo'));
2871 } 2871 }
2872 buildCounterStreamingStageLocation--; 2872 buildCounterStreamingStageLocation--;
2873 } 2873 }
2874 2874
2875 buildUnnamed3553() { 2875 buildUnnamed3603() {
2876 var o = new core.List<core.String>(); 2876 var o = new core.List<core.String>();
2877 o.add("foo"); 2877 o.add("foo");
2878 o.add("foo"); 2878 o.add("foo");
2879 return o; 2879 return o;
2880 } 2880 }
2881 2881
2882 checkUnnamed3553(core.List<core.String> o) { 2882 checkUnnamed3603(core.List<core.String> o) {
2883 unittest.expect(o, unittest.hasLength(2)); 2883 unittest.expect(o, unittest.hasLength(2));
2884 unittest.expect(o[0], unittest.equals('foo')); 2884 unittest.expect(o[0], unittest.equals('foo'));
2885 unittest.expect(o[1], unittest.equals('foo')); 2885 unittest.expect(o[1], unittest.equals('foo'));
2886 } 2886 }
2887 2887
2888 core.int buildCounterStringList = 0; 2888 core.int buildCounterStringList = 0;
2889 buildStringList() { 2889 buildStringList() {
2890 var o = new api.StringList(); 2890 var o = new api.StringList();
2891 buildCounterStringList++; 2891 buildCounterStringList++;
2892 if (buildCounterStringList < 3) { 2892 if (buildCounterStringList < 3) {
2893 o.elements = buildUnnamed3553(); 2893 o.elements = buildUnnamed3603();
2894 } 2894 }
2895 buildCounterStringList--; 2895 buildCounterStringList--;
2896 return o; 2896 return o;
2897 } 2897 }
2898 2898
2899 checkStringList(api.StringList o) { 2899 checkStringList(api.StringList o) {
2900 buildCounterStringList++; 2900 buildCounterStringList++;
2901 if (buildCounterStringList < 3) { 2901 if (buildCounterStringList < 3) {
2902 checkUnnamed3553(o.elements); 2902 checkUnnamed3603(o.elements);
2903 } 2903 }
2904 buildCounterStringList--; 2904 buildCounterStringList--;
2905 } 2905 }
2906 2906
2907 buildUnnamed3554() { 2907 buildUnnamed3604() {
2908 var o = new core.List<core.String>(); 2908 var o = new core.List<core.String>();
2909 o.add("foo"); 2909 o.add("foo");
2910 o.add("foo"); 2910 o.add("foo");
2911 return o; 2911 return o;
2912 } 2912 }
2913 2913
2914 checkUnnamed3554(core.List<core.String> o) { 2914 checkUnnamed3604(core.List<core.String> o) {
2915 unittest.expect(o, unittest.hasLength(2)); 2915 unittest.expect(o, unittest.hasLength(2));
2916 unittest.expect(o[0], unittest.equals('foo')); 2916 unittest.expect(o[0], unittest.equals('foo'));
2917 unittest.expect(o[1], unittest.equals('foo')); 2917 unittest.expect(o[1], unittest.equals('foo'));
2918 } 2918 }
2919 2919
2920 core.int buildCounterTaskRunnerSettings = 0; 2920 core.int buildCounterTaskRunnerSettings = 0;
2921 buildTaskRunnerSettings() { 2921 buildTaskRunnerSettings() {
2922 var o = new api.TaskRunnerSettings(); 2922 var o = new api.TaskRunnerSettings();
2923 buildCounterTaskRunnerSettings++; 2923 buildCounterTaskRunnerSettings++;
2924 if (buildCounterTaskRunnerSettings < 3) { 2924 if (buildCounterTaskRunnerSettings < 3) {
2925 o.alsologtostderr = true; 2925 o.alsologtostderr = true;
2926 o.baseTaskDir = "foo"; 2926 o.baseTaskDir = "foo";
2927 o.baseUrl = "foo"; 2927 o.baseUrl = "foo";
2928 o.commandlinesFileName = "foo"; 2928 o.commandlinesFileName = "foo";
2929 o.continueOnException = true; 2929 o.continueOnException = true;
2930 o.dataflowApiVersion = "foo"; 2930 o.dataflowApiVersion = "foo";
2931 o.harnessCommand = "foo"; 2931 o.harnessCommand = "foo";
2932 o.languageHint = "foo"; 2932 o.languageHint = "foo";
2933 o.logDir = "foo"; 2933 o.logDir = "foo";
2934 o.logToSerialconsole = true; 2934 o.logToSerialconsole = true;
2935 o.logUploadLocation = "foo"; 2935 o.logUploadLocation = "foo";
2936 o.oauthScopes = buildUnnamed3554(); 2936 o.oauthScopes = buildUnnamed3604();
2937 o.parallelWorkerSettings = buildWorkerSettings(); 2937 o.parallelWorkerSettings = buildWorkerSettings();
2938 o.streamingWorkerMainClass = "foo"; 2938 o.streamingWorkerMainClass = "foo";
2939 o.taskGroup = "foo"; 2939 o.taskGroup = "foo";
2940 o.taskUser = "foo"; 2940 o.taskUser = "foo";
2941 o.tempStoragePrefix = "foo"; 2941 o.tempStoragePrefix = "foo";
2942 o.vmId = "foo"; 2942 o.vmId = "foo";
2943 o.workflowFileName = "foo"; 2943 o.workflowFileName = "foo";
2944 } 2944 }
2945 buildCounterTaskRunnerSettings--; 2945 buildCounterTaskRunnerSettings--;
2946 return o; 2946 return o;
2947 } 2947 }
2948 2948
2949 checkTaskRunnerSettings(api.TaskRunnerSettings o) { 2949 checkTaskRunnerSettings(api.TaskRunnerSettings o) {
2950 buildCounterTaskRunnerSettings++; 2950 buildCounterTaskRunnerSettings++;
2951 if (buildCounterTaskRunnerSettings < 3) { 2951 if (buildCounterTaskRunnerSettings < 3) {
2952 unittest.expect(o.alsologtostderr, unittest.isTrue); 2952 unittest.expect(o.alsologtostderr, unittest.isTrue);
2953 unittest.expect(o.baseTaskDir, unittest.equals('foo')); 2953 unittest.expect(o.baseTaskDir, unittest.equals('foo'));
2954 unittest.expect(o.baseUrl, unittest.equals('foo')); 2954 unittest.expect(o.baseUrl, unittest.equals('foo'));
2955 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); 2955 unittest.expect(o.commandlinesFileName, unittest.equals('foo'));
2956 unittest.expect(o.continueOnException, unittest.isTrue); 2956 unittest.expect(o.continueOnException, unittest.isTrue);
2957 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); 2957 unittest.expect(o.dataflowApiVersion, unittest.equals('foo'));
2958 unittest.expect(o.harnessCommand, unittest.equals('foo')); 2958 unittest.expect(o.harnessCommand, unittest.equals('foo'));
2959 unittest.expect(o.languageHint, unittest.equals('foo')); 2959 unittest.expect(o.languageHint, unittest.equals('foo'));
2960 unittest.expect(o.logDir, unittest.equals('foo')); 2960 unittest.expect(o.logDir, unittest.equals('foo'));
2961 unittest.expect(o.logToSerialconsole, unittest.isTrue); 2961 unittest.expect(o.logToSerialconsole, unittest.isTrue);
2962 unittest.expect(o.logUploadLocation, unittest.equals('foo')); 2962 unittest.expect(o.logUploadLocation, unittest.equals('foo'));
2963 checkUnnamed3554(o.oauthScopes); 2963 checkUnnamed3604(o.oauthScopes);
2964 checkWorkerSettings(o.parallelWorkerSettings); 2964 checkWorkerSettings(o.parallelWorkerSettings);
2965 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); 2965 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
2966 unittest.expect(o.taskGroup, unittest.equals('foo')); 2966 unittest.expect(o.taskGroup, unittest.equals('foo'));
2967 unittest.expect(o.taskUser, unittest.equals('foo')); 2967 unittest.expect(o.taskUser, unittest.equals('foo'));
2968 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 2968 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
2969 unittest.expect(o.vmId, unittest.equals('foo')); 2969 unittest.expect(o.vmId, unittest.equals('foo'));
2970 unittest.expect(o.workflowFileName, unittest.equals('foo')); 2970 unittest.expect(o.workflowFileName, unittest.equals('foo'));
2971 } 2971 }
2972 buildCounterTaskRunnerSettings--; 2972 buildCounterTaskRunnerSettings--;
2973 } 2973 }
2974 2974
2975 buildUnnamed3555() { 2975 buildUnnamed3605() {
2976 var o = new core.List<api.ComputationTopology>(); 2976 var o = new core.List<api.ComputationTopology>();
2977 o.add(buildComputationTopology()); 2977 o.add(buildComputationTopology());
2978 o.add(buildComputationTopology()); 2978 o.add(buildComputationTopology());
2979 return o; 2979 return o;
2980 } 2980 }
2981 2981
2982 checkUnnamed3555(core.List<api.ComputationTopology> o) { 2982 checkUnnamed3605(core.List<api.ComputationTopology> o) {
2983 unittest.expect(o, unittest.hasLength(2)); 2983 unittest.expect(o, unittest.hasLength(2));
2984 checkComputationTopology(o[0]); 2984 checkComputationTopology(o[0]);
2985 checkComputationTopology(o[1]); 2985 checkComputationTopology(o[1]);
2986 } 2986 }
2987 2987
2988 buildUnnamed3556() { 2988 buildUnnamed3606() {
2989 var o = new core.List<api.DataDiskAssignment>(); 2989 var o = new core.List<api.DataDiskAssignment>();
2990 o.add(buildDataDiskAssignment()); 2990 o.add(buildDataDiskAssignment());
2991 o.add(buildDataDiskAssignment()); 2991 o.add(buildDataDiskAssignment());
2992 return o; 2992 return o;
2993 } 2993 }
2994 2994
2995 checkUnnamed3556(core.List<api.DataDiskAssignment> o) { 2995 checkUnnamed3606(core.List<api.DataDiskAssignment> o) {
2996 unittest.expect(o, unittest.hasLength(2)); 2996 unittest.expect(o, unittest.hasLength(2));
2997 checkDataDiskAssignment(o[0]); 2997 checkDataDiskAssignment(o[0]);
2998 checkDataDiskAssignment(o[1]); 2998 checkDataDiskAssignment(o[1]);
2999 } 2999 }
3000 3000
3001 buildUnnamed3557() { 3001 buildUnnamed3607() {
3002 var o = new core.Map<core.String, core.String>(); 3002 var o = new core.Map<core.String, core.String>();
3003 o["x"] = "foo"; 3003 o["x"] = "foo";
3004 o["y"] = "foo"; 3004 o["y"] = "foo";
3005 return o; 3005 return o;
3006 } 3006 }
3007 3007
3008 checkUnnamed3557(core.Map<core.String, core.String> o) { 3008 checkUnnamed3607(core.Map<core.String, core.String> o) {
3009 unittest.expect(o, unittest.hasLength(2)); 3009 unittest.expect(o, unittest.hasLength(2));
3010 unittest.expect(o["x"], unittest.equals('foo')); 3010 unittest.expect(o["x"], unittest.equals('foo'));
3011 unittest.expect(o["y"], unittest.equals('foo')); 3011 unittest.expect(o["y"], unittest.equals('foo'));
3012 } 3012 }
3013 3013
3014 core.int buildCounterTopologyConfig = 0; 3014 core.int buildCounterTopologyConfig = 0;
3015 buildTopologyConfig() { 3015 buildTopologyConfig() {
3016 var o = new api.TopologyConfig(); 3016 var o = new api.TopologyConfig();
3017 buildCounterTopologyConfig++; 3017 buildCounterTopologyConfig++;
3018 if (buildCounterTopologyConfig < 3) { 3018 if (buildCounterTopologyConfig < 3) {
3019 o.computations = buildUnnamed3555(); 3019 o.computations = buildUnnamed3605();
3020 o.dataDiskAssignments = buildUnnamed3556(); 3020 o.dataDiskAssignments = buildUnnamed3606();
3021 o.forwardingKeyBits = 42; 3021 o.forwardingKeyBits = 42;
3022 o.persistentStateVersion = 42; 3022 o.persistentStateVersion = 42;
3023 o.userStageToComputationNameMap = buildUnnamed3557(); 3023 o.userStageToComputationNameMap = buildUnnamed3607();
3024 } 3024 }
3025 buildCounterTopologyConfig--; 3025 buildCounterTopologyConfig--;
3026 return o; 3026 return o;
3027 } 3027 }
3028 3028
3029 checkTopologyConfig(api.TopologyConfig o) { 3029 checkTopologyConfig(api.TopologyConfig o) {
3030 buildCounterTopologyConfig++; 3030 buildCounterTopologyConfig++;
3031 if (buildCounterTopologyConfig < 3) { 3031 if (buildCounterTopologyConfig < 3) {
3032 checkUnnamed3555(o.computations); 3032 checkUnnamed3605(o.computations);
3033 checkUnnamed3556(o.dataDiskAssignments); 3033 checkUnnamed3606(o.dataDiskAssignments);
3034 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); 3034 unittest.expect(o.forwardingKeyBits, unittest.equals(42));
3035 unittest.expect(o.persistentStateVersion, unittest.equals(42)); 3035 unittest.expect(o.persistentStateVersion, unittest.equals(42));
3036 checkUnnamed3557(o.userStageToComputationNameMap); 3036 checkUnnamed3607(o.userStageToComputationNameMap);
3037 } 3037 }
3038 buildCounterTopologyConfig--; 3038 buildCounterTopologyConfig--;
3039 } 3039 }
3040 3040
3041 buildUnnamed3558() { 3041 buildUnnamed3608() {
3042 var o = new core.List<api.Package>(); 3042 var o = new core.List<api.Package>();
3043 o.add(buildPackage()); 3043 o.add(buildPackage());
3044 o.add(buildPackage()); 3044 o.add(buildPackage());
3045 return o; 3045 return o;
3046 } 3046 }
3047 3047
3048 checkUnnamed3558(core.List<api.Package> o) { 3048 checkUnnamed3608(core.List<api.Package> o) {
3049 unittest.expect(o, unittest.hasLength(2)); 3049 unittest.expect(o, unittest.hasLength(2));
3050 checkPackage(o[0]); 3050 checkPackage(o[0]);
3051 checkPackage(o[1]); 3051 checkPackage(o[1]);
3052 } 3052 }
3053 3053
3054 core.int buildCounterWorkItem = 0; 3054 core.int buildCounterWorkItem = 0;
3055 buildWorkItem() { 3055 buildWorkItem() {
3056 var o = new api.WorkItem(); 3056 var o = new api.WorkItem();
3057 buildCounterWorkItem++; 3057 buildCounterWorkItem++;
3058 if (buildCounterWorkItem < 3) { 3058 if (buildCounterWorkItem < 3) {
3059 o.configuration = "foo"; 3059 o.configuration = "foo";
3060 o.id = "foo"; 3060 o.id = "foo";
3061 o.initialReportIndex = "foo"; 3061 o.initialReportIndex = "foo";
3062 o.jobId = "foo"; 3062 o.jobId = "foo";
3063 o.leaseExpireTime = "foo"; 3063 o.leaseExpireTime = "foo";
3064 o.mapTask = buildMapTask(); 3064 o.mapTask = buildMapTask();
3065 o.packages = buildUnnamed3558(); 3065 o.packages = buildUnnamed3608();
3066 o.projectId = "foo"; 3066 o.projectId = "foo";
3067 o.reportStatusInterval = "foo"; 3067 o.reportStatusInterval = "foo";
3068 o.seqMapTask = buildSeqMapTask(); 3068 o.seqMapTask = buildSeqMapTask();
3069 o.shellTask = buildShellTask(); 3069 o.shellTask = buildShellTask();
3070 o.sourceOperationTask = buildSourceOperationRequest(); 3070 o.sourceOperationTask = buildSourceOperationRequest();
3071 o.streamingComputationTask = buildStreamingComputationTask(); 3071 o.streamingComputationTask = buildStreamingComputationTask();
3072 o.streamingConfigTask = buildStreamingConfigTask(); 3072 o.streamingConfigTask = buildStreamingConfigTask();
3073 o.streamingSetupTask = buildStreamingSetupTask(); 3073 o.streamingSetupTask = buildStreamingSetupTask();
3074 } 3074 }
3075 buildCounterWorkItem--; 3075 buildCounterWorkItem--;
3076 return o; 3076 return o;
3077 } 3077 }
3078 3078
3079 checkWorkItem(api.WorkItem o) { 3079 checkWorkItem(api.WorkItem o) {
3080 buildCounterWorkItem++; 3080 buildCounterWorkItem++;
3081 if (buildCounterWorkItem < 3) { 3081 if (buildCounterWorkItem < 3) {
3082 unittest.expect(o.configuration, unittest.equals('foo')); 3082 unittest.expect(o.configuration, unittest.equals('foo'));
3083 unittest.expect(o.id, unittest.equals('foo')); 3083 unittest.expect(o.id, unittest.equals('foo'));
3084 unittest.expect(o.initialReportIndex, unittest.equals('foo')); 3084 unittest.expect(o.initialReportIndex, unittest.equals('foo'));
3085 unittest.expect(o.jobId, unittest.equals('foo')); 3085 unittest.expect(o.jobId, unittest.equals('foo'));
3086 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 3086 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
3087 checkMapTask(o.mapTask); 3087 checkMapTask(o.mapTask);
3088 checkUnnamed3558(o.packages); 3088 checkUnnamed3608(o.packages);
3089 unittest.expect(o.projectId, unittest.equals('foo')); 3089 unittest.expect(o.projectId, unittest.equals('foo'));
3090 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 3090 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
3091 checkSeqMapTask(o.seqMapTask); 3091 checkSeqMapTask(o.seqMapTask);
3092 checkShellTask(o.shellTask); 3092 checkShellTask(o.shellTask);
3093 checkSourceOperationRequest(o.sourceOperationTask); 3093 checkSourceOperationRequest(o.sourceOperationTask);
3094 checkStreamingComputationTask(o.streamingComputationTask); 3094 checkStreamingComputationTask(o.streamingComputationTask);
3095 checkStreamingConfigTask(o.streamingConfigTask); 3095 checkStreamingConfigTask(o.streamingConfigTask);
3096 checkStreamingSetupTask(o.streamingSetupTask); 3096 checkStreamingSetupTask(o.streamingSetupTask);
3097 } 3097 }
3098 buildCounterWorkItem--; 3098 buildCounterWorkItem--;
3099 } 3099 }
3100 3100
3101 buildUnnamed3559() { 3101 buildUnnamed3609() {
3102 var o = new core.Map<core.String, core.Object>(); 3102 var o = new core.Map<core.String, core.Object>();
3103 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3103 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3104 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3104 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3105 return o; 3105 return o;
3106 } 3106 }
3107 3107
3108 checkUnnamed3559(core.Map<core.String, core.Object> o) { 3108 checkUnnamed3609(core.Map<core.String, core.Object> o) {
3109 unittest.expect(o, unittest.hasLength(2)); 3109 unittest.expect(o, unittest.hasLength(2));
3110 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')); 3110 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'));
3111 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')); 3111 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'));
3112 } 3112 }
3113 3113
3114 buildUnnamed3560() { 3114 buildUnnamed3610() {
3115 var o = new core.List<api.MetricShortId>(); 3115 var o = new core.List<api.MetricShortId>();
3116 o.add(buildMetricShortId()); 3116 o.add(buildMetricShortId());
3117 o.add(buildMetricShortId()); 3117 o.add(buildMetricShortId());
3118 return o; 3118 return o;
3119 } 3119 }
3120 3120
3121 checkUnnamed3560(core.List<api.MetricShortId> o) { 3121 checkUnnamed3610(core.List<api.MetricShortId> o) {
3122 unittest.expect(o, unittest.hasLength(2)); 3122 unittest.expect(o, unittest.hasLength(2));
3123 checkMetricShortId(o[0]); 3123 checkMetricShortId(o[0]);
3124 checkMetricShortId(o[1]); 3124 checkMetricShortId(o[1]);
3125 } 3125 }
3126 3126
3127 core.int buildCounterWorkItemServiceState = 0; 3127 core.int buildCounterWorkItemServiceState = 0;
3128 buildWorkItemServiceState() { 3128 buildWorkItemServiceState() {
3129 var o = new api.WorkItemServiceState(); 3129 var o = new api.WorkItemServiceState();
3130 buildCounterWorkItemServiceState++; 3130 buildCounterWorkItemServiceState++;
3131 if (buildCounterWorkItemServiceState < 3) { 3131 if (buildCounterWorkItemServiceState < 3) {
3132 o.harnessData = buildUnnamed3559(); 3132 o.harnessData = buildUnnamed3609();
3133 o.leaseExpireTime = "foo"; 3133 o.leaseExpireTime = "foo";
3134 o.metricShortId = buildUnnamed3560(); 3134 o.metricShortId = buildUnnamed3610();
3135 o.nextReportIndex = "foo"; 3135 o.nextReportIndex = "foo";
3136 o.reportStatusInterval = "foo"; 3136 o.reportStatusInterval = "foo";
3137 o.splitRequest = buildApproximateSplitRequest(); 3137 o.splitRequest = buildApproximateSplitRequest();
3138 o.suggestedStopPoint = buildApproximateProgress(); 3138 o.suggestedStopPoint = buildApproximateProgress();
3139 o.suggestedStopPosition = buildPosition(); 3139 o.suggestedStopPosition = buildPosition();
3140 } 3140 }
3141 buildCounterWorkItemServiceState--; 3141 buildCounterWorkItemServiceState--;
3142 return o; 3142 return o;
3143 } 3143 }
3144 3144
3145 checkWorkItemServiceState(api.WorkItemServiceState o) { 3145 checkWorkItemServiceState(api.WorkItemServiceState o) {
3146 buildCounterWorkItemServiceState++; 3146 buildCounterWorkItemServiceState++;
3147 if (buildCounterWorkItemServiceState < 3) { 3147 if (buildCounterWorkItemServiceState < 3) {
3148 checkUnnamed3559(o.harnessData); 3148 checkUnnamed3609(o.harnessData);
3149 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 3149 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
3150 checkUnnamed3560(o.metricShortId); 3150 checkUnnamed3610(o.metricShortId);
3151 unittest.expect(o.nextReportIndex, unittest.equals('foo')); 3151 unittest.expect(o.nextReportIndex, unittest.equals('foo'));
3152 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 3152 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
3153 checkApproximateSplitRequest(o.splitRequest); 3153 checkApproximateSplitRequest(o.splitRequest);
3154 checkApproximateProgress(o.suggestedStopPoint); 3154 checkApproximateProgress(o.suggestedStopPoint);
3155 checkPosition(o.suggestedStopPosition); 3155 checkPosition(o.suggestedStopPosition);
3156 } 3156 }
3157 buildCounterWorkItemServiceState--; 3157 buildCounterWorkItemServiceState--;
3158 } 3158 }
3159 3159
3160 buildUnnamed3561() { 3160 buildUnnamed3611() {
3161 var o = new core.List<api.CounterUpdate>(); 3161 var o = new core.List<api.CounterUpdate>();
3162 o.add(buildCounterUpdate()); 3162 o.add(buildCounterUpdate());
3163 o.add(buildCounterUpdate()); 3163 o.add(buildCounterUpdate());
3164 return o; 3164 return o;
3165 } 3165 }
3166 3166
3167 checkUnnamed3561(core.List<api.CounterUpdate> o) { 3167 checkUnnamed3611(core.List<api.CounterUpdate> o) {
3168 unittest.expect(o, unittest.hasLength(2)); 3168 unittest.expect(o, unittest.hasLength(2));
3169 checkCounterUpdate(o[0]); 3169 checkCounterUpdate(o[0]);
3170 checkCounterUpdate(o[1]); 3170 checkCounterUpdate(o[1]);
3171 } 3171 }
3172 3172
3173 buildUnnamed3562() { 3173 buildUnnamed3612() {
3174 var o = new core.List<api.Status>(); 3174 var o = new core.List<api.Status>();
3175 o.add(buildStatus()); 3175 o.add(buildStatus());
3176 o.add(buildStatus()); 3176 o.add(buildStatus());
3177 return o; 3177 return o;
3178 } 3178 }
3179 3179
3180 checkUnnamed3562(core.List<api.Status> o) { 3180 checkUnnamed3612(core.List<api.Status> o) {
3181 unittest.expect(o, unittest.hasLength(2)); 3181 unittest.expect(o, unittest.hasLength(2));
3182 checkStatus(o[0]); 3182 checkStatus(o[0]);
3183 checkStatus(o[1]); 3183 checkStatus(o[1]);
3184 } 3184 }
3185 3185
3186 buildUnnamed3563() { 3186 buildUnnamed3613() {
3187 var o = new core.List<api.MetricUpdate>(); 3187 var o = new core.List<api.MetricUpdate>();
3188 o.add(buildMetricUpdate()); 3188 o.add(buildMetricUpdate());
3189 o.add(buildMetricUpdate()); 3189 o.add(buildMetricUpdate());
3190 return o; 3190 return o;
3191 } 3191 }
3192 3192
3193 checkUnnamed3563(core.List<api.MetricUpdate> o) { 3193 checkUnnamed3613(core.List<api.MetricUpdate> o) {
3194 unittest.expect(o, unittest.hasLength(2)); 3194 unittest.expect(o, unittest.hasLength(2));
3195 checkMetricUpdate(o[0]); 3195 checkMetricUpdate(o[0]);
3196 checkMetricUpdate(o[1]); 3196 checkMetricUpdate(o[1]);
3197 } 3197 }
3198 3198
3199 core.int buildCounterWorkItemStatus = 0; 3199 core.int buildCounterWorkItemStatus = 0;
3200 buildWorkItemStatus() { 3200 buildWorkItemStatus() {
3201 var o = new api.WorkItemStatus(); 3201 var o = new api.WorkItemStatus();
3202 buildCounterWorkItemStatus++; 3202 buildCounterWorkItemStatus++;
3203 if (buildCounterWorkItemStatus < 3) { 3203 if (buildCounterWorkItemStatus < 3) {
3204 o.completed = true; 3204 o.completed = true;
3205 o.counterUpdates = buildUnnamed3561(); 3205 o.counterUpdates = buildUnnamed3611();
3206 o.dynamicSourceSplit = buildDynamicSourceSplit(); 3206 o.dynamicSourceSplit = buildDynamicSourceSplit();
3207 o.errors = buildUnnamed3562(); 3207 o.errors = buildUnnamed3612();
3208 o.metricUpdates = buildUnnamed3563(); 3208 o.metricUpdates = buildUnnamed3613();
3209 o.progress = buildApproximateProgress(); 3209 o.progress = buildApproximateProgress();
3210 o.reportIndex = "foo"; 3210 o.reportIndex = "foo";
3211 o.reportedProgress = buildApproximateReportedProgress(); 3211 o.reportedProgress = buildApproximateReportedProgress();
3212 o.requestedLeaseDuration = "foo"; 3212 o.requestedLeaseDuration = "foo";
3213 o.sourceFork = buildSourceFork(); 3213 o.sourceFork = buildSourceFork();
3214 o.sourceOperationResponse = buildSourceOperationResponse(); 3214 o.sourceOperationResponse = buildSourceOperationResponse();
3215 o.stopPosition = buildPosition(); 3215 o.stopPosition = buildPosition();
3216 o.workItemId = "foo"; 3216 o.workItemId = "foo";
3217 } 3217 }
3218 buildCounterWorkItemStatus--; 3218 buildCounterWorkItemStatus--;
3219 return o; 3219 return o;
3220 } 3220 }
3221 3221
3222 checkWorkItemStatus(api.WorkItemStatus o) { 3222 checkWorkItemStatus(api.WorkItemStatus o) {
3223 buildCounterWorkItemStatus++; 3223 buildCounterWorkItemStatus++;
3224 if (buildCounterWorkItemStatus < 3) { 3224 if (buildCounterWorkItemStatus < 3) {
3225 unittest.expect(o.completed, unittest.isTrue); 3225 unittest.expect(o.completed, unittest.isTrue);
3226 checkUnnamed3561(o.counterUpdates); 3226 checkUnnamed3611(o.counterUpdates);
3227 checkDynamicSourceSplit(o.dynamicSourceSplit); 3227 checkDynamicSourceSplit(o.dynamicSourceSplit);
3228 checkUnnamed3562(o.errors); 3228 checkUnnamed3612(o.errors);
3229 checkUnnamed3563(o.metricUpdates); 3229 checkUnnamed3613(o.metricUpdates);
3230 checkApproximateProgress(o.progress); 3230 checkApproximateProgress(o.progress);
3231 unittest.expect(o.reportIndex, unittest.equals('foo')); 3231 unittest.expect(o.reportIndex, unittest.equals('foo'));
3232 checkApproximateReportedProgress(o.reportedProgress); 3232 checkApproximateReportedProgress(o.reportedProgress);
3233 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 3233 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
3234 checkSourceFork(o.sourceFork); 3234 checkSourceFork(o.sourceFork);
3235 checkSourceOperationResponse(o.sourceOperationResponse); 3235 checkSourceOperationResponse(o.sourceOperationResponse);
3236 checkPosition(o.stopPosition); 3236 checkPosition(o.stopPosition);
3237 unittest.expect(o.workItemId, unittest.equals('foo')); 3237 unittest.expect(o.workItemId, unittest.equals('foo'));
3238 } 3238 }
3239 buildCounterWorkItemStatus--; 3239 buildCounterWorkItemStatus--;
3240 } 3240 }
3241 3241
3242 buildUnnamed3564() { 3242 buildUnnamed3614() {
3243 var o = new core.Map<core.String, core.Object>(); 3243 var o = new core.Map<core.String, core.Object>();
3244 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3244 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3245 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3245 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3246 return o; 3246 return o;
3247 } 3247 }
3248 3248
3249 checkUnnamed3564(core.Map<core.String, core.Object> o) { 3249 checkUnnamed3614(core.Map<core.String, core.Object> o) {
3250 unittest.expect(o, unittest.hasLength(2)); 3250 unittest.expect(o, unittest.hasLength(2));
3251 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')); 3251 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'));
3252 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')); 3252 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'));
3253 } 3253 }
3254 3254
3255 buildUnnamed3565() { 3255 buildUnnamed3615() {
3256 var o = new core.List<core.Map<core.String, core.Object>>(); 3256 var o = new core.List<core.Map<core.String, core.Object>>();
3257 o.add(buildUnnamed3564()); 3257 o.add(buildUnnamed3614());
3258 o.add(buildUnnamed3564()); 3258 o.add(buildUnnamed3614());
3259 return o; 3259 return o;
3260 } 3260 }
3261 3261
3262 checkUnnamed3565(core.List<core.Map<core.String, core.Object>> o) { 3262 checkUnnamed3615(core.List<core.Map<core.String, core.Object>> o) {
3263 unittest.expect(o, unittest.hasLength(2)); 3263 unittest.expect(o, unittest.hasLength(2));
3264 checkUnnamed3564(o[0]); 3264 checkUnnamed3614(o[0]);
3265 checkUnnamed3564(o[1]); 3265 checkUnnamed3614(o[1]);
3266 } 3266 }
3267 3267
3268 core.int buildCounterWorkerHealthReport = 0; 3268 core.int buildCounterWorkerHealthReport = 0;
3269 buildWorkerHealthReport() { 3269 buildWorkerHealthReport() {
3270 var o = new api.WorkerHealthReport(); 3270 var o = new api.WorkerHealthReport();
3271 buildCounterWorkerHealthReport++; 3271 buildCounterWorkerHealthReport++;
3272 if (buildCounterWorkerHealthReport < 3) { 3272 if (buildCounterWorkerHealthReport < 3) {
3273 o.pods = buildUnnamed3565(); 3273 o.pods = buildUnnamed3615();
3274 o.reportInterval = "foo"; 3274 o.reportInterval = "foo";
3275 o.vmIsHealthy = true; 3275 o.vmIsHealthy = true;
3276 o.vmStartupTime = "foo"; 3276 o.vmStartupTime = "foo";
3277 } 3277 }
3278 buildCounterWorkerHealthReport--; 3278 buildCounterWorkerHealthReport--;
3279 return o; 3279 return o;
3280 } 3280 }
3281 3281
3282 checkWorkerHealthReport(api.WorkerHealthReport o) { 3282 checkWorkerHealthReport(api.WorkerHealthReport o) {
3283 buildCounterWorkerHealthReport++; 3283 buildCounterWorkerHealthReport++;
3284 if (buildCounterWorkerHealthReport < 3) { 3284 if (buildCounterWorkerHealthReport < 3) {
3285 checkUnnamed3565(o.pods); 3285 checkUnnamed3615(o.pods);
3286 unittest.expect(o.reportInterval, unittest.equals('foo')); 3286 unittest.expect(o.reportInterval, unittest.equals('foo'));
3287 unittest.expect(o.vmIsHealthy, unittest.isTrue); 3287 unittest.expect(o.vmIsHealthy, unittest.isTrue);
3288 unittest.expect(o.vmStartupTime, unittest.equals('foo')); 3288 unittest.expect(o.vmStartupTime, unittest.equals('foo'));
3289 } 3289 }
3290 buildCounterWorkerHealthReport--; 3290 buildCounterWorkerHealthReport--;
3291 } 3291 }
3292 3292
3293 core.int buildCounterWorkerHealthReportResponse = 0; 3293 core.int buildCounterWorkerHealthReportResponse = 0;
3294 buildWorkerHealthReportResponse() { 3294 buildWorkerHealthReportResponse() {
3295 var o = new api.WorkerHealthReportResponse(); 3295 var o = new api.WorkerHealthReportResponse();
3296 buildCounterWorkerHealthReportResponse++; 3296 buildCounterWorkerHealthReportResponse++;
3297 if (buildCounterWorkerHealthReportResponse < 3) { 3297 if (buildCounterWorkerHealthReportResponse < 3) {
3298 o.reportInterval = "foo"; 3298 o.reportInterval = "foo";
3299 } 3299 }
3300 buildCounterWorkerHealthReportResponse--; 3300 buildCounterWorkerHealthReportResponse--;
3301 return o; 3301 return o;
3302 } 3302 }
3303 3303
3304 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { 3304 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) {
3305 buildCounterWorkerHealthReportResponse++; 3305 buildCounterWorkerHealthReportResponse++;
3306 if (buildCounterWorkerHealthReportResponse < 3) { 3306 if (buildCounterWorkerHealthReportResponse < 3) {
3307 unittest.expect(o.reportInterval, unittest.equals('foo')); 3307 unittest.expect(o.reportInterval, unittest.equals('foo'));
3308 } 3308 }
3309 buildCounterWorkerHealthReportResponse--; 3309 buildCounterWorkerHealthReportResponse--;
3310 } 3310 }
3311 3311
3312 buildUnnamed3566() { 3312 buildUnnamed3616() {
3313 var o = new core.Map<core.String, core.String>(); 3313 var o = new core.Map<core.String, core.String>();
3314 o["x"] = "foo"; 3314 o["x"] = "foo";
3315 o["y"] = "foo"; 3315 o["y"] = "foo";
3316 return o; 3316 return o;
3317 } 3317 }
3318 3318
3319 checkUnnamed3566(core.Map<core.String, core.String> o) { 3319 checkUnnamed3616(core.Map<core.String, core.String> o) {
3320 unittest.expect(o, unittest.hasLength(2)); 3320 unittest.expect(o, unittest.hasLength(2));
3321 unittest.expect(o["x"], unittest.equals('foo')); 3321 unittest.expect(o["x"], unittest.equals('foo'));
3322 unittest.expect(o["y"], unittest.equals('foo')); 3322 unittest.expect(o["y"], unittest.equals('foo'));
3323 } 3323 }
3324 3324
3325 core.int buildCounterWorkerMessage = 0; 3325 core.int buildCounterWorkerMessage = 0;
3326 buildWorkerMessage() { 3326 buildWorkerMessage() {
3327 var o = new api.WorkerMessage(); 3327 var o = new api.WorkerMessage();
3328 buildCounterWorkerMessage++; 3328 buildCounterWorkerMessage++;
3329 if (buildCounterWorkerMessage < 3) { 3329 if (buildCounterWorkerMessage < 3) {
3330 o.labels = buildUnnamed3566(); 3330 o.labels = buildUnnamed3616();
3331 o.time = "foo"; 3331 o.time = "foo";
3332 o.workerHealthReport = buildWorkerHealthReport(); 3332 o.workerHealthReport = buildWorkerHealthReport();
3333 o.workerMessageCode = buildWorkerMessageCode(); 3333 o.workerMessageCode = buildWorkerMessageCode();
3334 } 3334 }
3335 buildCounterWorkerMessage--; 3335 buildCounterWorkerMessage--;
3336 return o; 3336 return o;
3337 } 3337 }
3338 3338
3339 checkWorkerMessage(api.WorkerMessage o) { 3339 checkWorkerMessage(api.WorkerMessage o) {
3340 buildCounterWorkerMessage++; 3340 buildCounterWorkerMessage++;
3341 if (buildCounterWorkerMessage < 3) { 3341 if (buildCounterWorkerMessage < 3) {
3342 checkUnnamed3566(o.labels); 3342 checkUnnamed3616(o.labels);
3343 unittest.expect(o.time, unittest.equals('foo')); 3343 unittest.expect(o.time, unittest.equals('foo'));
3344 checkWorkerHealthReport(o.workerHealthReport); 3344 checkWorkerHealthReport(o.workerHealthReport);
3345 checkWorkerMessageCode(o.workerMessageCode); 3345 checkWorkerMessageCode(o.workerMessageCode);
3346 } 3346 }
3347 buildCounterWorkerMessage--; 3347 buildCounterWorkerMessage--;
3348 } 3348 }
3349 3349
3350 buildUnnamed3567() { 3350 buildUnnamed3617() {
3351 var o = new core.Map<core.String, core.Object>(); 3351 var o = new core.Map<core.String, core.Object>();
3352 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3352 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3353 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3353 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3354 return o; 3354 return o;
3355 } 3355 }
3356 3356
3357 checkUnnamed3567(core.Map<core.String, core.Object> o) { 3357 checkUnnamed3617(core.Map<core.String, core.Object> o) {
3358 unittest.expect(o, unittest.hasLength(2)); 3358 unittest.expect(o, unittest.hasLength(2));
3359 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')); 3359 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'));
3360 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')); 3360 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'));
3361 } 3361 }
3362 3362
3363 core.int buildCounterWorkerMessageCode = 0; 3363 core.int buildCounterWorkerMessageCode = 0;
3364 buildWorkerMessageCode() { 3364 buildWorkerMessageCode() {
3365 var o = new api.WorkerMessageCode(); 3365 var o = new api.WorkerMessageCode();
3366 buildCounterWorkerMessageCode++; 3366 buildCounterWorkerMessageCode++;
3367 if (buildCounterWorkerMessageCode < 3) { 3367 if (buildCounterWorkerMessageCode < 3) {
3368 o.code = "foo"; 3368 o.code = "foo";
3369 o.parameters = buildUnnamed3567(); 3369 o.parameters = buildUnnamed3617();
3370 } 3370 }
3371 buildCounterWorkerMessageCode--; 3371 buildCounterWorkerMessageCode--;
3372 return o; 3372 return o;
3373 } 3373 }
3374 3374
3375 checkWorkerMessageCode(api.WorkerMessageCode o) { 3375 checkWorkerMessageCode(api.WorkerMessageCode o) {
3376 buildCounterWorkerMessageCode++; 3376 buildCounterWorkerMessageCode++;
3377 if (buildCounterWorkerMessageCode < 3) { 3377 if (buildCounterWorkerMessageCode < 3) {
3378 unittest.expect(o.code, unittest.equals('foo')); 3378 unittest.expect(o.code, unittest.equals('foo'));
3379 checkUnnamed3567(o.parameters); 3379 checkUnnamed3617(o.parameters);
3380 } 3380 }
3381 buildCounterWorkerMessageCode--; 3381 buildCounterWorkerMessageCode--;
3382 } 3382 }
3383 3383
3384 core.int buildCounterWorkerMessageResponse = 0; 3384 core.int buildCounterWorkerMessageResponse = 0;
3385 buildWorkerMessageResponse() { 3385 buildWorkerMessageResponse() {
3386 var o = new api.WorkerMessageResponse(); 3386 var o = new api.WorkerMessageResponse();
3387 buildCounterWorkerMessageResponse++; 3387 buildCounterWorkerMessageResponse++;
3388 if (buildCounterWorkerMessageResponse < 3) { 3388 if (buildCounterWorkerMessageResponse < 3) {
3389 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); 3389 o.workerHealthReportResponse = buildWorkerHealthReportResponse();
3390 } 3390 }
3391 buildCounterWorkerMessageResponse--; 3391 buildCounterWorkerMessageResponse--;
3392 return o; 3392 return o;
3393 } 3393 }
3394 3394
3395 checkWorkerMessageResponse(api.WorkerMessageResponse o) { 3395 checkWorkerMessageResponse(api.WorkerMessageResponse o) {
3396 buildCounterWorkerMessageResponse++; 3396 buildCounterWorkerMessageResponse++;
3397 if (buildCounterWorkerMessageResponse < 3) { 3397 if (buildCounterWorkerMessageResponse < 3) {
3398 checkWorkerHealthReportResponse(o.workerHealthReportResponse); 3398 checkWorkerHealthReportResponse(o.workerHealthReportResponse);
3399 } 3399 }
3400 buildCounterWorkerMessageResponse--; 3400 buildCounterWorkerMessageResponse--;
3401 } 3401 }
3402 3402
3403 buildUnnamed3568() { 3403 buildUnnamed3618() {
3404 var o = new core.List<api.Disk>(); 3404 var o = new core.List<api.Disk>();
3405 o.add(buildDisk()); 3405 o.add(buildDisk());
3406 o.add(buildDisk()); 3406 o.add(buildDisk());
3407 return o; 3407 return o;
3408 } 3408 }
3409 3409
3410 checkUnnamed3568(core.List<api.Disk> o) { 3410 checkUnnamed3618(core.List<api.Disk> o) {
3411 unittest.expect(o, unittest.hasLength(2)); 3411 unittest.expect(o, unittest.hasLength(2));
3412 checkDisk(o[0]); 3412 checkDisk(o[0]);
3413 checkDisk(o[1]); 3413 checkDisk(o[1]);
3414 } 3414 }
3415 3415
3416 buildUnnamed3569() { 3416 buildUnnamed3619() {
3417 var o = new core.Map<core.String, core.String>(); 3417 var o = new core.Map<core.String, core.String>();
3418 o["x"] = "foo"; 3418 o["x"] = "foo";
3419 o["y"] = "foo"; 3419 o["y"] = "foo";
3420 return o; 3420 return o;
3421 } 3421 }
3422 3422
3423 checkUnnamed3569(core.Map<core.String, core.String> o) { 3423 checkUnnamed3619(core.Map<core.String, core.String> o) {
3424 unittest.expect(o, unittest.hasLength(2)); 3424 unittest.expect(o, unittest.hasLength(2));
3425 unittest.expect(o["x"], unittest.equals('foo')); 3425 unittest.expect(o["x"], unittest.equals('foo'));
3426 unittest.expect(o["y"], unittest.equals('foo')); 3426 unittest.expect(o["y"], unittest.equals('foo'));
3427 } 3427 }
3428 3428
3429 buildUnnamed3570() { 3429 buildUnnamed3620() {
3430 var o = new core.List<api.Package>(); 3430 var o = new core.List<api.Package>();
3431 o.add(buildPackage()); 3431 o.add(buildPackage());
3432 o.add(buildPackage()); 3432 o.add(buildPackage());
3433 return o; 3433 return o;
3434 } 3434 }
3435 3435
3436 checkUnnamed3570(core.List<api.Package> o) { 3436 checkUnnamed3620(core.List<api.Package> o) {
3437 unittest.expect(o, unittest.hasLength(2)); 3437 unittest.expect(o, unittest.hasLength(2));
3438 checkPackage(o[0]); 3438 checkPackage(o[0]);
3439 checkPackage(o[1]); 3439 checkPackage(o[1]);
3440 } 3440 }
3441 3441
3442 buildUnnamed3571() { 3442 buildUnnamed3621() {
3443 var o = new core.Map<core.String, core.Object>(); 3443 var o = new core.Map<core.String, core.Object>();
3444 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3444 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3445 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3445 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3446 return o; 3446 return o;
3447 } 3447 }
3448 3448
3449 checkUnnamed3571(core.Map<core.String, core.Object> o) { 3449 checkUnnamed3621(core.Map<core.String, core.Object> o) {
3450 unittest.expect(o, unittest.hasLength(2)); 3450 unittest.expect(o, unittest.hasLength(2));
3451 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')); 3451 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'));
3452 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')); 3452 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'));
3453 } 3453 }
3454 3454
3455 core.int buildCounterWorkerPool = 0; 3455 core.int buildCounterWorkerPool = 0;
3456 buildWorkerPool() { 3456 buildWorkerPool() {
3457 var o = new api.WorkerPool(); 3457 var o = new api.WorkerPool();
3458 buildCounterWorkerPool++; 3458 buildCounterWorkerPool++;
3459 if (buildCounterWorkerPool < 3) { 3459 if (buildCounterWorkerPool < 3) {
3460 o.autoscalingSettings = buildAutoscalingSettings(); 3460 o.autoscalingSettings = buildAutoscalingSettings();
3461 o.dataDisks = buildUnnamed3568(); 3461 o.dataDisks = buildUnnamed3618();
3462 o.defaultPackageSet = "foo"; 3462 o.defaultPackageSet = "foo";
3463 o.diskSizeGb = 42; 3463 o.diskSizeGb = 42;
3464 o.diskSourceImage = "foo"; 3464 o.diskSourceImage = "foo";
3465 o.diskType = "foo"; 3465 o.diskType = "foo";
3466 o.ipConfiguration = "foo"; 3466 o.ipConfiguration = "foo";
3467 o.kind = "foo"; 3467 o.kind = "foo";
3468 o.machineType = "foo"; 3468 o.machineType = "foo";
3469 o.metadata = buildUnnamed3569(); 3469 o.metadata = buildUnnamed3619();
3470 o.network = "foo"; 3470 o.network = "foo";
3471 o.numThreadsPerWorker = 42; 3471 o.numThreadsPerWorker = 42;
3472 o.numWorkers = 42; 3472 o.numWorkers = 42;
3473 o.onHostMaintenance = "foo"; 3473 o.onHostMaintenance = "foo";
3474 o.packages = buildUnnamed3570(); 3474 o.packages = buildUnnamed3620();
3475 o.poolArgs = buildUnnamed3571(); 3475 o.poolArgs = buildUnnamed3621();
3476 o.subnetwork = "foo"; 3476 o.subnetwork = "foo";
3477 o.taskrunnerSettings = buildTaskRunnerSettings(); 3477 o.taskrunnerSettings = buildTaskRunnerSettings();
3478 o.teardownPolicy = "foo"; 3478 o.teardownPolicy = "foo";
3479 o.workerHarnessContainerImage = "foo"; 3479 o.workerHarnessContainerImage = "foo";
3480 o.zone = "foo"; 3480 o.zone = "foo";
3481 } 3481 }
3482 buildCounterWorkerPool--; 3482 buildCounterWorkerPool--;
3483 return o; 3483 return o;
3484 } 3484 }
3485 3485
3486 checkWorkerPool(api.WorkerPool o) { 3486 checkWorkerPool(api.WorkerPool o) {
3487 buildCounterWorkerPool++; 3487 buildCounterWorkerPool++;
3488 if (buildCounterWorkerPool < 3) { 3488 if (buildCounterWorkerPool < 3) {
3489 checkAutoscalingSettings(o.autoscalingSettings); 3489 checkAutoscalingSettings(o.autoscalingSettings);
3490 checkUnnamed3568(o.dataDisks); 3490 checkUnnamed3618(o.dataDisks);
3491 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); 3491 unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
3492 unittest.expect(o.diskSizeGb, unittest.equals(42)); 3492 unittest.expect(o.diskSizeGb, unittest.equals(42));
3493 unittest.expect(o.diskSourceImage, unittest.equals('foo')); 3493 unittest.expect(o.diskSourceImage, unittest.equals('foo'));
3494 unittest.expect(o.diskType, unittest.equals('foo')); 3494 unittest.expect(o.diskType, unittest.equals('foo'));
3495 unittest.expect(o.ipConfiguration, unittest.equals('foo')); 3495 unittest.expect(o.ipConfiguration, unittest.equals('foo'));
3496 unittest.expect(o.kind, unittest.equals('foo')); 3496 unittest.expect(o.kind, unittest.equals('foo'));
3497 unittest.expect(o.machineType, unittest.equals('foo')); 3497 unittest.expect(o.machineType, unittest.equals('foo'));
3498 checkUnnamed3569(o.metadata); 3498 checkUnnamed3619(o.metadata);
3499 unittest.expect(o.network, unittest.equals('foo')); 3499 unittest.expect(o.network, unittest.equals('foo'));
3500 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); 3500 unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
3501 unittest.expect(o.numWorkers, unittest.equals(42)); 3501 unittest.expect(o.numWorkers, unittest.equals(42));
3502 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); 3502 unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
3503 checkUnnamed3570(o.packages); 3503 checkUnnamed3620(o.packages);
3504 checkUnnamed3571(o.poolArgs); 3504 checkUnnamed3621(o.poolArgs);
3505 unittest.expect(o.subnetwork, unittest.equals('foo')); 3505 unittest.expect(o.subnetwork, unittest.equals('foo'));
3506 checkTaskRunnerSettings(o.taskrunnerSettings); 3506 checkTaskRunnerSettings(o.taskrunnerSettings);
3507 unittest.expect(o.teardownPolicy, unittest.equals('foo')); 3507 unittest.expect(o.teardownPolicy, unittest.equals('foo'));
3508 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); 3508 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo'));
3509 unittest.expect(o.zone, unittest.equals('foo')); 3509 unittest.expect(o.zone, unittest.equals('foo'));
3510 } 3510 }
3511 buildCounterWorkerPool--; 3511 buildCounterWorkerPool--;
3512 } 3512 }
3513 3513
3514 core.int buildCounterWorkerSettings = 0; 3514 core.int buildCounterWorkerSettings = 0;
(...skipping 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
5208 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job response) { 5208 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job response) {
5209 checkJob(response); 5209 checkJob(response);
5210 }))); 5210 })));
5211 }); 5211 });
5212 5212
5213 }); 5213 });
5214 5214
5215 5215
5216 } 5216 }
5217 5217
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698