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

Side by Side Diff: generated/googleapis/test/bigquery/v2_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.bigquery.v2.test; 1 library googleapis.bigquery.v2.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 unittest.expect(o.encoding, unittest.equals('foo')); 73 unittest.expect(o.encoding, unittest.equals('foo'));
74 unittest.expect(o.fieldName, unittest.equals('foo')); 74 unittest.expect(o.fieldName, unittest.equals('foo'));
75 unittest.expect(o.onlyReadLatest, unittest.isTrue); 75 unittest.expect(o.onlyReadLatest, unittest.isTrue);
76 unittest.expect(o.qualifierEncoded, unittest.equals('foo')); 76 unittest.expect(o.qualifierEncoded, unittest.equals('foo'));
77 unittest.expect(o.qualifierString, unittest.equals('foo')); 77 unittest.expect(o.qualifierString, unittest.equals('foo'));
78 unittest.expect(o.type, unittest.equals('foo')); 78 unittest.expect(o.type, unittest.equals('foo'));
79 } 79 }
80 buildCounterBigtableColumn--; 80 buildCounterBigtableColumn--;
81 } 81 }
82 82
83 buildUnnamed3185() { 83 buildUnnamed2975() {
84 var o = new core.List<api.BigtableColumn>(); 84 var o = new core.List<api.BigtableColumn>();
85 o.add(buildBigtableColumn()); 85 o.add(buildBigtableColumn());
86 o.add(buildBigtableColumn()); 86 o.add(buildBigtableColumn());
87 return o; 87 return o;
88 } 88 }
89 89
90 checkUnnamed3185(core.List<api.BigtableColumn> o) { 90 checkUnnamed2975(core.List<api.BigtableColumn> o) {
91 unittest.expect(o, unittest.hasLength(2)); 91 unittest.expect(o, unittest.hasLength(2));
92 checkBigtableColumn(o[0]); 92 checkBigtableColumn(o[0]);
93 checkBigtableColumn(o[1]); 93 checkBigtableColumn(o[1]);
94 } 94 }
95 95
96 core.int buildCounterBigtableColumnFamily = 0; 96 core.int buildCounterBigtableColumnFamily = 0;
97 buildBigtableColumnFamily() { 97 buildBigtableColumnFamily() {
98 var o = new api.BigtableColumnFamily(); 98 var o = new api.BigtableColumnFamily();
99 buildCounterBigtableColumnFamily++; 99 buildCounterBigtableColumnFamily++;
100 if (buildCounterBigtableColumnFamily < 3) { 100 if (buildCounterBigtableColumnFamily < 3) {
101 o.columns = buildUnnamed3185(); 101 o.columns = buildUnnamed2975();
102 o.encoding = "foo"; 102 o.encoding = "foo";
103 o.familyId = "foo"; 103 o.familyId = "foo";
104 o.onlyReadLatest = true; 104 o.onlyReadLatest = true;
105 o.type = "foo"; 105 o.type = "foo";
106 } 106 }
107 buildCounterBigtableColumnFamily--; 107 buildCounterBigtableColumnFamily--;
108 return o; 108 return o;
109 } 109 }
110 110
111 checkBigtableColumnFamily(api.BigtableColumnFamily o) { 111 checkBigtableColumnFamily(api.BigtableColumnFamily o) {
112 buildCounterBigtableColumnFamily++; 112 buildCounterBigtableColumnFamily++;
113 if (buildCounterBigtableColumnFamily < 3) { 113 if (buildCounterBigtableColumnFamily < 3) {
114 checkUnnamed3185(o.columns); 114 checkUnnamed2975(o.columns);
115 unittest.expect(o.encoding, unittest.equals('foo')); 115 unittest.expect(o.encoding, unittest.equals('foo'));
116 unittest.expect(o.familyId, unittest.equals('foo')); 116 unittest.expect(o.familyId, unittest.equals('foo'));
117 unittest.expect(o.onlyReadLatest, unittest.isTrue); 117 unittest.expect(o.onlyReadLatest, unittest.isTrue);
118 unittest.expect(o.type, unittest.equals('foo')); 118 unittest.expect(o.type, unittest.equals('foo'));
119 } 119 }
120 buildCounterBigtableColumnFamily--; 120 buildCounterBigtableColumnFamily--;
121 } 121 }
122 122
123 buildUnnamed3186() { 123 buildUnnamed2976() {
124 var o = new core.List<api.BigtableColumnFamily>(); 124 var o = new core.List<api.BigtableColumnFamily>();
125 o.add(buildBigtableColumnFamily()); 125 o.add(buildBigtableColumnFamily());
126 o.add(buildBigtableColumnFamily()); 126 o.add(buildBigtableColumnFamily());
127 return o; 127 return o;
128 } 128 }
129 129
130 checkUnnamed3186(core.List<api.BigtableColumnFamily> o) { 130 checkUnnamed2976(core.List<api.BigtableColumnFamily> o) {
131 unittest.expect(o, unittest.hasLength(2)); 131 unittest.expect(o, unittest.hasLength(2));
132 checkBigtableColumnFamily(o[0]); 132 checkBigtableColumnFamily(o[0]);
133 checkBigtableColumnFamily(o[1]); 133 checkBigtableColumnFamily(o[1]);
134 } 134 }
135 135
136 core.int buildCounterBigtableOptions = 0; 136 core.int buildCounterBigtableOptions = 0;
137 buildBigtableOptions() { 137 buildBigtableOptions() {
138 var o = new api.BigtableOptions(); 138 var o = new api.BigtableOptions();
139 buildCounterBigtableOptions++; 139 buildCounterBigtableOptions++;
140 if (buildCounterBigtableOptions < 3) { 140 if (buildCounterBigtableOptions < 3) {
141 o.columnFamilies = buildUnnamed3186(); 141 o.columnFamilies = buildUnnamed2976();
142 o.ignoreUnspecifiedColumnFamilies = true; 142 o.ignoreUnspecifiedColumnFamilies = true;
143 o.readRowkeyAsString = true; 143 o.readRowkeyAsString = true;
144 } 144 }
145 buildCounterBigtableOptions--; 145 buildCounterBigtableOptions--;
146 return o; 146 return o;
147 } 147 }
148 148
149 checkBigtableOptions(api.BigtableOptions o) { 149 checkBigtableOptions(api.BigtableOptions o) {
150 buildCounterBigtableOptions++; 150 buildCounterBigtableOptions++;
151 if (buildCounterBigtableOptions < 3) { 151 if (buildCounterBigtableOptions < 3) {
152 checkUnnamed3186(o.columnFamilies); 152 checkUnnamed2976(o.columnFamilies);
153 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue); 153 unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
154 unittest.expect(o.readRowkeyAsString, unittest.isTrue); 154 unittest.expect(o.readRowkeyAsString, unittest.isTrue);
155 } 155 }
156 buildCounterBigtableOptions--; 156 buildCounterBigtableOptions--;
157 } 157 }
158 158
159 core.int buildCounterCsvOptions = 0; 159 core.int buildCounterCsvOptions = 0;
160 buildCsvOptions() { 160 buildCsvOptions() {
161 var o = new api.CsvOptions(); 161 var o = new api.CsvOptions();
162 buildCounterCsvOptions++; 162 buildCounterCsvOptions++;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 unittest.expect(o.domain, unittest.equals('foo')); 207 unittest.expect(o.domain, unittest.equals('foo'));
208 unittest.expect(o.groupByEmail, unittest.equals('foo')); 208 unittest.expect(o.groupByEmail, unittest.equals('foo'));
209 unittest.expect(o.role, unittest.equals('foo')); 209 unittest.expect(o.role, unittest.equals('foo'));
210 unittest.expect(o.specialGroup, unittest.equals('foo')); 210 unittest.expect(o.specialGroup, unittest.equals('foo'));
211 unittest.expect(o.userByEmail, unittest.equals('foo')); 211 unittest.expect(o.userByEmail, unittest.equals('foo'));
212 checkTableReference(o.view); 212 checkTableReference(o.view);
213 } 213 }
214 buildCounterDatasetAccess--; 214 buildCounterDatasetAccess--;
215 } 215 }
216 216
217 buildUnnamed3187() { 217 buildUnnamed2977() {
218 var o = new core.List<api.DatasetAccess>(); 218 var o = new core.List<api.DatasetAccess>();
219 o.add(buildDatasetAccess()); 219 o.add(buildDatasetAccess());
220 o.add(buildDatasetAccess()); 220 o.add(buildDatasetAccess());
221 return o; 221 return o;
222 } 222 }
223 223
224 checkUnnamed3187(core.List<api.DatasetAccess> o) { 224 checkUnnamed2977(core.List<api.DatasetAccess> o) {
225 unittest.expect(o, unittest.hasLength(2)); 225 unittest.expect(o, unittest.hasLength(2));
226 checkDatasetAccess(o[0]); 226 checkDatasetAccess(o[0]);
227 checkDatasetAccess(o[1]); 227 checkDatasetAccess(o[1]);
228 } 228 }
229 229
230 buildUnnamed3188() { 230 buildUnnamed2978() {
231 var o = new core.Map<core.String, core.String>(); 231 var o = new core.Map<core.String, core.String>();
232 o["x"] = "foo"; 232 o["x"] = "foo";
233 o["y"] = "foo"; 233 o["y"] = "foo";
234 return o; 234 return o;
235 } 235 }
236 236
237 checkUnnamed3188(core.Map<core.String, core.String> o) { 237 checkUnnamed2978(core.Map<core.String, core.String> o) {
238 unittest.expect(o, unittest.hasLength(2)); 238 unittest.expect(o, unittest.hasLength(2));
239 unittest.expect(o["x"], unittest.equals('foo')); 239 unittest.expect(o["x"], unittest.equals('foo'));
240 unittest.expect(o["y"], unittest.equals('foo')); 240 unittest.expect(o["y"], unittest.equals('foo'));
241 } 241 }
242 242
243 core.int buildCounterDataset = 0; 243 core.int buildCounterDataset = 0;
244 buildDataset() { 244 buildDataset() {
245 var o = new api.Dataset(); 245 var o = new api.Dataset();
246 buildCounterDataset++; 246 buildCounterDataset++;
247 if (buildCounterDataset < 3) { 247 if (buildCounterDataset < 3) {
248 o.access = buildUnnamed3187(); 248 o.access = buildUnnamed2977();
249 o.creationTime = "foo"; 249 o.creationTime = "foo";
250 o.datasetReference = buildDatasetReference(); 250 o.datasetReference = buildDatasetReference();
251 o.defaultTableExpirationMs = "foo"; 251 o.defaultTableExpirationMs = "foo";
252 o.description = "foo"; 252 o.description = "foo";
253 o.etag = "foo"; 253 o.etag = "foo";
254 o.friendlyName = "foo"; 254 o.friendlyName = "foo";
255 o.id = "foo"; 255 o.id = "foo";
256 o.kind = "foo"; 256 o.kind = "foo";
257 o.labels = buildUnnamed3188(); 257 o.labels = buildUnnamed2978();
258 o.lastModifiedTime = "foo"; 258 o.lastModifiedTime = "foo";
259 o.location = "foo"; 259 o.location = "foo";
260 o.selfLink = "foo"; 260 o.selfLink = "foo";
261 } 261 }
262 buildCounterDataset--; 262 buildCounterDataset--;
263 return o; 263 return o;
264 } 264 }
265 265
266 checkDataset(api.Dataset o) { 266 checkDataset(api.Dataset o) {
267 buildCounterDataset++; 267 buildCounterDataset++;
268 if (buildCounterDataset < 3) { 268 if (buildCounterDataset < 3) {
269 checkUnnamed3187(o.access); 269 checkUnnamed2977(o.access);
270 unittest.expect(o.creationTime, unittest.equals('foo')); 270 unittest.expect(o.creationTime, unittest.equals('foo'));
271 checkDatasetReference(o.datasetReference); 271 checkDatasetReference(o.datasetReference);
272 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo')); 272 unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
273 unittest.expect(o.description, unittest.equals('foo')); 273 unittest.expect(o.description, unittest.equals('foo'));
274 unittest.expect(o.etag, unittest.equals('foo')); 274 unittest.expect(o.etag, unittest.equals('foo'));
275 unittest.expect(o.friendlyName, unittest.equals('foo')); 275 unittest.expect(o.friendlyName, unittest.equals('foo'));
276 unittest.expect(o.id, unittest.equals('foo')); 276 unittest.expect(o.id, unittest.equals('foo'));
277 unittest.expect(o.kind, unittest.equals('foo')); 277 unittest.expect(o.kind, unittest.equals('foo'));
278 checkUnnamed3188(o.labels); 278 checkUnnamed2978(o.labels);
279 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); 279 unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
280 unittest.expect(o.location, unittest.equals('foo')); 280 unittest.expect(o.location, unittest.equals('foo'));
281 unittest.expect(o.selfLink, unittest.equals('foo')); 281 unittest.expect(o.selfLink, unittest.equals('foo'));
282 } 282 }
283 buildCounterDataset--; 283 buildCounterDataset--;
284 } 284 }
285 285
286 buildUnnamed3189() { 286 buildUnnamed2979() {
287 var o = new core.Map<core.String, core.String>(); 287 var o = new core.Map<core.String, core.String>();
288 o["x"] = "foo"; 288 o["x"] = "foo";
289 o["y"] = "foo"; 289 o["y"] = "foo";
290 return o; 290 return o;
291 } 291 }
292 292
293 checkUnnamed3189(core.Map<core.String, core.String> o) { 293 checkUnnamed2979(core.Map<core.String, core.String> o) {
294 unittest.expect(o, unittest.hasLength(2)); 294 unittest.expect(o, unittest.hasLength(2));
295 unittest.expect(o["x"], unittest.equals('foo')); 295 unittest.expect(o["x"], unittest.equals('foo'));
296 unittest.expect(o["y"], unittest.equals('foo')); 296 unittest.expect(o["y"], unittest.equals('foo'));
297 } 297 }
298 298
299 core.int buildCounterDatasetListDatasets = 0; 299 core.int buildCounterDatasetListDatasets = 0;
300 buildDatasetListDatasets() { 300 buildDatasetListDatasets() {
301 var o = new api.DatasetListDatasets(); 301 var o = new api.DatasetListDatasets();
302 buildCounterDatasetListDatasets++; 302 buildCounterDatasetListDatasets++;
303 if (buildCounterDatasetListDatasets < 3) { 303 if (buildCounterDatasetListDatasets < 3) {
304 o.datasetReference = buildDatasetReference(); 304 o.datasetReference = buildDatasetReference();
305 o.friendlyName = "foo"; 305 o.friendlyName = "foo";
306 o.id = "foo"; 306 o.id = "foo";
307 o.kind = "foo"; 307 o.kind = "foo";
308 o.labels = buildUnnamed3189(); 308 o.labels = buildUnnamed2979();
309 } 309 }
310 buildCounterDatasetListDatasets--; 310 buildCounterDatasetListDatasets--;
311 return o; 311 return o;
312 } 312 }
313 313
314 checkDatasetListDatasets(api.DatasetListDatasets o) { 314 checkDatasetListDatasets(api.DatasetListDatasets o) {
315 buildCounterDatasetListDatasets++; 315 buildCounterDatasetListDatasets++;
316 if (buildCounterDatasetListDatasets < 3) { 316 if (buildCounterDatasetListDatasets < 3) {
317 checkDatasetReference(o.datasetReference); 317 checkDatasetReference(o.datasetReference);
318 unittest.expect(o.friendlyName, unittest.equals('foo')); 318 unittest.expect(o.friendlyName, unittest.equals('foo'));
319 unittest.expect(o.id, unittest.equals('foo')); 319 unittest.expect(o.id, unittest.equals('foo'));
320 unittest.expect(o.kind, unittest.equals('foo')); 320 unittest.expect(o.kind, unittest.equals('foo'));
321 checkUnnamed3189(o.labels); 321 checkUnnamed2979(o.labels);
322 } 322 }
323 buildCounterDatasetListDatasets--; 323 buildCounterDatasetListDatasets--;
324 } 324 }
325 325
326 buildUnnamed3190() { 326 buildUnnamed2980() {
327 var o = new core.List<api.DatasetListDatasets>(); 327 var o = new core.List<api.DatasetListDatasets>();
328 o.add(buildDatasetListDatasets()); 328 o.add(buildDatasetListDatasets());
329 o.add(buildDatasetListDatasets()); 329 o.add(buildDatasetListDatasets());
330 return o; 330 return o;
331 } 331 }
332 332
333 checkUnnamed3190(core.List<api.DatasetListDatasets> o) { 333 checkUnnamed2980(core.List<api.DatasetListDatasets> o) {
334 unittest.expect(o, unittest.hasLength(2)); 334 unittest.expect(o, unittest.hasLength(2));
335 checkDatasetListDatasets(o[0]); 335 checkDatasetListDatasets(o[0]);
336 checkDatasetListDatasets(o[1]); 336 checkDatasetListDatasets(o[1]);
337 } 337 }
338 338
339 core.int buildCounterDatasetList = 0; 339 core.int buildCounterDatasetList = 0;
340 buildDatasetList() { 340 buildDatasetList() {
341 var o = new api.DatasetList(); 341 var o = new api.DatasetList();
342 buildCounterDatasetList++; 342 buildCounterDatasetList++;
343 if (buildCounterDatasetList < 3) { 343 if (buildCounterDatasetList < 3) {
344 o.datasets = buildUnnamed3190(); 344 o.datasets = buildUnnamed2980();
345 o.etag = "foo"; 345 o.etag = "foo";
346 o.kind = "foo"; 346 o.kind = "foo";
347 o.nextPageToken = "foo"; 347 o.nextPageToken = "foo";
348 } 348 }
349 buildCounterDatasetList--; 349 buildCounterDatasetList--;
350 return o; 350 return o;
351 } 351 }
352 352
353 checkDatasetList(api.DatasetList o) { 353 checkDatasetList(api.DatasetList o) {
354 buildCounterDatasetList++; 354 buildCounterDatasetList++;
355 if (buildCounterDatasetList < 3) { 355 if (buildCounterDatasetList < 3) {
356 checkUnnamed3190(o.datasets); 356 checkUnnamed2980(o.datasets);
357 unittest.expect(o.etag, unittest.equals('foo')); 357 unittest.expect(o.etag, unittest.equals('foo'));
358 unittest.expect(o.kind, unittest.equals('foo')); 358 unittest.expect(o.kind, unittest.equals('foo'));
359 unittest.expect(o.nextPageToken, unittest.equals('foo')); 359 unittest.expect(o.nextPageToken, unittest.equals('foo'));
360 } 360 }
361 buildCounterDatasetList--; 361 buildCounterDatasetList--;
362 } 362 }
363 363
364 core.int buildCounterDatasetReference = 0; 364 core.int buildCounterDatasetReference = 0;
365 buildDatasetReference() { 365 buildDatasetReference() {
366 var o = new api.DatasetReference(); 366 var o = new api.DatasetReference();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 buildCounterErrorProto++; 400 buildCounterErrorProto++;
401 if (buildCounterErrorProto < 3) { 401 if (buildCounterErrorProto < 3) {
402 unittest.expect(o.debugInfo, unittest.equals('foo')); 402 unittest.expect(o.debugInfo, unittest.equals('foo'));
403 unittest.expect(o.location, unittest.equals('foo')); 403 unittest.expect(o.location, unittest.equals('foo'));
404 unittest.expect(o.message, unittest.equals('foo')); 404 unittest.expect(o.message, unittest.equals('foo'));
405 unittest.expect(o.reason, unittest.equals('foo')); 405 unittest.expect(o.reason, unittest.equals('foo'));
406 } 406 }
407 buildCounterErrorProto--; 407 buildCounterErrorProto--;
408 } 408 }
409 409
410 buildUnnamed3191() { 410 buildUnnamed2981() {
411 var o = new core.List<api.ExplainQueryStep>(); 411 var o = new core.List<api.ExplainQueryStep>();
412 o.add(buildExplainQueryStep()); 412 o.add(buildExplainQueryStep());
413 o.add(buildExplainQueryStep()); 413 o.add(buildExplainQueryStep());
414 return o; 414 return o;
415 } 415 }
416 416
417 checkUnnamed3191(core.List<api.ExplainQueryStep> o) { 417 checkUnnamed2981(core.List<api.ExplainQueryStep> o) {
418 unittest.expect(o, unittest.hasLength(2)); 418 unittest.expect(o, unittest.hasLength(2));
419 checkExplainQueryStep(o[0]); 419 checkExplainQueryStep(o[0]);
420 checkExplainQueryStep(o[1]); 420 checkExplainQueryStep(o[1]);
421 } 421 }
422 422
423 core.int buildCounterExplainQueryStage = 0; 423 core.int buildCounterExplainQueryStage = 0;
424 buildExplainQueryStage() { 424 buildExplainQueryStage() {
425 var o = new api.ExplainQueryStage(); 425 var o = new api.ExplainQueryStage();
426 buildCounterExplainQueryStage++; 426 buildCounterExplainQueryStage++;
427 if (buildCounterExplainQueryStage < 3) { 427 if (buildCounterExplainQueryStage < 3) {
428 o.computeRatioAvg = 42.0; 428 o.computeRatioAvg = 42.0;
429 o.computeRatioMax = 42.0; 429 o.computeRatioMax = 42.0;
430 o.id = "foo"; 430 o.id = "foo";
431 o.name = "foo"; 431 o.name = "foo";
432 o.readRatioAvg = 42.0; 432 o.readRatioAvg = 42.0;
433 o.readRatioMax = 42.0; 433 o.readRatioMax = 42.0;
434 o.recordsRead = "foo"; 434 o.recordsRead = "foo";
435 o.recordsWritten = "foo"; 435 o.recordsWritten = "foo";
436 o.steps = buildUnnamed3191(); 436 o.steps = buildUnnamed2981();
437 o.waitRatioAvg = 42.0; 437 o.waitRatioAvg = 42.0;
438 o.waitRatioMax = 42.0; 438 o.waitRatioMax = 42.0;
439 o.writeRatioAvg = 42.0; 439 o.writeRatioAvg = 42.0;
440 o.writeRatioMax = 42.0; 440 o.writeRatioMax = 42.0;
441 } 441 }
442 buildCounterExplainQueryStage--; 442 buildCounterExplainQueryStage--;
443 return o; 443 return o;
444 } 444 }
445 445
446 checkExplainQueryStage(api.ExplainQueryStage o) { 446 checkExplainQueryStage(api.ExplainQueryStage o) {
447 buildCounterExplainQueryStage++; 447 buildCounterExplainQueryStage++;
448 if (buildCounterExplainQueryStage < 3) { 448 if (buildCounterExplainQueryStage < 3) {
449 unittest.expect(o.computeRatioAvg, unittest.equals(42.0)); 449 unittest.expect(o.computeRatioAvg, unittest.equals(42.0));
450 unittest.expect(o.computeRatioMax, unittest.equals(42.0)); 450 unittest.expect(o.computeRatioMax, unittest.equals(42.0));
451 unittest.expect(o.id, unittest.equals('foo')); 451 unittest.expect(o.id, unittest.equals('foo'));
452 unittest.expect(o.name, unittest.equals('foo')); 452 unittest.expect(o.name, unittest.equals('foo'));
453 unittest.expect(o.readRatioAvg, unittest.equals(42.0)); 453 unittest.expect(o.readRatioAvg, unittest.equals(42.0));
454 unittest.expect(o.readRatioMax, unittest.equals(42.0)); 454 unittest.expect(o.readRatioMax, unittest.equals(42.0));
455 unittest.expect(o.recordsRead, unittest.equals('foo')); 455 unittest.expect(o.recordsRead, unittest.equals('foo'));
456 unittest.expect(o.recordsWritten, unittest.equals('foo')); 456 unittest.expect(o.recordsWritten, unittest.equals('foo'));
457 checkUnnamed3191(o.steps); 457 checkUnnamed2981(o.steps);
458 unittest.expect(o.waitRatioAvg, unittest.equals(42.0)); 458 unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
459 unittest.expect(o.waitRatioMax, unittest.equals(42.0)); 459 unittest.expect(o.waitRatioMax, unittest.equals(42.0));
460 unittest.expect(o.writeRatioAvg, unittest.equals(42.0)); 460 unittest.expect(o.writeRatioAvg, unittest.equals(42.0));
461 unittest.expect(o.writeRatioMax, unittest.equals(42.0)); 461 unittest.expect(o.writeRatioMax, unittest.equals(42.0));
462 } 462 }
463 buildCounterExplainQueryStage--; 463 buildCounterExplainQueryStage--;
464 } 464 }
465 465
466 buildUnnamed3192() { 466 buildUnnamed2982() {
467 var o = new core.List<core.String>(); 467 var o = new core.List<core.String>();
468 o.add("foo"); 468 o.add("foo");
469 o.add("foo"); 469 o.add("foo");
470 return o; 470 return o;
471 } 471 }
472 472
473 checkUnnamed3192(core.List<core.String> o) { 473 checkUnnamed2982(core.List<core.String> o) {
474 unittest.expect(o, unittest.hasLength(2)); 474 unittest.expect(o, unittest.hasLength(2));
475 unittest.expect(o[0], unittest.equals('foo')); 475 unittest.expect(o[0], unittest.equals('foo'));
476 unittest.expect(o[1], unittest.equals('foo')); 476 unittest.expect(o[1], unittest.equals('foo'));
477 } 477 }
478 478
479 core.int buildCounterExplainQueryStep = 0; 479 core.int buildCounterExplainQueryStep = 0;
480 buildExplainQueryStep() { 480 buildExplainQueryStep() {
481 var o = new api.ExplainQueryStep(); 481 var o = new api.ExplainQueryStep();
482 buildCounterExplainQueryStep++; 482 buildCounterExplainQueryStep++;
483 if (buildCounterExplainQueryStep < 3) { 483 if (buildCounterExplainQueryStep < 3) {
484 o.kind = "foo"; 484 o.kind = "foo";
485 o.substeps = buildUnnamed3192(); 485 o.substeps = buildUnnamed2982();
486 } 486 }
487 buildCounterExplainQueryStep--; 487 buildCounterExplainQueryStep--;
488 return o; 488 return o;
489 } 489 }
490 490
491 checkExplainQueryStep(api.ExplainQueryStep o) { 491 checkExplainQueryStep(api.ExplainQueryStep o) {
492 buildCounterExplainQueryStep++; 492 buildCounterExplainQueryStep++;
493 if (buildCounterExplainQueryStep < 3) { 493 if (buildCounterExplainQueryStep < 3) {
494 unittest.expect(o.kind, unittest.equals('foo')); 494 unittest.expect(o.kind, unittest.equals('foo'));
495 checkUnnamed3192(o.substeps); 495 checkUnnamed2982(o.substeps);
496 } 496 }
497 buildCounterExplainQueryStep--; 497 buildCounterExplainQueryStep--;
498 } 498 }
499 499
500 buildUnnamed3193() { 500 buildUnnamed2983() {
501 var o = new core.List<core.String>(); 501 var o = new core.List<core.String>();
502 o.add("foo"); 502 o.add("foo");
503 o.add("foo"); 503 o.add("foo");
504 return o; 504 return o;
505 } 505 }
506 506
507 checkUnnamed3193(core.List<core.String> o) { 507 checkUnnamed2983(core.List<core.String> o) {
508 unittest.expect(o, unittest.hasLength(2)); 508 unittest.expect(o, unittest.hasLength(2));
509 unittest.expect(o[0], unittest.equals('foo')); 509 unittest.expect(o[0], unittest.equals('foo'));
510 unittest.expect(o[1], unittest.equals('foo')); 510 unittest.expect(o[1], unittest.equals('foo'));
511 } 511 }
512 512
513 core.int buildCounterExternalDataConfiguration = 0; 513 core.int buildCounterExternalDataConfiguration = 0;
514 buildExternalDataConfiguration() { 514 buildExternalDataConfiguration() {
515 var o = new api.ExternalDataConfiguration(); 515 var o = new api.ExternalDataConfiguration();
516 buildCounterExternalDataConfiguration++; 516 buildCounterExternalDataConfiguration++;
517 if (buildCounterExternalDataConfiguration < 3) { 517 if (buildCounterExternalDataConfiguration < 3) {
518 o.autodetect = true; 518 o.autodetect = true;
519 o.bigtableOptions = buildBigtableOptions(); 519 o.bigtableOptions = buildBigtableOptions();
520 o.compression = "foo"; 520 o.compression = "foo";
521 o.csvOptions = buildCsvOptions(); 521 o.csvOptions = buildCsvOptions();
522 o.googleSheetsOptions = buildGoogleSheetsOptions(); 522 o.googleSheetsOptions = buildGoogleSheetsOptions();
523 o.ignoreUnknownValues = true; 523 o.ignoreUnknownValues = true;
524 o.maxBadRecords = 42; 524 o.maxBadRecords = 42;
525 o.schema = buildTableSchema(); 525 o.schema = buildTableSchema();
526 o.sourceFormat = "foo"; 526 o.sourceFormat = "foo";
527 o.sourceUris = buildUnnamed3193(); 527 o.sourceUris = buildUnnamed2983();
528 } 528 }
529 buildCounterExternalDataConfiguration--; 529 buildCounterExternalDataConfiguration--;
530 return o; 530 return o;
531 } 531 }
532 532
533 checkExternalDataConfiguration(api.ExternalDataConfiguration o) { 533 checkExternalDataConfiguration(api.ExternalDataConfiguration o) {
534 buildCounterExternalDataConfiguration++; 534 buildCounterExternalDataConfiguration++;
535 if (buildCounterExternalDataConfiguration < 3) { 535 if (buildCounterExternalDataConfiguration < 3) {
536 unittest.expect(o.autodetect, unittest.isTrue); 536 unittest.expect(o.autodetect, unittest.isTrue);
537 checkBigtableOptions(o.bigtableOptions); 537 checkBigtableOptions(o.bigtableOptions);
538 unittest.expect(o.compression, unittest.equals('foo')); 538 unittest.expect(o.compression, unittest.equals('foo'));
539 checkCsvOptions(o.csvOptions); 539 checkCsvOptions(o.csvOptions);
540 checkGoogleSheetsOptions(o.googleSheetsOptions); 540 checkGoogleSheetsOptions(o.googleSheetsOptions);
541 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); 541 unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
542 unittest.expect(o.maxBadRecords, unittest.equals(42)); 542 unittest.expect(o.maxBadRecords, unittest.equals(42));
543 checkTableSchema(o.schema); 543 checkTableSchema(o.schema);
544 unittest.expect(o.sourceFormat, unittest.equals('foo')); 544 unittest.expect(o.sourceFormat, unittest.equals('foo'));
545 checkUnnamed3193(o.sourceUris); 545 checkUnnamed2983(o.sourceUris);
546 } 546 }
547 buildCounterExternalDataConfiguration--; 547 buildCounterExternalDataConfiguration--;
548 } 548 }
549 549
550 buildUnnamed3194() { 550 buildUnnamed2984() {
551 var o = new core.List<api.ErrorProto>(); 551 var o = new core.List<api.ErrorProto>();
552 o.add(buildErrorProto()); 552 o.add(buildErrorProto());
553 o.add(buildErrorProto()); 553 o.add(buildErrorProto());
554 return o; 554 return o;
555 } 555 }
556 556
557 checkUnnamed3194(core.List<api.ErrorProto> o) { 557 checkUnnamed2984(core.List<api.ErrorProto> o) {
558 unittest.expect(o, unittest.hasLength(2)); 558 unittest.expect(o, unittest.hasLength(2));
559 checkErrorProto(o[0]); 559 checkErrorProto(o[0]);
560 checkErrorProto(o[1]); 560 checkErrorProto(o[1]);
561 } 561 }
562 562
563 buildUnnamed3195() { 563 buildUnnamed2985() {
564 var o = new core.List<api.TableRow>(); 564 var o = new core.List<api.TableRow>();
565 o.add(buildTableRow()); 565 o.add(buildTableRow());
566 o.add(buildTableRow()); 566 o.add(buildTableRow());
567 return o; 567 return o;
568 } 568 }
569 569
570 checkUnnamed3195(core.List<api.TableRow> o) { 570 checkUnnamed2985(core.List<api.TableRow> o) {
571 unittest.expect(o, unittest.hasLength(2)); 571 unittest.expect(o, unittest.hasLength(2));
572 checkTableRow(o[0]); 572 checkTableRow(o[0]);
573 checkTableRow(o[1]); 573 checkTableRow(o[1]);
574 } 574 }
575 575
576 core.int buildCounterGetQueryResultsResponse = 0; 576 core.int buildCounterGetQueryResultsResponse = 0;
577 buildGetQueryResultsResponse() { 577 buildGetQueryResultsResponse() {
578 var o = new api.GetQueryResultsResponse(); 578 var o = new api.GetQueryResultsResponse();
579 buildCounterGetQueryResultsResponse++; 579 buildCounterGetQueryResultsResponse++;
580 if (buildCounterGetQueryResultsResponse < 3) { 580 if (buildCounterGetQueryResultsResponse < 3) {
581 o.cacheHit = true; 581 o.cacheHit = true;
582 o.errors = buildUnnamed3194(); 582 o.errors = buildUnnamed2984();
583 o.etag = "foo"; 583 o.etag = "foo";
584 o.jobComplete = true; 584 o.jobComplete = true;
585 o.jobReference = buildJobReference(); 585 o.jobReference = buildJobReference();
586 o.kind = "foo"; 586 o.kind = "foo";
587 o.numDmlAffectedRows = "foo"; 587 o.numDmlAffectedRows = "foo";
588 o.pageToken = "foo"; 588 o.pageToken = "foo";
589 o.rows = buildUnnamed3195(); 589 o.rows = buildUnnamed2985();
590 o.schema = buildTableSchema(); 590 o.schema = buildTableSchema();
591 o.totalBytesProcessed = "foo"; 591 o.totalBytesProcessed = "foo";
592 o.totalRows = "foo"; 592 o.totalRows = "foo";
593 } 593 }
594 buildCounterGetQueryResultsResponse--; 594 buildCounterGetQueryResultsResponse--;
595 return o; 595 return o;
596 } 596 }
597 597
598 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { 598 checkGetQueryResultsResponse(api.GetQueryResultsResponse o) {
599 buildCounterGetQueryResultsResponse++; 599 buildCounterGetQueryResultsResponse++;
600 if (buildCounterGetQueryResultsResponse < 3) { 600 if (buildCounterGetQueryResultsResponse < 3) {
601 unittest.expect(o.cacheHit, unittest.isTrue); 601 unittest.expect(o.cacheHit, unittest.isTrue);
602 checkUnnamed3194(o.errors); 602 checkUnnamed2984(o.errors);
603 unittest.expect(o.etag, unittest.equals('foo')); 603 unittest.expect(o.etag, unittest.equals('foo'));
604 unittest.expect(o.jobComplete, unittest.isTrue); 604 unittest.expect(o.jobComplete, unittest.isTrue);
605 checkJobReference(o.jobReference); 605 checkJobReference(o.jobReference);
606 unittest.expect(o.kind, unittest.equals('foo')); 606 unittest.expect(o.kind, unittest.equals('foo'));
607 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); 607 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
608 unittest.expect(o.pageToken, unittest.equals('foo')); 608 unittest.expect(o.pageToken, unittest.equals('foo'));
609 checkUnnamed3195(o.rows); 609 checkUnnamed2985(o.rows);
610 checkTableSchema(o.schema); 610 checkTableSchema(o.schema);
611 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); 611 unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
612 unittest.expect(o.totalRows, unittest.equals('foo')); 612 unittest.expect(o.totalRows, unittest.equals('foo'));
613 } 613 }
614 buildCounterGetQueryResultsResponse--; 614 buildCounterGetQueryResultsResponse--;
615 } 615 }
616 616
617 core.int buildCounterGoogleSheetsOptions = 0; 617 core.int buildCounterGoogleSheetsOptions = 0;
618 buildGoogleSheetsOptions() { 618 buildGoogleSheetsOptions() {
619 var o = new api.GoogleSheetsOptions(); 619 var o = new api.GoogleSheetsOptions();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 682
683 checkJobCancelResponse(api.JobCancelResponse o) { 683 checkJobCancelResponse(api.JobCancelResponse o) {
684 buildCounterJobCancelResponse++; 684 buildCounterJobCancelResponse++;
685 if (buildCounterJobCancelResponse < 3) { 685 if (buildCounterJobCancelResponse < 3) {
686 checkJob(o.job); 686 checkJob(o.job);
687 unittest.expect(o.kind, unittest.equals('foo')); 687 unittest.expect(o.kind, unittest.equals('foo'));
688 } 688 }
689 buildCounterJobCancelResponse--; 689 buildCounterJobCancelResponse--;
690 } 690 }
691 691
692 buildUnnamed3196() { 692 buildUnnamed2986() {
693 var o = new core.Map<core.String, core.String>(); 693 var o = new core.Map<core.String, core.String>();
694 o["x"] = "foo"; 694 o["x"] = "foo";
695 o["y"] = "foo"; 695 o["y"] = "foo";
696 return o; 696 return o;
697 } 697 }
698 698
699 checkUnnamed3196(core.Map<core.String, core.String> o) { 699 checkUnnamed2986(core.Map<core.String, core.String> o) {
700 unittest.expect(o, unittest.hasLength(2)); 700 unittest.expect(o, unittest.hasLength(2));
701 unittest.expect(o["x"], unittest.equals('foo')); 701 unittest.expect(o["x"], unittest.equals('foo'));
702 unittest.expect(o["y"], unittest.equals('foo')); 702 unittest.expect(o["y"], unittest.equals('foo'));
703 } 703 }
704 704
705 core.int buildCounterJobConfiguration = 0; 705 core.int buildCounterJobConfiguration = 0;
706 buildJobConfiguration() { 706 buildJobConfiguration() {
707 var o = new api.JobConfiguration(); 707 var o = new api.JobConfiguration();
708 buildCounterJobConfiguration++; 708 buildCounterJobConfiguration++;
709 if (buildCounterJobConfiguration < 3) { 709 if (buildCounterJobConfiguration < 3) {
710 o.copy = buildJobConfigurationTableCopy(); 710 o.copy = buildJobConfigurationTableCopy();
711 o.dryRun = true; 711 o.dryRun = true;
712 o.extract = buildJobConfigurationExtract(); 712 o.extract = buildJobConfigurationExtract();
713 o.labels = buildUnnamed3196(); 713 o.labels = buildUnnamed2986();
714 o.load = buildJobConfigurationLoad(); 714 o.load = buildJobConfigurationLoad();
715 o.query = buildJobConfigurationQuery(); 715 o.query = buildJobConfigurationQuery();
716 } 716 }
717 buildCounterJobConfiguration--; 717 buildCounterJobConfiguration--;
718 return o; 718 return o;
719 } 719 }
720 720
721 checkJobConfiguration(api.JobConfiguration o) { 721 checkJobConfiguration(api.JobConfiguration o) {
722 buildCounterJobConfiguration++; 722 buildCounterJobConfiguration++;
723 if (buildCounterJobConfiguration < 3) { 723 if (buildCounterJobConfiguration < 3) {
724 checkJobConfigurationTableCopy(o.copy); 724 checkJobConfigurationTableCopy(o.copy);
725 unittest.expect(o.dryRun, unittest.isTrue); 725 unittest.expect(o.dryRun, unittest.isTrue);
726 checkJobConfigurationExtract(o.extract); 726 checkJobConfigurationExtract(o.extract);
727 checkUnnamed3196(o.labels); 727 checkUnnamed2986(o.labels);
728 checkJobConfigurationLoad(o.load); 728 checkJobConfigurationLoad(o.load);
729 checkJobConfigurationQuery(o.query); 729 checkJobConfigurationQuery(o.query);
730 } 730 }
731 buildCounterJobConfiguration--; 731 buildCounterJobConfiguration--;
732 } 732 }
733 733
734 buildUnnamed3197() { 734 buildUnnamed2987() {
735 var o = new core.List<core.String>(); 735 var o = new core.List<core.String>();
736 o.add("foo"); 736 o.add("foo");
737 o.add("foo"); 737 o.add("foo");
738 return o; 738 return o;
739 } 739 }
740 740
741 checkUnnamed3197(core.List<core.String> o) { 741 checkUnnamed2987(core.List<core.String> o) {
742 unittest.expect(o, unittest.hasLength(2)); 742 unittest.expect(o, unittest.hasLength(2));
743 unittest.expect(o[0], unittest.equals('foo')); 743 unittest.expect(o[0], unittest.equals('foo'));
744 unittest.expect(o[1], unittest.equals('foo')); 744 unittest.expect(o[1], unittest.equals('foo'));
745 } 745 }
746 746
747 core.int buildCounterJobConfigurationExtract = 0; 747 core.int buildCounterJobConfigurationExtract = 0;
748 buildJobConfigurationExtract() { 748 buildJobConfigurationExtract() {
749 var o = new api.JobConfigurationExtract(); 749 var o = new api.JobConfigurationExtract();
750 buildCounterJobConfigurationExtract++; 750 buildCounterJobConfigurationExtract++;
751 if (buildCounterJobConfigurationExtract < 3) { 751 if (buildCounterJobConfigurationExtract < 3) {
752 o.compression = "foo"; 752 o.compression = "foo";
753 o.destinationFormat = "foo"; 753 o.destinationFormat = "foo";
754 o.destinationUri = "foo"; 754 o.destinationUri = "foo";
755 o.destinationUris = buildUnnamed3197(); 755 o.destinationUris = buildUnnamed2987();
756 o.fieldDelimiter = "foo"; 756 o.fieldDelimiter = "foo";
757 o.printHeader = true; 757 o.printHeader = true;
758 o.sourceTable = buildTableReference(); 758 o.sourceTable = buildTableReference();
759 } 759 }
760 buildCounterJobConfigurationExtract--; 760 buildCounterJobConfigurationExtract--;
761 return o; 761 return o;
762 } 762 }
763 763
764 checkJobConfigurationExtract(api.JobConfigurationExtract o) { 764 checkJobConfigurationExtract(api.JobConfigurationExtract o) {
765 buildCounterJobConfigurationExtract++; 765 buildCounterJobConfigurationExtract++;
766 if (buildCounterJobConfigurationExtract < 3) { 766 if (buildCounterJobConfigurationExtract < 3) {
767 unittest.expect(o.compression, unittest.equals('foo')); 767 unittest.expect(o.compression, unittest.equals('foo'));
768 unittest.expect(o.destinationFormat, unittest.equals('foo')); 768 unittest.expect(o.destinationFormat, unittest.equals('foo'));
769 unittest.expect(o.destinationUri, unittest.equals('foo')); 769 unittest.expect(o.destinationUri, unittest.equals('foo'));
770 checkUnnamed3197(o.destinationUris); 770 checkUnnamed2987(o.destinationUris);
771 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); 771 unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
772 unittest.expect(o.printHeader, unittest.isTrue); 772 unittest.expect(o.printHeader, unittest.isTrue);
773 checkTableReference(o.sourceTable); 773 checkTableReference(o.sourceTable);
774 } 774 }
775 buildCounterJobConfigurationExtract--; 775 buildCounterJobConfigurationExtract--;
776 } 776 }
777 777
778 buildUnnamed3198() { 778 buildUnnamed2988() {
779 var o = new core.List<core.String>(); 779 var o = new core.List<core.String>();
780 o.add("foo"); 780 o.add("foo");
781 o.add("foo"); 781 o.add("foo");
782 return o; 782 return o;
783 } 783 }
784 784
785 checkUnnamed3198(core.List<core.String> o) { 785 checkUnnamed2988(core.List<core.String> o) {
786 unittest.expect(o, unittest.hasLength(2)); 786 unittest.expect(o, unittest.hasLength(2));
787 unittest.expect(o[0], unittest.equals('foo')); 787 unittest.expect(o[0], unittest.equals('foo'));
788 unittest.expect(o[1], unittest.equals('foo')); 788 unittest.expect(o[1], unittest.equals('foo'));
789 } 789 }
790 790
791 buildUnnamed3199() { 791 buildUnnamed2989() {
792 var o = new core.List<core.String>(); 792 var o = new core.List<core.String>();
793 o.add("foo"); 793 o.add("foo");
794 o.add("foo"); 794 o.add("foo");
795 return o; 795 return o;
796 } 796 }
797 797
798 checkUnnamed3199(core.List<core.String> o) { 798 checkUnnamed2989(core.List<core.String> o) {
799 unittest.expect(o, unittest.hasLength(2)); 799 unittest.expect(o, unittest.hasLength(2));
800 unittest.expect(o[0], unittest.equals('foo')); 800 unittest.expect(o[0], unittest.equals('foo'));
801 unittest.expect(o[1], unittest.equals('foo')); 801 unittest.expect(o[1], unittest.equals('foo'));
802 } 802 }
803 803
804 buildUnnamed3200() { 804 buildUnnamed2990() {
805 var o = new core.List<core.String>(); 805 var o = new core.List<core.String>();
806 o.add("foo"); 806 o.add("foo");
807 o.add("foo"); 807 o.add("foo");
808 return o; 808 return o;
809 } 809 }
810 810
811 checkUnnamed3200(core.List<core.String> o) { 811 checkUnnamed2990(core.List<core.String> o) {
812 unittest.expect(o, unittest.hasLength(2)); 812 unittest.expect(o, unittest.hasLength(2));
813 unittest.expect(o[0], unittest.equals('foo')); 813 unittest.expect(o[0], unittest.equals('foo'));
814 unittest.expect(o[1], unittest.equals('foo')); 814 unittest.expect(o[1], unittest.equals('foo'));
815 } 815 }
816 816
817 core.int buildCounterJobConfigurationLoad = 0; 817 core.int buildCounterJobConfigurationLoad = 0;
818 buildJobConfigurationLoad() { 818 buildJobConfigurationLoad() {
819 var o = new api.JobConfigurationLoad(); 819 var o = new api.JobConfigurationLoad();
820 buildCounterJobConfigurationLoad++; 820 buildCounterJobConfigurationLoad++;
821 if (buildCounterJobConfigurationLoad < 3) { 821 if (buildCounterJobConfigurationLoad < 3) {
822 o.allowJaggedRows = true; 822 o.allowJaggedRows = true;
823 o.allowQuotedNewlines = true; 823 o.allowQuotedNewlines = true;
824 o.autodetect = true; 824 o.autodetect = true;
825 o.createDisposition = "foo"; 825 o.createDisposition = "foo";
826 o.destinationTable = buildTableReference(); 826 o.destinationTable = buildTableReference();
827 o.encoding = "foo"; 827 o.encoding = "foo";
828 o.fieldDelimiter = "foo"; 828 o.fieldDelimiter = "foo";
829 o.ignoreUnknownValues = true; 829 o.ignoreUnknownValues = true;
830 o.maxBadRecords = 42; 830 o.maxBadRecords = 42;
831 o.projectionFields = buildUnnamed3198(); 831 o.projectionFields = buildUnnamed2988();
832 o.quote = "foo"; 832 o.quote = "foo";
833 o.schema = buildTableSchema(); 833 o.schema = buildTableSchema();
834 o.schemaInline = "foo"; 834 o.schemaInline = "foo";
835 o.schemaInlineFormat = "foo"; 835 o.schemaInlineFormat = "foo";
836 o.schemaUpdateOptions = buildUnnamed3199(); 836 o.schemaUpdateOptions = buildUnnamed2989();
837 o.skipLeadingRows = 42; 837 o.skipLeadingRows = 42;
838 o.sourceFormat = "foo"; 838 o.sourceFormat = "foo";
839 o.sourceUris = buildUnnamed3200(); 839 o.sourceUris = buildUnnamed2990();
840 o.writeDisposition = "foo"; 840 o.writeDisposition = "foo";
841 } 841 }
842 buildCounterJobConfigurationLoad--; 842 buildCounterJobConfigurationLoad--;
843 return o; 843 return o;
844 } 844 }
845 845
846 checkJobConfigurationLoad(api.JobConfigurationLoad o) { 846 checkJobConfigurationLoad(api.JobConfigurationLoad o) {
847 buildCounterJobConfigurationLoad++; 847 buildCounterJobConfigurationLoad++;
848 if (buildCounterJobConfigurationLoad < 3) { 848 if (buildCounterJobConfigurationLoad < 3) {
849 unittest.expect(o.allowJaggedRows, unittest.isTrue); 849 unittest.expect(o.allowJaggedRows, unittest.isTrue);
850 unittest.expect(o.allowQuotedNewlines, unittest.isTrue); 850 unittest.expect(o.allowQuotedNewlines, unittest.isTrue);
851 unittest.expect(o.autodetect, unittest.isTrue); 851 unittest.expect(o.autodetect, unittest.isTrue);
852 unittest.expect(o.createDisposition, unittest.equals('foo')); 852 unittest.expect(o.createDisposition, unittest.equals('foo'));
853 checkTableReference(o.destinationTable); 853 checkTableReference(o.destinationTable);
854 unittest.expect(o.encoding, unittest.equals('foo')); 854 unittest.expect(o.encoding, unittest.equals('foo'));
855 unittest.expect(o.fieldDelimiter, unittest.equals('foo')); 855 unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
856 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); 856 unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
857 unittest.expect(o.maxBadRecords, unittest.equals(42)); 857 unittest.expect(o.maxBadRecords, unittest.equals(42));
858 checkUnnamed3198(o.projectionFields); 858 checkUnnamed2988(o.projectionFields);
859 unittest.expect(o.quote, unittest.equals('foo')); 859 unittest.expect(o.quote, unittest.equals('foo'));
860 checkTableSchema(o.schema); 860 checkTableSchema(o.schema);
861 unittest.expect(o.schemaInline, unittest.equals('foo')); 861 unittest.expect(o.schemaInline, unittest.equals('foo'));
862 unittest.expect(o.schemaInlineFormat, unittest.equals('foo')); 862 unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
863 checkUnnamed3199(o.schemaUpdateOptions); 863 checkUnnamed2989(o.schemaUpdateOptions);
864 unittest.expect(o.skipLeadingRows, unittest.equals(42)); 864 unittest.expect(o.skipLeadingRows, unittest.equals(42));
865 unittest.expect(o.sourceFormat, unittest.equals('foo')); 865 unittest.expect(o.sourceFormat, unittest.equals('foo'));
866 checkUnnamed3200(o.sourceUris); 866 checkUnnamed2990(o.sourceUris);
867 unittest.expect(o.writeDisposition, unittest.equals('foo')); 867 unittest.expect(o.writeDisposition, unittest.equals('foo'));
868 } 868 }
869 buildCounterJobConfigurationLoad--; 869 buildCounterJobConfigurationLoad--;
870 } 870 }
871 871
872 buildUnnamed3201() { 872 buildUnnamed2991() {
873 var o = new core.List<api.QueryParameter>(); 873 var o = new core.List<api.QueryParameter>();
874 o.add(buildQueryParameter()); 874 o.add(buildQueryParameter());
875 o.add(buildQueryParameter()); 875 o.add(buildQueryParameter());
876 return o; 876 return o;
877 } 877 }
878 878
879 checkUnnamed3201(core.List<api.QueryParameter> o) { 879 checkUnnamed2991(core.List<api.QueryParameter> o) {
880 unittest.expect(o, unittest.hasLength(2)); 880 unittest.expect(o, unittest.hasLength(2));
881 checkQueryParameter(o[0]); 881 checkQueryParameter(o[0]);
882 checkQueryParameter(o[1]); 882 checkQueryParameter(o[1]);
883 } 883 }
884 884
885 buildUnnamed3202() { 885 buildUnnamed2992() {
886 var o = new core.List<core.String>(); 886 var o = new core.List<core.String>();
887 o.add("foo"); 887 o.add("foo");
888 o.add("foo"); 888 o.add("foo");
889 return o; 889 return o;
890 } 890 }
891 891
892 checkUnnamed3202(core.List<core.String> o) { 892 checkUnnamed2992(core.List<core.String> o) {
893 unittest.expect(o, unittest.hasLength(2)); 893 unittest.expect(o, unittest.hasLength(2));
894 unittest.expect(o[0], unittest.equals('foo')); 894 unittest.expect(o[0], unittest.equals('foo'));
895 unittest.expect(o[1], unittest.equals('foo')); 895 unittest.expect(o[1], unittest.equals('foo'));
896 } 896 }
897 897
898 buildUnnamed3203() { 898 buildUnnamed2993() {
899 var o = new core.Map<core.String, api.ExternalDataConfiguration>(); 899 var o = new core.Map<core.String, api.ExternalDataConfiguration>();
900 o["x"] = buildExternalDataConfiguration(); 900 o["x"] = buildExternalDataConfiguration();
901 o["y"] = buildExternalDataConfiguration(); 901 o["y"] = buildExternalDataConfiguration();
902 return o; 902 return o;
903 } 903 }
904 904
905 checkUnnamed3203(core.Map<core.String, api.ExternalDataConfiguration> o) { 905 checkUnnamed2993(core.Map<core.String, api.ExternalDataConfiguration> o) {
906 unittest.expect(o, unittest.hasLength(2)); 906 unittest.expect(o, unittest.hasLength(2));
907 checkExternalDataConfiguration(o["x"]); 907 checkExternalDataConfiguration(o["x"]);
908 checkExternalDataConfiguration(o["y"]); 908 checkExternalDataConfiguration(o["y"]);
909 } 909 }
910 910
911 buildUnnamed3204() { 911 buildUnnamed2994() {
912 var o = new core.List<api.UserDefinedFunctionResource>(); 912 var o = new core.List<api.UserDefinedFunctionResource>();
913 o.add(buildUserDefinedFunctionResource()); 913 o.add(buildUserDefinedFunctionResource());
914 o.add(buildUserDefinedFunctionResource()); 914 o.add(buildUserDefinedFunctionResource());
915 return o; 915 return o;
916 } 916 }
917 917
918 checkUnnamed3204(core.List<api.UserDefinedFunctionResource> o) { 918 checkUnnamed2994(core.List<api.UserDefinedFunctionResource> o) {
919 unittest.expect(o, unittest.hasLength(2)); 919 unittest.expect(o, unittest.hasLength(2));
920 checkUserDefinedFunctionResource(o[0]); 920 checkUserDefinedFunctionResource(o[0]);
921 checkUserDefinedFunctionResource(o[1]); 921 checkUserDefinedFunctionResource(o[1]);
922 } 922 }
923 923
924 core.int buildCounterJobConfigurationQuery = 0; 924 core.int buildCounterJobConfigurationQuery = 0;
925 buildJobConfigurationQuery() { 925 buildJobConfigurationQuery() {
926 var o = new api.JobConfigurationQuery(); 926 var o = new api.JobConfigurationQuery();
927 buildCounterJobConfigurationQuery++; 927 buildCounterJobConfigurationQuery++;
928 if (buildCounterJobConfigurationQuery < 3) { 928 if (buildCounterJobConfigurationQuery < 3) {
929 o.allowLargeResults = true; 929 o.allowLargeResults = true;
930 o.createDisposition = "foo"; 930 o.createDisposition = "foo";
931 o.defaultDataset = buildDatasetReference(); 931 o.defaultDataset = buildDatasetReference();
932 o.destinationTable = buildTableReference(); 932 o.destinationTable = buildTableReference();
933 o.flattenResults = true; 933 o.flattenResults = true;
934 o.maximumBillingTier = 42; 934 o.maximumBillingTier = 42;
935 o.maximumBytesBilled = "foo"; 935 o.maximumBytesBilled = "foo";
936 o.parameterMode = "foo"; 936 o.parameterMode = "foo";
937 o.preserveNulls = true; 937 o.preserveNulls = true;
938 o.priority = "foo"; 938 o.priority = "foo";
939 o.query = "foo"; 939 o.query = "foo";
940 o.queryParameters = buildUnnamed3201(); 940 o.queryParameters = buildUnnamed2991();
941 o.schemaUpdateOptions = buildUnnamed3202(); 941 o.schemaUpdateOptions = buildUnnamed2992();
942 o.tableDefinitions = buildUnnamed3203(); 942 o.tableDefinitions = buildUnnamed2993();
943 o.useLegacySql = true; 943 o.useLegacySql = true;
944 o.useQueryCache = true; 944 o.useQueryCache = true;
945 o.userDefinedFunctionResources = buildUnnamed3204(); 945 o.userDefinedFunctionResources = buildUnnamed2994();
946 o.writeDisposition = "foo"; 946 o.writeDisposition = "foo";
947 } 947 }
948 buildCounterJobConfigurationQuery--; 948 buildCounterJobConfigurationQuery--;
949 return o; 949 return o;
950 } 950 }
951 951
952 checkJobConfigurationQuery(api.JobConfigurationQuery o) { 952 checkJobConfigurationQuery(api.JobConfigurationQuery o) {
953 buildCounterJobConfigurationQuery++; 953 buildCounterJobConfigurationQuery++;
954 if (buildCounterJobConfigurationQuery < 3) { 954 if (buildCounterJobConfigurationQuery < 3) {
955 unittest.expect(o.allowLargeResults, unittest.isTrue); 955 unittest.expect(o.allowLargeResults, unittest.isTrue);
956 unittest.expect(o.createDisposition, unittest.equals('foo')); 956 unittest.expect(o.createDisposition, unittest.equals('foo'));
957 checkDatasetReference(o.defaultDataset); 957 checkDatasetReference(o.defaultDataset);
958 checkTableReference(o.destinationTable); 958 checkTableReference(o.destinationTable);
959 unittest.expect(o.flattenResults, unittest.isTrue); 959 unittest.expect(o.flattenResults, unittest.isTrue);
960 unittest.expect(o.maximumBillingTier, unittest.equals(42)); 960 unittest.expect(o.maximumBillingTier, unittest.equals(42));
961 unittest.expect(o.maximumBytesBilled, unittest.equals('foo')); 961 unittest.expect(o.maximumBytesBilled, unittest.equals('foo'));
962 unittest.expect(o.parameterMode, unittest.equals('foo')); 962 unittest.expect(o.parameterMode, unittest.equals('foo'));
963 unittest.expect(o.preserveNulls, unittest.isTrue); 963 unittest.expect(o.preserveNulls, unittest.isTrue);
964 unittest.expect(o.priority, unittest.equals('foo')); 964 unittest.expect(o.priority, unittest.equals('foo'));
965 unittest.expect(o.query, unittest.equals('foo')); 965 unittest.expect(o.query, unittest.equals('foo'));
966 checkUnnamed3201(o.queryParameters); 966 checkUnnamed2991(o.queryParameters);
967 checkUnnamed3202(o.schemaUpdateOptions); 967 checkUnnamed2992(o.schemaUpdateOptions);
968 checkUnnamed3203(o.tableDefinitions); 968 checkUnnamed2993(o.tableDefinitions);
969 unittest.expect(o.useLegacySql, unittest.isTrue); 969 unittest.expect(o.useLegacySql, unittest.isTrue);
970 unittest.expect(o.useQueryCache, unittest.isTrue); 970 unittest.expect(o.useQueryCache, unittest.isTrue);
971 checkUnnamed3204(o.userDefinedFunctionResources); 971 checkUnnamed2994(o.userDefinedFunctionResources);
972 unittest.expect(o.writeDisposition, unittest.equals('foo')); 972 unittest.expect(o.writeDisposition, unittest.equals('foo'));
973 } 973 }
974 buildCounterJobConfigurationQuery--; 974 buildCounterJobConfigurationQuery--;
975 } 975 }
976 976
977 buildUnnamed3205() { 977 buildUnnamed2995() {
978 var o = new core.List<api.TableReference>(); 978 var o = new core.List<api.TableReference>();
979 o.add(buildTableReference()); 979 o.add(buildTableReference());
980 o.add(buildTableReference()); 980 o.add(buildTableReference());
981 return o; 981 return o;
982 } 982 }
983 983
984 checkUnnamed3205(core.List<api.TableReference> o) { 984 checkUnnamed2995(core.List<api.TableReference> o) {
985 unittest.expect(o, unittest.hasLength(2)); 985 unittest.expect(o, unittest.hasLength(2));
986 checkTableReference(o[0]); 986 checkTableReference(o[0]);
987 checkTableReference(o[1]); 987 checkTableReference(o[1]);
988 } 988 }
989 989
990 core.int buildCounterJobConfigurationTableCopy = 0; 990 core.int buildCounterJobConfigurationTableCopy = 0;
991 buildJobConfigurationTableCopy() { 991 buildJobConfigurationTableCopy() {
992 var o = new api.JobConfigurationTableCopy(); 992 var o = new api.JobConfigurationTableCopy();
993 buildCounterJobConfigurationTableCopy++; 993 buildCounterJobConfigurationTableCopy++;
994 if (buildCounterJobConfigurationTableCopy < 3) { 994 if (buildCounterJobConfigurationTableCopy < 3) {
995 o.createDisposition = "foo"; 995 o.createDisposition = "foo";
996 o.destinationTable = buildTableReference(); 996 o.destinationTable = buildTableReference();
997 o.sourceTable = buildTableReference(); 997 o.sourceTable = buildTableReference();
998 o.sourceTables = buildUnnamed3205(); 998 o.sourceTables = buildUnnamed2995();
999 o.writeDisposition = "foo"; 999 o.writeDisposition = "foo";
1000 } 1000 }
1001 buildCounterJobConfigurationTableCopy--; 1001 buildCounterJobConfigurationTableCopy--;
1002 return o; 1002 return o;
1003 } 1003 }
1004 1004
1005 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { 1005 checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) {
1006 buildCounterJobConfigurationTableCopy++; 1006 buildCounterJobConfigurationTableCopy++;
1007 if (buildCounterJobConfigurationTableCopy < 3) { 1007 if (buildCounterJobConfigurationTableCopy < 3) {
1008 unittest.expect(o.createDisposition, unittest.equals('foo')); 1008 unittest.expect(o.createDisposition, unittest.equals('foo'));
1009 checkTableReference(o.destinationTable); 1009 checkTableReference(o.destinationTable);
1010 checkTableReference(o.sourceTable); 1010 checkTableReference(o.sourceTable);
1011 checkUnnamed3205(o.sourceTables); 1011 checkUnnamed2995(o.sourceTables);
1012 unittest.expect(o.writeDisposition, unittest.equals('foo')); 1012 unittest.expect(o.writeDisposition, unittest.equals('foo'));
1013 } 1013 }
1014 buildCounterJobConfigurationTableCopy--; 1014 buildCounterJobConfigurationTableCopy--;
1015 } 1015 }
1016 1016
1017 core.int buildCounterJobListJobs = 0; 1017 core.int buildCounterJobListJobs = 0;
1018 buildJobListJobs() { 1018 buildJobListJobs() {
1019 var o = new api.JobListJobs(); 1019 var o = new api.JobListJobs();
1020 buildCounterJobListJobs++; 1020 buildCounterJobListJobs++;
1021 if (buildCounterJobListJobs < 3) { 1021 if (buildCounterJobListJobs < 3) {
(...skipping 20 matching lines...) Expand all
1042 checkJobReference(o.jobReference); 1042 checkJobReference(o.jobReference);
1043 unittest.expect(o.kind, unittest.equals('foo')); 1043 unittest.expect(o.kind, unittest.equals('foo'));
1044 unittest.expect(o.state, unittest.equals('foo')); 1044 unittest.expect(o.state, unittest.equals('foo'));
1045 checkJobStatistics(o.statistics); 1045 checkJobStatistics(o.statistics);
1046 checkJobStatus(o.status); 1046 checkJobStatus(o.status);
1047 unittest.expect(o.userEmail, unittest.equals('foo')); 1047 unittest.expect(o.userEmail, unittest.equals('foo'));
1048 } 1048 }
1049 buildCounterJobListJobs--; 1049 buildCounterJobListJobs--;
1050 } 1050 }
1051 1051
1052 buildUnnamed3206() { 1052 buildUnnamed2996() {
1053 var o = new core.List<api.JobListJobs>(); 1053 var o = new core.List<api.JobListJobs>();
1054 o.add(buildJobListJobs()); 1054 o.add(buildJobListJobs());
1055 o.add(buildJobListJobs()); 1055 o.add(buildJobListJobs());
1056 return o; 1056 return o;
1057 } 1057 }
1058 1058
1059 checkUnnamed3206(core.List<api.JobListJobs> o) { 1059 checkUnnamed2996(core.List<api.JobListJobs> o) {
1060 unittest.expect(o, unittest.hasLength(2)); 1060 unittest.expect(o, unittest.hasLength(2));
1061 checkJobListJobs(o[0]); 1061 checkJobListJobs(o[0]);
1062 checkJobListJobs(o[1]); 1062 checkJobListJobs(o[1]);
1063 } 1063 }
1064 1064
1065 core.int buildCounterJobList = 0; 1065 core.int buildCounterJobList = 0;
1066 buildJobList() { 1066 buildJobList() {
1067 var o = new api.JobList(); 1067 var o = new api.JobList();
1068 buildCounterJobList++; 1068 buildCounterJobList++;
1069 if (buildCounterJobList < 3) { 1069 if (buildCounterJobList < 3) {
1070 o.etag = "foo"; 1070 o.etag = "foo";
1071 o.jobs = buildUnnamed3206(); 1071 o.jobs = buildUnnamed2996();
1072 o.kind = "foo"; 1072 o.kind = "foo";
1073 o.nextPageToken = "foo"; 1073 o.nextPageToken = "foo";
1074 } 1074 }
1075 buildCounterJobList--; 1075 buildCounterJobList--;
1076 return o; 1076 return o;
1077 } 1077 }
1078 1078
1079 checkJobList(api.JobList o) { 1079 checkJobList(api.JobList o) {
1080 buildCounterJobList++; 1080 buildCounterJobList++;
1081 if (buildCounterJobList < 3) { 1081 if (buildCounterJobList < 3) {
1082 unittest.expect(o.etag, unittest.equals('foo')); 1082 unittest.expect(o.etag, unittest.equals('foo'));
1083 checkUnnamed3206(o.jobs); 1083 checkUnnamed2996(o.jobs);
1084 unittest.expect(o.kind, unittest.equals('foo')); 1084 unittest.expect(o.kind, unittest.equals('foo'));
1085 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1085 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1086 } 1086 }
1087 buildCounterJobList--; 1087 buildCounterJobList--;
1088 } 1088 }
1089 1089
1090 core.int buildCounterJobReference = 0; 1090 core.int buildCounterJobReference = 0;
1091 buildJobReference() { 1091 buildJobReference() {
1092 var o = new api.JobReference(); 1092 var o = new api.JobReference();
1093 buildCounterJobReference++; 1093 buildCounterJobReference++;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 unittest.expect(o.endTime, unittest.equals('foo')); 1132 unittest.expect(o.endTime, unittest.equals('foo'));
1133 checkJobStatistics4(o.extract); 1133 checkJobStatistics4(o.extract);
1134 checkJobStatistics3(o.load); 1134 checkJobStatistics3(o.load);
1135 checkJobStatistics2(o.query); 1135 checkJobStatistics2(o.query);
1136 unittest.expect(o.startTime, unittest.equals('foo')); 1136 unittest.expect(o.startTime, unittest.equals('foo'));
1137 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); 1137 unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
1138 } 1138 }
1139 buildCounterJobStatistics--; 1139 buildCounterJobStatistics--;
1140 } 1140 }
1141 1141
1142 buildUnnamed3207() { 1142 buildUnnamed2997() {
1143 var o = new core.List<api.ExplainQueryStage>(); 1143 var o = new core.List<api.ExplainQueryStage>();
1144 o.add(buildExplainQueryStage()); 1144 o.add(buildExplainQueryStage());
1145 o.add(buildExplainQueryStage()); 1145 o.add(buildExplainQueryStage());
1146 return o; 1146 return o;
1147 } 1147 }
1148 1148
1149 checkUnnamed3207(core.List<api.ExplainQueryStage> o) { 1149 checkUnnamed2997(core.List<api.ExplainQueryStage> o) {
1150 unittest.expect(o, unittest.hasLength(2)); 1150 unittest.expect(o, unittest.hasLength(2));
1151 checkExplainQueryStage(o[0]); 1151 checkExplainQueryStage(o[0]);
1152 checkExplainQueryStage(o[1]); 1152 checkExplainQueryStage(o[1]);
1153 } 1153 }
1154 1154
1155 buildUnnamed3208() { 1155 buildUnnamed2998() {
1156 var o = new core.List<api.TableReference>(); 1156 var o = new core.List<api.TableReference>();
1157 o.add(buildTableReference()); 1157 o.add(buildTableReference());
1158 o.add(buildTableReference()); 1158 o.add(buildTableReference());
1159 return o; 1159 return o;
1160 } 1160 }
1161 1161
1162 checkUnnamed3208(core.List<api.TableReference> o) { 1162 checkUnnamed2998(core.List<api.TableReference> o) {
1163 unittest.expect(o, unittest.hasLength(2)); 1163 unittest.expect(o, unittest.hasLength(2));
1164 checkTableReference(o[0]); 1164 checkTableReference(o[0]);
1165 checkTableReference(o[1]); 1165 checkTableReference(o[1]);
1166 } 1166 }
1167 1167
1168 buildUnnamed3209() { 1168 buildUnnamed2999() {
1169 var o = new core.List<api.QueryParameter>(); 1169 var o = new core.List<api.QueryParameter>();
1170 o.add(buildQueryParameter()); 1170 o.add(buildQueryParameter());
1171 o.add(buildQueryParameter()); 1171 o.add(buildQueryParameter());
1172 return o; 1172 return o;
1173 } 1173 }
1174 1174
1175 checkUnnamed3209(core.List<api.QueryParameter> o) { 1175 checkUnnamed2999(core.List<api.QueryParameter> o) {
1176 unittest.expect(o, unittest.hasLength(2)); 1176 unittest.expect(o, unittest.hasLength(2));
1177 checkQueryParameter(o[0]); 1177 checkQueryParameter(o[0]);
1178 checkQueryParameter(o[1]); 1178 checkQueryParameter(o[1]);
1179 } 1179 }
1180 1180
1181 core.int buildCounterJobStatistics2 = 0; 1181 core.int buildCounterJobStatistics2 = 0;
1182 buildJobStatistics2() { 1182 buildJobStatistics2() {
1183 var o = new api.JobStatistics2(); 1183 var o = new api.JobStatistics2();
1184 buildCounterJobStatistics2++; 1184 buildCounterJobStatistics2++;
1185 if (buildCounterJobStatistics2 < 3) { 1185 if (buildCounterJobStatistics2 < 3) {
1186 o.billingTier = 42; 1186 o.billingTier = 42;
1187 o.cacheHit = true; 1187 o.cacheHit = true;
1188 o.numDmlAffectedRows = "foo"; 1188 o.numDmlAffectedRows = "foo";
1189 o.queryPlan = buildUnnamed3207(); 1189 o.queryPlan = buildUnnamed2997();
1190 o.referencedTables = buildUnnamed3208(); 1190 o.referencedTables = buildUnnamed2998();
1191 o.schema = buildTableSchema(); 1191 o.schema = buildTableSchema();
1192 o.totalBytesBilled = "foo"; 1192 o.totalBytesBilled = "foo";
1193 o.totalBytesProcessed = "foo"; 1193 o.totalBytesProcessed = "foo";
1194 o.undeclaredQueryParameters = buildUnnamed3209(); 1194 o.undeclaredQueryParameters = buildUnnamed2999();
1195 } 1195 }
1196 buildCounterJobStatistics2--; 1196 buildCounterJobStatistics2--;
1197 return o; 1197 return o;
1198 } 1198 }
1199 1199
1200 checkJobStatistics2(api.JobStatistics2 o) { 1200 checkJobStatistics2(api.JobStatistics2 o) {
1201 buildCounterJobStatistics2++; 1201 buildCounterJobStatistics2++;
1202 if (buildCounterJobStatistics2 < 3) { 1202 if (buildCounterJobStatistics2 < 3) {
1203 unittest.expect(o.billingTier, unittest.equals(42)); 1203 unittest.expect(o.billingTier, unittest.equals(42));
1204 unittest.expect(o.cacheHit, unittest.isTrue); 1204 unittest.expect(o.cacheHit, unittest.isTrue);
1205 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); 1205 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
1206 checkUnnamed3207(o.queryPlan); 1206 checkUnnamed2997(o.queryPlan);
1207 checkUnnamed3208(o.referencedTables); 1207 checkUnnamed2998(o.referencedTables);
1208 checkTableSchema(o.schema); 1208 checkTableSchema(o.schema);
1209 unittest.expect(o.totalBytesBilled, unittest.equals('foo')); 1209 unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
1210 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); 1210 unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
1211 checkUnnamed3209(o.undeclaredQueryParameters); 1211 checkUnnamed2999(o.undeclaredQueryParameters);
1212 } 1212 }
1213 buildCounterJobStatistics2--; 1213 buildCounterJobStatistics2--;
1214 } 1214 }
1215 1215
1216 core.int buildCounterJobStatistics3 = 0; 1216 core.int buildCounterJobStatistics3 = 0;
1217 buildJobStatistics3() { 1217 buildJobStatistics3() {
1218 var o = new api.JobStatistics3(); 1218 var o = new api.JobStatistics3();
1219 buildCounterJobStatistics3++; 1219 buildCounterJobStatistics3++;
1220 if (buildCounterJobStatistics3 < 3) { 1220 if (buildCounterJobStatistics3 < 3) {
1221 o.inputFileBytes = "foo"; 1221 o.inputFileBytes = "foo";
1222 o.inputFiles = "foo"; 1222 o.inputFiles = "foo";
1223 o.outputBytes = "foo"; 1223 o.outputBytes = "foo";
1224 o.outputRows = "foo"; 1224 o.outputRows = "foo";
1225 } 1225 }
1226 buildCounterJobStatistics3--; 1226 buildCounterJobStatistics3--;
1227 return o; 1227 return o;
1228 } 1228 }
1229 1229
1230 checkJobStatistics3(api.JobStatistics3 o) { 1230 checkJobStatistics3(api.JobStatistics3 o) {
1231 buildCounterJobStatistics3++; 1231 buildCounterJobStatistics3++;
1232 if (buildCounterJobStatistics3 < 3) { 1232 if (buildCounterJobStatistics3 < 3) {
1233 unittest.expect(o.inputFileBytes, unittest.equals('foo')); 1233 unittest.expect(o.inputFileBytes, unittest.equals('foo'));
1234 unittest.expect(o.inputFiles, unittest.equals('foo')); 1234 unittest.expect(o.inputFiles, unittest.equals('foo'));
1235 unittest.expect(o.outputBytes, unittest.equals('foo')); 1235 unittest.expect(o.outputBytes, unittest.equals('foo'));
1236 unittest.expect(o.outputRows, unittest.equals('foo')); 1236 unittest.expect(o.outputRows, unittest.equals('foo'));
1237 } 1237 }
1238 buildCounterJobStatistics3--; 1238 buildCounterJobStatistics3--;
1239 } 1239 }
1240 1240
1241 buildUnnamed3210() { 1241 buildUnnamed3000() {
1242 var o = new core.List<core.String>(); 1242 var o = new core.List<core.String>();
1243 o.add("foo"); 1243 o.add("foo");
1244 o.add("foo"); 1244 o.add("foo");
1245 return o; 1245 return o;
1246 } 1246 }
1247 1247
1248 checkUnnamed3210(core.List<core.String> o) { 1248 checkUnnamed3000(core.List<core.String> o) {
1249 unittest.expect(o, unittest.hasLength(2)); 1249 unittest.expect(o, unittest.hasLength(2));
1250 unittest.expect(o[0], unittest.equals('foo')); 1250 unittest.expect(o[0], unittest.equals('foo'));
1251 unittest.expect(o[1], unittest.equals('foo')); 1251 unittest.expect(o[1], unittest.equals('foo'));
1252 } 1252 }
1253 1253
1254 core.int buildCounterJobStatistics4 = 0; 1254 core.int buildCounterJobStatistics4 = 0;
1255 buildJobStatistics4() { 1255 buildJobStatistics4() {
1256 var o = new api.JobStatistics4(); 1256 var o = new api.JobStatistics4();
1257 buildCounterJobStatistics4++; 1257 buildCounterJobStatistics4++;
1258 if (buildCounterJobStatistics4 < 3) { 1258 if (buildCounterJobStatistics4 < 3) {
1259 o.destinationUriFileCounts = buildUnnamed3210(); 1259 o.destinationUriFileCounts = buildUnnamed3000();
1260 } 1260 }
1261 buildCounterJobStatistics4--; 1261 buildCounterJobStatistics4--;
1262 return o; 1262 return o;
1263 } 1263 }
1264 1264
1265 checkJobStatistics4(api.JobStatistics4 o) { 1265 checkJobStatistics4(api.JobStatistics4 o) {
1266 buildCounterJobStatistics4++; 1266 buildCounterJobStatistics4++;
1267 if (buildCounterJobStatistics4 < 3) { 1267 if (buildCounterJobStatistics4 < 3) {
1268 checkUnnamed3210(o.destinationUriFileCounts); 1268 checkUnnamed3000(o.destinationUriFileCounts);
1269 } 1269 }
1270 buildCounterJobStatistics4--; 1270 buildCounterJobStatistics4--;
1271 } 1271 }
1272 1272
1273 buildUnnamed3211() { 1273 buildUnnamed3001() {
1274 var o = new core.List<api.ErrorProto>(); 1274 var o = new core.List<api.ErrorProto>();
1275 o.add(buildErrorProto()); 1275 o.add(buildErrorProto());
1276 o.add(buildErrorProto()); 1276 o.add(buildErrorProto());
1277 return o; 1277 return o;
1278 } 1278 }
1279 1279
1280 checkUnnamed3211(core.List<api.ErrorProto> o) { 1280 checkUnnamed3001(core.List<api.ErrorProto> o) {
1281 unittest.expect(o, unittest.hasLength(2)); 1281 unittest.expect(o, unittest.hasLength(2));
1282 checkErrorProto(o[0]); 1282 checkErrorProto(o[0]);
1283 checkErrorProto(o[1]); 1283 checkErrorProto(o[1]);
1284 } 1284 }
1285 1285
1286 core.int buildCounterJobStatus = 0; 1286 core.int buildCounterJobStatus = 0;
1287 buildJobStatus() { 1287 buildJobStatus() {
1288 var o = new api.JobStatus(); 1288 var o = new api.JobStatus();
1289 buildCounterJobStatus++; 1289 buildCounterJobStatus++;
1290 if (buildCounterJobStatus < 3) { 1290 if (buildCounterJobStatus < 3) {
1291 o.errorResult = buildErrorProto(); 1291 o.errorResult = buildErrorProto();
1292 o.errors = buildUnnamed3211(); 1292 o.errors = buildUnnamed3001();
1293 o.state = "foo"; 1293 o.state = "foo";
1294 } 1294 }
1295 buildCounterJobStatus--; 1295 buildCounterJobStatus--;
1296 return o; 1296 return o;
1297 } 1297 }
1298 1298
1299 checkJobStatus(api.JobStatus o) { 1299 checkJobStatus(api.JobStatus o) {
1300 buildCounterJobStatus++; 1300 buildCounterJobStatus++;
1301 if (buildCounterJobStatus < 3) { 1301 if (buildCounterJobStatus < 3) {
1302 checkErrorProto(o.errorResult); 1302 checkErrorProto(o.errorResult);
1303 checkUnnamed3211(o.errors); 1303 checkUnnamed3001(o.errors);
1304 unittest.expect(o.state, unittest.equals('foo')); 1304 unittest.expect(o.state, unittest.equals('foo'));
1305 } 1305 }
1306 buildCounterJobStatus--; 1306 buildCounterJobStatus--;
1307 } 1307 }
1308 1308
1309 buildJsonObject() { 1309 buildJsonObject() {
1310 var o = new api.JsonObject(); 1310 var o = new api.JsonObject();
1311 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1311 o["a"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1312 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1312 o["b"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1313 return o; 1313 return o;
(...skipping 25 matching lines...) Expand all
1339 if (buildCounterProjectListProjects < 3) { 1339 if (buildCounterProjectListProjects < 3) {
1340 unittest.expect(o.friendlyName, unittest.equals('foo')); 1340 unittest.expect(o.friendlyName, unittest.equals('foo'));
1341 unittest.expect(o.id, unittest.equals('foo')); 1341 unittest.expect(o.id, unittest.equals('foo'));
1342 unittest.expect(o.kind, unittest.equals('foo')); 1342 unittest.expect(o.kind, unittest.equals('foo'));
1343 unittest.expect(o.numericId, unittest.equals('foo')); 1343 unittest.expect(o.numericId, unittest.equals('foo'));
1344 checkProjectReference(o.projectReference); 1344 checkProjectReference(o.projectReference);
1345 } 1345 }
1346 buildCounterProjectListProjects--; 1346 buildCounterProjectListProjects--;
1347 } 1347 }
1348 1348
1349 buildUnnamed3212() { 1349 buildUnnamed3002() {
1350 var o = new core.List<api.ProjectListProjects>(); 1350 var o = new core.List<api.ProjectListProjects>();
1351 o.add(buildProjectListProjects()); 1351 o.add(buildProjectListProjects());
1352 o.add(buildProjectListProjects()); 1352 o.add(buildProjectListProjects());
1353 return o; 1353 return o;
1354 } 1354 }
1355 1355
1356 checkUnnamed3212(core.List<api.ProjectListProjects> o) { 1356 checkUnnamed3002(core.List<api.ProjectListProjects> o) {
1357 unittest.expect(o, unittest.hasLength(2)); 1357 unittest.expect(o, unittest.hasLength(2));
1358 checkProjectListProjects(o[0]); 1358 checkProjectListProjects(o[0]);
1359 checkProjectListProjects(o[1]); 1359 checkProjectListProjects(o[1]);
1360 } 1360 }
1361 1361
1362 core.int buildCounterProjectList = 0; 1362 core.int buildCounterProjectList = 0;
1363 buildProjectList() { 1363 buildProjectList() {
1364 var o = new api.ProjectList(); 1364 var o = new api.ProjectList();
1365 buildCounterProjectList++; 1365 buildCounterProjectList++;
1366 if (buildCounterProjectList < 3) { 1366 if (buildCounterProjectList < 3) {
1367 o.etag = "foo"; 1367 o.etag = "foo";
1368 o.kind = "foo"; 1368 o.kind = "foo";
1369 o.nextPageToken = "foo"; 1369 o.nextPageToken = "foo";
1370 o.projects = buildUnnamed3212(); 1370 o.projects = buildUnnamed3002();
1371 o.totalItems = 42; 1371 o.totalItems = 42;
1372 } 1372 }
1373 buildCounterProjectList--; 1373 buildCounterProjectList--;
1374 return o; 1374 return o;
1375 } 1375 }
1376 1376
1377 checkProjectList(api.ProjectList o) { 1377 checkProjectList(api.ProjectList o) {
1378 buildCounterProjectList++; 1378 buildCounterProjectList++;
1379 if (buildCounterProjectList < 3) { 1379 if (buildCounterProjectList < 3) {
1380 unittest.expect(o.etag, unittest.equals('foo')); 1380 unittest.expect(o.etag, unittest.equals('foo'));
1381 unittest.expect(o.kind, unittest.equals('foo')); 1381 unittest.expect(o.kind, unittest.equals('foo'));
1382 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1382 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1383 checkUnnamed3212(o.projects); 1383 checkUnnamed3002(o.projects);
1384 unittest.expect(o.totalItems, unittest.equals(42)); 1384 unittest.expect(o.totalItems, unittest.equals(42));
1385 } 1385 }
1386 buildCounterProjectList--; 1386 buildCounterProjectList--;
1387 } 1387 }
1388 1388
1389 core.int buildCounterProjectReference = 0; 1389 core.int buildCounterProjectReference = 0;
1390 buildProjectReference() { 1390 buildProjectReference() {
1391 var o = new api.ProjectReference(); 1391 var o = new api.ProjectReference();
1392 buildCounterProjectReference++; 1392 buildCounterProjectReference++;
1393 if (buildCounterProjectReference < 3) { 1393 if (buildCounterProjectReference < 3) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) { 1444 checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) {
1445 buildCounterQueryParameterTypeStructTypes++; 1445 buildCounterQueryParameterTypeStructTypes++;
1446 if (buildCounterQueryParameterTypeStructTypes < 3) { 1446 if (buildCounterQueryParameterTypeStructTypes < 3) {
1447 unittest.expect(o.description, unittest.equals('foo')); 1447 unittest.expect(o.description, unittest.equals('foo'));
1448 unittest.expect(o.name, unittest.equals('foo')); 1448 unittest.expect(o.name, unittest.equals('foo'));
1449 checkQueryParameterType(o.type); 1449 checkQueryParameterType(o.type);
1450 } 1450 }
1451 buildCounterQueryParameterTypeStructTypes--; 1451 buildCounterQueryParameterTypeStructTypes--;
1452 } 1452 }
1453 1453
1454 buildUnnamed3213() { 1454 buildUnnamed3003() {
1455 var o = new core.List<api.QueryParameterTypeStructTypes>(); 1455 var o = new core.List<api.QueryParameterTypeStructTypes>();
1456 o.add(buildQueryParameterTypeStructTypes()); 1456 o.add(buildQueryParameterTypeStructTypes());
1457 o.add(buildQueryParameterTypeStructTypes()); 1457 o.add(buildQueryParameterTypeStructTypes());
1458 return o; 1458 return o;
1459 } 1459 }
1460 1460
1461 checkUnnamed3213(core.List<api.QueryParameterTypeStructTypes> o) { 1461 checkUnnamed3003(core.List<api.QueryParameterTypeStructTypes> o) {
1462 unittest.expect(o, unittest.hasLength(2)); 1462 unittest.expect(o, unittest.hasLength(2));
1463 checkQueryParameterTypeStructTypes(o[0]); 1463 checkQueryParameterTypeStructTypes(o[0]);
1464 checkQueryParameterTypeStructTypes(o[1]); 1464 checkQueryParameterTypeStructTypes(o[1]);
1465 } 1465 }
1466 1466
1467 core.int buildCounterQueryParameterType = 0; 1467 core.int buildCounterQueryParameterType = 0;
1468 buildQueryParameterType() { 1468 buildQueryParameterType() {
1469 var o = new api.QueryParameterType(); 1469 var o = new api.QueryParameterType();
1470 buildCounterQueryParameterType++; 1470 buildCounterQueryParameterType++;
1471 if (buildCounterQueryParameterType < 3) { 1471 if (buildCounterQueryParameterType < 3) {
1472 o.arrayType = buildQueryParameterType(); 1472 o.arrayType = buildQueryParameterType();
1473 o.structTypes = buildUnnamed3213(); 1473 o.structTypes = buildUnnamed3003();
1474 o.type = "foo"; 1474 o.type = "foo";
1475 } 1475 }
1476 buildCounterQueryParameterType--; 1476 buildCounterQueryParameterType--;
1477 return o; 1477 return o;
1478 } 1478 }
1479 1479
1480 checkQueryParameterType(api.QueryParameterType o) { 1480 checkQueryParameterType(api.QueryParameterType o) {
1481 buildCounterQueryParameterType++; 1481 buildCounterQueryParameterType++;
1482 if (buildCounterQueryParameterType < 3) { 1482 if (buildCounterQueryParameterType < 3) {
1483 checkQueryParameterType(o.arrayType); 1483 checkQueryParameterType(o.arrayType);
1484 checkUnnamed3213(o.structTypes); 1484 checkUnnamed3003(o.structTypes);
1485 unittest.expect(o.type, unittest.equals('foo')); 1485 unittest.expect(o.type, unittest.equals('foo'));
1486 } 1486 }
1487 buildCounterQueryParameterType--; 1487 buildCounterQueryParameterType--;
1488 } 1488 }
1489 1489
1490 buildUnnamed3214() { 1490 buildUnnamed3004() {
1491 var o = new core.List<api.QueryParameterValue>(); 1491 var o = new core.List<api.QueryParameterValue>();
1492 o.add(buildQueryParameterValue()); 1492 o.add(buildQueryParameterValue());
1493 o.add(buildQueryParameterValue()); 1493 o.add(buildQueryParameterValue());
1494 return o; 1494 return o;
1495 } 1495 }
1496 1496
1497 checkUnnamed3214(core.List<api.QueryParameterValue> o) { 1497 checkUnnamed3004(core.List<api.QueryParameterValue> o) {
1498 unittest.expect(o, unittest.hasLength(2)); 1498 unittest.expect(o, unittest.hasLength(2));
1499 checkQueryParameterValue(o[0]); 1499 checkQueryParameterValue(o[0]);
1500 checkQueryParameterValue(o[1]); 1500 checkQueryParameterValue(o[1]);
1501 } 1501 }
1502 1502
1503 buildUnnamed3215() { 1503 buildUnnamed3005() {
1504 var o = new core.Map<core.String, api.QueryParameterValue>(); 1504 var o = new core.Map<core.String, api.QueryParameterValue>();
1505 o["x"] = buildQueryParameterValue(); 1505 o["x"] = buildQueryParameterValue();
1506 o["y"] = buildQueryParameterValue(); 1506 o["y"] = buildQueryParameterValue();
1507 return o; 1507 return o;
1508 } 1508 }
1509 1509
1510 checkUnnamed3215(core.Map<core.String, api.QueryParameterValue> o) { 1510 checkUnnamed3005(core.Map<core.String, api.QueryParameterValue> o) {
1511 unittest.expect(o, unittest.hasLength(2)); 1511 unittest.expect(o, unittest.hasLength(2));
1512 checkQueryParameterValue(o["x"]); 1512 checkQueryParameterValue(o["x"]);
1513 checkQueryParameterValue(o["y"]); 1513 checkQueryParameterValue(o["y"]);
1514 } 1514 }
1515 1515
1516 core.int buildCounterQueryParameterValue = 0; 1516 core.int buildCounterQueryParameterValue = 0;
1517 buildQueryParameterValue() { 1517 buildQueryParameterValue() {
1518 var o = new api.QueryParameterValue(); 1518 var o = new api.QueryParameterValue();
1519 buildCounterQueryParameterValue++; 1519 buildCounterQueryParameterValue++;
1520 if (buildCounterQueryParameterValue < 3) { 1520 if (buildCounterQueryParameterValue < 3) {
1521 o.arrayValues = buildUnnamed3214(); 1521 o.arrayValues = buildUnnamed3004();
1522 o.structValues = buildUnnamed3215(); 1522 o.structValues = buildUnnamed3005();
1523 o.value = "foo"; 1523 o.value = "foo";
1524 } 1524 }
1525 buildCounterQueryParameterValue--; 1525 buildCounterQueryParameterValue--;
1526 return o; 1526 return o;
1527 } 1527 }
1528 1528
1529 checkQueryParameterValue(api.QueryParameterValue o) { 1529 checkQueryParameterValue(api.QueryParameterValue o) {
1530 buildCounterQueryParameterValue++; 1530 buildCounterQueryParameterValue++;
1531 if (buildCounterQueryParameterValue < 3) { 1531 if (buildCounterQueryParameterValue < 3) {
1532 checkUnnamed3214(o.arrayValues); 1532 checkUnnamed3004(o.arrayValues);
1533 checkUnnamed3215(o.structValues); 1533 checkUnnamed3005(o.structValues);
1534 unittest.expect(o.value, unittest.equals('foo')); 1534 unittest.expect(o.value, unittest.equals('foo'));
1535 } 1535 }
1536 buildCounterQueryParameterValue--; 1536 buildCounterQueryParameterValue--;
1537 } 1537 }
1538 1538
1539 buildUnnamed3216() { 1539 buildUnnamed3006() {
1540 var o = new core.List<api.QueryParameter>(); 1540 var o = new core.List<api.QueryParameter>();
1541 o.add(buildQueryParameter()); 1541 o.add(buildQueryParameter());
1542 o.add(buildQueryParameter()); 1542 o.add(buildQueryParameter());
1543 return o; 1543 return o;
1544 } 1544 }
1545 1545
1546 checkUnnamed3216(core.List<api.QueryParameter> o) { 1546 checkUnnamed3006(core.List<api.QueryParameter> o) {
1547 unittest.expect(o, unittest.hasLength(2)); 1547 unittest.expect(o, unittest.hasLength(2));
1548 checkQueryParameter(o[0]); 1548 checkQueryParameter(o[0]);
1549 checkQueryParameter(o[1]); 1549 checkQueryParameter(o[1]);
1550 } 1550 }
1551 1551
1552 core.int buildCounterQueryRequest = 0; 1552 core.int buildCounterQueryRequest = 0;
1553 buildQueryRequest() { 1553 buildQueryRequest() {
1554 var o = new api.QueryRequest(); 1554 var o = new api.QueryRequest();
1555 buildCounterQueryRequest++; 1555 buildCounterQueryRequest++;
1556 if (buildCounterQueryRequest < 3) { 1556 if (buildCounterQueryRequest < 3) {
1557 o.defaultDataset = buildDatasetReference(); 1557 o.defaultDataset = buildDatasetReference();
1558 o.dryRun = true; 1558 o.dryRun = true;
1559 o.kind = "foo"; 1559 o.kind = "foo";
1560 o.maxResults = 42; 1560 o.maxResults = 42;
1561 o.parameterMode = "foo"; 1561 o.parameterMode = "foo";
1562 o.preserveNulls = true; 1562 o.preserveNulls = true;
1563 o.query = "foo"; 1563 o.query = "foo";
1564 o.queryParameters = buildUnnamed3216(); 1564 o.queryParameters = buildUnnamed3006();
1565 o.timeoutMs = 42; 1565 o.timeoutMs = 42;
1566 o.useLegacySql = true; 1566 o.useLegacySql = true;
1567 o.useQueryCache = true; 1567 o.useQueryCache = true;
1568 } 1568 }
1569 buildCounterQueryRequest--; 1569 buildCounterQueryRequest--;
1570 return o; 1570 return o;
1571 } 1571 }
1572 1572
1573 checkQueryRequest(api.QueryRequest o) { 1573 checkQueryRequest(api.QueryRequest o) {
1574 buildCounterQueryRequest++; 1574 buildCounterQueryRequest++;
1575 if (buildCounterQueryRequest < 3) { 1575 if (buildCounterQueryRequest < 3) {
1576 checkDatasetReference(o.defaultDataset); 1576 checkDatasetReference(o.defaultDataset);
1577 unittest.expect(o.dryRun, unittest.isTrue); 1577 unittest.expect(o.dryRun, unittest.isTrue);
1578 unittest.expect(o.kind, unittest.equals('foo')); 1578 unittest.expect(o.kind, unittest.equals('foo'));
1579 unittest.expect(o.maxResults, unittest.equals(42)); 1579 unittest.expect(o.maxResults, unittest.equals(42));
1580 unittest.expect(o.parameterMode, unittest.equals('foo')); 1580 unittest.expect(o.parameterMode, unittest.equals('foo'));
1581 unittest.expect(o.preserveNulls, unittest.isTrue); 1581 unittest.expect(o.preserveNulls, unittest.isTrue);
1582 unittest.expect(o.query, unittest.equals('foo')); 1582 unittest.expect(o.query, unittest.equals('foo'));
1583 checkUnnamed3216(o.queryParameters); 1583 checkUnnamed3006(o.queryParameters);
1584 unittest.expect(o.timeoutMs, unittest.equals(42)); 1584 unittest.expect(o.timeoutMs, unittest.equals(42));
1585 unittest.expect(o.useLegacySql, unittest.isTrue); 1585 unittest.expect(o.useLegacySql, unittest.isTrue);
1586 unittest.expect(o.useQueryCache, unittest.isTrue); 1586 unittest.expect(o.useQueryCache, unittest.isTrue);
1587 } 1587 }
1588 buildCounterQueryRequest--; 1588 buildCounterQueryRequest--;
1589 } 1589 }
1590 1590
1591 buildUnnamed3217() { 1591 buildUnnamed3007() {
1592 var o = new core.List<api.ErrorProto>(); 1592 var o = new core.List<api.ErrorProto>();
1593 o.add(buildErrorProto()); 1593 o.add(buildErrorProto());
1594 o.add(buildErrorProto()); 1594 o.add(buildErrorProto());
1595 return o; 1595 return o;
1596 } 1596 }
1597 1597
1598 checkUnnamed3217(core.List<api.ErrorProto> o) { 1598 checkUnnamed3007(core.List<api.ErrorProto> o) {
1599 unittest.expect(o, unittest.hasLength(2)); 1599 unittest.expect(o, unittest.hasLength(2));
1600 checkErrorProto(o[0]); 1600 checkErrorProto(o[0]);
1601 checkErrorProto(o[1]); 1601 checkErrorProto(o[1]);
1602 } 1602 }
1603 1603
1604 buildUnnamed3218() { 1604 buildUnnamed3008() {
1605 var o = new core.List<api.TableRow>(); 1605 var o = new core.List<api.TableRow>();
1606 o.add(buildTableRow()); 1606 o.add(buildTableRow());
1607 o.add(buildTableRow()); 1607 o.add(buildTableRow());
1608 return o; 1608 return o;
1609 } 1609 }
1610 1610
1611 checkUnnamed3218(core.List<api.TableRow> o) { 1611 checkUnnamed3008(core.List<api.TableRow> o) {
1612 unittest.expect(o, unittest.hasLength(2)); 1612 unittest.expect(o, unittest.hasLength(2));
1613 checkTableRow(o[0]); 1613 checkTableRow(o[0]);
1614 checkTableRow(o[1]); 1614 checkTableRow(o[1]);
1615 } 1615 }
1616 1616
1617 core.int buildCounterQueryResponse = 0; 1617 core.int buildCounterQueryResponse = 0;
1618 buildQueryResponse() { 1618 buildQueryResponse() {
1619 var o = new api.QueryResponse(); 1619 var o = new api.QueryResponse();
1620 buildCounterQueryResponse++; 1620 buildCounterQueryResponse++;
1621 if (buildCounterQueryResponse < 3) { 1621 if (buildCounterQueryResponse < 3) {
1622 o.cacheHit = true; 1622 o.cacheHit = true;
1623 o.errors = buildUnnamed3217(); 1623 o.errors = buildUnnamed3007();
1624 o.jobComplete = true; 1624 o.jobComplete = true;
1625 o.jobReference = buildJobReference(); 1625 o.jobReference = buildJobReference();
1626 o.kind = "foo"; 1626 o.kind = "foo";
1627 o.numDmlAffectedRows = "foo"; 1627 o.numDmlAffectedRows = "foo";
1628 o.pageToken = "foo"; 1628 o.pageToken = "foo";
1629 o.rows = buildUnnamed3218(); 1629 o.rows = buildUnnamed3008();
1630 o.schema = buildTableSchema(); 1630 o.schema = buildTableSchema();
1631 o.totalBytesProcessed = "foo"; 1631 o.totalBytesProcessed = "foo";
1632 o.totalRows = "foo"; 1632 o.totalRows = "foo";
1633 } 1633 }
1634 buildCounterQueryResponse--; 1634 buildCounterQueryResponse--;
1635 return o; 1635 return o;
1636 } 1636 }
1637 1637
1638 checkQueryResponse(api.QueryResponse o) { 1638 checkQueryResponse(api.QueryResponse o) {
1639 buildCounterQueryResponse++; 1639 buildCounterQueryResponse++;
1640 if (buildCounterQueryResponse < 3) { 1640 if (buildCounterQueryResponse < 3) {
1641 unittest.expect(o.cacheHit, unittest.isTrue); 1641 unittest.expect(o.cacheHit, unittest.isTrue);
1642 checkUnnamed3217(o.errors); 1642 checkUnnamed3007(o.errors);
1643 unittest.expect(o.jobComplete, unittest.isTrue); 1643 unittest.expect(o.jobComplete, unittest.isTrue);
1644 checkJobReference(o.jobReference); 1644 checkJobReference(o.jobReference);
1645 unittest.expect(o.kind, unittest.equals('foo')); 1645 unittest.expect(o.kind, unittest.equals('foo'));
1646 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo')); 1646 unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
1647 unittest.expect(o.pageToken, unittest.equals('foo')); 1647 unittest.expect(o.pageToken, unittest.equals('foo'));
1648 checkUnnamed3218(o.rows); 1648 checkUnnamed3008(o.rows);
1649 checkTableSchema(o.schema); 1649 checkTableSchema(o.schema);
1650 unittest.expect(o.totalBytesProcessed, unittest.equals('foo')); 1650 unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
1651 unittest.expect(o.totalRows, unittest.equals('foo')); 1651 unittest.expect(o.totalRows, unittest.equals('foo'));
1652 } 1652 }
1653 buildCounterQueryResponse--; 1653 buildCounterQueryResponse--;
1654 } 1654 }
1655 1655
1656 core.int buildCounterStreamingbuffer = 0; 1656 core.int buildCounterStreamingbuffer = 0;
1657 buildStreamingbuffer() { 1657 buildStreamingbuffer() {
1658 var o = new api.Streamingbuffer(); 1658 var o = new api.Streamingbuffer();
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 1766
1767 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { 1767 checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) {
1768 buildCounterTableDataInsertAllRequestRows++; 1768 buildCounterTableDataInsertAllRequestRows++;
1769 if (buildCounterTableDataInsertAllRequestRows < 3) { 1769 if (buildCounterTableDataInsertAllRequestRows < 3) {
1770 unittest.expect(o.insertId, unittest.equals('foo')); 1770 unittest.expect(o.insertId, unittest.equals('foo'));
1771 checkJsonObject(o.json); 1771 checkJsonObject(o.json);
1772 } 1772 }
1773 buildCounterTableDataInsertAllRequestRows--; 1773 buildCounterTableDataInsertAllRequestRows--;
1774 } 1774 }
1775 1775
1776 buildUnnamed3219() { 1776 buildUnnamed3009() {
1777 var o = new core.List<api.TableDataInsertAllRequestRows>(); 1777 var o = new core.List<api.TableDataInsertAllRequestRows>();
1778 o.add(buildTableDataInsertAllRequestRows()); 1778 o.add(buildTableDataInsertAllRequestRows());
1779 o.add(buildTableDataInsertAllRequestRows()); 1779 o.add(buildTableDataInsertAllRequestRows());
1780 return o; 1780 return o;
1781 } 1781 }
1782 1782
1783 checkUnnamed3219(core.List<api.TableDataInsertAllRequestRows> o) { 1783 checkUnnamed3009(core.List<api.TableDataInsertAllRequestRows> o) {
1784 unittest.expect(o, unittest.hasLength(2)); 1784 unittest.expect(o, unittest.hasLength(2));
1785 checkTableDataInsertAllRequestRows(o[0]); 1785 checkTableDataInsertAllRequestRows(o[0]);
1786 checkTableDataInsertAllRequestRows(o[1]); 1786 checkTableDataInsertAllRequestRows(o[1]);
1787 } 1787 }
1788 1788
1789 core.int buildCounterTableDataInsertAllRequest = 0; 1789 core.int buildCounterTableDataInsertAllRequest = 0;
1790 buildTableDataInsertAllRequest() { 1790 buildTableDataInsertAllRequest() {
1791 var o = new api.TableDataInsertAllRequest(); 1791 var o = new api.TableDataInsertAllRequest();
1792 buildCounterTableDataInsertAllRequest++; 1792 buildCounterTableDataInsertAllRequest++;
1793 if (buildCounterTableDataInsertAllRequest < 3) { 1793 if (buildCounterTableDataInsertAllRequest < 3) {
1794 o.ignoreUnknownValues = true; 1794 o.ignoreUnknownValues = true;
1795 o.kind = "foo"; 1795 o.kind = "foo";
1796 o.rows = buildUnnamed3219(); 1796 o.rows = buildUnnamed3009();
1797 o.skipInvalidRows = true; 1797 o.skipInvalidRows = true;
1798 o.templateSuffix = "foo"; 1798 o.templateSuffix = "foo";
1799 } 1799 }
1800 buildCounterTableDataInsertAllRequest--; 1800 buildCounterTableDataInsertAllRequest--;
1801 return o; 1801 return o;
1802 } 1802 }
1803 1803
1804 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { 1804 checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) {
1805 buildCounterTableDataInsertAllRequest++; 1805 buildCounterTableDataInsertAllRequest++;
1806 if (buildCounterTableDataInsertAllRequest < 3) { 1806 if (buildCounterTableDataInsertAllRequest < 3) {
1807 unittest.expect(o.ignoreUnknownValues, unittest.isTrue); 1807 unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
1808 unittest.expect(o.kind, unittest.equals('foo')); 1808 unittest.expect(o.kind, unittest.equals('foo'));
1809 checkUnnamed3219(o.rows); 1809 checkUnnamed3009(o.rows);
1810 unittest.expect(o.skipInvalidRows, unittest.isTrue); 1810 unittest.expect(o.skipInvalidRows, unittest.isTrue);
1811 unittest.expect(o.templateSuffix, unittest.equals('foo')); 1811 unittest.expect(o.templateSuffix, unittest.equals('foo'));
1812 } 1812 }
1813 buildCounterTableDataInsertAllRequest--; 1813 buildCounterTableDataInsertAllRequest--;
1814 } 1814 }
1815 1815
1816 buildUnnamed3220() { 1816 buildUnnamed3010() {
1817 var o = new core.List<api.ErrorProto>(); 1817 var o = new core.List<api.ErrorProto>();
1818 o.add(buildErrorProto()); 1818 o.add(buildErrorProto());
1819 o.add(buildErrorProto()); 1819 o.add(buildErrorProto());
1820 return o; 1820 return o;
1821 } 1821 }
1822 1822
1823 checkUnnamed3220(core.List<api.ErrorProto> o) { 1823 checkUnnamed3010(core.List<api.ErrorProto> o) {
1824 unittest.expect(o, unittest.hasLength(2)); 1824 unittest.expect(o, unittest.hasLength(2));
1825 checkErrorProto(o[0]); 1825 checkErrorProto(o[0]);
1826 checkErrorProto(o[1]); 1826 checkErrorProto(o[1]);
1827 } 1827 }
1828 1828
1829 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0; 1829 core.int buildCounterTableDataInsertAllResponseInsertErrors = 0;
1830 buildTableDataInsertAllResponseInsertErrors() { 1830 buildTableDataInsertAllResponseInsertErrors() {
1831 var o = new api.TableDataInsertAllResponseInsertErrors(); 1831 var o = new api.TableDataInsertAllResponseInsertErrors();
1832 buildCounterTableDataInsertAllResponseInsertErrors++; 1832 buildCounterTableDataInsertAllResponseInsertErrors++;
1833 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { 1833 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
1834 o.errors = buildUnnamed3220(); 1834 o.errors = buildUnnamed3010();
1835 o.index = 42; 1835 o.index = 42;
1836 } 1836 }
1837 buildCounterTableDataInsertAllResponseInsertErrors--; 1837 buildCounterTableDataInsertAllResponseInsertErrors--;
1838 return o; 1838 return o;
1839 } 1839 }
1840 1840
1841 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert Errors o) { 1841 checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsert Errors o) {
1842 buildCounterTableDataInsertAllResponseInsertErrors++; 1842 buildCounterTableDataInsertAllResponseInsertErrors++;
1843 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { 1843 if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
1844 checkUnnamed3220(o.errors); 1844 checkUnnamed3010(o.errors);
1845 unittest.expect(o.index, unittest.equals(42)); 1845 unittest.expect(o.index, unittest.equals(42));
1846 } 1846 }
1847 buildCounterTableDataInsertAllResponseInsertErrors--; 1847 buildCounterTableDataInsertAllResponseInsertErrors--;
1848 } 1848 }
1849 1849
1850 buildUnnamed3221() { 1850 buildUnnamed3011() {
1851 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>(); 1851 var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
1852 o.add(buildTableDataInsertAllResponseInsertErrors()); 1852 o.add(buildTableDataInsertAllResponseInsertErrors());
1853 o.add(buildTableDataInsertAllResponseInsertErrors()); 1853 o.add(buildTableDataInsertAllResponseInsertErrors());
1854 return o; 1854 return o;
1855 } 1855 }
1856 1856
1857 checkUnnamed3221(core.List<api.TableDataInsertAllResponseInsertErrors> o) { 1857 checkUnnamed3011(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
1858 unittest.expect(o, unittest.hasLength(2)); 1858 unittest.expect(o, unittest.hasLength(2));
1859 checkTableDataInsertAllResponseInsertErrors(o[0]); 1859 checkTableDataInsertAllResponseInsertErrors(o[0]);
1860 checkTableDataInsertAllResponseInsertErrors(o[1]); 1860 checkTableDataInsertAllResponseInsertErrors(o[1]);
1861 } 1861 }
1862 1862
1863 core.int buildCounterTableDataInsertAllResponse = 0; 1863 core.int buildCounterTableDataInsertAllResponse = 0;
1864 buildTableDataInsertAllResponse() { 1864 buildTableDataInsertAllResponse() {
1865 var o = new api.TableDataInsertAllResponse(); 1865 var o = new api.TableDataInsertAllResponse();
1866 buildCounterTableDataInsertAllResponse++; 1866 buildCounterTableDataInsertAllResponse++;
1867 if (buildCounterTableDataInsertAllResponse < 3) { 1867 if (buildCounterTableDataInsertAllResponse < 3) {
1868 o.insertErrors = buildUnnamed3221(); 1868 o.insertErrors = buildUnnamed3011();
1869 o.kind = "foo"; 1869 o.kind = "foo";
1870 } 1870 }
1871 buildCounterTableDataInsertAllResponse--; 1871 buildCounterTableDataInsertAllResponse--;
1872 return o; 1872 return o;
1873 } 1873 }
1874 1874
1875 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { 1875 checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
1876 buildCounterTableDataInsertAllResponse++; 1876 buildCounterTableDataInsertAllResponse++;
1877 if (buildCounterTableDataInsertAllResponse < 3) { 1877 if (buildCounterTableDataInsertAllResponse < 3) {
1878 checkUnnamed3221(o.insertErrors); 1878 checkUnnamed3011(o.insertErrors);
1879 unittest.expect(o.kind, unittest.equals('foo')); 1879 unittest.expect(o.kind, unittest.equals('foo'));
1880 } 1880 }
1881 buildCounterTableDataInsertAllResponse--; 1881 buildCounterTableDataInsertAllResponse--;
1882 } 1882 }
1883 1883
1884 buildUnnamed3222() { 1884 buildUnnamed3012() {
1885 var o = new core.List<api.TableRow>(); 1885 var o = new core.List<api.TableRow>();
1886 o.add(buildTableRow()); 1886 o.add(buildTableRow());
1887 o.add(buildTableRow()); 1887 o.add(buildTableRow());
1888 return o; 1888 return o;
1889 } 1889 }
1890 1890
1891 checkUnnamed3222(core.List<api.TableRow> o) { 1891 checkUnnamed3012(core.List<api.TableRow> o) {
1892 unittest.expect(o, unittest.hasLength(2)); 1892 unittest.expect(o, unittest.hasLength(2));
1893 checkTableRow(o[0]); 1893 checkTableRow(o[0]);
1894 checkTableRow(o[1]); 1894 checkTableRow(o[1]);
1895 } 1895 }
1896 1896
1897 core.int buildCounterTableDataList = 0; 1897 core.int buildCounterTableDataList = 0;
1898 buildTableDataList() { 1898 buildTableDataList() {
1899 var o = new api.TableDataList(); 1899 var o = new api.TableDataList();
1900 buildCounterTableDataList++; 1900 buildCounterTableDataList++;
1901 if (buildCounterTableDataList < 3) { 1901 if (buildCounterTableDataList < 3) {
1902 o.etag = "foo"; 1902 o.etag = "foo";
1903 o.kind = "foo"; 1903 o.kind = "foo";
1904 o.pageToken = "foo"; 1904 o.pageToken = "foo";
1905 o.rows = buildUnnamed3222(); 1905 o.rows = buildUnnamed3012();
1906 o.totalRows = "foo"; 1906 o.totalRows = "foo";
1907 } 1907 }
1908 buildCounterTableDataList--; 1908 buildCounterTableDataList--;
1909 return o; 1909 return o;
1910 } 1910 }
1911 1911
1912 checkTableDataList(api.TableDataList o) { 1912 checkTableDataList(api.TableDataList o) {
1913 buildCounterTableDataList++; 1913 buildCounterTableDataList++;
1914 if (buildCounterTableDataList < 3) { 1914 if (buildCounterTableDataList < 3) {
1915 unittest.expect(o.etag, unittest.equals('foo')); 1915 unittest.expect(o.etag, unittest.equals('foo'));
1916 unittest.expect(o.kind, unittest.equals('foo')); 1916 unittest.expect(o.kind, unittest.equals('foo'));
1917 unittest.expect(o.pageToken, unittest.equals('foo')); 1917 unittest.expect(o.pageToken, unittest.equals('foo'));
1918 checkUnnamed3222(o.rows); 1918 checkUnnamed3012(o.rows);
1919 unittest.expect(o.totalRows, unittest.equals('foo')); 1919 unittest.expect(o.totalRows, unittest.equals('foo'));
1920 } 1920 }
1921 buildCounterTableDataList--; 1921 buildCounterTableDataList--;
1922 } 1922 }
1923 1923
1924 buildUnnamed3223() { 1924 buildUnnamed3013() {
1925 var o = new core.List<api.TableFieldSchema>(); 1925 var o = new core.List<api.TableFieldSchema>();
1926 o.add(buildTableFieldSchema()); 1926 o.add(buildTableFieldSchema());
1927 o.add(buildTableFieldSchema()); 1927 o.add(buildTableFieldSchema());
1928 return o; 1928 return o;
1929 } 1929 }
1930 1930
1931 checkUnnamed3223(core.List<api.TableFieldSchema> o) { 1931 checkUnnamed3013(core.List<api.TableFieldSchema> o) {
1932 unittest.expect(o, unittest.hasLength(2)); 1932 unittest.expect(o, unittest.hasLength(2));
1933 checkTableFieldSchema(o[0]); 1933 checkTableFieldSchema(o[0]);
1934 checkTableFieldSchema(o[1]); 1934 checkTableFieldSchema(o[1]);
1935 } 1935 }
1936 1936
1937 core.int buildCounterTableFieldSchema = 0; 1937 core.int buildCounterTableFieldSchema = 0;
1938 buildTableFieldSchema() { 1938 buildTableFieldSchema() {
1939 var o = new api.TableFieldSchema(); 1939 var o = new api.TableFieldSchema();
1940 buildCounterTableFieldSchema++; 1940 buildCounterTableFieldSchema++;
1941 if (buildCounterTableFieldSchema < 3) { 1941 if (buildCounterTableFieldSchema < 3) {
1942 o.description = "foo"; 1942 o.description = "foo";
1943 o.fields = buildUnnamed3223(); 1943 o.fields = buildUnnamed3013();
1944 o.mode = "foo"; 1944 o.mode = "foo";
1945 o.name = "foo"; 1945 o.name = "foo";
1946 o.type = "foo"; 1946 o.type = "foo";
1947 } 1947 }
1948 buildCounterTableFieldSchema--; 1948 buildCounterTableFieldSchema--;
1949 return o; 1949 return o;
1950 } 1950 }
1951 1951
1952 checkTableFieldSchema(api.TableFieldSchema o) { 1952 checkTableFieldSchema(api.TableFieldSchema o) {
1953 buildCounterTableFieldSchema++; 1953 buildCounterTableFieldSchema++;
1954 if (buildCounterTableFieldSchema < 3) { 1954 if (buildCounterTableFieldSchema < 3) {
1955 unittest.expect(o.description, unittest.equals('foo')); 1955 unittest.expect(o.description, unittest.equals('foo'));
1956 checkUnnamed3223(o.fields); 1956 checkUnnamed3013(o.fields);
1957 unittest.expect(o.mode, unittest.equals('foo')); 1957 unittest.expect(o.mode, unittest.equals('foo'));
1958 unittest.expect(o.name, unittest.equals('foo')); 1958 unittest.expect(o.name, unittest.equals('foo'));
1959 unittest.expect(o.type, unittest.equals('foo')); 1959 unittest.expect(o.type, unittest.equals('foo'));
1960 } 1960 }
1961 buildCounterTableFieldSchema--; 1961 buildCounterTableFieldSchema--;
1962 } 1962 }
1963 1963
1964 core.int buildCounterTableListTables = 0; 1964 core.int buildCounterTableListTables = 0;
1965 buildTableListTables() { 1965 buildTableListTables() {
1966 var o = new api.TableListTables(); 1966 var o = new api.TableListTables();
(...skipping 14 matching lines...) Expand all
1981 if (buildCounterTableListTables < 3) { 1981 if (buildCounterTableListTables < 3) {
1982 unittest.expect(o.friendlyName, unittest.equals('foo')); 1982 unittest.expect(o.friendlyName, unittest.equals('foo'));
1983 unittest.expect(o.id, unittest.equals('foo')); 1983 unittest.expect(o.id, unittest.equals('foo'));
1984 unittest.expect(o.kind, unittest.equals('foo')); 1984 unittest.expect(o.kind, unittest.equals('foo'));
1985 checkTableReference(o.tableReference); 1985 checkTableReference(o.tableReference);
1986 unittest.expect(o.type, unittest.equals('foo')); 1986 unittest.expect(o.type, unittest.equals('foo'));
1987 } 1987 }
1988 buildCounterTableListTables--; 1988 buildCounterTableListTables--;
1989 } 1989 }
1990 1990
1991 buildUnnamed3224() { 1991 buildUnnamed3014() {
1992 var o = new core.List<api.TableListTables>(); 1992 var o = new core.List<api.TableListTables>();
1993 o.add(buildTableListTables()); 1993 o.add(buildTableListTables());
1994 o.add(buildTableListTables()); 1994 o.add(buildTableListTables());
1995 return o; 1995 return o;
1996 } 1996 }
1997 1997
1998 checkUnnamed3224(core.List<api.TableListTables> o) { 1998 checkUnnamed3014(core.List<api.TableListTables> o) {
1999 unittest.expect(o, unittest.hasLength(2)); 1999 unittest.expect(o, unittest.hasLength(2));
2000 checkTableListTables(o[0]); 2000 checkTableListTables(o[0]);
2001 checkTableListTables(o[1]); 2001 checkTableListTables(o[1]);
2002 } 2002 }
2003 2003
2004 core.int buildCounterTableList = 0; 2004 core.int buildCounterTableList = 0;
2005 buildTableList() { 2005 buildTableList() {
2006 var o = new api.TableList(); 2006 var o = new api.TableList();
2007 buildCounterTableList++; 2007 buildCounterTableList++;
2008 if (buildCounterTableList < 3) { 2008 if (buildCounterTableList < 3) {
2009 o.etag = "foo"; 2009 o.etag = "foo";
2010 o.kind = "foo"; 2010 o.kind = "foo";
2011 o.nextPageToken = "foo"; 2011 o.nextPageToken = "foo";
2012 o.tables = buildUnnamed3224(); 2012 o.tables = buildUnnamed3014();
2013 o.totalItems = 42; 2013 o.totalItems = 42;
2014 } 2014 }
2015 buildCounterTableList--; 2015 buildCounterTableList--;
2016 return o; 2016 return o;
2017 } 2017 }
2018 2018
2019 checkTableList(api.TableList o) { 2019 checkTableList(api.TableList o) {
2020 buildCounterTableList++; 2020 buildCounterTableList++;
2021 if (buildCounterTableList < 3) { 2021 if (buildCounterTableList < 3) {
2022 unittest.expect(o.etag, unittest.equals('foo')); 2022 unittest.expect(o.etag, unittest.equals('foo'));
2023 unittest.expect(o.kind, unittest.equals('foo')); 2023 unittest.expect(o.kind, unittest.equals('foo'));
2024 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2024 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2025 checkUnnamed3224(o.tables); 2025 checkUnnamed3014(o.tables);
2026 unittest.expect(o.totalItems, unittest.equals(42)); 2026 unittest.expect(o.totalItems, unittest.equals(42));
2027 } 2027 }
2028 buildCounterTableList--; 2028 buildCounterTableList--;
2029 } 2029 }
2030 2030
2031 core.int buildCounterTableReference = 0; 2031 core.int buildCounterTableReference = 0;
2032 buildTableReference() { 2032 buildTableReference() {
2033 var o = new api.TableReference(); 2033 var o = new api.TableReference();
2034 buildCounterTableReference++; 2034 buildCounterTableReference++;
2035 if (buildCounterTableReference < 3) { 2035 if (buildCounterTableReference < 3) {
2036 o.datasetId = "foo"; 2036 o.datasetId = "foo";
2037 o.projectId = "foo"; 2037 o.projectId = "foo";
2038 o.tableId = "foo"; 2038 o.tableId = "foo";
2039 } 2039 }
2040 buildCounterTableReference--; 2040 buildCounterTableReference--;
2041 return o; 2041 return o;
2042 } 2042 }
2043 2043
2044 checkTableReference(api.TableReference o) { 2044 checkTableReference(api.TableReference o) {
2045 buildCounterTableReference++; 2045 buildCounterTableReference++;
2046 if (buildCounterTableReference < 3) { 2046 if (buildCounterTableReference < 3) {
2047 unittest.expect(o.datasetId, unittest.equals('foo')); 2047 unittest.expect(o.datasetId, unittest.equals('foo'));
2048 unittest.expect(o.projectId, unittest.equals('foo')); 2048 unittest.expect(o.projectId, unittest.equals('foo'));
2049 unittest.expect(o.tableId, unittest.equals('foo')); 2049 unittest.expect(o.tableId, unittest.equals('foo'));
2050 } 2050 }
2051 buildCounterTableReference--; 2051 buildCounterTableReference--;
2052 } 2052 }
2053 2053
2054 buildUnnamed3225() { 2054 buildUnnamed3015() {
2055 var o = new core.List<api.TableCell>(); 2055 var o = new core.List<api.TableCell>();
2056 o.add(buildTableCell()); 2056 o.add(buildTableCell());
2057 o.add(buildTableCell()); 2057 o.add(buildTableCell());
2058 return o; 2058 return o;
2059 } 2059 }
2060 2060
2061 checkUnnamed3225(core.List<api.TableCell> o) { 2061 checkUnnamed3015(core.List<api.TableCell> o) {
2062 unittest.expect(o, unittest.hasLength(2)); 2062 unittest.expect(o, unittest.hasLength(2));
2063 checkTableCell(o[0]); 2063 checkTableCell(o[0]);
2064 checkTableCell(o[1]); 2064 checkTableCell(o[1]);
2065 } 2065 }
2066 2066
2067 core.int buildCounterTableRow = 0; 2067 core.int buildCounterTableRow = 0;
2068 buildTableRow() { 2068 buildTableRow() {
2069 var o = new api.TableRow(); 2069 var o = new api.TableRow();
2070 buildCounterTableRow++; 2070 buildCounterTableRow++;
2071 if (buildCounterTableRow < 3) { 2071 if (buildCounterTableRow < 3) {
2072 o.f = buildUnnamed3225(); 2072 o.f = buildUnnamed3015();
2073 } 2073 }
2074 buildCounterTableRow--; 2074 buildCounterTableRow--;
2075 return o; 2075 return o;
2076 } 2076 }
2077 2077
2078 checkTableRow(api.TableRow o) { 2078 checkTableRow(api.TableRow o) {
2079 buildCounterTableRow++; 2079 buildCounterTableRow++;
2080 if (buildCounterTableRow < 3) { 2080 if (buildCounterTableRow < 3) {
2081 checkUnnamed3225(o.f); 2081 checkUnnamed3015(o.f);
2082 } 2082 }
2083 buildCounterTableRow--; 2083 buildCounterTableRow--;
2084 } 2084 }
2085 2085
2086 buildUnnamed3226() { 2086 buildUnnamed3016() {
2087 var o = new core.List<api.TableFieldSchema>(); 2087 var o = new core.List<api.TableFieldSchema>();
2088 o.add(buildTableFieldSchema()); 2088 o.add(buildTableFieldSchema());
2089 o.add(buildTableFieldSchema()); 2089 o.add(buildTableFieldSchema());
2090 return o; 2090 return o;
2091 } 2091 }
2092 2092
2093 checkUnnamed3226(core.List<api.TableFieldSchema> o) { 2093 checkUnnamed3016(core.List<api.TableFieldSchema> o) {
2094 unittest.expect(o, unittest.hasLength(2)); 2094 unittest.expect(o, unittest.hasLength(2));
2095 checkTableFieldSchema(o[0]); 2095 checkTableFieldSchema(o[0]);
2096 checkTableFieldSchema(o[1]); 2096 checkTableFieldSchema(o[1]);
2097 } 2097 }
2098 2098
2099 core.int buildCounterTableSchema = 0; 2099 core.int buildCounterTableSchema = 0;
2100 buildTableSchema() { 2100 buildTableSchema() {
2101 var o = new api.TableSchema(); 2101 var o = new api.TableSchema();
2102 buildCounterTableSchema++; 2102 buildCounterTableSchema++;
2103 if (buildCounterTableSchema < 3) { 2103 if (buildCounterTableSchema < 3) {
2104 o.fields = buildUnnamed3226(); 2104 o.fields = buildUnnamed3016();
2105 } 2105 }
2106 buildCounterTableSchema--; 2106 buildCounterTableSchema--;
2107 return o; 2107 return o;
2108 } 2108 }
2109 2109
2110 checkTableSchema(api.TableSchema o) { 2110 checkTableSchema(api.TableSchema o) {
2111 buildCounterTableSchema++; 2111 buildCounterTableSchema++;
2112 if (buildCounterTableSchema < 3) { 2112 if (buildCounterTableSchema < 3) {
2113 checkUnnamed3226(o.fields); 2113 checkUnnamed3016(o.fields);
2114 } 2114 }
2115 buildCounterTableSchema--; 2115 buildCounterTableSchema--;
2116 } 2116 }
2117 2117
2118 core.int buildCounterTimePartitioning = 0; 2118 core.int buildCounterTimePartitioning = 0;
2119 buildTimePartitioning() { 2119 buildTimePartitioning() {
2120 var o = new api.TimePartitioning(); 2120 var o = new api.TimePartitioning();
2121 buildCounterTimePartitioning++; 2121 buildCounterTimePartitioning++;
2122 if (buildCounterTimePartitioning < 3) { 2122 if (buildCounterTimePartitioning < 3) {
2123 o.expirationMs = "foo"; 2123 o.expirationMs = "foo";
(...skipping 26 matching lines...) Expand all
2150 2150
2151 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { 2151 checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) {
2152 buildCounterUserDefinedFunctionResource++; 2152 buildCounterUserDefinedFunctionResource++;
2153 if (buildCounterUserDefinedFunctionResource < 3) { 2153 if (buildCounterUserDefinedFunctionResource < 3) {
2154 unittest.expect(o.inlineCode, unittest.equals('foo')); 2154 unittest.expect(o.inlineCode, unittest.equals('foo'));
2155 unittest.expect(o.resourceUri, unittest.equals('foo')); 2155 unittest.expect(o.resourceUri, unittest.equals('foo'));
2156 } 2156 }
2157 buildCounterUserDefinedFunctionResource--; 2157 buildCounterUserDefinedFunctionResource--;
2158 } 2158 }
2159 2159
2160 buildUnnamed3227() { 2160 buildUnnamed3017() {
2161 var o = new core.List<api.UserDefinedFunctionResource>(); 2161 var o = new core.List<api.UserDefinedFunctionResource>();
2162 o.add(buildUserDefinedFunctionResource()); 2162 o.add(buildUserDefinedFunctionResource());
2163 o.add(buildUserDefinedFunctionResource()); 2163 o.add(buildUserDefinedFunctionResource());
2164 return o; 2164 return o;
2165 } 2165 }
2166 2166
2167 checkUnnamed3227(core.List<api.UserDefinedFunctionResource> o) { 2167 checkUnnamed3017(core.List<api.UserDefinedFunctionResource> o) {
2168 unittest.expect(o, unittest.hasLength(2)); 2168 unittest.expect(o, unittest.hasLength(2));
2169 checkUserDefinedFunctionResource(o[0]); 2169 checkUserDefinedFunctionResource(o[0]);
2170 checkUserDefinedFunctionResource(o[1]); 2170 checkUserDefinedFunctionResource(o[1]);
2171 } 2171 }
2172 2172
2173 core.int buildCounterViewDefinition = 0; 2173 core.int buildCounterViewDefinition = 0;
2174 buildViewDefinition() { 2174 buildViewDefinition() {
2175 var o = new api.ViewDefinition(); 2175 var o = new api.ViewDefinition();
2176 buildCounterViewDefinition++; 2176 buildCounterViewDefinition++;
2177 if (buildCounterViewDefinition < 3) { 2177 if (buildCounterViewDefinition < 3) {
2178 o.query = "foo"; 2178 o.query = "foo";
2179 o.useLegacySql = true; 2179 o.useLegacySql = true;
2180 o.userDefinedFunctionResources = buildUnnamed3227(); 2180 o.userDefinedFunctionResources = buildUnnamed3017();
2181 } 2181 }
2182 buildCounterViewDefinition--; 2182 buildCounterViewDefinition--;
2183 return o; 2183 return o;
2184 } 2184 }
2185 2185
2186 checkViewDefinition(api.ViewDefinition o) { 2186 checkViewDefinition(api.ViewDefinition o) {
2187 buildCounterViewDefinition++; 2187 buildCounterViewDefinition++;
2188 if (buildCounterViewDefinition < 3) { 2188 if (buildCounterViewDefinition < 3) {
2189 unittest.expect(o.query, unittest.equals('foo')); 2189 unittest.expect(o.query, unittest.equals('foo'));
2190 unittest.expect(o.useLegacySql, unittest.isTrue); 2190 unittest.expect(o.useLegacySql, unittest.isTrue);
2191 checkUnnamed3227(o.userDefinedFunctionResources); 2191 checkUnnamed3017(o.userDefinedFunctionResources);
2192 } 2192 }
2193 buildCounterViewDefinition--; 2193 buildCounterViewDefinition--;
2194 } 2194 }
2195 2195
2196 buildUnnamed3228() { 2196 buildUnnamed3018() {
2197 var o = new core.List<core.String>(); 2197 var o = new core.List<core.String>();
2198 o.add("foo"); 2198 o.add("foo");
2199 o.add("foo"); 2199 o.add("foo");
2200 return o; 2200 return o;
2201 } 2201 }
2202 2202
2203 checkUnnamed3228(core.List<core.String> o) { 2203 checkUnnamed3018(core.List<core.String> o) {
2204 unittest.expect(o, unittest.hasLength(2)); 2204 unittest.expect(o, unittest.hasLength(2));
2205 unittest.expect(o[0], unittest.equals('foo')); 2205 unittest.expect(o[0], unittest.equals('foo'));
2206 unittest.expect(o[1], unittest.equals('foo')); 2206 unittest.expect(o[1], unittest.equals('foo'));
2207 } 2207 }
2208 2208
2209 2209
2210 main() { 2210 main() {
2211 unittest.group("obj-schema-BigtableColumn", () { 2211 unittest.group("obj-schema-BigtableColumn", () {
2212 unittest.test("to-json--from-json", () { 2212 unittest.test("to-json--from-json", () {
2213 var o = buildBigtableColumn(); 2213 var o = buildBigtableColumn();
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3324 3324
3325 unittest.test("method--list", () { 3325 unittest.test("method--list", () {
3326 3326
3327 var mock = new HttpServerMock(); 3327 var mock = new HttpServerMock();
3328 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs; 3328 api.JobsResourceApi res = new api.BigqueryApi(mock).jobs;
3329 var arg_projectId = "foo"; 3329 var arg_projectId = "foo";
3330 var arg_allUsers = true; 3330 var arg_allUsers = true;
3331 var arg_maxResults = 42; 3331 var arg_maxResults = 42;
3332 var arg_pageToken = "foo"; 3332 var arg_pageToken = "foo";
3333 var arg_projection = "foo"; 3333 var arg_projection = "foo";
3334 var arg_stateFilter = buildUnnamed3228(); 3334 var arg_stateFilter = buildUnnamed3018();
3335 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3335 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3336 var path = (req.url).path; 3336 var path = (req.url).path;
3337 var pathOffset = 0; 3337 var pathOffset = 0;
3338 var index; 3338 var index;
3339 var subPart; 3339 var subPart;
3340 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3340 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3341 pathOffset += 1; 3341 pathOffset += 1;
3342 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("bigquery/v2/")); 3342 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("bigquery/v2/"));
3343 pathOffset += 12; 3343 pathOffset += 12;
3344 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("projects/")); 3344 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("projects/"));
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
4045 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un ittest.expectAsync(((api.Table response) { 4045 res.update(arg_request, arg_projectId, arg_datasetId, arg_tableId).then(un ittest.expectAsync(((api.Table response) {
4046 checkTable(response); 4046 checkTable(response);
4047 }))); 4047 })));
4048 }); 4048 });
4049 4049
4050 }); 4050 });
4051 4051
4052 4052
4053 } 4053 }
4054 4054
OLDNEW
« no previous file with comments | « generated/googleapis/test/appstate/v1_test.dart ('k') | generated/googleapis/test/blogger/v3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698