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

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis_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 buildUnnamed3354() { 144 buildUnnamed3062() {
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 checkUnnamed3354(core.List<api.StreamLocation> o) { 151 checkUnnamed3062(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 buildUnnamed3355() { 157 buildUnnamed3063() {
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 checkUnnamed3355(core.List<api.KeyRangeLocation> o) { 164 checkUnnamed3063(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 buildUnnamed3356() { 170 buildUnnamed3064() {
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 checkUnnamed3356(core.List<api.StreamLocation> o) { 177 checkUnnamed3064(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 buildUnnamed3357() { 183 buildUnnamed3065() {
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 checkUnnamed3357(core.List<api.StateFamilyConfig> o) { 190 checkUnnamed3065(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 = buildUnnamed3354(); 202 o.inputs = buildUnnamed3062();
203 o.keyRanges = buildUnnamed3355(); 203 o.keyRanges = buildUnnamed3063();
204 o.outputs = buildUnnamed3356(); 204 o.outputs = buildUnnamed3064();
205 o.stateFamilies = buildUnnamed3357(); 205 o.stateFamilies = buildUnnamed3065();
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 checkUnnamed3354(o.inputs); 217 checkUnnamed3062(o.inputs);
218 checkUnnamed3355(o.keyRanges); 218 checkUnnamed3063(o.keyRanges);
219 checkUnnamed3356(o.outputs); 219 checkUnnamed3064(o.outputs);
220 checkUnnamed3357(o.stateFamilies); 220 checkUnnamed3065(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 buildUnnamed3358() { 370 buildUnnamed3066() {
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 checkUnnamed3358(core.Map<core.String, core.String> o) { 377 checkUnnamed3066(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.environment = buildRuntimeEnvironment();
388 o.gcsPath = "foo"; 389 o.gcsPath = "foo";
389 o.parameters = buildUnnamed3358(); 390 o.jobName = "foo";
391 o.parameters = buildUnnamed3066();
390 } 392 }
391 buildCounterCreateJobFromTemplateRequest--; 393 buildCounterCreateJobFromTemplateRequest--;
392 return o; 394 return o;
393 } 395 }
394 396
395 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) { 397 checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) {
396 buildCounterCreateJobFromTemplateRequest++; 398 buildCounterCreateJobFromTemplateRequest++;
397 if (buildCounterCreateJobFromTemplateRequest < 3) { 399 if (buildCounterCreateJobFromTemplateRequest < 3) {
400 checkRuntimeEnvironment(o.environment);
398 unittest.expect(o.gcsPath, unittest.equals('foo')); 401 unittest.expect(o.gcsPath, unittest.equals('foo'));
399 checkUnnamed3358(o.parameters); 402 unittest.expect(o.jobName, unittest.equals('foo'));
403 checkUnnamed3066(o.parameters);
400 } 404 }
401 buildCounterCreateJobFromTemplateRequest--; 405 buildCounterCreateJobFromTemplateRequest--;
402 } 406 }
403 407
404 core.int buildCounterCustomSourceLocation = 0; 408 core.int buildCounterCustomSourceLocation = 0;
405 buildCustomSourceLocation() { 409 buildCustomSourceLocation() {
406 var o = new api.CustomSourceLocation(); 410 var o = new api.CustomSourceLocation();
407 buildCounterCustomSourceLocation++; 411 buildCounterCustomSourceLocation++;
408 if (buildCounterCustomSourceLocation < 3) { 412 if (buildCounterCustomSourceLocation < 3) {
409 o.stateful = true; 413 o.stateful = true;
410 } 414 }
411 buildCounterCustomSourceLocation--; 415 buildCounterCustomSourceLocation--;
412 return o; 416 return o;
413 } 417 }
414 418
415 checkCustomSourceLocation(api.CustomSourceLocation o) { 419 checkCustomSourceLocation(api.CustomSourceLocation o) {
416 buildCounterCustomSourceLocation++; 420 buildCounterCustomSourceLocation++;
417 if (buildCounterCustomSourceLocation < 3) { 421 if (buildCounterCustomSourceLocation < 3) {
418 unittest.expect(o.stateful, unittest.isTrue); 422 unittest.expect(o.stateful, unittest.isTrue);
419 } 423 }
420 buildCounterCustomSourceLocation--; 424 buildCounterCustomSourceLocation--;
421 } 425 }
422 426
423 buildUnnamed3359() { 427 buildUnnamed3067() {
424 var o = new core.List<core.String>(); 428 var o = new core.List<core.String>();
425 o.add("foo"); 429 o.add("foo");
426 o.add("foo"); 430 o.add("foo");
427 return o; 431 return o;
428 } 432 }
429 433
430 checkUnnamed3359(core.List<core.String> o) { 434 checkUnnamed3067(core.List<core.String> o) {
431 unittest.expect(o, unittest.hasLength(2)); 435 unittest.expect(o, unittest.hasLength(2));
432 unittest.expect(o[0], unittest.equals('foo')); 436 unittest.expect(o[0], unittest.equals('foo'));
433 unittest.expect(o[1], unittest.equals('foo')); 437 unittest.expect(o[1], unittest.equals('foo'));
434 } 438 }
435 439
436 core.int buildCounterDataDiskAssignment = 0; 440 core.int buildCounterDataDiskAssignment = 0;
437 buildDataDiskAssignment() { 441 buildDataDiskAssignment() {
438 var o = new api.DataDiskAssignment(); 442 var o = new api.DataDiskAssignment();
439 buildCounterDataDiskAssignment++; 443 buildCounterDataDiskAssignment++;
440 if (buildCounterDataDiskAssignment < 3) { 444 if (buildCounterDataDiskAssignment < 3) {
441 o.dataDisks = buildUnnamed3359(); 445 o.dataDisks = buildUnnamed3067();
442 o.vmInstance = "foo"; 446 o.vmInstance = "foo";
443 } 447 }
444 buildCounterDataDiskAssignment--; 448 buildCounterDataDiskAssignment--;
445 return o; 449 return o;
446 } 450 }
447 451
448 checkDataDiskAssignment(api.DataDiskAssignment o) { 452 checkDataDiskAssignment(api.DataDiskAssignment o) {
449 buildCounterDataDiskAssignment++; 453 buildCounterDataDiskAssignment++;
450 if (buildCounterDataDiskAssignment < 3) { 454 if (buildCounterDataDiskAssignment < 3) {
451 checkUnnamed3359(o.dataDisks); 455 checkUnnamed3067(o.dataDisks);
452 unittest.expect(o.vmInstance, unittest.equals('foo')); 456 unittest.expect(o.vmInstance, unittest.equals('foo'));
453 } 457 }
454 buildCounterDataDiskAssignment--; 458 buildCounterDataDiskAssignment--;
455 } 459 }
456 460
457 core.int buildCounterDerivedSource = 0; 461 core.int buildCounterDerivedSource = 0;
458 buildDerivedSource() { 462 buildDerivedSource() {
459 var o = new api.DerivedSource(); 463 var o = new api.DerivedSource();
460 buildCounterDerivedSource++; 464 buildCounterDerivedSource++;
461 if (buildCounterDerivedSource < 3) { 465 if (buildCounterDerivedSource < 3) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 516
513 checkDynamicSourceSplit(api.DynamicSourceSplit o) { 517 checkDynamicSourceSplit(api.DynamicSourceSplit o) {
514 buildCounterDynamicSourceSplit++; 518 buildCounterDynamicSourceSplit++;
515 if (buildCounterDynamicSourceSplit < 3) { 519 if (buildCounterDynamicSourceSplit < 3) {
516 checkDerivedSource(o.primary); 520 checkDerivedSource(o.primary);
517 checkDerivedSource(o.residual); 521 checkDerivedSource(o.residual);
518 } 522 }
519 buildCounterDynamicSourceSplit--; 523 buildCounterDynamicSourceSplit--;
520 } 524 }
521 525
522 buildUnnamed3360() { 526 buildUnnamed3068() {
523 var o = new core.List<core.String>(); 527 var o = new core.List<core.String>();
524 o.add("foo"); 528 o.add("foo");
525 o.add("foo"); 529 o.add("foo");
526 return o; 530 return o;
527 } 531 }
528 532
529 checkUnnamed3360(core.List<core.String> o) { 533 checkUnnamed3068(core.List<core.String> o) {
530 unittest.expect(o, unittest.hasLength(2)); 534 unittest.expect(o, unittest.hasLength(2));
531 unittest.expect(o[0], unittest.equals('foo')); 535 unittest.expect(o[0], unittest.equals('foo'));
532 unittest.expect(o[1], unittest.equals('foo')); 536 unittest.expect(o[1], unittest.equals('foo'));
533 } 537 }
534 538
535 buildUnnamed3361() { 539 buildUnnamed3069() {
536 var o = new core.Map<core.String, core.Object>(); 540 var o = new core.Map<core.String, core.Object>();
537 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 541 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
538 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 542 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
539 return o; 543 return o;
540 } 544 }
541 545
542 checkUnnamed3361(core.Map<core.String, core.Object> o) { 546 checkUnnamed3069(core.Map<core.String, core.Object> o) {
543 unittest.expect(o, unittest.hasLength(2)); 547 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')); 548 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')); 549 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 } 550 }
547 551
548 buildUnnamed3362() { 552 buildUnnamed3070() {
549 var o = new core.Map<core.String, core.Object>(); 553 var o = new core.Map<core.String, core.Object>();
550 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 554 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
551 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 555 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
552 return o; 556 return o;
553 } 557 }
554 558
555 checkUnnamed3362(core.Map<core.String, core.Object> o) { 559 checkUnnamed3070(core.Map<core.String, core.Object> o) {
556 unittest.expect(o, unittest.hasLength(2)); 560 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')); 561 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')); 562 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 } 563 }
560 564
561 buildUnnamed3363() { 565 buildUnnamed3071() {
562 var o = new core.Map<core.String, core.Object>(); 566 var o = new core.Map<core.String, core.Object>();
563 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 567 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
564 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 568 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
565 return o; 569 return o;
566 } 570 }
567 571
568 checkUnnamed3363(core.Map<core.String, core.Object> o) { 572 checkUnnamed3071(core.Map<core.String, core.Object> o) {
569 unittest.expect(o, unittest.hasLength(2)); 573 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')); 574 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')); 575 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 } 576 }
573 577
574 buildUnnamed3364() { 578 buildUnnamed3072() {
575 var o = new core.Map<core.String, core.Object>(); 579 var o = new core.Map<core.String, core.Object>();
576 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 580 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
577 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 581 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
578 return o; 582 return o;
579 } 583 }
580 584
581 checkUnnamed3364(core.Map<core.String, core.Object> o) { 585 checkUnnamed3072(core.Map<core.String, core.Object> o) {
582 unittest.expect(o, unittest.hasLength(2)); 586 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')); 587 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')); 588 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 } 589 }
586 590
587 buildUnnamed3365() { 591 buildUnnamed3073() {
588 var o = new core.List<api.WorkerPool>(); 592 var o = new core.List<api.WorkerPool>();
589 o.add(buildWorkerPool()); 593 o.add(buildWorkerPool());
590 o.add(buildWorkerPool()); 594 o.add(buildWorkerPool());
591 return o; 595 return o;
592 } 596 }
593 597
594 checkUnnamed3365(core.List<api.WorkerPool> o) { 598 checkUnnamed3073(core.List<api.WorkerPool> o) {
595 unittest.expect(o, unittest.hasLength(2)); 599 unittest.expect(o, unittest.hasLength(2));
596 checkWorkerPool(o[0]); 600 checkWorkerPool(o[0]);
597 checkWorkerPool(o[1]); 601 checkWorkerPool(o[1]);
598 } 602 }
599 603
600 core.int buildCounterEnvironment = 0; 604 core.int buildCounterEnvironment = 0;
601 buildEnvironment() { 605 buildEnvironment() {
602 var o = new api.Environment(); 606 var o = new api.Environment();
603 buildCounterEnvironment++; 607 buildCounterEnvironment++;
604 if (buildCounterEnvironment < 3) { 608 if (buildCounterEnvironment < 3) {
605 o.clusterManagerApiService = "foo"; 609 o.clusterManagerApiService = "foo";
606 o.dataset = "foo"; 610 o.dataset = "foo";
607 o.experiments = buildUnnamed3360(); 611 o.experiments = buildUnnamed3068();
608 o.internalExperiments = buildUnnamed3361(); 612 o.internalExperiments = buildUnnamed3069();
609 o.sdkPipelineOptions = buildUnnamed3362(); 613 o.sdkPipelineOptions = buildUnnamed3070();
610 o.serviceAccountEmail = "foo"; 614 o.serviceAccountEmail = "foo";
611 o.tempStoragePrefix = "foo"; 615 o.tempStoragePrefix = "foo";
612 o.userAgent = buildUnnamed3363(); 616 o.userAgent = buildUnnamed3071();
613 o.version = buildUnnamed3364(); 617 o.version = buildUnnamed3072();
614 o.workerPools = buildUnnamed3365(); 618 o.workerPools = buildUnnamed3073();
615 } 619 }
616 buildCounterEnvironment--; 620 buildCounterEnvironment--;
617 return o; 621 return o;
618 } 622 }
619 623
620 checkEnvironment(api.Environment o) { 624 checkEnvironment(api.Environment o) {
621 buildCounterEnvironment++; 625 buildCounterEnvironment++;
622 if (buildCounterEnvironment < 3) { 626 if (buildCounterEnvironment < 3) {
623 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); 627 unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
624 unittest.expect(o.dataset, unittest.equals('foo')); 628 unittest.expect(o.dataset, unittest.equals('foo'));
625 checkUnnamed3360(o.experiments); 629 checkUnnamed3068(o.experiments);
626 checkUnnamed3361(o.internalExperiments); 630 checkUnnamed3069(o.internalExperiments);
627 checkUnnamed3362(o.sdkPipelineOptions); 631 checkUnnamed3070(o.sdkPipelineOptions);
628 unittest.expect(o.serviceAccountEmail, unittest.equals('foo')); 632 unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
629 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 633 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
630 checkUnnamed3363(o.userAgent); 634 checkUnnamed3071(o.userAgent);
631 checkUnnamed3364(o.version); 635 checkUnnamed3072(o.version);
632 checkUnnamed3365(o.workerPools); 636 checkUnnamed3073(o.workerPools);
633 } 637 }
634 buildCounterEnvironment--; 638 buildCounterEnvironment--;
635 } 639 }
636 640
637 core.int buildCounterFailedLocation = 0; 641 core.int buildCounterFailedLocation = 0;
638 buildFailedLocation() { 642 buildFailedLocation() {
639 var o = new api.FailedLocation(); 643 var o = new api.FailedLocation();
640 buildCounterFailedLocation++; 644 buildCounterFailedLocation++;
641 if (buildCounterFailedLocation < 3) { 645 if (buildCounterFailedLocation < 3) {
642 o.name = "foo"; 646 o.name = "foo";
643 } 647 }
644 buildCounterFailedLocation--; 648 buildCounterFailedLocation--;
645 return o; 649 return o;
646 } 650 }
647 651
648 checkFailedLocation(api.FailedLocation o) { 652 checkFailedLocation(api.FailedLocation o) {
649 buildCounterFailedLocation++; 653 buildCounterFailedLocation++;
650 if (buildCounterFailedLocation < 3) { 654 if (buildCounterFailedLocation < 3) {
651 unittest.expect(o.name, unittest.equals('foo')); 655 unittest.expect(o.name, unittest.equals('foo'));
652 } 656 }
653 buildCounterFailedLocation--; 657 buildCounterFailedLocation--;
654 } 658 }
655 659
656 buildUnnamed3366() { 660 buildUnnamed3074() {
657 var o = new core.List<api.InstructionInput>(); 661 var o = new core.List<api.InstructionInput>();
658 o.add(buildInstructionInput()); 662 o.add(buildInstructionInput());
659 o.add(buildInstructionInput()); 663 o.add(buildInstructionInput());
660 return o; 664 return o;
661 } 665 }
662 666
663 checkUnnamed3366(core.List<api.InstructionInput> o) { 667 checkUnnamed3074(core.List<api.InstructionInput> o) {
664 unittest.expect(o, unittest.hasLength(2)); 668 unittest.expect(o, unittest.hasLength(2));
665 checkInstructionInput(o[0]); 669 checkInstructionInput(o[0]);
666 checkInstructionInput(o[1]); 670 checkInstructionInput(o[1]);
667 } 671 }
668 672
669 core.int buildCounterFlattenInstruction = 0; 673 core.int buildCounterFlattenInstruction = 0;
670 buildFlattenInstruction() { 674 buildFlattenInstruction() {
671 var o = new api.FlattenInstruction(); 675 var o = new api.FlattenInstruction();
672 buildCounterFlattenInstruction++; 676 buildCounterFlattenInstruction++;
673 if (buildCounterFlattenInstruction < 3) { 677 if (buildCounterFlattenInstruction < 3) {
674 o.inputs = buildUnnamed3366(); 678 o.inputs = buildUnnamed3074();
675 } 679 }
676 buildCounterFlattenInstruction--; 680 buildCounterFlattenInstruction--;
677 return o; 681 return o;
678 } 682 }
679 683
680 checkFlattenInstruction(api.FlattenInstruction o) { 684 checkFlattenInstruction(api.FlattenInstruction o) {
681 buildCounterFlattenInstruction++; 685 buildCounterFlattenInstruction++;
682 if (buildCounterFlattenInstruction < 3) { 686 if (buildCounterFlattenInstruction < 3) {
683 checkUnnamed3366(o.inputs); 687 checkUnnamed3074(o.inputs);
684 } 688 }
685 buildCounterFlattenInstruction--; 689 buildCounterFlattenInstruction--;
686 } 690 }
687 691
688 buildUnnamed3367() { 692 buildUnnamed3075() {
689 var o = new core.List<core.double>(); 693 var o = new core.List<core.double>();
690 o.add(42.0); 694 o.add(42.0);
691 o.add(42.0); 695 o.add(42.0);
692 return o; 696 return o;
693 } 697 }
694 698
695 checkUnnamed3367(core.List<core.double> o) { 699 checkUnnamed3075(core.List<core.double> o) {
696 unittest.expect(o, unittest.hasLength(2)); 700 unittest.expect(o, unittest.hasLength(2));
697 unittest.expect(o[0], unittest.equals(42.0)); 701 unittest.expect(o[0], unittest.equals(42.0));
698 unittest.expect(o[1], unittest.equals(42.0)); 702 unittest.expect(o[1], unittest.equals(42.0));
699 } 703 }
700 704
701 core.int buildCounterFloatingPointList = 0; 705 core.int buildCounterFloatingPointList = 0;
702 buildFloatingPointList() { 706 buildFloatingPointList() {
703 var o = new api.FloatingPointList(); 707 var o = new api.FloatingPointList();
704 buildCounterFloatingPointList++; 708 buildCounterFloatingPointList++;
705 if (buildCounterFloatingPointList < 3) { 709 if (buildCounterFloatingPointList < 3) {
706 o.elements = buildUnnamed3367(); 710 o.elements = buildUnnamed3075();
707 } 711 }
708 buildCounterFloatingPointList--; 712 buildCounterFloatingPointList--;
709 return o; 713 return o;
710 } 714 }
711 715
712 checkFloatingPointList(api.FloatingPointList o) { 716 checkFloatingPointList(api.FloatingPointList o) {
713 buildCounterFloatingPointList++; 717 buildCounterFloatingPointList++;
714 if (buildCounterFloatingPointList < 3) { 718 if (buildCounterFloatingPointList < 3) {
715 checkUnnamed3367(o.elements); 719 checkUnnamed3075(o.elements);
716 } 720 }
717 buildCounterFloatingPointList--; 721 buildCounterFloatingPointList--;
718 } 722 }
719 723
720 core.int buildCounterFloatingPointMean = 0; 724 core.int buildCounterFloatingPointMean = 0;
721 buildFloatingPointMean() { 725 buildFloatingPointMean() {
722 var o = new api.FloatingPointMean(); 726 var o = new api.FloatingPointMean();
723 buildCounterFloatingPointMean++; 727 buildCounterFloatingPointMean++;
724 if (buildCounterFloatingPointMean < 3) { 728 if (buildCounterFloatingPointMean < 3) {
725 o.count = buildSplitInt64(); 729 o.count = buildSplitInt64();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 796
793 checkInstructionInput(api.InstructionInput o) { 797 checkInstructionInput(api.InstructionInput o) {
794 buildCounterInstructionInput++; 798 buildCounterInstructionInput++;
795 if (buildCounterInstructionInput < 3) { 799 if (buildCounterInstructionInput < 3) {
796 unittest.expect(o.outputNum, unittest.equals(42)); 800 unittest.expect(o.outputNum, unittest.equals(42));
797 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); 801 unittest.expect(o.producerInstructionIndex, unittest.equals(42));
798 } 802 }
799 buildCounterInstructionInput--; 803 buildCounterInstructionInput--;
800 } 804 }
801 805
802 buildUnnamed3368() { 806 buildUnnamed3076() {
803 var o = new core.Map<core.String, core.Object>(); 807 var o = new core.Map<core.String, core.Object>();
804 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 808 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
805 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 809 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
806 return o; 810 return o;
807 } 811 }
808 812
809 checkUnnamed3368(core.Map<core.String, core.Object> o) { 813 checkUnnamed3076(core.Map<core.String, core.Object> o) {
810 unittest.expect(o, unittest.hasLength(2)); 814 unittest.expect(o, unittest.hasLength(2));
811 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')); 815 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'));
812 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')); 816 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'));
813 } 817 }
814 818
815 core.int buildCounterInstructionOutput = 0; 819 core.int buildCounterInstructionOutput = 0;
816 buildInstructionOutput() { 820 buildInstructionOutput() {
817 var o = new api.InstructionOutput(); 821 var o = new api.InstructionOutput();
818 buildCounterInstructionOutput++; 822 buildCounterInstructionOutput++;
819 if (buildCounterInstructionOutput < 3) { 823 if (buildCounterInstructionOutput < 3) {
820 o.codec = buildUnnamed3368(); 824 o.codec = buildUnnamed3076();
821 o.name = "foo"; 825 o.name = "foo";
822 o.onlyCountKeyBytes = true; 826 o.onlyCountKeyBytes = true;
823 o.onlyCountValueBytes = true; 827 o.onlyCountValueBytes = true;
824 o.originalName = "foo"; 828 o.originalName = "foo";
825 o.systemName = "foo"; 829 o.systemName = "foo";
826 } 830 }
827 buildCounterInstructionOutput--; 831 buildCounterInstructionOutput--;
828 return o; 832 return o;
829 } 833 }
830 834
831 checkInstructionOutput(api.InstructionOutput o) { 835 checkInstructionOutput(api.InstructionOutput o) {
832 buildCounterInstructionOutput++; 836 buildCounterInstructionOutput++;
833 if (buildCounterInstructionOutput < 3) { 837 if (buildCounterInstructionOutput < 3) {
834 checkUnnamed3368(o.codec); 838 checkUnnamed3076(o.codec);
835 unittest.expect(o.name, unittest.equals('foo')); 839 unittest.expect(o.name, unittest.equals('foo'));
836 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue); 840 unittest.expect(o.onlyCountKeyBytes, unittest.isTrue);
837 unittest.expect(o.onlyCountValueBytes, unittest.isTrue); 841 unittest.expect(o.onlyCountValueBytes, unittest.isTrue);
838 unittest.expect(o.originalName, unittest.equals('foo')); 842 unittest.expect(o.originalName, unittest.equals('foo'));
839 unittest.expect(o.systemName, unittest.equals('foo')); 843 unittest.expect(o.systemName, unittest.equals('foo'));
840 } 844 }
841 buildCounterInstructionOutput--; 845 buildCounterInstructionOutput--;
842 } 846 }
843 847
844 buildUnnamed3369() { 848 buildUnnamed3077() {
845 var o = new core.List<api.SplitInt64>(); 849 var o = new core.List<api.SplitInt64>();
846 o.add(buildSplitInt64()); 850 o.add(buildSplitInt64());
847 o.add(buildSplitInt64()); 851 o.add(buildSplitInt64());
848 return o; 852 return o;
849 } 853 }
850 854
851 checkUnnamed3369(core.List<api.SplitInt64> o) { 855 checkUnnamed3077(core.List<api.SplitInt64> o) {
852 unittest.expect(o, unittest.hasLength(2)); 856 unittest.expect(o, unittest.hasLength(2));
853 checkSplitInt64(o[0]); 857 checkSplitInt64(o[0]);
854 checkSplitInt64(o[1]); 858 checkSplitInt64(o[1]);
855 } 859 }
856 860
857 core.int buildCounterIntegerList = 0; 861 core.int buildCounterIntegerList = 0;
858 buildIntegerList() { 862 buildIntegerList() {
859 var o = new api.IntegerList(); 863 var o = new api.IntegerList();
860 buildCounterIntegerList++; 864 buildCounterIntegerList++;
861 if (buildCounterIntegerList < 3) { 865 if (buildCounterIntegerList < 3) {
862 o.elements = buildUnnamed3369(); 866 o.elements = buildUnnamed3077();
863 } 867 }
864 buildCounterIntegerList--; 868 buildCounterIntegerList--;
865 return o; 869 return o;
866 } 870 }
867 871
868 checkIntegerList(api.IntegerList o) { 872 checkIntegerList(api.IntegerList o) {
869 buildCounterIntegerList++; 873 buildCounterIntegerList++;
870 if (buildCounterIntegerList < 3) { 874 if (buildCounterIntegerList < 3) {
871 checkUnnamed3369(o.elements); 875 checkUnnamed3077(o.elements);
872 } 876 }
873 buildCounterIntegerList--; 877 buildCounterIntegerList--;
874 } 878 }
875 879
876 core.int buildCounterIntegerMean = 0; 880 core.int buildCounterIntegerMean = 0;
877 buildIntegerMean() { 881 buildIntegerMean() {
878 var o = new api.IntegerMean(); 882 var o = new api.IntegerMean();
879 buildCounterIntegerMean++; 883 buildCounterIntegerMean++;
880 if (buildCounterIntegerMean < 3) { 884 if (buildCounterIntegerMean < 3) {
881 o.count = buildSplitInt64(); 885 o.count = buildSplitInt64();
882 o.sum = buildSplitInt64(); 886 o.sum = buildSplitInt64();
883 } 887 }
884 buildCounterIntegerMean--; 888 buildCounterIntegerMean--;
885 return o; 889 return o;
886 } 890 }
887 891
888 checkIntegerMean(api.IntegerMean o) { 892 checkIntegerMean(api.IntegerMean o) {
889 buildCounterIntegerMean++; 893 buildCounterIntegerMean++;
890 if (buildCounterIntegerMean < 3) { 894 if (buildCounterIntegerMean < 3) {
891 checkSplitInt64(o.count); 895 checkSplitInt64(o.count);
892 checkSplitInt64(o.sum); 896 checkSplitInt64(o.sum);
893 } 897 }
894 buildCounterIntegerMean--; 898 buildCounterIntegerMean--;
895 } 899 }
896 900
897 buildUnnamed3370() { 901 buildUnnamed3078() {
898 var o = new core.Map<core.String, core.String>(); 902 var o = new core.Map<core.String, core.String>();
899 o["x"] = "foo"; 903 o["x"] = "foo";
900 o["y"] = "foo"; 904 o["y"] = "foo";
901 return o; 905 return o;
902 } 906 }
903 907
904 checkUnnamed3370(core.Map<core.String, core.String> o) { 908 checkUnnamed3078(core.Map<core.String, core.String> o) {
905 unittest.expect(o, unittest.hasLength(2)); 909 unittest.expect(o, unittest.hasLength(2));
906 unittest.expect(o["x"], unittest.equals('foo')); 910 unittest.expect(o["x"], unittest.equals('foo'));
907 unittest.expect(o["y"], unittest.equals('foo')); 911 unittest.expect(o["y"], unittest.equals('foo'));
908 } 912 }
909 913
910 buildUnnamed3371() { 914 buildUnnamed3079() {
911 var o = new core.List<api.Step>(); 915 var o = new core.List<api.Step>();
912 o.add(buildStep()); 916 o.add(buildStep());
913 o.add(buildStep()); 917 o.add(buildStep());
914 return o; 918 return o;
915 } 919 }
916 920
917 checkUnnamed3371(core.List<api.Step> o) { 921 checkUnnamed3079(core.List<api.Step> o) {
918 unittest.expect(o, unittest.hasLength(2)); 922 unittest.expect(o, unittest.hasLength(2));
919 checkStep(o[0]); 923 checkStep(o[0]);
920 checkStep(o[1]); 924 checkStep(o[1]);
921 } 925 }
922 926
923 buildUnnamed3372() { 927 buildUnnamed3080() {
924 var o = new core.List<core.String>(); 928 var o = new core.List<core.String>();
925 o.add("foo"); 929 o.add("foo");
926 o.add("foo"); 930 o.add("foo");
927 return o; 931 return o;
928 } 932 }
929 933
930 checkUnnamed3372(core.List<core.String> o) { 934 checkUnnamed3080(core.List<core.String> o) {
931 unittest.expect(o, unittest.hasLength(2)); 935 unittest.expect(o, unittest.hasLength(2));
932 unittest.expect(o[0], unittest.equals('foo')); 936 unittest.expect(o[0], unittest.equals('foo'));
933 unittest.expect(o[1], unittest.equals('foo')); 937 unittest.expect(o[1], unittest.equals('foo'));
934 } 938 }
935 939
936 buildUnnamed3373() { 940 buildUnnamed3081() {
937 var o = new core.Map<core.String, core.String>(); 941 var o = new core.Map<core.String, core.String>();
938 o["x"] = "foo"; 942 o["x"] = "foo";
939 o["y"] = "foo"; 943 o["y"] = "foo";
940 return o; 944 return o;
941 } 945 }
942 946
943 checkUnnamed3373(core.Map<core.String, core.String> o) { 947 checkUnnamed3081(core.Map<core.String, core.String> o) {
944 unittest.expect(o, unittest.hasLength(2)); 948 unittest.expect(o, unittest.hasLength(2));
945 unittest.expect(o["x"], unittest.equals('foo')); 949 unittest.expect(o["x"], unittest.equals('foo'));
946 unittest.expect(o["y"], unittest.equals('foo')); 950 unittest.expect(o["y"], unittest.equals('foo'));
947 } 951 }
948 952
949 core.int buildCounterJob = 0; 953 core.int buildCounterJob = 0;
950 buildJob() { 954 buildJob() {
951 var o = new api.Job(); 955 var o = new api.Job();
952 buildCounterJob++; 956 buildCounterJob++;
953 if (buildCounterJob < 3) { 957 if (buildCounterJob < 3) {
954 o.clientRequestId = "foo"; 958 o.clientRequestId = "foo";
955 o.createTime = "foo"; 959 o.createTime = "foo";
956 o.currentState = "foo"; 960 o.currentState = "foo";
957 o.currentStateTime = "foo"; 961 o.currentStateTime = "foo";
958 o.environment = buildEnvironment(); 962 o.environment = buildEnvironment();
959 o.executionInfo = buildJobExecutionInfo(); 963 o.executionInfo = buildJobExecutionInfo();
960 o.id = "foo"; 964 o.id = "foo";
961 o.labels = buildUnnamed3370(); 965 o.labels = buildUnnamed3078();
962 o.location = "foo"; 966 o.location = "foo";
963 o.name = "foo"; 967 o.name = "foo";
964 o.projectId = "foo"; 968 o.projectId = "foo";
965 o.replaceJobId = "foo"; 969 o.replaceJobId = "foo";
966 o.replacedByJobId = "foo"; 970 o.replacedByJobId = "foo";
967 o.requestedState = "foo"; 971 o.requestedState = "foo";
968 o.steps = buildUnnamed3371(); 972 o.steps = buildUnnamed3079();
969 o.tempFiles = buildUnnamed3372(); 973 o.tempFiles = buildUnnamed3080();
970 o.transformNameMapping = buildUnnamed3373(); 974 o.transformNameMapping = buildUnnamed3081();
971 o.type = "foo"; 975 o.type = "foo";
972 } 976 }
973 buildCounterJob--; 977 buildCounterJob--;
974 return o; 978 return o;
975 } 979 }
976 980
977 checkJob(api.Job o) { 981 checkJob(api.Job o) {
978 buildCounterJob++; 982 buildCounterJob++;
979 if (buildCounterJob < 3) { 983 if (buildCounterJob < 3) {
980 unittest.expect(o.clientRequestId, unittest.equals('foo')); 984 unittest.expect(o.clientRequestId, unittest.equals('foo'));
981 unittest.expect(o.createTime, unittest.equals('foo')); 985 unittest.expect(o.createTime, unittest.equals('foo'));
982 unittest.expect(o.currentState, unittest.equals('foo')); 986 unittest.expect(o.currentState, unittest.equals('foo'));
983 unittest.expect(o.currentStateTime, unittest.equals('foo')); 987 unittest.expect(o.currentStateTime, unittest.equals('foo'));
984 checkEnvironment(o.environment); 988 checkEnvironment(o.environment);
985 checkJobExecutionInfo(o.executionInfo); 989 checkJobExecutionInfo(o.executionInfo);
986 unittest.expect(o.id, unittest.equals('foo')); 990 unittest.expect(o.id, unittest.equals('foo'));
987 checkUnnamed3370(o.labels); 991 checkUnnamed3078(o.labels);
988 unittest.expect(o.location, unittest.equals('foo')); 992 unittest.expect(o.location, unittest.equals('foo'));
989 unittest.expect(o.name, unittest.equals('foo')); 993 unittest.expect(o.name, unittest.equals('foo'));
990 unittest.expect(o.projectId, unittest.equals('foo')); 994 unittest.expect(o.projectId, unittest.equals('foo'));
991 unittest.expect(o.replaceJobId, unittest.equals('foo')); 995 unittest.expect(o.replaceJobId, unittest.equals('foo'));
992 unittest.expect(o.replacedByJobId, unittest.equals('foo')); 996 unittest.expect(o.replacedByJobId, unittest.equals('foo'));
993 unittest.expect(o.requestedState, unittest.equals('foo')); 997 unittest.expect(o.requestedState, unittest.equals('foo'));
994 checkUnnamed3371(o.steps); 998 checkUnnamed3079(o.steps);
995 checkUnnamed3372(o.tempFiles); 999 checkUnnamed3080(o.tempFiles);
996 checkUnnamed3373(o.transformNameMapping); 1000 checkUnnamed3081(o.transformNameMapping);
997 unittest.expect(o.type, unittest.equals('foo')); 1001 unittest.expect(o.type, unittest.equals('foo'));
998 } 1002 }
999 buildCounterJob--; 1003 buildCounterJob--;
1000 } 1004 }
1001 1005
1002 buildUnnamed3374() { 1006 buildUnnamed3082() {
1003 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); 1007 var o = new core.Map<core.String, api.JobExecutionStageInfo>();
1004 o["x"] = buildJobExecutionStageInfo(); 1008 o["x"] = buildJobExecutionStageInfo();
1005 o["y"] = buildJobExecutionStageInfo(); 1009 o["y"] = buildJobExecutionStageInfo();
1006 return o; 1010 return o;
1007 } 1011 }
1008 1012
1009 checkUnnamed3374(core.Map<core.String, api.JobExecutionStageInfo> o) { 1013 checkUnnamed3082(core.Map<core.String, api.JobExecutionStageInfo> o) {
1010 unittest.expect(o, unittest.hasLength(2)); 1014 unittest.expect(o, unittest.hasLength(2));
1011 checkJobExecutionStageInfo(o["x"]); 1015 checkJobExecutionStageInfo(o["x"]);
1012 checkJobExecutionStageInfo(o["y"]); 1016 checkJobExecutionStageInfo(o["y"]);
1013 } 1017 }
1014 1018
1015 core.int buildCounterJobExecutionInfo = 0; 1019 core.int buildCounterJobExecutionInfo = 0;
1016 buildJobExecutionInfo() { 1020 buildJobExecutionInfo() {
1017 var o = new api.JobExecutionInfo(); 1021 var o = new api.JobExecutionInfo();
1018 buildCounterJobExecutionInfo++; 1022 buildCounterJobExecutionInfo++;
1019 if (buildCounterJobExecutionInfo < 3) { 1023 if (buildCounterJobExecutionInfo < 3) {
1020 o.stages = buildUnnamed3374(); 1024 o.stages = buildUnnamed3082();
1021 } 1025 }
1022 buildCounterJobExecutionInfo--; 1026 buildCounterJobExecutionInfo--;
1023 return o; 1027 return o;
1024 } 1028 }
1025 1029
1026 checkJobExecutionInfo(api.JobExecutionInfo o) { 1030 checkJobExecutionInfo(api.JobExecutionInfo o) {
1027 buildCounterJobExecutionInfo++; 1031 buildCounterJobExecutionInfo++;
1028 if (buildCounterJobExecutionInfo < 3) { 1032 if (buildCounterJobExecutionInfo < 3) {
1029 checkUnnamed3374(o.stages); 1033 checkUnnamed3082(o.stages);
1030 } 1034 }
1031 buildCounterJobExecutionInfo--; 1035 buildCounterJobExecutionInfo--;
1032 } 1036 }
1033 1037
1034 buildUnnamed3375() { 1038 buildUnnamed3083() {
1035 var o = new core.List<core.String>(); 1039 var o = new core.List<core.String>();
1036 o.add("foo"); 1040 o.add("foo");
1037 o.add("foo"); 1041 o.add("foo");
1038 return o; 1042 return o;
1039 } 1043 }
1040 1044
1041 checkUnnamed3375(core.List<core.String> o) { 1045 checkUnnamed3083(core.List<core.String> o) {
1042 unittest.expect(o, unittest.hasLength(2)); 1046 unittest.expect(o, unittest.hasLength(2));
1043 unittest.expect(o[0], unittest.equals('foo')); 1047 unittest.expect(o[0], unittest.equals('foo'));
1044 unittest.expect(o[1], unittest.equals('foo')); 1048 unittest.expect(o[1], unittest.equals('foo'));
1045 } 1049 }
1046 1050
1047 core.int buildCounterJobExecutionStageInfo = 0; 1051 core.int buildCounterJobExecutionStageInfo = 0;
1048 buildJobExecutionStageInfo() { 1052 buildJobExecutionStageInfo() {
1049 var o = new api.JobExecutionStageInfo(); 1053 var o = new api.JobExecutionStageInfo();
1050 buildCounterJobExecutionStageInfo++; 1054 buildCounterJobExecutionStageInfo++;
1051 if (buildCounterJobExecutionStageInfo < 3) { 1055 if (buildCounterJobExecutionStageInfo < 3) {
1052 o.stepName = buildUnnamed3375(); 1056 o.stepName = buildUnnamed3083();
1053 } 1057 }
1054 buildCounterJobExecutionStageInfo--; 1058 buildCounterJobExecutionStageInfo--;
1055 return o; 1059 return o;
1056 } 1060 }
1057 1061
1058 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { 1062 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
1059 buildCounterJobExecutionStageInfo++; 1063 buildCounterJobExecutionStageInfo++;
1060 if (buildCounterJobExecutionStageInfo < 3) { 1064 if (buildCounterJobExecutionStageInfo < 3) {
1061 checkUnnamed3375(o.stepName); 1065 checkUnnamed3083(o.stepName);
1062 } 1066 }
1063 buildCounterJobExecutionStageInfo--; 1067 buildCounterJobExecutionStageInfo--;
1064 } 1068 }
1065 1069
1066 core.int buildCounterJobMessage = 0; 1070 core.int buildCounterJobMessage = 0;
1067 buildJobMessage() { 1071 buildJobMessage() {
1068 var o = new api.JobMessage(); 1072 var o = new api.JobMessage();
1069 buildCounterJobMessage++; 1073 buildCounterJobMessage++;
1070 if (buildCounterJobMessage < 3) { 1074 if (buildCounterJobMessage < 3) {
1071 o.id = "foo"; 1075 o.id = "foo";
1072 o.messageImportance = "foo"; 1076 o.messageImportance = "foo";
1073 o.messageText = "foo"; 1077 o.messageText = "foo";
1074 o.time = "foo"; 1078 o.time = "foo";
1075 } 1079 }
1076 buildCounterJobMessage--; 1080 buildCounterJobMessage--;
1077 return o; 1081 return o;
1078 } 1082 }
1079 1083
1080 checkJobMessage(api.JobMessage o) { 1084 checkJobMessage(api.JobMessage o) {
1081 buildCounterJobMessage++; 1085 buildCounterJobMessage++;
1082 if (buildCounterJobMessage < 3) { 1086 if (buildCounterJobMessage < 3) {
1083 unittest.expect(o.id, unittest.equals('foo')); 1087 unittest.expect(o.id, unittest.equals('foo'));
1084 unittest.expect(o.messageImportance, unittest.equals('foo')); 1088 unittest.expect(o.messageImportance, unittest.equals('foo'));
1085 unittest.expect(o.messageText, unittest.equals('foo')); 1089 unittest.expect(o.messageText, unittest.equals('foo'));
1086 unittest.expect(o.time, unittest.equals('foo')); 1090 unittest.expect(o.time, unittest.equals('foo'));
1087 } 1091 }
1088 buildCounterJobMessage--; 1092 buildCounterJobMessage--;
1089 } 1093 }
1090 1094
1091 buildUnnamed3376() { 1095 buildUnnamed3084() {
1092 var o = new core.List<api.MetricUpdate>(); 1096 var o = new core.List<api.MetricUpdate>();
1093 o.add(buildMetricUpdate()); 1097 o.add(buildMetricUpdate());
1094 o.add(buildMetricUpdate()); 1098 o.add(buildMetricUpdate());
1095 return o; 1099 return o;
1096 } 1100 }
1097 1101
1098 checkUnnamed3376(core.List<api.MetricUpdate> o) { 1102 checkUnnamed3084(core.List<api.MetricUpdate> o) {
1099 unittest.expect(o, unittest.hasLength(2)); 1103 unittest.expect(o, unittest.hasLength(2));
1100 checkMetricUpdate(o[0]); 1104 checkMetricUpdate(o[0]);
1101 checkMetricUpdate(o[1]); 1105 checkMetricUpdate(o[1]);
1102 } 1106 }
1103 1107
1104 core.int buildCounterJobMetrics = 0; 1108 core.int buildCounterJobMetrics = 0;
1105 buildJobMetrics() { 1109 buildJobMetrics() {
1106 var o = new api.JobMetrics(); 1110 var o = new api.JobMetrics();
1107 buildCounterJobMetrics++; 1111 buildCounterJobMetrics++;
1108 if (buildCounterJobMetrics < 3) { 1112 if (buildCounterJobMetrics < 3) {
1109 o.metricTime = "foo"; 1113 o.metricTime = "foo";
1110 o.metrics = buildUnnamed3376(); 1114 o.metrics = buildUnnamed3084();
1111 } 1115 }
1112 buildCounterJobMetrics--; 1116 buildCounterJobMetrics--;
1113 return o; 1117 return o;
1114 } 1118 }
1115 1119
1116 checkJobMetrics(api.JobMetrics o) { 1120 checkJobMetrics(api.JobMetrics o) {
1117 buildCounterJobMetrics++; 1121 buildCounterJobMetrics++;
1118 if (buildCounterJobMetrics < 3) { 1122 if (buildCounterJobMetrics < 3) {
1119 unittest.expect(o.metricTime, unittest.equals('foo')); 1123 unittest.expect(o.metricTime, unittest.equals('foo'));
1120 checkUnnamed3376(o.metrics); 1124 checkUnnamed3084(o.metrics);
1121 } 1125 }
1122 buildCounterJobMetrics--; 1126 buildCounterJobMetrics--;
1123 } 1127 }
1124 1128
1125 core.int buildCounterKeyRangeDataDiskAssignment = 0; 1129 core.int buildCounterKeyRangeDataDiskAssignment = 0;
1126 buildKeyRangeDataDiskAssignment() { 1130 buildKeyRangeDataDiskAssignment() {
1127 var o = new api.KeyRangeDataDiskAssignment(); 1131 var o = new api.KeyRangeDataDiskAssignment();
1128 buildCounterKeyRangeDataDiskAssignment++; 1132 buildCounterKeyRangeDataDiskAssignment++;
1129 if (buildCounterKeyRangeDataDiskAssignment < 3) { 1133 if (buildCounterKeyRangeDataDiskAssignment < 3) {
1130 o.dataDisk = "foo"; 1134 o.dataDisk = "foo";
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 if (buildCounterKeyRangeLocation < 3) { 1169 if (buildCounterKeyRangeLocation < 3) {
1166 unittest.expect(o.dataDisk, unittest.equals('foo')); 1170 unittest.expect(o.dataDisk, unittest.equals('foo'));
1167 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); 1171 unittest.expect(o.deliveryEndpoint, unittest.equals('foo'));
1168 unittest.expect(o.end, unittest.equals('foo')); 1172 unittest.expect(o.end, unittest.equals('foo'));
1169 unittest.expect(o.persistentDirectory, unittest.equals('foo')); 1173 unittest.expect(o.persistentDirectory, unittest.equals('foo'));
1170 unittest.expect(o.start, unittest.equals('foo')); 1174 unittest.expect(o.start, unittest.equals('foo'));
1171 } 1175 }
1172 buildCounterKeyRangeLocation--; 1176 buildCounterKeyRangeLocation--;
1173 } 1177 }
1174 1178
1175 buildUnnamed3377() { 1179 buildUnnamed3085() {
1176 var o = new core.List<core.String>(); 1180 var o = new core.List<core.String>();
1177 o.add("foo"); 1181 o.add("foo");
1178 o.add("foo"); 1182 o.add("foo");
1179 return o; 1183 return o;
1180 } 1184 }
1181 1185
1182 checkUnnamed3377(core.List<core.String> o) { 1186 checkUnnamed3085(core.List<core.String> o) {
1183 unittest.expect(o, unittest.hasLength(2)); 1187 unittest.expect(o, unittest.hasLength(2));
1184 unittest.expect(o[0], unittest.equals('foo')); 1188 unittest.expect(o[0], unittest.equals('foo'));
1185 unittest.expect(o[1], unittest.equals('foo')); 1189 unittest.expect(o[1], unittest.equals('foo'));
1186 } 1190 }
1187 1191
1188 buildUnnamed3378() { 1192 buildUnnamed3086() {
1189 var o = new core.List<core.String>(); 1193 var o = new core.List<core.String>();
1190 o.add("foo"); 1194 o.add("foo");
1191 o.add("foo"); 1195 o.add("foo");
1192 return o; 1196 return o;
1193 } 1197 }
1194 1198
1195 checkUnnamed3378(core.List<core.String> o) { 1199 checkUnnamed3086(core.List<core.String> o) {
1196 unittest.expect(o, unittest.hasLength(2)); 1200 unittest.expect(o, unittest.hasLength(2));
1197 unittest.expect(o[0], unittest.equals('foo')); 1201 unittest.expect(o[0], unittest.equals('foo'));
1198 unittest.expect(o[1], unittest.equals('foo')); 1202 unittest.expect(o[1], unittest.equals('foo'));
1199 } 1203 }
1200 1204
1201 core.int buildCounterLeaseWorkItemRequest = 0; 1205 core.int buildCounterLeaseWorkItemRequest = 0;
1202 buildLeaseWorkItemRequest() { 1206 buildLeaseWorkItemRequest() {
1203 var o = new api.LeaseWorkItemRequest(); 1207 var o = new api.LeaseWorkItemRequest();
1204 buildCounterLeaseWorkItemRequest++; 1208 buildCounterLeaseWorkItemRequest++;
1205 if (buildCounterLeaseWorkItemRequest < 3) { 1209 if (buildCounterLeaseWorkItemRequest < 3) {
1206 o.currentWorkerTime = "foo"; 1210 o.currentWorkerTime = "foo";
1207 o.location = "foo"; 1211 o.location = "foo";
1208 o.requestedLeaseDuration = "foo"; 1212 o.requestedLeaseDuration = "foo";
1209 o.workItemTypes = buildUnnamed3377(); 1213 o.workItemTypes = buildUnnamed3085();
1210 o.workerCapabilities = buildUnnamed3378(); 1214 o.workerCapabilities = buildUnnamed3086();
1211 o.workerId = "foo"; 1215 o.workerId = "foo";
1212 } 1216 }
1213 buildCounterLeaseWorkItemRequest--; 1217 buildCounterLeaseWorkItemRequest--;
1214 return o; 1218 return o;
1215 } 1219 }
1216 1220
1217 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { 1221 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) {
1218 buildCounterLeaseWorkItemRequest++; 1222 buildCounterLeaseWorkItemRequest++;
1219 if (buildCounterLeaseWorkItemRequest < 3) { 1223 if (buildCounterLeaseWorkItemRequest < 3) {
1220 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 1224 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
1221 unittest.expect(o.location, unittest.equals('foo')); 1225 unittest.expect(o.location, unittest.equals('foo'));
1222 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 1226 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
1223 checkUnnamed3377(o.workItemTypes); 1227 checkUnnamed3085(o.workItemTypes);
1224 checkUnnamed3378(o.workerCapabilities); 1228 checkUnnamed3086(o.workerCapabilities);
1225 unittest.expect(o.workerId, unittest.equals('foo')); 1229 unittest.expect(o.workerId, unittest.equals('foo'));
1226 } 1230 }
1227 buildCounterLeaseWorkItemRequest--; 1231 buildCounterLeaseWorkItemRequest--;
1228 } 1232 }
1229 1233
1230 buildUnnamed3379() { 1234 buildUnnamed3087() {
1231 var o = new core.List<api.WorkItem>(); 1235 var o = new core.List<api.WorkItem>();
1232 o.add(buildWorkItem()); 1236 o.add(buildWorkItem());
1233 o.add(buildWorkItem()); 1237 o.add(buildWorkItem());
1234 return o; 1238 return o;
1235 } 1239 }
1236 1240
1237 checkUnnamed3379(core.List<api.WorkItem> o) { 1241 checkUnnamed3087(core.List<api.WorkItem> o) {
1238 unittest.expect(o, unittest.hasLength(2)); 1242 unittest.expect(o, unittest.hasLength(2));
1239 checkWorkItem(o[0]); 1243 checkWorkItem(o[0]);
1240 checkWorkItem(o[1]); 1244 checkWorkItem(o[1]);
1241 } 1245 }
1242 1246
1243 core.int buildCounterLeaseWorkItemResponse = 0; 1247 core.int buildCounterLeaseWorkItemResponse = 0;
1244 buildLeaseWorkItemResponse() { 1248 buildLeaseWorkItemResponse() {
1245 var o = new api.LeaseWorkItemResponse(); 1249 var o = new api.LeaseWorkItemResponse();
1246 buildCounterLeaseWorkItemResponse++; 1250 buildCounterLeaseWorkItemResponse++;
1247 if (buildCounterLeaseWorkItemResponse < 3) { 1251 if (buildCounterLeaseWorkItemResponse < 3) {
1248 o.workItems = buildUnnamed3379(); 1252 o.workItems = buildUnnamed3087();
1249 } 1253 }
1250 buildCounterLeaseWorkItemResponse--; 1254 buildCounterLeaseWorkItemResponse--;
1251 return o; 1255 return o;
1252 } 1256 }
1253 1257
1254 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { 1258 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
1255 buildCounterLeaseWorkItemResponse++; 1259 buildCounterLeaseWorkItemResponse++;
1256 if (buildCounterLeaseWorkItemResponse < 3) { 1260 if (buildCounterLeaseWorkItemResponse < 3) {
1257 checkUnnamed3379(o.workItems); 1261 checkUnnamed3087(o.workItems);
1258 } 1262 }
1259 buildCounterLeaseWorkItemResponse--; 1263 buildCounterLeaseWorkItemResponse--;
1260 } 1264 }
1261 1265
1262 buildUnnamed3380() { 1266 buildUnnamed3088() {
1263 var o = new core.List<api.JobMessage>(); 1267 var o = new core.List<api.JobMessage>();
1264 o.add(buildJobMessage()); 1268 o.add(buildJobMessage());
1265 o.add(buildJobMessage()); 1269 o.add(buildJobMessage());
1266 return o; 1270 return o;
1267 } 1271 }
1268 1272
1269 checkUnnamed3380(core.List<api.JobMessage> o) { 1273 checkUnnamed3088(core.List<api.JobMessage> o) {
1270 unittest.expect(o, unittest.hasLength(2)); 1274 unittest.expect(o, unittest.hasLength(2));
1271 checkJobMessage(o[0]); 1275 checkJobMessage(o[0]);
1272 checkJobMessage(o[1]); 1276 checkJobMessage(o[1]);
1273 } 1277 }
1274 1278
1275 core.int buildCounterListJobMessagesResponse = 0; 1279 core.int buildCounterListJobMessagesResponse = 0;
1276 buildListJobMessagesResponse() { 1280 buildListJobMessagesResponse() {
1277 var o = new api.ListJobMessagesResponse(); 1281 var o = new api.ListJobMessagesResponse();
1278 buildCounterListJobMessagesResponse++; 1282 buildCounterListJobMessagesResponse++;
1279 if (buildCounterListJobMessagesResponse < 3) { 1283 if (buildCounterListJobMessagesResponse < 3) {
1280 o.jobMessages = buildUnnamed3380(); 1284 o.jobMessages = buildUnnamed3088();
1281 o.nextPageToken = "foo"; 1285 o.nextPageToken = "foo";
1282 } 1286 }
1283 buildCounterListJobMessagesResponse--; 1287 buildCounterListJobMessagesResponse--;
1284 return o; 1288 return o;
1285 } 1289 }
1286 1290
1287 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { 1291 checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
1288 buildCounterListJobMessagesResponse++; 1292 buildCounterListJobMessagesResponse++;
1289 if (buildCounterListJobMessagesResponse < 3) { 1293 if (buildCounterListJobMessagesResponse < 3) {
1290 checkUnnamed3380(o.jobMessages); 1294 checkUnnamed3088(o.jobMessages);
1291 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1295 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1292 } 1296 }
1293 buildCounterListJobMessagesResponse--; 1297 buildCounterListJobMessagesResponse--;
1294 } 1298 }
1295 1299
1296 buildUnnamed3381() { 1300 buildUnnamed3089() {
1297 var o = new core.List<api.FailedLocation>(); 1301 var o = new core.List<api.FailedLocation>();
1298 o.add(buildFailedLocation()); 1302 o.add(buildFailedLocation());
1299 o.add(buildFailedLocation()); 1303 o.add(buildFailedLocation());
1300 return o; 1304 return o;
1301 } 1305 }
1302 1306
1303 checkUnnamed3381(core.List<api.FailedLocation> o) { 1307 checkUnnamed3089(core.List<api.FailedLocation> o) {
1304 unittest.expect(o, unittest.hasLength(2)); 1308 unittest.expect(o, unittest.hasLength(2));
1305 checkFailedLocation(o[0]); 1309 checkFailedLocation(o[0]);
1306 checkFailedLocation(o[1]); 1310 checkFailedLocation(o[1]);
1307 } 1311 }
1308 1312
1309 buildUnnamed3382() { 1313 buildUnnamed3090() {
1310 var o = new core.List<api.Job>(); 1314 var o = new core.List<api.Job>();
1311 o.add(buildJob()); 1315 o.add(buildJob());
1312 o.add(buildJob()); 1316 o.add(buildJob());
1313 return o; 1317 return o;
1314 } 1318 }
1315 1319
1316 checkUnnamed3382(core.List<api.Job> o) { 1320 checkUnnamed3090(core.List<api.Job> o) {
1317 unittest.expect(o, unittest.hasLength(2)); 1321 unittest.expect(o, unittest.hasLength(2));
1318 checkJob(o[0]); 1322 checkJob(o[0]);
1319 checkJob(o[1]); 1323 checkJob(o[1]);
1320 } 1324 }
1321 1325
1322 core.int buildCounterListJobsResponse = 0; 1326 core.int buildCounterListJobsResponse = 0;
1323 buildListJobsResponse() { 1327 buildListJobsResponse() {
1324 var o = new api.ListJobsResponse(); 1328 var o = new api.ListJobsResponse();
1325 buildCounterListJobsResponse++; 1329 buildCounterListJobsResponse++;
1326 if (buildCounterListJobsResponse < 3) { 1330 if (buildCounterListJobsResponse < 3) {
1327 o.failedLocation = buildUnnamed3381(); 1331 o.failedLocation = buildUnnamed3089();
1328 o.jobs = buildUnnamed3382(); 1332 o.jobs = buildUnnamed3090();
1329 o.nextPageToken = "foo"; 1333 o.nextPageToken = "foo";
1330 } 1334 }
1331 buildCounterListJobsResponse--; 1335 buildCounterListJobsResponse--;
1332 return o; 1336 return o;
1333 } 1337 }
1334 1338
1335 checkListJobsResponse(api.ListJobsResponse o) { 1339 checkListJobsResponse(api.ListJobsResponse o) {
1336 buildCounterListJobsResponse++; 1340 buildCounterListJobsResponse++;
1337 if (buildCounterListJobsResponse < 3) { 1341 if (buildCounterListJobsResponse < 3) {
1338 checkUnnamed3381(o.failedLocation); 1342 checkUnnamed3089(o.failedLocation);
1339 checkUnnamed3382(o.jobs); 1343 checkUnnamed3090(o.jobs);
1340 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1344 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1341 } 1345 }
1342 buildCounterListJobsResponse--; 1346 buildCounterListJobsResponse--;
1343 } 1347 }
1344 1348
1345 buildUnnamed3383() { 1349 buildUnnamed3091() {
1346 var o = new core.List<api.ParallelInstruction>(); 1350 var o = new core.List<api.ParallelInstruction>();
1347 o.add(buildParallelInstruction()); 1351 o.add(buildParallelInstruction());
1348 o.add(buildParallelInstruction()); 1352 o.add(buildParallelInstruction());
1349 return o; 1353 return o;
1350 } 1354 }
1351 1355
1352 checkUnnamed3383(core.List<api.ParallelInstruction> o) { 1356 checkUnnamed3091(core.List<api.ParallelInstruction> o) {
1353 unittest.expect(o, unittest.hasLength(2)); 1357 unittest.expect(o, unittest.hasLength(2));
1354 checkParallelInstruction(o[0]); 1358 checkParallelInstruction(o[0]);
1355 checkParallelInstruction(o[1]); 1359 checkParallelInstruction(o[1]);
1356 } 1360 }
1357 1361
1358 core.int buildCounterMapTask = 0; 1362 core.int buildCounterMapTask = 0;
1359 buildMapTask() { 1363 buildMapTask() {
1360 var o = new api.MapTask(); 1364 var o = new api.MapTask();
1361 buildCounterMapTask++; 1365 buildCounterMapTask++;
1362 if (buildCounterMapTask < 3) { 1366 if (buildCounterMapTask < 3) {
1363 o.instructions = buildUnnamed3383(); 1367 o.instructions = buildUnnamed3091();
1364 o.stageName = "foo"; 1368 o.stageName = "foo";
1365 o.systemName = "foo"; 1369 o.systemName = "foo";
1366 } 1370 }
1367 buildCounterMapTask--; 1371 buildCounterMapTask--;
1368 return o; 1372 return o;
1369 } 1373 }
1370 1374
1371 checkMapTask(api.MapTask o) { 1375 checkMapTask(api.MapTask o) {
1372 buildCounterMapTask++; 1376 buildCounterMapTask++;
1373 if (buildCounterMapTask < 3) { 1377 if (buildCounterMapTask < 3) {
1374 checkUnnamed3383(o.instructions); 1378 checkUnnamed3091(o.instructions);
1375 unittest.expect(o.stageName, unittest.equals('foo')); 1379 unittest.expect(o.stageName, unittest.equals('foo'));
1376 unittest.expect(o.systemName, unittest.equals('foo')); 1380 unittest.expect(o.systemName, unittest.equals('foo'));
1377 } 1381 }
1378 buildCounterMapTask--; 1382 buildCounterMapTask--;
1379 } 1383 }
1380 1384
1381 core.int buildCounterMetricShortId = 0; 1385 core.int buildCounterMetricShortId = 0;
1382 buildMetricShortId() { 1386 buildMetricShortId() {
1383 var o = new api.MetricShortId(); 1387 var o = new api.MetricShortId();
1384 buildCounterMetricShortId++; 1388 buildCounterMetricShortId++;
1385 if (buildCounterMetricShortId < 3) { 1389 if (buildCounterMetricShortId < 3) {
1386 o.metricIndex = 42; 1390 o.metricIndex = 42;
1387 o.shortId = "foo"; 1391 o.shortId = "foo";
1388 } 1392 }
1389 buildCounterMetricShortId--; 1393 buildCounterMetricShortId--;
1390 return o; 1394 return o;
1391 } 1395 }
1392 1396
1393 checkMetricShortId(api.MetricShortId o) { 1397 checkMetricShortId(api.MetricShortId o) {
1394 buildCounterMetricShortId++; 1398 buildCounterMetricShortId++;
1395 if (buildCounterMetricShortId < 3) { 1399 if (buildCounterMetricShortId < 3) {
1396 unittest.expect(o.metricIndex, unittest.equals(42)); 1400 unittest.expect(o.metricIndex, unittest.equals(42));
1397 unittest.expect(o.shortId, unittest.equals('foo')); 1401 unittest.expect(o.shortId, unittest.equals('foo'));
1398 } 1402 }
1399 buildCounterMetricShortId--; 1403 buildCounterMetricShortId--;
1400 } 1404 }
1401 1405
1402 buildUnnamed3384() { 1406 buildUnnamed3092() {
1403 var o = new core.Map<core.String, core.String>(); 1407 var o = new core.Map<core.String, core.String>();
1404 o["x"] = "foo"; 1408 o["x"] = "foo";
1405 o["y"] = "foo"; 1409 o["y"] = "foo";
1406 return o; 1410 return o;
1407 } 1411 }
1408 1412
1409 checkUnnamed3384(core.Map<core.String, core.String> o) { 1413 checkUnnamed3092(core.Map<core.String, core.String> o) {
1410 unittest.expect(o, unittest.hasLength(2)); 1414 unittest.expect(o, unittest.hasLength(2));
1411 unittest.expect(o["x"], unittest.equals('foo')); 1415 unittest.expect(o["x"], unittest.equals('foo'));
1412 unittest.expect(o["y"], unittest.equals('foo')); 1416 unittest.expect(o["y"], unittest.equals('foo'));
1413 } 1417 }
1414 1418
1415 core.int buildCounterMetricStructuredName = 0; 1419 core.int buildCounterMetricStructuredName = 0;
1416 buildMetricStructuredName() { 1420 buildMetricStructuredName() {
1417 var o = new api.MetricStructuredName(); 1421 var o = new api.MetricStructuredName();
1418 buildCounterMetricStructuredName++; 1422 buildCounterMetricStructuredName++;
1419 if (buildCounterMetricStructuredName < 3) { 1423 if (buildCounterMetricStructuredName < 3) {
1420 o.context = buildUnnamed3384(); 1424 o.context = buildUnnamed3092();
1421 o.name = "foo"; 1425 o.name = "foo";
1422 o.origin = "foo"; 1426 o.origin = "foo";
1423 } 1427 }
1424 buildCounterMetricStructuredName--; 1428 buildCounterMetricStructuredName--;
1425 return o; 1429 return o;
1426 } 1430 }
1427 1431
1428 checkMetricStructuredName(api.MetricStructuredName o) { 1432 checkMetricStructuredName(api.MetricStructuredName o) {
1429 buildCounterMetricStructuredName++; 1433 buildCounterMetricStructuredName++;
1430 if (buildCounterMetricStructuredName < 3) { 1434 if (buildCounterMetricStructuredName < 3) {
1431 checkUnnamed3384(o.context); 1435 checkUnnamed3092(o.context);
1432 unittest.expect(o.name, unittest.equals('foo')); 1436 unittest.expect(o.name, unittest.equals('foo'));
1433 unittest.expect(o.origin, unittest.equals('foo')); 1437 unittest.expect(o.origin, unittest.equals('foo'));
1434 } 1438 }
1435 buildCounterMetricStructuredName--; 1439 buildCounterMetricStructuredName--;
1436 } 1440 }
1437 1441
1438 core.int buildCounterMetricUpdate = 0; 1442 core.int buildCounterMetricUpdate = 0;
1439 buildMetricUpdate() { 1443 buildMetricUpdate() {
1440 var o = new api.MetricUpdate(); 1444 var o = new api.MetricUpdate();
1441 buildCounterMetricUpdate++; 1445 buildCounterMetricUpdate++;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 1547
1544 checkPackage(api.Package o) { 1548 checkPackage(api.Package o) {
1545 buildCounterPackage++; 1549 buildCounterPackage++;
1546 if (buildCounterPackage < 3) { 1550 if (buildCounterPackage < 3) {
1547 unittest.expect(o.location, unittest.equals('foo')); 1551 unittest.expect(o.location, unittest.equals('foo'));
1548 unittest.expect(o.name, unittest.equals('foo')); 1552 unittest.expect(o.name, unittest.equals('foo'));
1549 } 1553 }
1550 buildCounterPackage--; 1554 buildCounterPackage--;
1551 } 1555 }
1552 1556
1553 buildUnnamed3385() { 1557 buildUnnamed3093() {
1554 var o = new core.List<api.MultiOutputInfo>(); 1558 var o = new core.List<api.MultiOutputInfo>();
1555 o.add(buildMultiOutputInfo()); 1559 o.add(buildMultiOutputInfo());
1556 o.add(buildMultiOutputInfo()); 1560 o.add(buildMultiOutputInfo());
1557 return o; 1561 return o;
1558 } 1562 }
1559 1563
1560 checkUnnamed3385(core.List<api.MultiOutputInfo> o) { 1564 checkUnnamed3093(core.List<api.MultiOutputInfo> o) {
1561 unittest.expect(o, unittest.hasLength(2)); 1565 unittest.expect(o, unittest.hasLength(2));
1562 checkMultiOutputInfo(o[0]); 1566 checkMultiOutputInfo(o[0]);
1563 checkMultiOutputInfo(o[1]); 1567 checkMultiOutputInfo(o[1]);
1564 } 1568 }
1565 1569
1566 buildUnnamed3386() { 1570 buildUnnamed3094() {
1567 var o = new core.List<api.SideInputInfo>(); 1571 var o = new core.List<api.SideInputInfo>();
1568 o.add(buildSideInputInfo()); 1572 o.add(buildSideInputInfo());
1569 o.add(buildSideInputInfo()); 1573 o.add(buildSideInputInfo());
1570 return o; 1574 return o;
1571 } 1575 }
1572 1576
1573 checkUnnamed3386(core.List<api.SideInputInfo> o) { 1577 checkUnnamed3094(core.List<api.SideInputInfo> o) {
1574 unittest.expect(o, unittest.hasLength(2)); 1578 unittest.expect(o, unittest.hasLength(2));
1575 checkSideInputInfo(o[0]); 1579 checkSideInputInfo(o[0]);
1576 checkSideInputInfo(o[1]); 1580 checkSideInputInfo(o[1]);
1577 } 1581 }
1578 1582
1579 buildUnnamed3387() { 1583 buildUnnamed3095() {
1580 var o = new core.Map<core.String, core.Object>(); 1584 var o = new core.Map<core.String, core.Object>();
1581 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1585 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1582 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1586 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1583 return o; 1587 return o;
1584 } 1588 }
1585 1589
1586 checkUnnamed3387(core.Map<core.String, core.Object> o) { 1590 checkUnnamed3095(core.Map<core.String, core.Object> o) {
1587 unittest.expect(o, unittest.hasLength(2)); 1591 unittest.expect(o, unittest.hasLength(2));
1588 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')); 1592 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'));
1589 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')); 1593 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'));
1590 } 1594 }
1591 1595
1592 core.int buildCounterParDoInstruction = 0; 1596 core.int buildCounterParDoInstruction = 0;
1593 buildParDoInstruction() { 1597 buildParDoInstruction() {
1594 var o = new api.ParDoInstruction(); 1598 var o = new api.ParDoInstruction();
1595 buildCounterParDoInstruction++; 1599 buildCounterParDoInstruction++;
1596 if (buildCounterParDoInstruction < 3) { 1600 if (buildCounterParDoInstruction < 3) {
1597 o.input = buildInstructionInput(); 1601 o.input = buildInstructionInput();
1598 o.multiOutputInfos = buildUnnamed3385(); 1602 o.multiOutputInfos = buildUnnamed3093();
1599 o.numOutputs = 42; 1603 o.numOutputs = 42;
1600 o.sideInputs = buildUnnamed3386(); 1604 o.sideInputs = buildUnnamed3094();
1601 o.userFn = buildUnnamed3387(); 1605 o.userFn = buildUnnamed3095();
1602 } 1606 }
1603 buildCounterParDoInstruction--; 1607 buildCounterParDoInstruction--;
1604 return o; 1608 return o;
1605 } 1609 }
1606 1610
1607 checkParDoInstruction(api.ParDoInstruction o) { 1611 checkParDoInstruction(api.ParDoInstruction o) {
1608 buildCounterParDoInstruction++; 1612 buildCounterParDoInstruction++;
1609 if (buildCounterParDoInstruction < 3) { 1613 if (buildCounterParDoInstruction < 3) {
1610 checkInstructionInput(o.input); 1614 checkInstructionInput(o.input);
1611 checkUnnamed3385(o.multiOutputInfos); 1615 checkUnnamed3093(o.multiOutputInfos);
1612 unittest.expect(o.numOutputs, unittest.equals(42)); 1616 unittest.expect(o.numOutputs, unittest.equals(42));
1613 checkUnnamed3386(o.sideInputs); 1617 checkUnnamed3094(o.sideInputs);
1614 checkUnnamed3387(o.userFn); 1618 checkUnnamed3095(o.userFn);
1615 } 1619 }
1616 buildCounterParDoInstruction--; 1620 buildCounterParDoInstruction--;
1617 } 1621 }
1618 1622
1619 buildUnnamed3388() { 1623 buildUnnamed3096() {
1620 var o = new core.List<api.InstructionOutput>(); 1624 var o = new core.List<api.InstructionOutput>();
1621 o.add(buildInstructionOutput()); 1625 o.add(buildInstructionOutput());
1622 o.add(buildInstructionOutput()); 1626 o.add(buildInstructionOutput());
1623 return o; 1627 return o;
1624 } 1628 }
1625 1629
1626 checkUnnamed3388(core.List<api.InstructionOutput> o) { 1630 checkUnnamed3096(core.List<api.InstructionOutput> o) {
1627 unittest.expect(o, unittest.hasLength(2)); 1631 unittest.expect(o, unittest.hasLength(2));
1628 checkInstructionOutput(o[0]); 1632 checkInstructionOutput(o[0]);
1629 checkInstructionOutput(o[1]); 1633 checkInstructionOutput(o[1]);
1630 } 1634 }
1631 1635
1632 core.int buildCounterParallelInstruction = 0; 1636 core.int buildCounterParallelInstruction = 0;
1633 buildParallelInstruction() { 1637 buildParallelInstruction() {
1634 var o = new api.ParallelInstruction(); 1638 var o = new api.ParallelInstruction();
1635 buildCounterParallelInstruction++; 1639 buildCounterParallelInstruction++;
1636 if (buildCounterParallelInstruction < 3) { 1640 if (buildCounterParallelInstruction < 3) {
1637 o.flatten = buildFlattenInstruction(); 1641 o.flatten = buildFlattenInstruction();
1638 o.name = "foo"; 1642 o.name = "foo";
1639 o.originalName = "foo"; 1643 o.originalName = "foo";
1640 o.outputs = buildUnnamed3388(); 1644 o.outputs = buildUnnamed3096();
1641 o.parDo = buildParDoInstruction(); 1645 o.parDo = buildParDoInstruction();
1642 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); 1646 o.partialGroupByKey = buildPartialGroupByKeyInstruction();
1643 o.read = buildReadInstruction(); 1647 o.read = buildReadInstruction();
1644 o.systemName = "foo"; 1648 o.systemName = "foo";
1645 o.write = buildWriteInstruction(); 1649 o.write = buildWriteInstruction();
1646 } 1650 }
1647 buildCounterParallelInstruction--; 1651 buildCounterParallelInstruction--;
1648 return o; 1652 return o;
1649 } 1653 }
1650 1654
1651 checkParallelInstruction(api.ParallelInstruction o) { 1655 checkParallelInstruction(api.ParallelInstruction o) {
1652 buildCounterParallelInstruction++; 1656 buildCounterParallelInstruction++;
1653 if (buildCounterParallelInstruction < 3) { 1657 if (buildCounterParallelInstruction < 3) {
1654 checkFlattenInstruction(o.flatten); 1658 checkFlattenInstruction(o.flatten);
1655 unittest.expect(o.name, unittest.equals('foo')); 1659 unittest.expect(o.name, unittest.equals('foo'));
1656 unittest.expect(o.originalName, unittest.equals('foo')); 1660 unittest.expect(o.originalName, unittest.equals('foo'));
1657 checkUnnamed3388(o.outputs); 1661 checkUnnamed3096(o.outputs);
1658 checkParDoInstruction(o.parDo); 1662 checkParDoInstruction(o.parDo);
1659 checkPartialGroupByKeyInstruction(o.partialGroupByKey); 1663 checkPartialGroupByKeyInstruction(o.partialGroupByKey);
1660 checkReadInstruction(o.read); 1664 checkReadInstruction(o.read);
1661 unittest.expect(o.systemName, unittest.equals('foo')); 1665 unittest.expect(o.systemName, unittest.equals('foo'));
1662 checkWriteInstruction(o.write); 1666 checkWriteInstruction(o.write);
1663 } 1667 }
1664 buildCounterParallelInstruction--; 1668 buildCounterParallelInstruction--;
1665 } 1669 }
1666 1670
1667 buildUnnamed3389() { 1671 buildUnnamed3097() {
1668 var o = new core.Map<core.String, core.Object>(); 1672 var o = new core.Map<core.String, core.Object>();
1669 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1673 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1670 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1674 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1671 return o; 1675 return o;
1672 } 1676 }
1673 1677
1674 checkUnnamed3389(core.Map<core.String, core.Object> o) { 1678 checkUnnamed3097(core.Map<core.String, core.Object> o) {
1675 unittest.expect(o, unittest.hasLength(2)); 1679 unittest.expect(o, unittest.hasLength(2));
1676 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')); 1680 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'));
1677 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')); 1681 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'));
1678 } 1682 }
1679 1683
1680 buildUnnamed3390() { 1684 buildUnnamed3098() {
1681 var o = new core.List<api.SideInputInfo>(); 1685 var o = new core.List<api.SideInputInfo>();
1682 o.add(buildSideInputInfo()); 1686 o.add(buildSideInputInfo());
1683 o.add(buildSideInputInfo()); 1687 o.add(buildSideInputInfo());
1684 return o; 1688 return o;
1685 } 1689 }
1686 1690
1687 checkUnnamed3390(core.List<api.SideInputInfo> o) { 1691 checkUnnamed3098(core.List<api.SideInputInfo> o) {
1688 unittest.expect(o, unittest.hasLength(2)); 1692 unittest.expect(o, unittest.hasLength(2));
1689 checkSideInputInfo(o[0]); 1693 checkSideInputInfo(o[0]);
1690 checkSideInputInfo(o[1]); 1694 checkSideInputInfo(o[1]);
1691 } 1695 }
1692 1696
1693 buildUnnamed3391() { 1697 buildUnnamed3099() {
1694 var o = new core.Map<core.String, core.Object>(); 1698 var o = new core.Map<core.String, core.Object>();
1695 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1699 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1696 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1700 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1697 return o; 1701 return o;
1698 } 1702 }
1699 1703
1700 checkUnnamed3391(core.Map<core.String, core.Object> o) { 1704 checkUnnamed3099(core.Map<core.String, core.Object> o) {
1701 unittest.expect(o, unittest.hasLength(2)); 1705 unittest.expect(o, unittest.hasLength(2));
1702 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')); 1706 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'));
1703 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')); 1707 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'));
1704 } 1708 }
1705 1709
1706 core.int buildCounterPartialGroupByKeyInstruction = 0; 1710 core.int buildCounterPartialGroupByKeyInstruction = 0;
1707 buildPartialGroupByKeyInstruction() { 1711 buildPartialGroupByKeyInstruction() {
1708 var o = new api.PartialGroupByKeyInstruction(); 1712 var o = new api.PartialGroupByKeyInstruction();
1709 buildCounterPartialGroupByKeyInstruction++; 1713 buildCounterPartialGroupByKeyInstruction++;
1710 if (buildCounterPartialGroupByKeyInstruction < 3) { 1714 if (buildCounterPartialGroupByKeyInstruction < 3) {
1711 o.input = buildInstructionInput(); 1715 o.input = buildInstructionInput();
1712 o.inputElementCodec = buildUnnamed3389(); 1716 o.inputElementCodec = buildUnnamed3097();
1713 o.originalCombineValuesInputStoreName = "foo"; 1717 o.originalCombineValuesInputStoreName = "foo";
1714 o.originalCombineValuesStepName = "foo"; 1718 o.originalCombineValuesStepName = "foo";
1715 o.sideInputs = buildUnnamed3390(); 1719 o.sideInputs = buildUnnamed3098();
1716 o.valueCombiningFn = buildUnnamed3391(); 1720 o.valueCombiningFn = buildUnnamed3099();
1717 } 1721 }
1718 buildCounterPartialGroupByKeyInstruction--; 1722 buildCounterPartialGroupByKeyInstruction--;
1719 return o; 1723 return o;
1720 } 1724 }
1721 1725
1722 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { 1726 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) {
1723 buildCounterPartialGroupByKeyInstruction++; 1727 buildCounterPartialGroupByKeyInstruction++;
1724 if (buildCounterPartialGroupByKeyInstruction < 3) { 1728 if (buildCounterPartialGroupByKeyInstruction < 3) {
1725 checkInstructionInput(o.input); 1729 checkInstructionInput(o.input);
1726 checkUnnamed3389(o.inputElementCodec); 1730 checkUnnamed3097(o.inputElementCodec);
1727 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo' )); 1731 unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo' ));
1728 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo')); 1732 unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo'));
1729 checkUnnamed3390(o.sideInputs); 1733 checkUnnamed3098(o.sideInputs);
1730 checkUnnamed3391(o.valueCombiningFn); 1734 checkUnnamed3099(o.valueCombiningFn);
1731 } 1735 }
1732 buildCounterPartialGroupByKeyInstruction--; 1736 buildCounterPartialGroupByKeyInstruction--;
1733 } 1737 }
1734 1738
1735 core.int buildCounterPosition = 0; 1739 core.int buildCounterPosition = 0;
1736 buildPosition() { 1740 buildPosition() {
1737 var o = new api.Position(); 1741 var o = new api.Position();
1738 buildCounterPosition++; 1742 buildCounterPosition++;
1739 if (buildCounterPosition < 3) { 1743 if (buildCounterPosition < 3) {
1740 o.byteOffset = "foo"; 1744 o.byteOffset = "foo";
(...skipping 24 matching lines...) Expand all
1765 buildPubsubLocation() { 1769 buildPubsubLocation() {
1766 var o = new api.PubsubLocation(); 1770 var o = new api.PubsubLocation();
1767 buildCounterPubsubLocation++; 1771 buildCounterPubsubLocation++;
1768 if (buildCounterPubsubLocation < 3) { 1772 if (buildCounterPubsubLocation < 3) {
1769 o.dropLateData = true; 1773 o.dropLateData = true;
1770 o.idLabel = "foo"; 1774 o.idLabel = "foo";
1771 o.subscription = "foo"; 1775 o.subscription = "foo";
1772 o.timestampLabel = "foo"; 1776 o.timestampLabel = "foo";
1773 o.topic = "foo"; 1777 o.topic = "foo";
1774 o.trackingSubscription = "foo"; 1778 o.trackingSubscription = "foo";
1779 o.withAttributes = true;
1775 } 1780 }
1776 buildCounterPubsubLocation--; 1781 buildCounterPubsubLocation--;
1777 return o; 1782 return o;
1778 } 1783 }
1779 1784
1780 checkPubsubLocation(api.PubsubLocation o) { 1785 checkPubsubLocation(api.PubsubLocation o) {
1781 buildCounterPubsubLocation++; 1786 buildCounterPubsubLocation++;
1782 if (buildCounterPubsubLocation < 3) { 1787 if (buildCounterPubsubLocation < 3) {
1783 unittest.expect(o.dropLateData, unittest.isTrue); 1788 unittest.expect(o.dropLateData, unittest.isTrue);
1784 unittest.expect(o.idLabel, unittest.equals('foo')); 1789 unittest.expect(o.idLabel, unittest.equals('foo'));
1785 unittest.expect(o.subscription, unittest.equals('foo')); 1790 unittest.expect(o.subscription, unittest.equals('foo'));
1786 unittest.expect(o.timestampLabel, unittest.equals('foo')); 1791 unittest.expect(o.timestampLabel, unittest.equals('foo'));
1787 unittest.expect(o.topic, unittest.equals('foo')); 1792 unittest.expect(o.topic, unittest.equals('foo'));
1788 unittest.expect(o.trackingSubscription, unittest.equals('foo')); 1793 unittest.expect(o.trackingSubscription, unittest.equals('foo'));
1794 unittest.expect(o.withAttributes, unittest.isTrue);
1789 } 1795 }
1790 buildCounterPubsubLocation--; 1796 buildCounterPubsubLocation--;
1791 } 1797 }
1792 1798
1793 core.int buildCounterReadInstruction = 0; 1799 core.int buildCounterReadInstruction = 0;
1794 buildReadInstruction() { 1800 buildReadInstruction() {
1795 var o = new api.ReadInstruction(); 1801 var o = new api.ReadInstruction();
1796 buildCounterReadInstruction++; 1802 buildCounterReadInstruction++;
1797 if (buildCounterReadInstruction < 3) { 1803 if (buildCounterReadInstruction < 3) {
1798 o.source = buildSource(); 1804 o.source = buildSource();
1799 } 1805 }
1800 buildCounterReadInstruction--; 1806 buildCounterReadInstruction--;
1801 return o; 1807 return o;
1802 } 1808 }
1803 1809
1804 checkReadInstruction(api.ReadInstruction o) { 1810 checkReadInstruction(api.ReadInstruction o) {
1805 buildCounterReadInstruction++; 1811 buildCounterReadInstruction++;
1806 if (buildCounterReadInstruction < 3) { 1812 if (buildCounterReadInstruction < 3) {
1807 checkSource(o.source); 1813 checkSource(o.source);
1808 } 1814 }
1809 buildCounterReadInstruction--; 1815 buildCounterReadInstruction--;
1810 } 1816 }
1811 1817
1812 buildUnnamed3392() { 1818 buildUnnamed3100() {
1813 var o = new core.List<api.WorkItemStatus>(); 1819 var o = new core.List<api.WorkItemStatus>();
1814 o.add(buildWorkItemStatus()); 1820 o.add(buildWorkItemStatus());
1815 o.add(buildWorkItemStatus()); 1821 o.add(buildWorkItemStatus());
1816 return o; 1822 return o;
1817 } 1823 }
1818 1824
1819 checkUnnamed3392(core.List<api.WorkItemStatus> o) { 1825 checkUnnamed3100(core.List<api.WorkItemStatus> o) {
1820 unittest.expect(o, unittest.hasLength(2)); 1826 unittest.expect(o, unittest.hasLength(2));
1821 checkWorkItemStatus(o[0]); 1827 checkWorkItemStatus(o[0]);
1822 checkWorkItemStatus(o[1]); 1828 checkWorkItemStatus(o[1]);
1823 } 1829 }
1824 1830
1825 core.int buildCounterReportWorkItemStatusRequest = 0; 1831 core.int buildCounterReportWorkItemStatusRequest = 0;
1826 buildReportWorkItemStatusRequest() { 1832 buildReportWorkItemStatusRequest() {
1827 var o = new api.ReportWorkItemStatusRequest(); 1833 var o = new api.ReportWorkItemStatusRequest();
1828 buildCounterReportWorkItemStatusRequest++; 1834 buildCounterReportWorkItemStatusRequest++;
1829 if (buildCounterReportWorkItemStatusRequest < 3) { 1835 if (buildCounterReportWorkItemStatusRequest < 3) {
1830 o.currentWorkerTime = "foo"; 1836 o.currentWorkerTime = "foo";
1831 o.location = "foo"; 1837 o.location = "foo";
1832 o.workItemStatuses = buildUnnamed3392(); 1838 o.workItemStatuses = buildUnnamed3100();
1833 o.workerId = "foo"; 1839 o.workerId = "foo";
1834 } 1840 }
1835 buildCounterReportWorkItemStatusRequest--; 1841 buildCounterReportWorkItemStatusRequest--;
1836 return o; 1842 return o;
1837 } 1843 }
1838 1844
1839 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { 1845 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) {
1840 buildCounterReportWorkItemStatusRequest++; 1846 buildCounterReportWorkItemStatusRequest++;
1841 if (buildCounterReportWorkItemStatusRequest < 3) { 1847 if (buildCounterReportWorkItemStatusRequest < 3) {
1842 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 1848 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
1843 unittest.expect(o.location, unittest.equals('foo')); 1849 unittest.expect(o.location, unittest.equals('foo'));
1844 checkUnnamed3392(o.workItemStatuses); 1850 checkUnnamed3100(o.workItemStatuses);
1845 unittest.expect(o.workerId, unittest.equals('foo')); 1851 unittest.expect(o.workerId, unittest.equals('foo'));
1846 } 1852 }
1847 buildCounterReportWorkItemStatusRequest--; 1853 buildCounterReportWorkItemStatusRequest--;
1848 } 1854 }
1849 1855
1850 buildUnnamed3393() { 1856 buildUnnamed3101() {
1851 var o = new core.List<api.WorkItemServiceState>(); 1857 var o = new core.List<api.WorkItemServiceState>();
1852 o.add(buildWorkItemServiceState()); 1858 o.add(buildWorkItemServiceState());
1853 o.add(buildWorkItemServiceState()); 1859 o.add(buildWorkItemServiceState());
1854 return o; 1860 return o;
1855 } 1861 }
1856 1862
1857 checkUnnamed3393(core.List<api.WorkItemServiceState> o) { 1863 checkUnnamed3101(core.List<api.WorkItemServiceState> o) {
1858 unittest.expect(o, unittest.hasLength(2)); 1864 unittest.expect(o, unittest.hasLength(2));
1859 checkWorkItemServiceState(o[0]); 1865 checkWorkItemServiceState(o[0]);
1860 checkWorkItemServiceState(o[1]); 1866 checkWorkItemServiceState(o[1]);
1861 } 1867 }
1862 1868
1863 core.int buildCounterReportWorkItemStatusResponse = 0; 1869 core.int buildCounterReportWorkItemStatusResponse = 0;
1864 buildReportWorkItemStatusResponse() { 1870 buildReportWorkItemStatusResponse() {
1865 var o = new api.ReportWorkItemStatusResponse(); 1871 var o = new api.ReportWorkItemStatusResponse();
1866 buildCounterReportWorkItemStatusResponse++; 1872 buildCounterReportWorkItemStatusResponse++;
1867 if (buildCounterReportWorkItemStatusResponse < 3) { 1873 if (buildCounterReportWorkItemStatusResponse < 3) {
1868 o.workItemServiceStates = buildUnnamed3393(); 1874 o.workItemServiceStates = buildUnnamed3101();
1869 } 1875 }
1870 buildCounterReportWorkItemStatusResponse--; 1876 buildCounterReportWorkItemStatusResponse--;
1871 return o; 1877 return o;
1872 } 1878 }
1873 1879
1874 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { 1880 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
1875 buildCounterReportWorkItemStatusResponse++; 1881 buildCounterReportWorkItemStatusResponse++;
1876 if (buildCounterReportWorkItemStatusResponse < 3) { 1882 if (buildCounterReportWorkItemStatusResponse < 3) {
1877 checkUnnamed3393(o.workItemServiceStates); 1883 checkUnnamed3101(o.workItemServiceStates);
1878 } 1884 }
1879 buildCounterReportWorkItemStatusResponse--; 1885 buildCounterReportWorkItemStatusResponse--;
1880 } 1886 }
1881 1887
1882 core.int buildCounterReportedParallelism = 0; 1888 core.int buildCounterReportedParallelism = 0;
1883 buildReportedParallelism() { 1889 buildReportedParallelism() {
1884 var o = new api.ReportedParallelism(); 1890 var o = new api.ReportedParallelism();
1885 buildCounterReportedParallelism++; 1891 buildCounterReportedParallelism++;
1886 if (buildCounterReportedParallelism < 3) { 1892 if (buildCounterReportedParallelism < 3) {
1887 o.isInfinite = true; 1893 o.isInfinite = true;
1888 o.value = 42.0; 1894 o.value = 42.0;
1889 } 1895 }
1890 buildCounterReportedParallelism--; 1896 buildCounterReportedParallelism--;
1891 return o; 1897 return o;
1892 } 1898 }
1893 1899
1894 checkReportedParallelism(api.ReportedParallelism o) { 1900 checkReportedParallelism(api.ReportedParallelism o) {
1895 buildCounterReportedParallelism++; 1901 buildCounterReportedParallelism++;
1896 if (buildCounterReportedParallelism < 3) { 1902 if (buildCounterReportedParallelism < 3) {
1897 unittest.expect(o.isInfinite, unittest.isTrue); 1903 unittest.expect(o.isInfinite, unittest.isTrue);
1898 unittest.expect(o.value, unittest.equals(42.0)); 1904 unittest.expect(o.value, unittest.equals(42.0));
1899 } 1905 }
1900 buildCounterReportedParallelism--; 1906 buildCounterReportedParallelism--;
1901 } 1907 }
1902 1908
1909 core.int buildCounterRuntimeEnvironment = 0;
1910 buildRuntimeEnvironment() {
1911 var o = new api.RuntimeEnvironment();
1912 buildCounterRuntimeEnvironment++;
1913 if (buildCounterRuntimeEnvironment < 3) {
1914 o.maxWorkers = 42;
1915 o.serviceAccountEmail = "foo";
1916 o.zone = "foo";
1917 }
1918 buildCounterRuntimeEnvironment--;
1919 return o;
1920 }
1921
1922 checkRuntimeEnvironment(api.RuntimeEnvironment o) {
1923 buildCounterRuntimeEnvironment++;
1924 if (buildCounterRuntimeEnvironment < 3) {
1925 unittest.expect(o.maxWorkers, unittest.equals(42));
1926 unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
1927 unittest.expect(o.zone, unittest.equals('foo'));
1928 }
1929 buildCounterRuntimeEnvironment--;
1930 }
1931
1903 core.int buildCounterSendDebugCaptureRequest = 0; 1932 core.int buildCounterSendDebugCaptureRequest = 0;
1904 buildSendDebugCaptureRequest() { 1933 buildSendDebugCaptureRequest() {
1905 var o = new api.SendDebugCaptureRequest(); 1934 var o = new api.SendDebugCaptureRequest();
1906 buildCounterSendDebugCaptureRequest++; 1935 buildCounterSendDebugCaptureRequest++;
1907 if (buildCounterSendDebugCaptureRequest < 3) { 1936 if (buildCounterSendDebugCaptureRequest < 3) {
1908 o.componentId = "foo"; 1937 o.componentId = "foo";
1909 o.data = "foo"; 1938 o.data = "foo";
1910 o.workerId = "foo"; 1939 o.workerId = "foo";
1911 } 1940 }
1912 buildCounterSendDebugCaptureRequest--; 1941 buildCounterSendDebugCaptureRequest--;
(...skipping 20 matching lines...) Expand all
1933 return o; 1962 return o;
1934 } 1963 }
1935 1964
1936 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) { 1965 checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) {
1937 buildCounterSendDebugCaptureResponse++; 1966 buildCounterSendDebugCaptureResponse++;
1938 if (buildCounterSendDebugCaptureResponse < 3) { 1967 if (buildCounterSendDebugCaptureResponse < 3) {
1939 } 1968 }
1940 buildCounterSendDebugCaptureResponse--; 1969 buildCounterSendDebugCaptureResponse--;
1941 } 1970 }
1942 1971
1943 buildUnnamed3394() { 1972 buildUnnamed3102() {
1944 var o = new core.List<api.WorkerMessage>(); 1973 var o = new core.List<api.WorkerMessage>();
1945 o.add(buildWorkerMessage()); 1974 o.add(buildWorkerMessage());
1946 o.add(buildWorkerMessage()); 1975 o.add(buildWorkerMessage());
1947 return o; 1976 return o;
1948 } 1977 }
1949 1978
1950 checkUnnamed3394(core.List<api.WorkerMessage> o) { 1979 checkUnnamed3102(core.List<api.WorkerMessage> o) {
1951 unittest.expect(o, unittest.hasLength(2)); 1980 unittest.expect(o, unittest.hasLength(2));
1952 checkWorkerMessage(o[0]); 1981 checkWorkerMessage(o[0]);
1953 checkWorkerMessage(o[1]); 1982 checkWorkerMessage(o[1]);
1954 } 1983 }
1955 1984
1956 core.int buildCounterSendWorkerMessagesRequest = 0; 1985 core.int buildCounterSendWorkerMessagesRequest = 0;
1957 buildSendWorkerMessagesRequest() { 1986 buildSendWorkerMessagesRequest() {
1958 var o = new api.SendWorkerMessagesRequest(); 1987 var o = new api.SendWorkerMessagesRequest();
1959 buildCounterSendWorkerMessagesRequest++; 1988 buildCounterSendWorkerMessagesRequest++;
1960 if (buildCounterSendWorkerMessagesRequest < 3) { 1989 if (buildCounterSendWorkerMessagesRequest < 3) {
1961 o.workerMessages = buildUnnamed3394(); 1990 o.workerMessages = buildUnnamed3102();
1962 } 1991 }
1963 buildCounterSendWorkerMessagesRequest--; 1992 buildCounterSendWorkerMessagesRequest--;
1964 return o; 1993 return o;
1965 } 1994 }
1966 1995
1967 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { 1996 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) {
1968 buildCounterSendWorkerMessagesRequest++; 1997 buildCounterSendWorkerMessagesRequest++;
1969 if (buildCounterSendWorkerMessagesRequest < 3) { 1998 if (buildCounterSendWorkerMessagesRequest < 3) {
1970 checkUnnamed3394(o.workerMessages); 1999 checkUnnamed3102(o.workerMessages);
1971 } 2000 }
1972 buildCounterSendWorkerMessagesRequest--; 2001 buildCounterSendWorkerMessagesRequest--;
1973 } 2002 }
1974 2003
1975 buildUnnamed3395() { 2004 buildUnnamed3103() {
1976 var o = new core.List<api.WorkerMessageResponse>(); 2005 var o = new core.List<api.WorkerMessageResponse>();
1977 o.add(buildWorkerMessageResponse()); 2006 o.add(buildWorkerMessageResponse());
1978 o.add(buildWorkerMessageResponse()); 2007 o.add(buildWorkerMessageResponse());
1979 return o; 2008 return o;
1980 } 2009 }
1981 2010
1982 checkUnnamed3395(core.List<api.WorkerMessageResponse> o) { 2011 checkUnnamed3103(core.List<api.WorkerMessageResponse> o) {
1983 unittest.expect(o, unittest.hasLength(2)); 2012 unittest.expect(o, unittest.hasLength(2));
1984 checkWorkerMessageResponse(o[0]); 2013 checkWorkerMessageResponse(o[0]);
1985 checkWorkerMessageResponse(o[1]); 2014 checkWorkerMessageResponse(o[1]);
1986 } 2015 }
1987 2016
1988 core.int buildCounterSendWorkerMessagesResponse = 0; 2017 core.int buildCounterSendWorkerMessagesResponse = 0;
1989 buildSendWorkerMessagesResponse() { 2018 buildSendWorkerMessagesResponse() {
1990 var o = new api.SendWorkerMessagesResponse(); 2019 var o = new api.SendWorkerMessagesResponse();
1991 buildCounterSendWorkerMessagesResponse++; 2020 buildCounterSendWorkerMessagesResponse++;
1992 if (buildCounterSendWorkerMessagesResponse < 3) { 2021 if (buildCounterSendWorkerMessagesResponse < 3) {
1993 o.workerMessageResponses = buildUnnamed3395(); 2022 o.workerMessageResponses = buildUnnamed3103();
1994 } 2023 }
1995 buildCounterSendWorkerMessagesResponse--; 2024 buildCounterSendWorkerMessagesResponse--;
1996 return o; 2025 return o;
1997 } 2026 }
1998 2027
1999 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { 2028 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
2000 buildCounterSendWorkerMessagesResponse++; 2029 buildCounterSendWorkerMessagesResponse++;
2001 if (buildCounterSendWorkerMessagesResponse < 3) { 2030 if (buildCounterSendWorkerMessagesResponse < 3) {
2002 checkUnnamed3395(o.workerMessageResponses); 2031 checkUnnamed3103(o.workerMessageResponses);
2003 } 2032 }
2004 buildCounterSendWorkerMessagesResponse--; 2033 buildCounterSendWorkerMessagesResponse--;
2005 } 2034 }
2006 2035
2007 buildUnnamed3396() { 2036 buildUnnamed3104() {
2008 var o = new core.List<api.SideInputInfo>(); 2037 var o = new core.List<api.SideInputInfo>();
2009 o.add(buildSideInputInfo()); 2038 o.add(buildSideInputInfo());
2010 o.add(buildSideInputInfo()); 2039 o.add(buildSideInputInfo());
2011 return o; 2040 return o;
2012 } 2041 }
2013 2042
2014 checkUnnamed3396(core.List<api.SideInputInfo> o) { 2043 checkUnnamed3104(core.List<api.SideInputInfo> o) {
2015 unittest.expect(o, unittest.hasLength(2)); 2044 unittest.expect(o, unittest.hasLength(2));
2016 checkSideInputInfo(o[0]); 2045 checkSideInputInfo(o[0]);
2017 checkSideInputInfo(o[1]); 2046 checkSideInputInfo(o[1]);
2018 } 2047 }
2019 2048
2020 buildUnnamed3397() { 2049 buildUnnamed3105() {
2021 var o = new core.List<api.SeqMapTaskOutputInfo>(); 2050 var o = new core.List<api.SeqMapTaskOutputInfo>();
2022 o.add(buildSeqMapTaskOutputInfo()); 2051 o.add(buildSeqMapTaskOutputInfo());
2023 o.add(buildSeqMapTaskOutputInfo()); 2052 o.add(buildSeqMapTaskOutputInfo());
2024 return o; 2053 return o;
2025 } 2054 }
2026 2055
2027 checkUnnamed3397(core.List<api.SeqMapTaskOutputInfo> o) { 2056 checkUnnamed3105(core.List<api.SeqMapTaskOutputInfo> o) {
2028 unittest.expect(o, unittest.hasLength(2)); 2057 unittest.expect(o, unittest.hasLength(2));
2029 checkSeqMapTaskOutputInfo(o[0]); 2058 checkSeqMapTaskOutputInfo(o[0]);
2030 checkSeqMapTaskOutputInfo(o[1]); 2059 checkSeqMapTaskOutputInfo(o[1]);
2031 } 2060 }
2032 2061
2033 buildUnnamed3398() { 2062 buildUnnamed3106() {
2034 var o = new core.Map<core.String, core.Object>(); 2063 var o = new core.Map<core.String, core.Object>();
2035 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2064 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2036 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2065 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2037 return o; 2066 return o;
2038 } 2067 }
2039 2068
2040 checkUnnamed3398(core.Map<core.String, core.Object> o) { 2069 checkUnnamed3106(core.Map<core.String, core.Object> o) {
2041 unittest.expect(o, unittest.hasLength(2)); 2070 unittest.expect(o, unittest.hasLength(2));
2042 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')); 2071 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'));
2043 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')); 2072 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'));
2044 } 2073 }
2045 2074
2046 core.int buildCounterSeqMapTask = 0; 2075 core.int buildCounterSeqMapTask = 0;
2047 buildSeqMapTask() { 2076 buildSeqMapTask() {
2048 var o = new api.SeqMapTask(); 2077 var o = new api.SeqMapTask();
2049 buildCounterSeqMapTask++; 2078 buildCounterSeqMapTask++;
2050 if (buildCounterSeqMapTask < 3) { 2079 if (buildCounterSeqMapTask < 3) {
2051 o.inputs = buildUnnamed3396(); 2080 o.inputs = buildUnnamed3104();
2052 o.name = "foo"; 2081 o.name = "foo";
2053 o.outputInfos = buildUnnamed3397(); 2082 o.outputInfos = buildUnnamed3105();
2054 o.stageName = "foo"; 2083 o.stageName = "foo";
2055 o.systemName = "foo"; 2084 o.systemName = "foo";
2056 o.userFn = buildUnnamed3398(); 2085 o.userFn = buildUnnamed3106();
2057 } 2086 }
2058 buildCounterSeqMapTask--; 2087 buildCounterSeqMapTask--;
2059 return o; 2088 return o;
2060 } 2089 }
2061 2090
2062 checkSeqMapTask(api.SeqMapTask o) { 2091 checkSeqMapTask(api.SeqMapTask o) {
2063 buildCounterSeqMapTask++; 2092 buildCounterSeqMapTask++;
2064 if (buildCounterSeqMapTask < 3) { 2093 if (buildCounterSeqMapTask < 3) {
2065 checkUnnamed3396(o.inputs); 2094 checkUnnamed3104(o.inputs);
2066 unittest.expect(o.name, unittest.equals('foo')); 2095 unittest.expect(o.name, unittest.equals('foo'));
2067 checkUnnamed3397(o.outputInfos); 2096 checkUnnamed3105(o.outputInfos);
2068 unittest.expect(o.stageName, unittest.equals('foo')); 2097 unittest.expect(o.stageName, unittest.equals('foo'));
2069 unittest.expect(o.systemName, unittest.equals('foo')); 2098 unittest.expect(o.systemName, unittest.equals('foo'));
2070 checkUnnamed3398(o.userFn); 2099 checkUnnamed3106(o.userFn);
2071 } 2100 }
2072 buildCounterSeqMapTask--; 2101 buildCounterSeqMapTask--;
2073 } 2102 }
2074 2103
2075 core.int buildCounterSeqMapTaskOutputInfo = 0; 2104 core.int buildCounterSeqMapTaskOutputInfo = 0;
2076 buildSeqMapTaskOutputInfo() { 2105 buildSeqMapTaskOutputInfo() {
2077 var o = new api.SeqMapTaskOutputInfo(); 2106 var o = new api.SeqMapTaskOutputInfo();
2078 buildCounterSeqMapTaskOutputInfo++; 2107 buildCounterSeqMapTaskOutputInfo++;
2079 if (buildCounterSeqMapTaskOutputInfo < 3) { 2108 if (buildCounterSeqMapTaskOutputInfo < 3) {
2080 o.sink = buildSink(); 2109 o.sink = buildSink();
(...skipping 26 matching lines...) Expand all
2107 2136
2108 checkShellTask(api.ShellTask o) { 2137 checkShellTask(api.ShellTask o) {
2109 buildCounterShellTask++; 2138 buildCounterShellTask++;
2110 if (buildCounterShellTask < 3) { 2139 if (buildCounterShellTask < 3) {
2111 unittest.expect(o.command, unittest.equals('foo')); 2140 unittest.expect(o.command, unittest.equals('foo'));
2112 unittest.expect(o.exitCode, unittest.equals(42)); 2141 unittest.expect(o.exitCode, unittest.equals(42));
2113 } 2142 }
2114 buildCounterShellTask--; 2143 buildCounterShellTask--;
2115 } 2144 }
2116 2145
2117 buildUnnamed3399() { 2146 buildUnnamed3107() {
2118 var o = new core.Map<core.String, core.Object>(); 2147 var o = new core.Map<core.String, core.Object>();
2119 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2148 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2120 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2149 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2121 return o; 2150 return o;
2122 } 2151 }
2123 2152
2124 checkUnnamed3399(core.Map<core.String, core.Object> o) { 2153 checkUnnamed3107(core.Map<core.String, core.Object> o) {
2125 unittest.expect(o, unittest.hasLength(2)); 2154 unittest.expect(o, unittest.hasLength(2));
2126 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')); 2155 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'));
2127 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')); 2156 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'));
2128 } 2157 }
2129 2158
2130 buildUnnamed3400() { 2159 buildUnnamed3108() {
2131 var o = new core.List<api.Source>(); 2160 var o = new core.List<api.Source>();
2132 o.add(buildSource()); 2161 o.add(buildSource());
2133 o.add(buildSource()); 2162 o.add(buildSource());
2134 return o; 2163 return o;
2135 } 2164 }
2136 2165
2137 checkUnnamed3400(core.List<api.Source> o) { 2166 checkUnnamed3108(core.List<api.Source> o) {
2138 unittest.expect(o, unittest.hasLength(2)); 2167 unittest.expect(o, unittest.hasLength(2));
2139 checkSource(o[0]); 2168 checkSource(o[0]);
2140 checkSource(o[1]); 2169 checkSource(o[1]);
2141 } 2170 }
2142 2171
2143 core.int buildCounterSideInputInfo = 0; 2172 core.int buildCounterSideInputInfo = 0;
2144 buildSideInputInfo() { 2173 buildSideInputInfo() {
2145 var o = new api.SideInputInfo(); 2174 var o = new api.SideInputInfo();
2146 buildCounterSideInputInfo++; 2175 buildCounterSideInputInfo++;
2147 if (buildCounterSideInputInfo < 3) { 2176 if (buildCounterSideInputInfo < 3) {
2148 o.kind = buildUnnamed3399(); 2177 o.kind = buildUnnamed3107();
2149 o.sources = buildUnnamed3400(); 2178 o.sources = buildUnnamed3108();
2150 o.tag = "foo"; 2179 o.tag = "foo";
2151 } 2180 }
2152 buildCounterSideInputInfo--; 2181 buildCounterSideInputInfo--;
2153 return o; 2182 return o;
2154 } 2183 }
2155 2184
2156 checkSideInputInfo(api.SideInputInfo o) { 2185 checkSideInputInfo(api.SideInputInfo o) {
2157 buildCounterSideInputInfo++; 2186 buildCounterSideInputInfo++;
2158 if (buildCounterSideInputInfo < 3) { 2187 if (buildCounterSideInputInfo < 3) {
2159 checkUnnamed3399(o.kind); 2188 checkUnnamed3107(o.kind);
2160 checkUnnamed3400(o.sources); 2189 checkUnnamed3108(o.sources);
2161 unittest.expect(o.tag, unittest.equals('foo')); 2190 unittest.expect(o.tag, unittest.equals('foo'));
2162 } 2191 }
2163 buildCounterSideInputInfo--; 2192 buildCounterSideInputInfo--;
2164 } 2193 }
2165 2194
2166 buildUnnamed3401() { 2195 buildUnnamed3109() {
2167 var o = new core.Map<core.String, core.Object>(); 2196 var o = new core.Map<core.String, core.Object>();
2168 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2197 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2169 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2198 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2170 return o; 2199 return o;
2171 } 2200 }
2172 2201
2173 checkUnnamed3401(core.Map<core.String, core.Object> o) { 2202 checkUnnamed3109(core.Map<core.String, core.Object> o) {
2174 unittest.expect(o, unittest.hasLength(2)); 2203 unittest.expect(o, unittest.hasLength(2));
2175 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')); 2204 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'));
2176 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')); 2205 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'));
2177 } 2206 }
2178 2207
2179 buildUnnamed3402() { 2208 buildUnnamed3110() {
2180 var o = new core.Map<core.String, core.Object>(); 2209 var o = new core.Map<core.String, core.Object>();
2181 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2210 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2182 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2211 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2183 return o; 2212 return o;
2184 } 2213 }
2185 2214
2186 checkUnnamed3402(core.Map<core.String, core.Object> o) { 2215 checkUnnamed3110(core.Map<core.String, core.Object> o) {
2187 unittest.expect(o, unittest.hasLength(2)); 2216 unittest.expect(o, unittest.hasLength(2));
2188 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')); 2217 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'));
2189 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')); 2218 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'));
2190 } 2219 }
2191 2220
2192 core.int buildCounterSink = 0; 2221 core.int buildCounterSink = 0;
2193 buildSink() { 2222 buildSink() {
2194 var o = new api.Sink(); 2223 var o = new api.Sink();
2195 buildCounterSink++; 2224 buildCounterSink++;
2196 if (buildCounterSink < 3) { 2225 if (buildCounterSink < 3) {
2197 o.codec = buildUnnamed3401(); 2226 o.codec = buildUnnamed3109();
2198 o.spec = buildUnnamed3402(); 2227 o.spec = buildUnnamed3110();
2199 } 2228 }
2200 buildCounterSink--; 2229 buildCounterSink--;
2201 return o; 2230 return o;
2202 } 2231 }
2203 2232
2204 checkSink(api.Sink o) { 2233 checkSink(api.Sink o) {
2205 buildCounterSink++; 2234 buildCounterSink++;
2206 if (buildCounterSink < 3) { 2235 if (buildCounterSink < 3) {
2207 checkUnnamed3401(o.codec); 2236 checkUnnamed3109(o.codec);
2208 checkUnnamed3402(o.spec); 2237 checkUnnamed3110(o.spec);
2209 } 2238 }
2210 buildCounterSink--; 2239 buildCounterSink--;
2211 } 2240 }
2212 2241
2213 buildUnnamed3403() { 2242 buildUnnamed3111() {
2214 var o = new core.Map<core.String, core.Object>(); 2243 var o = new core.Map<core.String, core.Object>();
2215 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2244 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2216 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2245 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2217 return o; 2246 return o;
2218 } 2247 }
2219 2248
2220 checkUnnamed3403(core.Map<core.String, core.Object> o) { 2249 checkUnnamed3111(core.Map<core.String, core.Object> o) {
2221 unittest.expect(o, unittest.hasLength(2)); 2250 unittest.expect(o, unittest.hasLength(2));
2222 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')); 2251 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'));
2223 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')); 2252 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'));
2224 } 2253 }
2225 2254
2226 buildUnnamed3404() { 2255 buildUnnamed3112() {
2227 var o = new core.List<core.Map<core.String, core.Object>>(); 2256 var o = new core.List<core.Map<core.String, core.Object>>();
2228 o.add(buildUnnamed3403()); 2257 o.add(buildUnnamed3111());
2229 o.add(buildUnnamed3403()); 2258 o.add(buildUnnamed3111());
2230 return o; 2259 return o;
2231 } 2260 }
2232 2261
2233 checkUnnamed3404(core.List<core.Map<core.String, core.Object>> o) { 2262 checkUnnamed3112(core.List<core.Map<core.String, core.Object>> o) {
2234 unittest.expect(o, unittest.hasLength(2)); 2263 unittest.expect(o, unittest.hasLength(2));
2235 checkUnnamed3403(o[0]); 2264 checkUnnamed3111(o[0]);
2236 checkUnnamed3403(o[1]); 2265 checkUnnamed3111(o[1]);
2237 } 2266 }
2238 2267
2239 buildUnnamed3405() { 2268 buildUnnamed3113() {
2240 var o = new core.Map<core.String, core.Object>(); 2269 var o = new core.Map<core.String, core.Object>();
2241 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2270 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2242 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2271 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2243 return o; 2272 return o;
2244 } 2273 }
2245 2274
2246 checkUnnamed3405(core.Map<core.String, core.Object> o) { 2275 checkUnnamed3113(core.Map<core.String, core.Object> o) {
2247 unittest.expect(o, unittest.hasLength(2)); 2276 unittest.expect(o, unittest.hasLength(2));
2248 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')); 2277 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'));
2249 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')); 2278 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'));
2250 } 2279 }
2251 2280
2252 buildUnnamed3406() { 2281 buildUnnamed3114() {
2253 var o = new core.Map<core.String, core.Object>(); 2282 var o = new core.Map<core.String, core.Object>();
2254 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2283 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2255 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2284 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2256 return o; 2285 return o;
2257 } 2286 }
2258 2287
2259 checkUnnamed3406(core.Map<core.String, core.Object> o) { 2288 checkUnnamed3114(core.Map<core.String, core.Object> o) {
2260 unittest.expect(o, unittest.hasLength(2)); 2289 unittest.expect(o, unittest.hasLength(2));
2261 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')); 2290 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'));
2262 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')); 2291 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'));
2263 } 2292 }
2264 2293
2265 core.int buildCounterSource = 0; 2294 core.int buildCounterSource = 0;
2266 buildSource() { 2295 buildSource() {
2267 var o = new api.Source(); 2296 var o = new api.Source();
2268 buildCounterSource++; 2297 buildCounterSource++;
2269 if (buildCounterSource < 3) { 2298 if (buildCounterSource < 3) {
2270 o.baseSpecs = buildUnnamed3404(); 2299 o.baseSpecs = buildUnnamed3112();
2271 o.codec = buildUnnamed3405(); 2300 o.codec = buildUnnamed3113();
2272 o.doesNotNeedSplitting = true; 2301 o.doesNotNeedSplitting = true;
2273 o.metadata = buildSourceMetadata(); 2302 o.metadata = buildSourceMetadata();
2274 o.spec = buildUnnamed3406(); 2303 o.spec = buildUnnamed3114();
2275 } 2304 }
2276 buildCounterSource--; 2305 buildCounterSource--;
2277 return o; 2306 return o;
2278 } 2307 }
2279 2308
2280 checkSource(api.Source o) { 2309 checkSource(api.Source o) {
2281 buildCounterSource++; 2310 buildCounterSource++;
2282 if (buildCounterSource < 3) { 2311 if (buildCounterSource < 3) {
2283 checkUnnamed3404(o.baseSpecs); 2312 checkUnnamed3112(o.baseSpecs);
2284 checkUnnamed3405(o.codec); 2313 checkUnnamed3113(o.codec);
2285 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); 2314 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
2286 checkSourceMetadata(o.metadata); 2315 checkSourceMetadata(o.metadata);
2287 checkUnnamed3406(o.spec); 2316 checkUnnamed3114(o.spec);
2288 } 2317 }
2289 buildCounterSource--; 2318 buildCounterSource--;
2290 } 2319 }
2291 2320
2292 core.int buildCounterSourceFork = 0; 2321 core.int buildCounterSourceFork = 0;
2293 buildSourceFork() { 2322 buildSourceFork() {
2294 var o = new api.SourceFork(); 2323 var o = new api.SourceFork();
2295 buildCounterSourceFork++; 2324 buildCounterSourceFork++;
2296 if (buildCounterSourceFork < 3) { 2325 if (buildCounterSourceFork < 3) {
2297 o.primary = buildSourceSplitShard(); 2326 o.primary = buildSourceSplitShard();
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
2452 2481
2453 checkSourceSplitRequest(api.SourceSplitRequest o) { 2482 checkSourceSplitRequest(api.SourceSplitRequest o) {
2454 buildCounterSourceSplitRequest++; 2483 buildCounterSourceSplitRequest++;
2455 if (buildCounterSourceSplitRequest < 3) { 2484 if (buildCounterSourceSplitRequest < 3) {
2456 checkSourceSplitOptions(o.options); 2485 checkSourceSplitOptions(o.options);
2457 checkSource(o.source); 2486 checkSource(o.source);
2458 } 2487 }
2459 buildCounterSourceSplitRequest--; 2488 buildCounterSourceSplitRequest--;
2460 } 2489 }
2461 2490
2462 buildUnnamed3407() { 2491 buildUnnamed3115() {
2463 var o = new core.List<api.DerivedSource>(); 2492 var o = new core.List<api.DerivedSource>();
2464 o.add(buildDerivedSource()); 2493 o.add(buildDerivedSource());
2465 o.add(buildDerivedSource()); 2494 o.add(buildDerivedSource());
2466 return o; 2495 return o;
2467 } 2496 }
2468 2497
2469 checkUnnamed3407(core.List<api.DerivedSource> o) { 2498 checkUnnamed3115(core.List<api.DerivedSource> o) {
2470 unittest.expect(o, unittest.hasLength(2)); 2499 unittest.expect(o, unittest.hasLength(2));
2471 checkDerivedSource(o[0]); 2500 checkDerivedSource(o[0]);
2472 checkDerivedSource(o[1]); 2501 checkDerivedSource(o[1]);
2473 } 2502 }
2474 2503
2475 buildUnnamed3408() { 2504 buildUnnamed3116() {
2476 var o = new core.List<api.SourceSplitShard>(); 2505 var o = new core.List<api.SourceSplitShard>();
2477 o.add(buildSourceSplitShard()); 2506 o.add(buildSourceSplitShard());
2478 o.add(buildSourceSplitShard()); 2507 o.add(buildSourceSplitShard());
2479 return o; 2508 return o;
2480 } 2509 }
2481 2510
2482 checkUnnamed3408(core.List<api.SourceSplitShard> o) { 2511 checkUnnamed3116(core.List<api.SourceSplitShard> o) {
2483 unittest.expect(o, unittest.hasLength(2)); 2512 unittest.expect(o, unittest.hasLength(2));
2484 checkSourceSplitShard(o[0]); 2513 checkSourceSplitShard(o[0]);
2485 checkSourceSplitShard(o[1]); 2514 checkSourceSplitShard(o[1]);
2486 } 2515 }
2487 2516
2488 core.int buildCounterSourceSplitResponse = 0; 2517 core.int buildCounterSourceSplitResponse = 0;
2489 buildSourceSplitResponse() { 2518 buildSourceSplitResponse() {
2490 var o = new api.SourceSplitResponse(); 2519 var o = new api.SourceSplitResponse();
2491 buildCounterSourceSplitResponse++; 2520 buildCounterSourceSplitResponse++;
2492 if (buildCounterSourceSplitResponse < 3) { 2521 if (buildCounterSourceSplitResponse < 3) {
2493 o.bundles = buildUnnamed3407(); 2522 o.bundles = buildUnnamed3115();
2494 o.outcome = "foo"; 2523 o.outcome = "foo";
2495 o.shards = buildUnnamed3408(); 2524 o.shards = buildUnnamed3116();
2496 } 2525 }
2497 buildCounterSourceSplitResponse--; 2526 buildCounterSourceSplitResponse--;
2498 return o; 2527 return o;
2499 } 2528 }
2500 2529
2501 checkSourceSplitResponse(api.SourceSplitResponse o) { 2530 checkSourceSplitResponse(api.SourceSplitResponse o) {
2502 buildCounterSourceSplitResponse++; 2531 buildCounterSourceSplitResponse++;
2503 if (buildCounterSourceSplitResponse < 3) { 2532 if (buildCounterSourceSplitResponse < 3) {
2504 checkUnnamed3407(o.bundles); 2533 checkUnnamed3115(o.bundles);
2505 unittest.expect(o.outcome, unittest.equals('foo')); 2534 unittest.expect(o.outcome, unittest.equals('foo'));
2506 checkUnnamed3408(o.shards); 2535 checkUnnamed3116(o.shards);
2507 } 2536 }
2508 buildCounterSourceSplitResponse--; 2537 buildCounterSourceSplitResponse--;
2509 } 2538 }
2510 2539
2511 core.int buildCounterSourceSplitShard = 0; 2540 core.int buildCounterSourceSplitShard = 0;
2512 buildSourceSplitShard() { 2541 buildSourceSplitShard() {
2513 var o = new api.SourceSplitShard(); 2542 var o = new api.SourceSplitShard();
2514 buildCounterSourceSplitShard++; 2543 buildCounterSourceSplitShard++;
2515 if (buildCounterSourceSplitShard < 3) { 2544 if (buildCounterSourceSplitShard < 3) {
2516 o.derivationMode = "foo"; 2545 o.derivationMode = "foo";
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 2593
2565 checkStateFamilyConfig(api.StateFamilyConfig o) { 2594 checkStateFamilyConfig(api.StateFamilyConfig o) {
2566 buildCounterStateFamilyConfig++; 2595 buildCounterStateFamilyConfig++;
2567 if (buildCounterStateFamilyConfig < 3) { 2596 if (buildCounterStateFamilyConfig < 3) {
2568 unittest.expect(o.isRead, unittest.isTrue); 2597 unittest.expect(o.isRead, unittest.isTrue);
2569 unittest.expect(o.stateFamily, unittest.equals('foo')); 2598 unittest.expect(o.stateFamily, unittest.equals('foo'));
2570 } 2599 }
2571 buildCounterStateFamilyConfig--; 2600 buildCounterStateFamilyConfig--;
2572 } 2601 }
2573 2602
2574 buildUnnamed3409() { 2603 buildUnnamed3117() {
2575 var o = new core.Map<core.String, core.Object>(); 2604 var o = new core.Map<core.String, core.Object>();
2576 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2605 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2577 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2606 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2578 return o; 2607 return o;
2579 } 2608 }
2580 2609
2581 checkUnnamed3409(core.Map<core.String, core.Object> o) { 2610 checkUnnamed3117(core.Map<core.String, core.Object> o) {
2582 unittest.expect(o, unittest.hasLength(2)); 2611 unittest.expect(o, unittest.hasLength(2));
2583 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')); 2612 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'));
2584 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')); 2613 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'));
2585 } 2614 }
2586 2615
2587 buildUnnamed3410() { 2616 buildUnnamed3118() {
2588 var o = new core.List<core.Map<core.String, core.Object>>(); 2617 var o = new core.List<core.Map<core.String, core.Object>>();
2589 o.add(buildUnnamed3409()); 2618 o.add(buildUnnamed3117());
2590 o.add(buildUnnamed3409()); 2619 o.add(buildUnnamed3117());
2591 return o; 2620 return o;
2592 } 2621 }
2593 2622
2594 checkUnnamed3410(core.List<core.Map<core.String, core.Object>> o) { 2623 checkUnnamed3118(core.List<core.Map<core.String, core.Object>> o) {
2595 unittest.expect(o, unittest.hasLength(2)); 2624 unittest.expect(o, unittest.hasLength(2));
2596 checkUnnamed3409(o[0]); 2625 checkUnnamed3117(o[0]);
2597 checkUnnamed3409(o[1]); 2626 checkUnnamed3117(o[1]);
2598 } 2627 }
2599 2628
2600 core.int buildCounterStatus = 0; 2629 core.int buildCounterStatus = 0;
2601 buildStatus() { 2630 buildStatus() {
2602 var o = new api.Status(); 2631 var o = new api.Status();
2603 buildCounterStatus++; 2632 buildCounterStatus++;
2604 if (buildCounterStatus < 3) { 2633 if (buildCounterStatus < 3) {
2605 o.code = 42; 2634 o.code = 42;
2606 o.details = buildUnnamed3410(); 2635 o.details = buildUnnamed3118();
2607 o.message = "foo"; 2636 o.message = "foo";
2608 } 2637 }
2609 buildCounterStatus--; 2638 buildCounterStatus--;
2610 return o; 2639 return o;
2611 } 2640 }
2612 2641
2613 checkStatus(api.Status o) { 2642 checkStatus(api.Status o) {
2614 buildCounterStatus++; 2643 buildCounterStatus++;
2615 if (buildCounterStatus < 3) { 2644 if (buildCounterStatus < 3) {
2616 unittest.expect(o.code, unittest.equals(42)); 2645 unittest.expect(o.code, unittest.equals(42));
2617 checkUnnamed3410(o.details); 2646 checkUnnamed3118(o.details);
2618 unittest.expect(o.message, unittest.equals('foo')); 2647 unittest.expect(o.message, unittest.equals('foo'));
2619 } 2648 }
2620 buildCounterStatus--; 2649 buildCounterStatus--;
2621 } 2650 }
2622 2651
2623 buildUnnamed3411() { 2652 buildUnnamed3119() {
2624 var o = new core.Map<core.String, core.Object>(); 2653 var o = new core.Map<core.String, core.Object>();
2625 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2654 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2626 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2655 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2627 return o; 2656 return o;
2628 } 2657 }
2629 2658
2630 checkUnnamed3411(core.Map<core.String, core.Object> o) { 2659 checkUnnamed3119(core.Map<core.String, core.Object> o) {
2631 unittest.expect(o, unittest.hasLength(2)); 2660 unittest.expect(o, unittest.hasLength(2));
2632 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')); 2661 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'));
2633 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')); 2662 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'));
2634 } 2663 }
2635 2664
2636 core.int buildCounterStep = 0; 2665 core.int buildCounterStep = 0;
2637 buildStep() { 2666 buildStep() {
2638 var o = new api.Step(); 2667 var o = new api.Step();
2639 buildCounterStep++; 2668 buildCounterStep++;
2640 if (buildCounterStep < 3) { 2669 if (buildCounterStep < 3) {
2641 o.kind = "foo"; 2670 o.kind = "foo";
2642 o.name = "foo"; 2671 o.name = "foo";
2643 o.properties = buildUnnamed3411(); 2672 o.properties = buildUnnamed3119();
2644 } 2673 }
2645 buildCounterStep--; 2674 buildCounterStep--;
2646 return o; 2675 return o;
2647 } 2676 }
2648 2677
2649 checkStep(api.Step o) { 2678 checkStep(api.Step o) {
2650 buildCounterStep++; 2679 buildCounterStep++;
2651 if (buildCounterStep < 3) { 2680 if (buildCounterStep < 3) {
2652 unittest.expect(o.kind, unittest.equals('foo')); 2681 unittest.expect(o.kind, unittest.equals('foo'));
2653 unittest.expect(o.name, unittest.equals('foo')); 2682 unittest.expect(o.name, unittest.equals('foo'));
2654 checkUnnamed3411(o.properties); 2683 checkUnnamed3119(o.properties);
2655 } 2684 }
2656 buildCounterStep--; 2685 buildCounterStep--;
2657 } 2686 }
2658 2687
2659 core.int buildCounterStreamLocation = 0; 2688 core.int buildCounterStreamLocation = 0;
2660 buildStreamLocation() { 2689 buildStreamLocation() {
2661 var o = new api.StreamLocation(); 2690 var o = new api.StreamLocation();
2662 buildCounterStreamLocation++; 2691 buildCounterStreamLocation++;
2663 if (buildCounterStreamLocation < 3) { 2692 if (buildCounterStreamLocation < 3) {
2664 o.customSourceLocation = buildCustomSourceLocation(); 2693 o.customSourceLocation = buildCustomSourceLocation();
2665 o.pubsubLocation = buildPubsubLocation(); 2694 o.pubsubLocation = buildPubsubLocation();
2666 o.sideInputLocation = buildStreamingSideInputLocation(); 2695 o.sideInputLocation = buildStreamingSideInputLocation();
2667 o.streamingStageLocation = buildStreamingStageLocation(); 2696 o.streamingStageLocation = buildStreamingStageLocation();
2668 } 2697 }
2669 buildCounterStreamLocation--; 2698 buildCounterStreamLocation--;
2670 return o; 2699 return o;
2671 } 2700 }
2672 2701
2673 checkStreamLocation(api.StreamLocation o) { 2702 checkStreamLocation(api.StreamLocation o) {
2674 buildCounterStreamLocation++; 2703 buildCounterStreamLocation++;
2675 if (buildCounterStreamLocation < 3) { 2704 if (buildCounterStreamLocation < 3) {
2676 checkCustomSourceLocation(o.customSourceLocation); 2705 checkCustomSourceLocation(o.customSourceLocation);
2677 checkPubsubLocation(o.pubsubLocation); 2706 checkPubsubLocation(o.pubsubLocation);
2678 checkStreamingSideInputLocation(o.sideInputLocation); 2707 checkStreamingSideInputLocation(o.sideInputLocation);
2679 checkStreamingStageLocation(o.streamingStageLocation); 2708 checkStreamingStageLocation(o.streamingStageLocation);
2680 } 2709 }
2681 buildCounterStreamLocation--; 2710 buildCounterStreamLocation--;
2682 } 2711 }
2683 2712
2684 buildUnnamed3412() { 2713 buildUnnamed3120() {
2685 var o = new core.List<api.ParallelInstruction>(); 2714 var o = new core.List<api.ParallelInstruction>();
2686 o.add(buildParallelInstruction()); 2715 o.add(buildParallelInstruction());
2687 o.add(buildParallelInstruction()); 2716 o.add(buildParallelInstruction());
2688 return o; 2717 return o;
2689 } 2718 }
2690 2719
2691 checkUnnamed3412(core.List<api.ParallelInstruction> o) { 2720 checkUnnamed3120(core.List<api.ParallelInstruction> o) {
2692 unittest.expect(o, unittest.hasLength(2)); 2721 unittest.expect(o, unittest.hasLength(2));
2693 checkParallelInstruction(o[0]); 2722 checkParallelInstruction(o[0]);
2694 checkParallelInstruction(o[1]); 2723 checkParallelInstruction(o[1]);
2695 } 2724 }
2696 2725
2697 core.int buildCounterStreamingComputationConfig = 0; 2726 core.int buildCounterStreamingComputationConfig = 0;
2698 buildStreamingComputationConfig() { 2727 buildStreamingComputationConfig() {
2699 var o = new api.StreamingComputationConfig(); 2728 var o = new api.StreamingComputationConfig();
2700 buildCounterStreamingComputationConfig++; 2729 buildCounterStreamingComputationConfig++;
2701 if (buildCounterStreamingComputationConfig < 3) { 2730 if (buildCounterStreamingComputationConfig < 3) {
2702 o.computationId = "foo"; 2731 o.computationId = "foo";
2703 o.instructions = buildUnnamed3412(); 2732 o.instructions = buildUnnamed3120();
2704 o.stageName = "foo"; 2733 o.stageName = "foo";
2705 o.systemName = "foo"; 2734 o.systemName = "foo";
2706 } 2735 }
2707 buildCounterStreamingComputationConfig--; 2736 buildCounterStreamingComputationConfig--;
2708 return o; 2737 return o;
2709 } 2738 }
2710 2739
2711 checkStreamingComputationConfig(api.StreamingComputationConfig o) { 2740 checkStreamingComputationConfig(api.StreamingComputationConfig o) {
2712 buildCounterStreamingComputationConfig++; 2741 buildCounterStreamingComputationConfig++;
2713 if (buildCounterStreamingComputationConfig < 3) { 2742 if (buildCounterStreamingComputationConfig < 3) {
2714 unittest.expect(o.computationId, unittest.equals('foo')); 2743 unittest.expect(o.computationId, unittest.equals('foo'));
2715 checkUnnamed3412(o.instructions); 2744 checkUnnamed3120(o.instructions);
2716 unittest.expect(o.stageName, unittest.equals('foo')); 2745 unittest.expect(o.stageName, unittest.equals('foo'));
2717 unittest.expect(o.systemName, unittest.equals('foo')); 2746 unittest.expect(o.systemName, unittest.equals('foo'));
2718 } 2747 }
2719 buildCounterStreamingComputationConfig--; 2748 buildCounterStreamingComputationConfig--;
2720 } 2749 }
2721 2750
2722 buildUnnamed3413() { 2751 buildUnnamed3121() {
2723 var o = new core.List<api.KeyRangeDataDiskAssignment>(); 2752 var o = new core.List<api.KeyRangeDataDiskAssignment>();
2724 o.add(buildKeyRangeDataDiskAssignment()); 2753 o.add(buildKeyRangeDataDiskAssignment());
2725 o.add(buildKeyRangeDataDiskAssignment()); 2754 o.add(buildKeyRangeDataDiskAssignment());
2726 return o; 2755 return o;
2727 } 2756 }
2728 2757
2729 checkUnnamed3413(core.List<api.KeyRangeDataDiskAssignment> o) { 2758 checkUnnamed3121(core.List<api.KeyRangeDataDiskAssignment> o) {
2730 unittest.expect(o, unittest.hasLength(2)); 2759 unittest.expect(o, unittest.hasLength(2));
2731 checkKeyRangeDataDiskAssignment(o[0]); 2760 checkKeyRangeDataDiskAssignment(o[0]);
2732 checkKeyRangeDataDiskAssignment(o[1]); 2761 checkKeyRangeDataDiskAssignment(o[1]);
2733 } 2762 }
2734 2763
2735 core.int buildCounterStreamingComputationRanges = 0; 2764 core.int buildCounterStreamingComputationRanges = 0;
2736 buildStreamingComputationRanges() { 2765 buildStreamingComputationRanges() {
2737 var o = new api.StreamingComputationRanges(); 2766 var o = new api.StreamingComputationRanges();
2738 buildCounterStreamingComputationRanges++; 2767 buildCounterStreamingComputationRanges++;
2739 if (buildCounterStreamingComputationRanges < 3) { 2768 if (buildCounterStreamingComputationRanges < 3) {
2740 o.computationId = "foo"; 2769 o.computationId = "foo";
2741 o.rangeAssignments = buildUnnamed3413(); 2770 o.rangeAssignments = buildUnnamed3121();
2742 } 2771 }
2743 buildCounterStreamingComputationRanges--; 2772 buildCounterStreamingComputationRanges--;
2744 return o; 2773 return o;
2745 } 2774 }
2746 2775
2747 checkStreamingComputationRanges(api.StreamingComputationRanges o) { 2776 checkStreamingComputationRanges(api.StreamingComputationRanges o) {
2748 buildCounterStreamingComputationRanges++; 2777 buildCounterStreamingComputationRanges++;
2749 if (buildCounterStreamingComputationRanges < 3) { 2778 if (buildCounterStreamingComputationRanges < 3) {
2750 unittest.expect(o.computationId, unittest.equals('foo')); 2779 unittest.expect(o.computationId, unittest.equals('foo'));
2751 checkUnnamed3413(o.rangeAssignments); 2780 checkUnnamed3121(o.rangeAssignments);
2752 } 2781 }
2753 buildCounterStreamingComputationRanges--; 2782 buildCounterStreamingComputationRanges--;
2754 } 2783 }
2755 2784
2756 buildUnnamed3414() { 2785 buildUnnamed3122() {
2757 var o = new core.List<api.StreamingComputationRanges>(); 2786 var o = new core.List<api.StreamingComputationRanges>();
2758 o.add(buildStreamingComputationRanges()); 2787 o.add(buildStreamingComputationRanges());
2759 o.add(buildStreamingComputationRanges()); 2788 o.add(buildStreamingComputationRanges());
2760 return o; 2789 return o;
2761 } 2790 }
2762 2791
2763 checkUnnamed3414(core.List<api.StreamingComputationRanges> o) { 2792 checkUnnamed3122(core.List<api.StreamingComputationRanges> o) {
2764 unittest.expect(o, unittest.hasLength(2)); 2793 unittest.expect(o, unittest.hasLength(2));
2765 checkStreamingComputationRanges(o[0]); 2794 checkStreamingComputationRanges(o[0]);
2766 checkStreamingComputationRanges(o[1]); 2795 checkStreamingComputationRanges(o[1]);
2767 } 2796 }
2768 2797
2769 buildUnnamed3415() { 2798 buildUnnamed3123() {
2770 var o = new core.List<api.MountedDataDisk>(); 2799 var o = new core.List<api.MountedDataDisk>();
2771 o.add(buildMountedDataDisk()); 2800 o.add(buildMountedDataDisk());
2772 o.add(buildMountedDataDisk()); 2801 o.add(buildMountedDataDisk());
2773 return o; 2802 return o;
2774 } 2803 }
2775 2804
2776 checkUnnamed3415(core.List<api.MountedDataDisk> o) { 2805 checkUnnamed3123(core.List<api.MountedDataDisk> o) {
2777 unittest.expect(o, unittest.hasLength(2)); 2806 unittest.expect(o, unittest.hasLength(2));
2778 checkMountedDataDisk(o[0]); 2807 checkMountedDataDisk(o[0]);
2779 checkMountedDataDisk(o[1]); 2808 checkMountedDataDisk(o[1]);
2780 } 2809 }
2781 2810
2782 core.int buildCounterStreamingComputationTask = 0; 2811 core.int buildCounterStreamingComputationTask = 0;
2783 buildStreamingComputationTask() { 2812 buildStreamingComputationTask() {
2784 var o = new api.StreamingComputationTask(); 2813 var o = new api.StreamingComputationTask();
2785 buildCounterStreamingComputationTask++; 2814 buildCounterStreamingComputationTask++;
2786 if (buildCounterStreamingComputationTask < 3) { 2815 if (buildCounterStreamingComputationTask < 3) {
2787 o.computationRanges = buildUnnamed3414(); 2816 o.computationRanges = buildUnnamed3122();
2788 o.dataDisks = buildUnnamed3415(); 2817 o.dataDisks = buildUnnamed3123();
2789 o.taskType = "foo"; 2818 o.taskType = "foo";
2790 } 2819 }
2791 buildCounterStreamingComputationTask--; 2820 buildCounterStreamingComputationTask--;
2792 return o; 2821 return o;
2793 } 2822 }
2794 2823
2795 checkStreamingComputationTask(api.StreamingComputationTask o) { 2824 checkStreamingComputationTask(api.StreamingComputationTask o) {
2796 buildCounterStreamingComputationTask++; 2825 buildCounterStreamingComputationTask++;
2797 if (buildCounterStreamingComputationTask < 3) { 2826 if (buildCounterStreamingComputationTask < 3) {
2798 checkUnnamed3414(o.computationRanges); 2827 checkUnnamed3122(o.computationRanges);
2799 checkUnnamed3415(o.dataDisks); 2828 checkUnnamed3123(o.dataDisks);
2800 unittest.expect(o.taskType, unittest.equals('foo')); 2829 unittest.expect(o.taskType, unittest.equals('foo'));
2801 } 2830 }
2802 buildCounterStreamingComputationTask--; 2831 buildCounterStreamingComputationTask--;
2803 } 2832 }
2804 2833
2805 buildUnnamed3416() { 2834 buildUnnamed3124() {
2806 var o = new core.List<api.StreamingComputationConfig>(); 2835 var o = new core.List<api.StreamingComputationConfig>();
2807 o.add(buildStreamingComputationConfig()); 2836 o.add(buildStreamingComputationConfig());
2808 o.add(buildStreamingComputationConfig()); 2837 o.add(buildStreamingComputationConfig());
2809 return o; 2838 return o;
2810 } 2839 }
2811 2840
2812 checkUnnamed3416(core.List<api.StreamingComputationConfig> o) { 2841 checkUnnamed3124(core.List<api.StreamingComputationConfig> o) {
2813 unittest.expect(o, unittest.hasLength(2)); 2842 unittest.expect(o, unittest.hasLength(2));
2814 checkStreamingComputationConfig(o[0]); 2843 checkStreamingComputationConfig(o[0]);
2815 checkStreamingComputationConfig(o[1]); 2844 checkStreamingComputationConfig(o[1]);
2816 } 2845 }
2817 2846
2818 buildUnnamed3417() { 2847 buildUnnamed3125() {
2819 var o = new core.Map<core.String, core.String>(); 2848 var o = new core.Map<core.String, core.String>();
2820 o["x"] = "foo"; 2849 o["x"] = "foo";
2821 o["y"] = "foo"; 2850 o["y"] = "foo";
2822 return o; 2851 return o;
2823 } 2852 }
2824 2853
2825 checkUnnamed3417(core.Map<core.String, core.String> o) { 2854 checkUnnamed3125(core.Map<core.String, core.String> o) {
2826 unittest.expect(o, unittest.hasLength(2)); 2855 unittest.expect(o, unittest.hasLength(2));
2827 unittest.expect(o["x"], unittest.equals('foo')); 2856 unittest.expect(o["x"], unittest.equals('foo'));
2828 unittest.expect(o["y"], unittest.equals('foo')); 2857 unittest.expect(o["y"], unittest.equals('foo'));
2829 } 2858 }
2830 2859
2831 core.int buildCounterStreamingConfigTask = 0; 2860 core.int buildCounterStreamingConfigTask = 0;
2832 buildStreamingConfigTask() { 2861 buildStreamingConfigTask() {
2833 var o = new api.StreamingConfigTask(); 2862 var o = new api.StreamingConfigTask();
2834 buildCounterStreamingConfigTask++; 2863 buildCounterStreamingConfigTask++;
2835 if (buildCounterStreamingConfigTask < 3) { 2864 if (buildCounterStreamingConfigTask < 3) {
2836 o.streamingComputationConfigs = buildUnnamed3416(); 2865 o.streamingComputationConfigs = buildUnnamed3124();
2837 o.userStepToStateFamilyNameMap = buildUnnamed3417(); 2866 o.userStepToStateFamilyNameMap = buildUnnamed3125();
2838 } 2867 }
2839 buildCounterStreamingConfigTask--; 2868 buildCounterStreamingConfigTask--;
2840 return o; 2869 return o;
2841 } 2870 }
2842 2871
2843 checkStreamingConfigTask(api.StreamingConfigTask o) { 2872 checkStreamingConfigTask(api.StreamingConfigTask o) {
2844 buildCounterStreamingConfigTask++; 2873 buildCounterStreamingConfigTask++;
2845 if (buildCounterStreamingConfigTask < 3) { 2874 if (buildCounterStreamingConfigTask < 3) {
2846 checkUnnamed3416(o.streamingComputationConfigs); 2875 checkUnnamed3124(o.streamingComputationConfigs);
2847 checkUnnamed3417(o.userStepToStateFamilyNameMap); 2876 checkUnnamed3125(o.userStepToStateFamilyNameMap);
2848 } 2877 }
2849 buildCounterStreamingConfigTask--; 2878 buildCounterStreamingConfigTask--;
2850 } 2879 }
2851 2880
2852 core.int buildCounterStreamingSetupTask = 0; 2881 core.int buildCounterStreamingSetupTask = 0;
2853 buildStreamingSetupTask() { 2882 buildStreamingSetupTask() {
2854 var o = new api.StreamingSetupTask(); 2883 var o = new api.StreamingSetupTask();
2855 buildCounterStreamingSetupTask++; 2884 buildCounterStreamingSetupTask++;
2856 if (buildCounterStreamingSetupTask < 3) { 2885 if (buildCounterStreamingSetupTask < 3) {
2857 o.drain = true; 2886 o.drain = true;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2907 } 2936 }
2908 2937
2909 checkStreamingStageLocation(api.StreamingStageLocation o) { 2938 checkStreamingStageLocation(api.StreamingStageLocation o) {
2910 buildCounterStreamingStageLocation++; 2939 buildCounterStreamingStageLocation++;
2911 if (buildCounterStreamingStageLocation < 3) { 2940 if (buildCounterStreamingStageLocation < 3) {
2912 unittest.expect(o.streamId, unittest.equals('foo')); 2941 unittest.expect(o.streamId, unittest.equals('foo'));
2913 } 2942 }
2914 buildCounterStreamingStageLocation--; 2943 buildCounterStreamingStageLocation--;
2915 } 2944 }
2916 2945
2917 buildUnnamed3418() { 2946 buildUnnamed3126() {
2918 var o = new core.List<core.String>(); 2947 var o = new core.List<core.String>();
2919 o.add("foo"); 2948 o.add("foo");
2920 o.add("foo"); 2949 o.add("foo");
2921 return o; 2950 return o;
2922 } 2951 }
2923 2952
2924 checkUnnamed3418(core.List<core.String> o) { 2953 checkUnnamed3126(core.List<core.String> o) {
2925 unittest.expect(o, unittest.hasLength(2)); 2954 unittest.expect(o, unittest.hasLength(2));
2926 unittest.expect(o[0], unittest.equals('foo')); 2955 unittest.expect(o[0], unittest.equals('foo'));
2927 unittest.expect(o[1], unittest.equals('foo')); 2956 unittest.expect(o[1], unittest.equals('foo'));
2928 } 2957 }
2929 2958
2930 core.int buildCounterStringList = 0; 2959 core.int buildCounterStringList = 0;
2931 buildStringList() { 2960 buildStringList() {
2932 var o = new api.StringList(); 2961 var o = new api.StringList();
2933 buildCounterStringList++; 2962 buildCounterStringList++;
2934 if (buildCounterStringList < 3) { 2963 if (buildCounterStringList < 3) {
2935 o.elements = buildUnnamed3418(); 2964 o.elements = buildUnnamed3126();
2936 } 2965 }
2937 buildCounterStringList--; 2966 buildCounterStringList--;
2938 return o; 2967 return o;
2939 } 2968 }
2940 2969
2941 checkStringList(api.StringList o) { 2970 checkStringList(api.StringList o) {
2942 buildCounterStringList++; 2971 buildCounterStringList++;
2943 if (buildCounterStringList < 3) { 2972 if (buildCounterStringList < 3) {
2944 checkUnnamed3418(o.elements); 2973 checkUnnamed3126(o.elements);
2945 } 2974 }
2946 buildCounterStringList--; 2975 buildCounterStringList--;
2947 } 2976 }
2948 2977
2949 buildUnnamed3419() { 2978 buildUnnamed3127() {
2950 var o = new core.List<core.String>(); 2979 var o = new core.List<core.String>();
2951 o.add("foo"); 2980 o.add("foo");
2952 o.add("foo"); 2981 o.add("foo");
2953 return o; 2982 return o;
2954 } 2983 }
2955 2984
2956 checkUnnamed3419(core.List<core.String> o) { 2985 checkUnnamed3127(core.List<core.String> o) {
2957 unittest.expect(o, unittest.hasLength(2)); 2986 unittest.expect(o, unittest.hasLength(2));
2958 unittest.expect(o[0], unittest.equals('foo')); 2987 unittest.expect(o[0], unittest.equals('foo'));
2959 unittest.expect(o[1], unittest.equals('foo')); 2988 unittest.expect(o[1], unittest.equals('foo'));
2960 } 2989 }
2961 2990
2962 core.int buildCounterTaskRunnerSettings = 0; 2991 core.int buildCounterTaskRunnerSettings = 0;
2963 buildTaskRunnerSettings() { 2992 buildTaskRunnerSettings() {
2964 var o = new api.TaskRunnerSettings(); 2993 var o = new api.TaskRunnerSettings();
2965 buildCounterTaskRunnerSettings++; 2994 buildCounterTaskRunnerSettings++;
2966 if (buildCounterTaskRunnerSettings < 3) { 2995 if (buildCounterTaskRunnerSettings < 3) {
2967 o.alsologtostderr = true; 2996 o.alsologtostderr = true;
2968 o.baseTaskDir = "foo"; 2997 o.baseTaskDir = "foo";
2969 o.baseUrl = "foo"; 2998 o.baseUrl = "foo";
2970 o.commandlinesFileName = "foo"; 2999 o.commandlinesFileName = "foo";
2971 o.continueOnException = true; 3000 o.continueOnException = true;
2972 o.dataflowApiVersion = "foo"; 3001 o.dataflowApiVersion = "foo";
2973 o.harnessCommand = "foo"; 3002 o.harnessCommand = "foo";
2974 o.languageHint = "foo"; 3003 o.languageHint = "foo";
2975 o.logDir = "foo"; 3004 o.logDir = "foo";
2976 o.logToSerialconsole = true; 3005 o.logToSerialconsole = true;
2977 o.logUploadLocation = "foo"; 3006 o.logUploadLocation = "foo";
2978 o.oauthScopes = buildUnnamed3419(); 3007 o.oauthScopes = buildUnnamed3127();
2979 o.parallelWorkerSettings = buildWorkerSettings(); 3008 o.parallelWorkerSettings = buildWorkerSettings();
2980 o.streamingWorkerMainClass = "foo"; 3009 o.streamingWorkerMainClass = "foo";
2981 o.taskGroup = "foo"; 3010 o.taskGroup = "foo";
2982 o.taskUser = "foo"; 3011 o.taskUser = "foo";
2983 o.tempStoragePrefix = "foo"; 3012 o.tempStoragePrefix = "foo";
2984 o.vmId = "foo"; 3013 o.vmId = "foo";
2985 o.workflowFileName = "foo"; 3014 o.workflowFileName = "foo";
2986 } 3015 }
2987 buildCounterTaskRunnerSettings--; 3016 buildCounterTaskRunnerSettings--;
2988 return o; 3017 return o;
2989 } 3018 }
2990 3019
2991 checkTaskRunnerSettings(api.TaskRunnerSettings o) { 3020 checkTaskRunnerSettings(api.TaskRunnerSettings o) {
2992 buildCounterTaskRunnerSettings++; 3021 buildCounterTaskRunnerSettings++;
2993 if (buildCounterTaskRunnerSettings < 3) { 3022 if (buildCounterTaskRunnerSettings < 3) {
2994 unittest.expect(o.alsologtostderr, unittest.isTrue); 3023 unittest.expect(o.alsologtostderr, unittest.isTrue);
2995 unittest.expect(o.baseTaskDir, unittest.equals('foo')); 3024 unittest.expect(o.baseTaskDir, unittest.equals('foo'));
2996 unittest.expect(o.baseUrl, unittest.equals('foo')); 3025 unittest.expect(o.baseUrl, unittest.equals('foo'));
2997 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); 3026 unittest.expect(o.commandlinesFileName, unittest.equals('foo'));
2998 unittest.expect(o.continueOnException, unittest.isTrue); 3027 unittest.expect(o.continueOnException, unittest.isTrue);
2999 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); 3028 unittest.expect(o.dataflowApiVersion, unittest.equals('foo'));
3000 unittest.expect(o.harnessCommand, unittest.equals('foo')); 3029 unittest.expect(o.harnessCommand, unittest.equals('foo'));
3001 unittest.expect(o.languageHint, unittest.equals('foo')); 3030 unittest.expect(o.languageHint, unittest.equals('foo'));
3002 unittest.expect(o.logDir, unittest.equals('foo')); 3031 unittest.expect(o.logDir, unittest.equals('foo'));
3003 unittest.expect(o.logToSerialconsole, unittest.isTrue); 3032 unittest.expect(o.logToSerialconsole, unittest.isTrue);
3004 unittest.expect(o.logUploadLocation, unittest.equals('foo')); 3033 unittest.expect(o.logUploadLocation, unittest.equals('foo'));
3005 checkUnnamed3419(o.oauthScopes); 3034 checkUnnamed3127(o.oauthScopes);
3006 checkWorkerSettings(o.parallelWorkerSettings); 3035 checkWorkerSettings(o.parallelWorkerSettings);
3007 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); 3036 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
3008 unittest.expect(o.taskGroup, unittest.equals('foo')); 3037 unittest.expect(o.taskGroup, unittest.equals('foo'));
3009 unittest.expect(o.taskUser, unittest.equals('foo')); 3038 unittest.expect(o.taskUser, unittest.equals('foo'));
3010 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 3039 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
3011 unittest.expect(o.vmId, unittest.equals('foo')); 3040 unittest.expect(o.vmId, unittest.equals('foo'));
3012 unittest.expect(o.workflowFileName, unittest.equals('foo')); 3041 unittest.expect(o.workflowFileName, unittest.equals('foo'));
3013 } 3042 }
3014 buildCounterTaskRunnerSettings--; 3043 buildCounterTaskRunnerSettings--;
3015 } 3044 }
3016 3045
3017 buildUnnamed3420() { 3046 buildUnnamed3128() {
3018 var o = new core.List<api.ComputationTopology>(); 3047 var o = new core.List<api.ComputationTopology>();
3019 o.add(buildComputationTopology()); 3048 o.add(buildComputationTopology());
3020 o.add(buildComputationTopology()); 3049 o.add(buildComputationTopology());
3021 return o; 3050 return o;
3022 } 3051 }
3023 3052
3024 checkUnnamed3420(core.List<api.ComputationTopology> o) { 3053 checkUnnamed3128(core.List<api.ComputationTopology> o) {
3025 unittest.expect(o, unittest.hasLength(2)); 3054 unittest.expect(o, unittest.hasLength(2));
3026 checkComputationTopology(o[0]); 3055 checkComputationTopology(o[0]);
3027 checkComputationTopology(o[1]); 3056 checkComputationTopology(o[1]);
3028 } 3057 }
3029 3058
3030 buildUnnamed3421() { 3059 buildUnnamed3129() {
3031 var o = new core.List<api.DataDiskAssignment>(); 3060 var o = new core.List<api.DataDiskAssignment>();
3032 o.add(buildDataDiskAssignment()); 3061 o.add(buildDataDiskAssignment());
3033 o.add(buildDataDiskAssignment()); 3062 o.add(buildDataDiskAssignment());
3034 return o; 3063 return o;
3035 } 3064 }
3036 3065
3037 checkUnnamed3421(core.List<api.DataDiskAssignment> o) { 3066 checkUnnamed3129(core.List<api.DataDiskAssignment> o) {
3038 unittest.expect(o, unittest.hasLength(2)); 3067 unittest.expect(o, unittest.hasLength(2));
3039 checkDataDiskAssignment(o[0]); 3068 checkDataDiskAssignment(o[0]);
3040 checkDataDiskAssignment(o[1]); 3069 checkDataDiskAssignment(o[1]);
3041 } 3070 }
3042 3071
3043 buildUnnamed3422() { 3072 buildUnnamed3130() {
3044 var o = new core.Map<core.String, core.String>(); 3073 var o = new core.Map<core.String, core.String>();
3045 o["x"] = "foo"; 3074 o["x"] = "foo";
3046 o["y"] = "foo"; 3075 o["y"] = "foo";
3047 return o; 3076 return o;
3048 } 3077 }
3049 3078
3050 checkUnnamed3422(core.Map<core.String, core.String> o) { 3079 checkUnnamed3130(core.Map<core.String, core.String> o) {
3051 unittest.expect(o, unittest.hasLength(2)); 3080 unittest.expect(o, unittest.hasLength(2));
3052 unittest.expect(o["x"], unittest.equals('foo')); 3081 unittest.expect(o["x"], unittest.equals('foo'));
3053 unittest.expect(o["y"], unittest.equals('foo')); 3082 unittest.expect(o["y"], unittest.equals('foo'));
3054 } 3083 }
3055 3084
3056 core.int buildCounterTopologyConfig = 0; 3085 core.int buildCounterTopologyConfig = 0;
3057 buildTopologyConfig() { 3086 buildTopologyConfig() {
3058 var o = new api.TopologyConfig(); 3087 var o = new api.TopologyConfig();
3059 buildCounterTopologyConfig++; 3088 buildCounterTopologyConfig++;
3060 if (buildCounterTopologyConfig < 3) { 3089 if (buildCounterTopologyConfig < 3) {
3061 o.computations = buildUnnamed3420(); 3090 o.computations = buildUnnamed3128();
3062 o.dataDiskAssignments = buildUnnamed3421(); 3091 o.dataDiskAssignments = buildUnnamed3129();
3063 o.forwardingKeyBits = 42; 3092 o.forwardingKeyBits = 42;
3064 o.persistentStateVersion = 42; 3093 o.persistentStateVersion = 42;
3065 o.userStageToComputationNameMap = buildUnnamed3422(); 3094 o.userStageToComputationNameMap = buildUnnamed3130();
3066 } 3095 }
3067 buildCounterTopologyConfig--; 3096 buildCounterTopologyConfig--;
3068 return o; 3097 return o;
3069 } 3098 }
3070 3099
3071 checkTopologyConfig(api.TopologyConfig o) { 3100 checkTopologyConfig(api.TopologyConfig o) {
3072 buildCounterTopologyConfig++; 3101 buildCounterTopologyConfig++;
3073 if (buildCounterTopologyConfig < 3) { 3102 if (buildCounterTopologyConfig < 3) {
3074 checkUnnamed3420(o.computations); 3103 checkUnnamed3128(o.computations);
3075 checkUnnamed3421(o.dataDiskAssignments); 3104 checkUnnamed3129(o.dataDiskAssignments);
3076 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); 3105 unittest.expect(o.forwardingKeyBits, unittest.equals(42));
3077 unittest.expect(o.persistentStateVersion, unittest.equals(42)); 3106 unittest.expect(o.persistentStateVersion, unittest.equals(42));
3078 checkUnnamed3422(o.userStageToComputationNameMap); 3107 checkUnnamed3130(o.userStageToComputationNameMap);
3079 } 3108 }
3080 buildCounterTopologyConfig--; 3109 buildCounterTopologyConfig--;
3081 } 3110 }
3082 3111
3083 buildUnnamed3423() { 3112 buildUnnamed3131() {
3084 var o = new core.List<api.Package>(); 3113 var o = new core.List<api.Package>();
3085 o.add(buildPackage()); 3114 o.add(buildPackage());
3086 o.add(buildPackage()); 3115 o.add(buildPackage());
3087 return o; 3116 return o;
3088 } 3117 }
3089 3118
3090 checkUnnamed3423(core.List<api.Package> o) { 3119 checkUnnamed3131(core.List<api.Package> o) {
3091 unittest.expect(o, unittest.hasLength(2)); 3120 unittest.expect(o, unittest.hasLength(2));
3092 checkPackage(o[0]); 3121 checkPackage(o[0]);
3093 checkPackage(o[1]); 3122 checkPackage(o[1]);
3094 } 3123 }
3095 3124
3096 core.int buildCounterWorkItem = 0; 3125 core.int buildCounterWorkItem = 0;
3097 buildWorkItem() { 3126 buildWorkItem() {
3098 var o = new api.WorkItem(); 3127 var o = new api.WorkItem();
3099 buildCounterWorkItem++; 3128 buildCounterWorkItem++;
3100 if (buildCounterWorkItem < 3) { 3129 if (buildCounterWorkItem < 3) {
3101 o.configuration = "foo"; 3130 o.configuration = "foo";
3102 o.id = "foo"; 3131 o.id = "foo";
3103 o.initialReportIndex = "foo"; 3132 o.initialReportIndex = "foo";
3104 o.jobId = "foo"; 3133 o.jobId = "foo";
3105 o.leaseExpireTime = "foo"; 3134 o.leaseExpireTime = "foo";
3106 o.mapTask = buildMapTask(); 3135 o.mapTask = buildMapTask();
3107 o.packages = buildUnnamed3423(); 3136 o.packages = buildUnnamed3131();
3108 o.projectId = "foo"; 3137 o.projectId = "foo";
3109 o.reportStatusInterval = "foo"; 3138 o.reportStatusInterval = "foo";
3110 o.seqMapTask = buildSeqMapTask(); 3139 o.seqMapTask = buildSeqMapTask();
3111 o.shellTask = buildShellTask(); 3140 o.shellTask = buildShellTask();
3112 o.sourceOperationTask = buildSourceOperationRequest(); 3141 o.sourceOperationTask = buildSourceOperationRequest();
3113 o.streamingComputationTask = buildStreamingComputationTask(); 3142 o.streamingComputationTask = buildStreamingComputationTask();
3114 o.streamingConfigTask = buildStreamingConfigTask(); 3143 o.streamingConfigTask = buildStreamingConfigTask();
3115 o.streamingSetupTask = buildStreamingSetupTask(); 3144 o.streamingSetupTask = buildStreamingSetupTask();
3116 } 3145 }
3117 buildCounterWorkItem--; 3146 buildCounterWorkItem--;
3118 return o; 3147 return o;
3119 } 3148 }
3120 3149
3121 checkWorkItem(api.WorkItem o) { 3150 checkWorkItem(api.WorkItem o) {
3122 buildCounterWorkItem++; 3151 buildCounterWorkItem++;
3123 if (buildCounterWorkItem < 3) { 3152 if (buildCounterWorkItem < 3) {
3124 unittest.expect(o.configuration, unittest.equals('foo')); 3153 unittest.expect(o.configuration, unittest.equals('foo'));
3125 unittest.expect(o.id, unittest.equals('foo')); 3154 unittest.expect(o.id, unittest.equals('foo'));
3126 unittest.expect(o.initialReportIndex, unittest.equals('foo')); 3155 unittest.expect(o.initialReportIndex, unittest.equals('foo'));
3127 unittest.expect(o.jobId, unittest.equals('foo')); 3156 unittest.expect(o.jobId, unittest.equals('foo'));
3128 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 3157 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
3129 checkMapTask(o.mapTask); 3158 checkMapTask(o.mapTask);
3130 checkUnnamed3423(o.packages); 3159 checkUnnamed3131(o.packages);
3131 unittest.expect(o.projectId, unittest.equals('foo')); 3160 unittest.expect(o.projectId, unittest.equals('foo'));
3132 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 3161 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
3133 checkSeqMapTask(o.seqMapTask); 3162 checkSeqMapTask(o.seqMapTask);
3134 checkShellTask(o.shellTask); 3163 checkShellTask(o.shellTask);
3135 checkSourceOperationRequest(o.sourceOperationTask); 3164 checkSourceOperationRequest(o.sourceOperationTask);
3136 checkStreamingComputationTask(o.streamingComputationTask); 3165 checkStreamingComputationTask(o.streamingComputationTask);
3137 checkStreamingConfigTask(o.streamingConfigTask); 3166 checkStreamingConfigTask(o.streamingConfigTask);
3138 checkStreamingSetupTask(o.streamingSetupTask); 3167 checkStreamingSetupTask(o.streamingSetupTask);
3139 } 3168 }
3140 buildCounterWorkItem--; 3169 buildCounterWorkItem--;
3141 } 3170 }
3142 3171
3143 buildUnnamed3424() { 3172 buildUnnamed3132() {
3144 var o = new core.Map<core.String, core.Object>(); 3173 var o = new core.Map<core.String, core.Object>();
3145 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3174 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3146 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3175 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3147 return o; 3176 return o;
3148 } 3177 }
3149 3178
3150 checkUnnamed3424(core.Map<core.String, core.Object> o) { 3179 checkUnnamed3132(core.Map<core.String, core.Object> o) {
3151 unittest.expect(o, unittest.hasLength(2)); 3180 unittest.expect(o, unittest.hasLength(2));
3152 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')); 3181 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'));
3153 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')); 3182 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'));
3154 } 3183 }
3155 3184
3156 buildUnnamed3425() { 3185 buildUnnamed3133() {
3157 var o = new core.List<api.MetricShortId>(); 3186 var o = new core.List<api.MetricShortId>();
3158 o.add(buildMetricShortId()); 3187 o.add(buildMetricShortId());
3159 o.add(buildMetricShortId()); 3188 o.add(buildMetricShortId());
3160 return o; 3189 return o;
3161 } 3190 }
3162 3191
3163 checkUnnamed3425(core.List<api.MetricShortId> o) { 3192 checkUnnamed3133(core.List<api.MetricShortId> o) {
3164 unittest.expect(o, unittest.hasLength(2)); 3193 unittest.expect(o, unittest.hasLength(2));
3165 checkMetricShortId(o[0]); 3194 checkMetricShortId(o[0]);
3166 checkMetricShortId(o[1]); 3195 checkMetricShortId(o[1]);
3167 } 3196 }
3168 3197
3169 core.int buildCounterWorkItemServiceState = 0; 3198 core.int buildCounterWorkItemServiceState = 0;
3170 buildWorkItemServiceState() { 3199 buildWorkItemServiceState() {
3171 var o = new api.WorkItemServiceState(); 3200 var o = new api.WorkItemServiceState();
3172 buildCounterWorkItemServiceState++; 3201 buildCounterWorkItemServiceState++;
3173 if (buildCounterWorkItemServiceState < 3) { 3202 if (buildCounterWorkItemServiceState < 3) {
3174 o.harnessData = buildUnnamed3424(); 3203 o.harnessData = buildUnnamed3132();
3175 o.leaseExpireTime = "foo"; 3204 o.leaseExpireTime = "foo";
3176 o.metricShortId = buildUnnamed3425(); 3205 o.metricShortId = buildUnnamed3133();
3177 o.nextReportIndex = "foo"; 3206 o.nextReportIndex = "foo";
3178 o.reportStatusInterval = "foo"; 3207 o.reportStatusInterval = "foo";
3179 o.splitRequest = buildApproximateSplitRequest(); 3208 o.splitRequest = buildApproximateSplitRequest();
3180 o.suggestedStopPoint = buildApproximateProgress(); 3209 o.suggestedStopPoint = buildApproximateProgress();
3181 o.suggestedStopPosition = buildPosition(); 3210 o.suggestedStopPosition = buildPosition();
3182 } 3211 }
3183 buildCounterWorkItemServiceState--; 3212 buildCounterWorkItemServiceState--;
3184 return o; 3213 return o;
3185 } 3214 }
3186 3215
3187 checkWorkItemServiceState(api.WorkItemServiceState o) { 3216 checkWorkItemServiceState(api.WorkItemServiceState o) {
3188 buildCounterWorkItemServiceState++; 3217 buildCounterWorkItemServiceState++;
3189 if (buildCounterWorkItemServiceState < 3) { 3218 if (buildCounterWorkItemServiceState < 3) {
3190 checkUnnamed3424(o.harnessData); 3219 checkUnnamed3132(o.harnessData);
3191 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 3220 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
3192 checkUnnamed3425(o.metricShortId); 3221 checkUnnamed3133(o.metricShortId);
3193 unittest.expect(o.nextReportIndex, unittest.equals('foo')); 3222 unittest.expect(o.nextReportIndex, unittest.equals('foo'));
3194 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 3223 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
3195 checkApproximateSplitRequest(o.splitRequest); 3224 checkApproximateSplitRequest(o.splitRequest);
3196 checkApproximateProgress(o.suggestedStopPoint); 3225 checkApproximateProgress(o.suggestedStopPoint);
3197 checkPosition(o.suggestedStopPosition); 3226 checkPosition(o.suggestedStopPosition);
3198 } 3227 }
3199 buildCounterWorkItemServiceState--; 3228 buildCounterWorkItemServiceState--;
3200 } 3229 }
3201 3230
3202 buildUnnamed3426() { 3231 buildUnnamed3134() {
3203 var o = new core.List<api.CounterUpdate>(); 3232 var o = new core.List<api.CounterUpdate>();
3204 o.add(buildCounterUpdate()); 3233 o.add(buildCounterUpdate());
3205 o.add(buildCounterUpdate()); 3234 o.add(buildCounterUpdate());
3206 return o; 3235 return o;
3207 } 3236 }
3208 3237
3209 checkUnnamed3426(core.List<api.CounterUpdate> o) { 3238 checkUnnamed3134(core.List<api.CounterUpdate> o) {
3210 unittest.expect(o, unittest.hasLength(2)); 3239 unittest.expect(o, unittest.hasLength(2));
3211 checkCounterUpdate(o[0]); 3240 checkCounterUpdate(o[0]);
3212 checkCounterUpdate(o[1]); 3241 checkCounterUpdate(o[1]);
3213 } 3242 }
3214 3243
3215 buildUnnamed3427() { 3244 buildUnnamed3135() {
3216 var o = new core.List<api.Status>(); 3245 var o = new core.List<api.Status>();
3217 o.add(buildStatus()); 3246 o.add(buildStatus());
3218 o.add(buildStatus()); 3247 o.add(buildStatus());
3219 return o; 3248 return o;
3220 } 3249 }
3221 3250
3222 checkUnnamed3427(core.List<api.Status> o) { 3251 checkUnnamed3135(core.List<api.Status> o) {
3223 unittest.expect(o, unittest.hasLength(2)); 3252 unittest.expect(o, unittest.hasLength(2));
3224 checkStatus(o[0]); 3253 checkStatus(o[0]);
3225 checkStatus(o[1]); 3254 checkStatus(o[1]);
3226 } 3255 }
3227 3256
3228 buildUnnamed3428() { 3257 buildUnnamed3136() {
3229 var o = new core.List<api.MetricUpdate>(); 3258 var o = new core.List<api.MetricUpdate>();
3230 o.add(buildMetricUpdate()); 3259 o.add(buildMetricUpdate());
3231 o.add(buildMetricUpdate()); 3260 o.add(buildMetricUpdate());
3232 return o; 3261 return o;
3233 } 3262 }
3234 3263
3235 checkUnnamed3428(core.List<api.MetricUpdate> o) { 3264 checkUnnamed3136(core.List<api.MetricUpdate> o) {
3236 unittest.expect(o, unittest.hasLength(2)); 3265 unittest.expect(o, unittest.hasLength(2));
3237 checkMetricUpdate(o[0]); 3266 checkMetricUpdate(o[0]);
3238 checkMetricUpdate(o[1]); 3267 checkMetricUpdate(o[1]);
3239 } 3268 }
3240 3269
3241 core.int buildCounterWorkItemStatus = 0; 3270 core.int buildCounterWorkItemStatus = 0;
3242 buildWorkItemStatus() { 3271 buildWorkItemStatus() {
3243 var o = new api.WorkItemStatus(); 3272 var o = new api.WorkItemStatus();
3244 buildCounterWorkItemStatus++; 3273 buildCounterWorkItemStatus++;
3245 if (buildCounterWorkItemStatus < 3) { 3274 if (buildCounterWorkItemStatus < 3) {
3246 o.completed = true; 3275 o.completed = true;
3247 o.counterUpdates = buildUnnamed3426(); 3276 o.counterUpdates = buildUnnamed3134();
3248 o.dynamicSourceSplit = buildDynamicSourceSplit(); 3277 o.dynamicSourceSplit = buildDynamicSourceSplit();
3249 o.errors = buildUnnamed3427(); 3278 o.errors = buildUnnamed3135();
3250 o.metricUpdates = buildUnnamed3428(); 3279 o.metricUpdates = buildUnnamed3136();
3251 o.progress = buildApproximateProgress(); 3280 o.progress = buildApproximateProgress();
3252 o.reportIndex = "foo"; 3281 o.reportIndex = "foo";
3253 o.reportedProgress = buildApproximateReportedProgress(); 3282 o.reportedProgress = buildApproximateReportedProgress();
3254 o.requestedLeaseDuration = "foo"; 3283 o.requestedLeaseDuration = "foo";
3255 o.sourceFork = buildSourceFork(); 3284 o.sourceFork = buildSourceFork();
3256 o.sourceOperationResponse = buildSourceOperationResponse(); 3285 o.sourceOperationResponse = buildSourceOperationResponse();
3257 o.stopPosition = buildPosition(); 3286 o.stopPosition = buildPosition();
3258 o.workItemId = "foo"; 3287 o.workItemId = "foo";
3259 } 3288 }
3260 buildCounterWorkItemStatus--; 3289 buildCounterWorkItemStatus--;
3261 return o; 3290 return o;
3262 } 3291 }
3263 3292
3264 checkWorkItemStatus(api.WorkItemStatus o) { 3293 checkWorkItemStatus(api.WorkItemStatus o) {
3265 buildCounterWorkItemStatus++; 3294 buildCounterWorkItemStatus++;
3266 if (buildCounterWorkItemStatus < 3) { 3295 if (buildCounterWorkItemStatus < 3) {
3267 unittest.expect(o.completed, unittest.isTrue); 3296 unittest.expect(o.completed, unittest.isTrue);
3268 checkUnnamed3426(o.counterUpdates); 3297 checkUnnamed3134(o.counterUpdates);
3269 checkDynamicSourceSplit(o.dynamicSourceSplit); 3298 checkDynamicSourceSplit(o.dynamicSourceSplit);
3270 checkUnnamed3427(o.errors); 3299 checkUnnamed3135(o.errors);
3271 checkUnnamed3428(o.metricUpdates); 3300 checkUnnamed3136(o.metricUpdates);
3272 checkApproximateProgress(o.progress); 3301 checkApproximateProgress(o.progress);
3273 unittest.expect(o.reportIndex, unittest.equals('foo')); 3302 unittest.expect(o.reportIndex, unittest.equals('foo'));
3274 checkApproximateReportedProgress(o.reportedProgress); 3303 checkApproximateReportedProgress(o.reportedProgress);
3275 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 3304 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
3276 checkSourceFork(o.sourceFork); 3305 checkSourceFork(o.sourceFork);
3277 checkSourceOperationResponse(o.sourceOperationResponse); 3306 checkSourceOperationResponse(o.sourceOperationResponse);
3278 checkPosition(o.stopPosition); 3307 checkPosition(o.stopPosition);
3279 unittest.expect(o.workItemId, unittest.equals('foo')); 3308 unittest.expect(o.workItemId, unittest.equals('foo'));
3280 } 3309 }
3281 buildCounterWorkItemStatus--; 3310 buildCounterWorkItemStatus--;
3282 } 3311 }
3283 3312
3284 buildUnnamed3429() { 3313 buildUnnamed3137() {
3285 var o = new core.Map<core.String, core.Object>(); 3314 var o = new core.Map<core.String, core.Object>();
3286 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3315 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3287 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3316 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3288 return o; 3317 return o;
3289 } 3318 }
3290 3319
3291 checkUnnamed3429(core.Map<core.String, core.Object> o) { 3320 checkUnnamed3137(core.Map<core.String, core.Object> o) {
3292 unittest.expect(o, unittest.hasLength(2)); 3321 unittest.expect(o, unittest.hasLength(2));
3293 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')); 3322 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'));
3294 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')); 3323 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'));
3295 } 3324 }
3296 3325
3297 buildUnnamed3430() { 3326 buildUnnamed3138() {
3298 var o = new core.List<core.Map<core.String, core.Object>>(); 3327 var o = new core.List<core.Map<core.String, core.Object>>();
3299 o.add(buildUnnamed3429()); 3328 o.add(buildUnnamed3137());
3300 o.add(buildUnnamed3429()); 3329 o.add(buildUnnamed3137());
3301 return o; 3330 return o;
3302 } 3331 }
3303 3332
3304 checkUnnamed3430(core.List<core.Map<core.String, core.Object>> o) { 3333 checkUnnamed3138(core.List<core.Map<core.String, core.Object>> o) {
3305 unittest.expect(o, unittest.hasLength(2)); 3334 unittest.expect(o, unittest.hasLength(2));
3306 checkUnnamed3429(o[0]); 3335 checkUnnamed3137(o[0]);
3307 checkUnnamed3429(o[1]); 3336 checkUnnamed3137(o[1]);
3308 } 3337 }
3309 3338
3310 core.int buildCounterWorkerHealthReport = 0; 3339 core.int buildCounterWorkerHealthReport = 0;
3311 buildWorkerHealthReport() { 3340 buildWorkerHealthReport() {
3312 var o = new api.WorkerHealthReport(); 3341 var o = new api.WorkerHealthReport();
3313 buildCounterWorkerHealthReport++; 3342 buildCounterWorkerHealthReport++;
3314 if (buildCounterWorkerHealthReport < 3) { 3343 if (buildCounterWorkerHealthReport < 3) {
3315 o.pods = buildUnnamed3430(); 3344 o.pods = buildUnnamed3138();
3316 o.reportInterval = "foo"; 3345 o.reportInterval = "foo";
3317 o.vmIsHealthy = true; 3346 o.vmIsHealthy = true;
3318 o.vmStartupTime = "foo"; 3347 o.vmStartupTime = "foo";
3319 } 3348 }
3320 buildCounterWorkerHealthReport--; 3349 buildCounterWorkerHealthReport--;
3321 return o; 3350 return o;
3322 } 3351 }
3323 3352
3324 checkWorkerHealthReport(api.WorkerHealthReport o) { 3353 checkWorkerHealthReport(api.WorkerHealthReport o) {
3325 buildCounterWorkerHealthReport++; 3354 buildCounterWorkerHealthReport++;
3326 if (buildCounterWorkerHealthReport < 3) { 3355 if (buildCounterWorkerHealthReport < 3) {
3327 checkUnnamed3430(o.pods); 3356 checkUnnamed3138(o.pods);
3328 unittest.expect(o.reportInterval, unittest.equals('foo')); 3357 unittest.expect(o.reportInterval, unittest.equals('foo'));
3329 unittest.expect(o.vmIsHealthy, unittest.isTrue); 3358 unittest.expect(o.vmIsHealthy, unittest.isTrue);
3330 unittest.expect(o.vmStartupTime, unittest.equals('foo')); 3359 unittest.expect(o.vmStartupTime, unittest.equals('foo'));
3331 } 3360 }
3332 buildCounterWorkerHealthReport--; 3361 buildCounterWorkerHealthReport--;
3333 } 3362 }
3334 3363
3335 core.int buildCounterWorkerHealthReportResponse = 0; 3364 core.int buildCounterWorkerHealthReportResponse = 0;
3336 buildWorkerHealthReportResponse() { 3365 buildWorkerHealthReportResponse() {
3337 var o = new api.WorkerHealthReportResponse(); 3366 var o = new api.WorkerHealthReportResponse();
3338 buildCounterWorkerHealthReportResponse++; 3367 buildCounterWorkerHealthReportResponse++;
3339 if (buildCounterWorkerHealthReportResponse < 3) { 3368 if (buildCounterWorkerHealthReportResponse < 3) {
3340 o.reportInterval = "foo"; 3369 o.reportInterval = "foo";
3341 } 3370 }
3342 buildCounterWorkerHealthReportResponse--; 3371 buildCounterWorkerHealthReportResponse--;
3343 return o; 3372 return o;
3344 } 3373 }
3345 3374
3346 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { 3375 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) {
3347 buildCounterWorkerHealthReportResponse++; 3376 buildCounterWorkerHealthReportResponse++;
3348 if (buildCounterWorkerHealthReportResponse < 3) { 3377 if (buildCounterWorkerHealthReportResponse < 3) {
3349 unittest.expect(o.reportInterval, unittest.equals('foo')); 3378 unittest.expect(o.reportInterval, unittest.equals('foo'));
3350 } 3379 }
3351 buildCounterWorkerHealthReportResponse--; 3380 buildCounterWorkerHealthReportResponse--;
3352 } 3381 }
3353 3382
3354 buildUnnamed3431() { 3383 buildUnnamed3139() {
3355 var o = new core.Map<core.String, core.String>(); 3384 var o = new core.Map<core.String, core.String>();
3356 o["x"] = "foo"; 3385 o["x"] = "foo";
3357 o["y"] = "foo"; 3386 o["y"] = "foo";
3358 return o; 3387 return o;
3359 } 3388 }
3360 3389
3361 checkUnnamed3431(core.Map<core.String, core.String> o) { 3390 checkUnnamed3139(core.Map<core.String, core.String> o) {
3362 unittest.expect(o, unittest.hasLength(2)); 3391 unittest.expect(o, unittest.hasLength(2));
3363 unittest.expect(o["x"], unittest.equals('foo')); 3392 unittest.expect(o["x"], unittest.equals('foo'));
3364 unittest.expect(o["y"], unittest.equals('foo')); 3393 unittest.expect(o["y"], unittest.equals('foo'));
3365 } 3394 }
3366 3395
3367 core.int buildCounterWorkerMessage = 0; 3396 core.int buildCounterWorkerMessage = 0;
3368 buildWorkerMessage() { 3397 buildWorkerMessage() {
3369 var o = new api.WorkerMessage(); 3398 var o = new api.WorkerMessage();
3370 buildCounterWorkerMessage++; 3399 buildCounterWorkerMessage++;
3371 if (buildCounterWorkerMessage < 3) { 3400 if (buildCounterWorkerMessage < 3) {
3372 o.labels = buildUnnamed3431(); 3401 o.labels = buildUnnamed3139();
3373 o.time = "foo"; 3402 o.time = "foo";
3374 o.workerHealthReport = buildWorkerHealthReport(); 3403 o.workerHealthReport = buildWorkerHealthReport();
3375 o.workerMessageCode = buildWorkerMessageCode(); 3404 o.workerMessageCode = buildWorkerMessageCode();
3376 } 3405 }
3377 buildCounterWorkerMessage--; 3406 buildCounterWorkerMessage--;
3378 return o; 3407 return o;
3379 } 3408 }
3380 3409
3381 checkWorkerMessage(api.WorkerMessage o) { 3410 checkWorkerMessage(api.WorkerMessage o) {
3382 buildCounterWorkerMessage++; 3411 buildCounterWorkerMessage++;
3383 if (buildCounterWorkerMessage < 3) { 3412 if (buildCounterWorkerMessage < 3) {
3384 checkUnnamed3431(o.labels); 3413 checkUnnamed3139(o.labels);
3385 unittest.expect(o.time, unittest.equals('foo')); 3414 unittest.expect(o.time, unittest.equals('foo'));
3386 checkWorkerHealthReport(o.workerHealthReport); 3415 checkWorkerHealthReport(o.workerHealthReport);
3387 checkWorkerMessageCode(o.workerMessageCode); 3416 checkWorkerMessageCode(o.workerMessageCode);
3388 } 3417 }
3389 buildCounterWorkerMessage--; 3418 buildCounterWorkerMessage--;
3390 } 3419 }
3391 3420
3392 buildUnnamed3432() { 3421 buildUnnamed3140() {
3393 var o = new core.Map<core.String, core.Object>(); 3422 var o = new core.Map<core.String, core.Object>();
3394 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3423 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3395 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3424 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3396 return o; 3425 return o;
3397 } 3426 }
3398 3427
3399 checkUnnamed3432(core.Map<core.String, core.Object> o) { 3428 checkUnnamed3140(core.Map<core.String, core.Object> o) {
3400 unittest.expect(o, unittest.hasLength(2)); 3429 unittest.expect(o, unittest.hasLength(2));
3401 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')); 3430 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'));
3402 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')); 3431 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'));
3403 } 3432 }
3404 3433
3405 core.int buildCounterWorkerMessageCode = 0; 3434 core.int buildCounterWorkerMessageCode = 0;
3406 buildWorkerMessageCode() { 3435 buildWorkerMessageCode() {
3407 var o = new api.WorkerMessageCode(); 3436 var o = new api.WorkerMessageCode();
3408 buildCounterWorkerMessageCode++; 3437 buildCounterWorkerMessageCode++;
3409 if (buildCounterWorkerMessageCode < 3) { 3438 if (buildCounterWorkerMessageCode < 3) {
3410 o.code = "foo"; 3439 o.code = "foo";
3411 o.parameters = buildUnnamed3432(); 3440 o.parameters = buildUnnamed3140();
3412 } 3441 }
3413 buildCounterWorkerMessageCode--; 3442 buildCounterWorkerMessageCode--;
3414 return o; 3443 return o;
3415 } 3444 }
3416 3445
3417 checkWorkerMessageCode(api.WorkerMessageCode o) { 3446 checkWorkerMessageCode(api.WorkerMessageCode o) {
3418 buildCounterWorkerMessageCode++; 3447 buildCounterWorkerMessageCode++;
3419 if (buildCounterWorkerMessageCode < 3) { 3448 if (buildCounterWorkerMessageCode < 3) {
3420 unittest.expect(o.code, unittest.equals('foo')); 3449 unittest.expect(o.code, unittest.equals('foo'));
3421 checkUnnamed3432(o.parameters); 3450 checkUnnamed3140(o.parameters);
3422 } 3451 }
3423 buildCounterWorkerMessageCode--; 3452 buildCounterWorkerMessageCode--;
3424 } 3453 }
3425 3454
3426 core.int buildCounterWorkerMessageResponse = 0; 3455 core.int buildCounterWorkerMessageResponse = 0;
3427 buildWorkerMessageResponse() { 3456 buildWorkerMessageResponse() {
3428 var o = new api.WorkerMessageResponse(); 3457 var o = new api.WorkerMessageResponse();
3429 buildCounterWorkerMessageResponse++; 3458 buildCounterWorkerMessageResponse++;
3430 if (buildCounterWorkerMessageResponse < 3) { 3459 if (buildCounterWorkerMessageResponse < 3) {
3431 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); 3460 o.workerHealthReportResponse = buildWorkerHealthReportResponse();
3432 } 3461 }
3433 buildCounterWorkerMessageResponse--; 3462 buildCounterWorkerMessageResponse--;
3434 return o; 3463 return o;
3435 } 3464 }
3436 3465
3437 checkWorkerMessageResponse(api.WorkerMessageResponse o) { 3466 checkWorkerMessageResponse(api.WorkerMessageResponse o) {
3438 buildCounterWorkerMessageResponse++; 3467 buildCounterWorkerMessageResponse++;
3439 if (buildCounterWorkerMessageResponse < 3) { 3468 if (buildCounterWorkerMessageResponse < 3) {
3440 checkWorkerHealthReportResponse(o.workerHealthReportResponse); 3469 checkWorkerHealthReportResponse(o.workerHealthReportResponse);
3441 } 3470 }
3442 buildCounterWorkerMessageResponse--; 3471 buildCounterWorkerMessageResponse--;
3443 } 3472 }
3444 3473
3445 buildUnnamed3433() { 3474 buildUnnamed3141() {
3446 var o = new core.List<api.Disk>(); 3475 var o = new core.List<api.Disk>();
3447 o.add(buildDisk()); 3476 o.add(buildDisk());
3448 o.add(buildDisk()); 3477 o.add(buildDisk());
3449 return o; 3478 return o;
3450 } 3479 }
3451 3480
3452 checkUnnamed3433(core.List<api.Disk> o) { 3481 checkUnnamed3141(core.List<api.Disk> o) {
3453 unittest.expect(o, unittest.hasLength(2)); 3482 unittest.expect(o, unittest.hasLength(2));
3454 checkDisk(o[0]); 3483 checkDisk(o[0]);
3455 checkDisk(o[1]); 3484 checkDisk(o[1]);
3456 } 3485 }
3457 3486
3458 buildUnnamed3434() { 3487 buildUnnamed3142() {
3459 var o = new core.Map<core.String, core.String>(); 3488 var o = new core.Map<core.String, core.String>();
3460 o["x"] = "foo"; 3489 o["x"] = "foo";
3461 o["y"] = "foo"; 3490 o["y"] = "foo";
3462 return o; 3491 return o;
3463 } 3492 }
3464 3493
3465 checkUnnamed3434(core.Map<core.String, core.String> o) { 3494 checkUnnamed3142(core.Map<core.String, core.String> o) {
3466 unittest.expect(o, unittest.hasLength(2)); 3495 unittest.expect(o, unittest.hasLength(2));
3467 unittest.expect(o["x"], unittest.equals('foo')); 3496 unittest.expect(o["x"], unittest.equals('foo'));
3468 unittest.expect(o["y"], unittest.equals('foo')); 3497 unittest.expect(o["y"], unittest.equals('foo'));
3469 } 3498 }
3470 3499
3471 buildUnnamed3435() { 3500 buildUnnamed3143() {
3472 var o = new core.List<api.Package>(); 3501 var o = new core.List<api.Package>();
3473 o.add(buildPackage()); 3502 o.add(buildPackage());
3474 o.add(buildPackage()); 3503 o.add(buildPackage());
3475 return o; 3504 return o;
3476 } 3505 }
3477 3506
3478 checkUnnamed3435(core.List<api.Package> o) { 3507 checkUnnamed3143(core.List<api.Package> o) {
3479 unittest.expect(o, unittest.hasLength(2)); 3508 unittest.expect(o, unittest.hasLength(2));
3480 checkPackage(o[0]); 3509 checkPackage(o[0]);
3481 checkPackage(o[1]); 3510 checkPackage(o[1]);
3482 } 3511 }
3483 3512
3484 buildUnnamed3436() { 3513 buildUnnamed3144() {
3485 var o = new core.Map<core.String, core.Object>(); 3514 var o = new core.Map<core.String, core.Object>();
3486 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3515 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3487 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 3516 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
3488 return o; 3517 return o;
3489 } 3518 }
3490 3519
3491 checkUnnamed3436(core.Map<core.String, core.Object> o) { 3520 checkUnnamed3144(core.Map<core.String, core.Object> o) {
3492 unittest.expect(o, unittest.hasLength(2)); 3521 unittest.expect(o, unittest.hasLength(2));
3493 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')); 3522 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'));
3494 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')); 3523 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'));
3495 } 3524 }
3496 3525
3497 core.int buildCounterWorkerPool = 0; 3526 core.int buildCounterWorkerPool = 0;
3498 buildWorkerPool() { 3527 buildWorkerPool() {
3499 var o = new api.WorkerPool(); 3528 var o = new api.WorkerPool();
3500 buildCounterWorkerPool++; 3529 buildCounterWorkerPool++;
3501 if (buildCounterWorkerPool < 3) { 3530 if (buildCounterWorkerPool < 3) {
3502 o.autoscalingSettings = buildAutoscalingSettings(); 3531 o.autoscalingSettings = buildAutoscalingSettings();
3503 o.dataDisks = buildUnnamed3433(); 3532 o.dataDisks = buildUnnamed3141();
3504 o.defaultPackageSet = "foo"; 3533 o.defaultPackageSet = "foo";
3505 o.diskSizeGb = 42; 3534 o.diskSizeGb = 42;
3506 o.diskSourceImage = "foo"; 3535 o.diskSourceImage = "foo";
3507 o.diskType = "foo"; 3536 o.diskType = "foo";
3508 o.ipConfiguration = "foo"; 3537 o.ipConfiguration = "foo";
3509 o.kind = "foo"; 3538 o.kind = "foo";
3510 o.machineType = "foo"; 3539 o.machineType = "foo";
3511 o.metadata = buildUnnamed3434(); 3540 o.metadata = buildUnnamed3142();
3512 o.network = "foo"; 3541 o.network = "foo";
3513 o.numThreadsPerWorker = 42; 3542 o.numThreadsPerWorker = 42;
3514 o.numWorkers = 42; 3543 o.numWorkers = 42;
3515 o.onHostMaintenance = "foo"; 3544 o.onHostMaintenance = "foo";
3516 o.packages = buildUnnamed3435(); 3545 o.packages = buildUnnamed3143();
3517 o.poolArgs = buildUnnamed3436(); 3546 o.poolArgs = buildUnnamed3144();
3518 o.subnetwork = "foo"; 3547 o.subnetwork = "foo";
3519 o.taskrunnerSettings = buildTaskRunnerSettings(); 3548 o.taskrunnerSettings = buildTaskRunnerSettings();
3520 o.teardownPolicy = "foo"; 3549 o.teardownPolicy = "foo";
3521 o.workerHarnessContainerImage = "foo"; 3550 o.workerHarnessContainerImage = "foo";
3522 o.zone = "foo"; 3551 o.zone = "foo";
3523 } 3552 }
3524 buildCounterWorkerPool--; 3553 buildCounterWorkerPool--;
3525 return o; 3554 return o;
3526 } 3555 }
3527 3556
3528 checkWorkerPool(api.WorkerPool o) { 3557 checkWorkerPool(api.WorkerPool o) {
3529 buildCounterWorkerPool++; 3558 buildCounterWorkerPool++;
3530 if (buildCounterWorkerPool < 3) { 3559 if (buildCounterWorkerPool < 3) {
3531 checkAutoscalingSettings(o.autoscalingSettings); 3560 checkAutoscalingSettings(o.autoscalingSettings);
3532 checkUnnamed3433(o.dataDisks); 3561 checkUnnamed3141(o.dataDisks);
3533 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); 3562 unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
3534 unittest.expect(o.diskSizeGb, unittest.equals(42)); 3563 unittest.expect(o.diskSizeGb, unittest.equals(42));
3535 unittest.expect(o.diskSourceImage, unittest.equals('foo')); 3564 unittest.expect(o.diskSourceImage, unittest.equals('foo'));
3536 unittest.expect(o.diskType, unittest.equals('foo')); 3565 unittest.expect(o.diskType, unittest.equals('foo'));
3537 unittest.expect(o.ipConfiguration, unittest.equals('foo')); 3566 unittest.expect(o.ipConfiguration, unittest.equals('foo'));
3538 unittest.expect(o.kind, unittest.equals('foo')); 3567 unittest.expect(o.kind, unittest.equals('foo'));
3539 unittest.expect(o.machineType, unittest.equals('foo')); 3568 unittest.expect(o.machineType, unittest.equals('foo'));
3540 checkUnnamed3434(o.metadata); 3569 checkUnnamed3142(o.metadata);
3541 unittest.expect(o.network, unittest.equals('foo')); 3570 unittest.expect(o.network, unittest.equals('foo'));
3542 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); 3571 unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
3543 unittest.expect(o.numWorkers, unittest.equals(42)); 3572 unittest.expect(o.numWorkers, unittest.equals(42));
3544 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); 3573 unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
3545 checkUnnamed3435(o.packages); 3574 checkUnnamed3143(o.packages);
3546 checkUnnamed3436(o.poolArgs); 3575 checkUnnamed3144(o.poolArgs);
3547 unittest.expect(o.subnetwork, unittest.equals('foo')); 3576 unittest.expect(o.subnetwork, unittest.equals('foo'));
3548 checkTaskRunnerSettings(o.taskrunnerSettings); 3577 checkTaskRunnerSettings(o.taskrunnerSettings);
3549 unittest.expect(o.teardownPolicy, unittest.equals('foo')); 3578 unittest.expect(o.teardownPolicy, unittest.equals('foo'));
3550 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); 3579 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo'));
3551 unittest.expect(o.zone, unittest.equals('foo')); 3580 unittest.expect(o.zone, unittest.equals('foo'));
3552 } 3581 }
3553 buildCounterWorkerPool--; 3582 buildCounterWorkerPool--;
3554 } 3583 }
3555 3584
3556 core.int buildCounterWorkerSettings = 0; 3585 core.int buildCounterWorkerSettings = 0;
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
4093 4122
4094 unittest.group("obj-schema-ReportedParallelism", () { 4123 unittest.group("obj-schema-ReportedParallelism", () {
4095 unittest.test("to-json--from-json", () { 4124 unittest.test("to-json--from-json", () {
4096 var o = buildReportedParallelism(); 4125 var o = buildReportedParallelism();
4097 var od = new api.ReportedParallelism.fromJson(o.toJson()); 4126 var od = new api.ReportedParallelism.fromJson(o.toJson());
4098 checkReportedParallelism(od); 4127 checkReportedParallelism(od);
4099 }); 4128 });
4100 }); 4129 });
4101 4130
4102 4131
4132 unittest.group("obj-schema-RuntimeEnvironment", () {
4133 unittest.test("to-json--from-json", () {
4134 var o = buildRuntimeEnvironment();
4135 var od = new api.RuntimeEnvironment.fromJson(o.toJson());
4136 checkRuntimeEnvironment(od);
4137 });
4138 });
4139
4140
4103 unittest.group("obj-schema-SendDebugCaptureRequest", () { 4141 unittest.group("obj-schema-SendDebugCaptureRequest", () {
4104 unittest.test("to-json--from-json", () { 4142 unittest.test("to-json--from-json", () {
4105 var o = buildSendDebugCaptureRequest(); 4143 var o = buildSendDebugCaptureRequest();
4106 var od = new api.SendDebugCaptureRequest.fromJson(o.toJson()); 4144 var od = new api.SendDebugCaptureRequest.fromJson(o.toJson());
4107 checkSendDebugCaptureRequest(od); 4145 checkSendDebugCaptureRequest(od);
4108 }); 4146 });
4109 }); 4147 });
4110 4148
4111 4149
4112 unittest.group("obj-schema-SendDebugCaptureResponse", () { 4150 unittest.group("obj-schema-SendDebugCaptureResponse", () {
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
5837 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job response) { 5875 res.create(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job response) {
5838 checkJob(response); 5876 checkJob(response);
5839 }))); 5877 })));
5840 }); 5878 });
5841 5879
5842 }); 5880 });
5843 5881
5844 5882
5845 } 5883 }
5846 5884
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698