OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis_beta.dataflow.v1b3; | 3 library googleapis_beta.dataflow.v1b3; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
11 | 11 |
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
14 | 14 |
15 const core.String USER_AGENT = 'dart-api-client dataflow/v1b3'; | 15 const core.String USER_AGENT = 'dart-api-client dataflow/v1b3'; |
16 | 16 |
17 /** Manages Google Cloud Dataflow projects on Google Cloud Platform. */ | 17 /** Manages Google Cloud Dataflow projects on Google Cloud Platform. */ |
18 class DataflowApi { | 18 class DataflowApi { |
19 /** View and manage your data across Google Cloud Platform services */ | 19 /** View and manage your data across Google Cloud Platform services */ |
20 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; | 20 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
21 | 21 |
22 /** View and manage your Google Compute Engine resources */ | 22 /** View and manage your Google Compute Engine resources */ |
23 static const ComputeScope = "https://www.googleapis.com/auth/compute"; | 23 static const ComputeScope = "https://www.googleapis.com/auth/compute"; |
24 | 24 |
| 25 /** View your Google Compute Engine resources */ |
| 26 static const ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.r
eadonly"; |
| 27 |
25 /** View your email address */ | 28 /** View your email address */ |
26 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; | 29 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; |
27 | 30 |
28 | 31 |
29 final commons.ApiRequester _requester; | 32 final commons.ApiRequester _requester; |
30 | 33 |
31 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); | 34 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
32 | 35 |
33 DataflowApi(http.Client client, {core.String rootUrl: "https://dataflow.google
apis.com/", core.String servicePath: ""}) : | 36 DataflowApi(http.Client client, {core.String rootUrl: "https://dataflow.google
apis.com/", core.String servicePath: ""}) : |
34 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); | 37 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 230 |
228 /** | 231 /** |
229 * Request the job status. | 232 * Request the job status. |
230 * | 233 * |
231 * Request parameters: | 234 * Request parameters: |
232 * | 235 * |
233 * [projectId] - A project id. | 236 * [projectId] - A project id. |
234 * | 237 * |
235 * [jobId] - The job to get messages for. | 238 * [jobId] - The job to get messages for. |
236 * | 239 * |
237 * [location] - The location which contains the job specified by job_id. | |
238 * | |
239 * [startTime] - Return only metric data that has changed since this time. | 240 * [startTime] - Return only metric data that has changed since this time. |
240 * Default is to return all information about all metrics for the job. | 241 * Default is to return all information about all metrics for the job. |
241 * | 242 * |
| 243 * [location] - The location which contains the job specified by job_id. |
| 244 * |
242 * Completes with a [JobMetrics]. | 245 * Completes with a [JobMetrics]. |
243 * | 246 * |
244 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 247 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
245 * error. | 248 * error. |
246 * | 249 * |
247 * If the used [http.Client] completes with an error when making a REST call, | 250 * If the used [http.Client] completes with an error when making a REST call, |
248 * this method will complete with the same error. | 251 * this method will complete with the same error. |
249 */ | 252 */ |
250 async.Future<JobMetrics> getMetrics(core.String projectId, core.String jobId,
{core.String location, core.String startTime}) { | 253 async.Future<JobMetrics> getMetrics(core.String projectId, core.String jobId,
{core.String startTime, core.String location}) { |
251 var _url = null; | 254 var _url = null; |
252 var _queryParams = new core.Map(); | 255 var _queryParams = new core.Map(); |
253 var _uploadMedia = null; | 256 var _uploadMedia = null; |
254 var _uploadOptions = null; | 257 var _uploadOptions = null; |
255 var _downloadOptions = commons.DownloadOptions.Metadata; | 258 var _downloadOptions = commons.DownloadOptions.Metadata; |
256 var _body = null; | 259 var _body = null; |
257 | 260 |
258 if (projectId == null) { | 261 if (projectId == null) { |
259 throw new core.ArgumentError("Parameter projectId is required."); | 262 throw new core.ArgumentError("Parameter projectId is required."); |
260 } | 263 } |
261 if (jobId == null) { | 264 if (jobId == null) { |
262 throw new core.ArgumentError("Parameter jobId is required."); | 265 throw new core.ArgumentError("Parameter jobId is required."); |
263 } | 266 } |
| 267 if (startTime != null) { |
| 268 _queryParams["startTime"] = [startTime]; |
| 269 } |
264 if (location != null) { | 270 if (location != null) { |
265 _queryParams["location"] = [location]; | 271 _queryParams["location"] = [location]; |
266 } | 272 } |
267 if (startTime != null) { | |
268 _queryParams["startTime"] = [startTime]; | |
269 } | |
270 | 273 |
271 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jo
bs/' + commons.Escaper.ecapeVariable('$jobId') + '/metrics'; | 274 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jo
bs/' + commons.Escaper.ecapeVariable('$jobId') + '/metrics'; |
272 | 275 |
273 var _response = _requester.request(_url, | 276 var _response = _requester.request(_url, |
274 "GET", | 277 "GET", |
275 body: _body, | 278 body: _body, |
276 queryParams: _queryParams, | 279 queryParams: _queryParams, |
277 uploadOptions: _uploadOptions, | 280 uploadOptions: _uploadOptions, |
278 uploadMedia: _uploadMedia, | 281 uploadMedia: _uploadMedia, |
279 downloadOptions: _downloadOptions); | 282 downloadOptions: _downloadOptions); |
280 return _response.then((data) => new JobMetrics.fromJson(data)); | 283 return _response.then((data) => new JobMetrics.fromJson(data)); |
281 } | 284 } |
282 | 285 |
283 /** | 286 /** |
284 * List the jobs of a project. | 287 * List the jobs of a project. |
285 * | 288 * |
286 * Request parameters: | 289 * Request parameters: |
287 * | 290 * |
288 * [projectId] - The project which owns the jobs. | 291 * [projectId] - The project which owns the jobs. |
289 * | 292 * |
| 293 * [location] - The location that contains this job. |
| 294 * |
| 295 * [pageToken] - Set this to the 'next_page_token' field of a previous |
| 296 * response |
| 297 * to request additional results in a long list. |
| 298 * |
| 299 * [pageSize] - If there are many jobs, limit response to at most this many. |
| 300 * The actual number of jobs returned will be the lesser of max_responses |
| 301 * and an unspecified server-defined limit. |
| 302 * |
290 * [view] - Level of information requested in response. Default is | 303 * [view] - Level of information requested in response. Default is |
291 * `JOB_VIEW_SUMMARY`. | 304 * `JOB_VIEW_SUMMARY`. |
292 * Possible string values are: | 305 * Possible string values are: |
293 * - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN. | 306 * - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN. |
294 * - "JOB_VIEW_SUMMARY" : A JOB_VIEW_SUMMARY. | 307 * - "JOB_VIEW_SUMMARY" : A JOB_VIEW_SUMMARY. |
295 * - "JOB_VIEW_ALL" : A JOB_VIEW_ALL. | 308 * - "JOB_VIEW_ALL" : A JOB_VIEW_ALL. |
296 * - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION. | 309 * - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION. |
297 * | 310 * |
298 * [filter] - The kind of filter to use. | 311 * [filter] - The kind of filter to use. |
299 * Possible string values are: | 312 * Possible string values are: |
300 * - "UNKNOWN" : A UNKNOWN. | 313 * - "UNKNOWN" : A UNKNOWN. |
301 * - "ALL" : A ALL. | 314 * - "ALL" : A ALL. |
302 * - "TERMINATED" : A TERMINATED. | 315 * - "TERMINATED" : A TERMINATED. |
303 * - "ACTIVE" : A ACTIVE. | 316 * - "ACTIVE" : A ACTIVE. |
304 * | 317 * |
305 * [location] - The location that contains this job. | |
306 * | |
307 * [pageToken] - Set this to the 'next_page_token' field of a previous | |
308 * response | |
309 * to request additional results in a long list. | |
310 * | |
311 * [pageSize] - If there are many jobs, limit response to at most this many. | |
312 * The actual number of jobs returned will be the lesser of max_responses | |
313 * and an unspecified server-defined limit. | |
314 * | |
315 * Completes with a [ListJobsResponse]. | 318 * Completes with a [ListJobsResponse]. |
316 * | 319 * |
317 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 320 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
318 * error. | 321 * error. |
319 * | 322 * |
320 * If the used [http.Client] completes with an error when making a REST call, | 323 * If the used [http.Client] completes with an error when making a REST call, |
321 * this method will complete with the same error. | 324 * this method will complete with the same error. |
322 */ | 325 */ |
323 async.Future<ListJobsResponse> list(core.String projectId, {core.String view,
core.String filter, core.String location, core.String pageToken, core.int pageSi
ze}) { | 326 async.Future<ListJobsResponse> list(core.String projectId, {core.String locati
on, core.String pageToken, core.int pageSize, core.String view, core.String filt
er}) { |
324 var _url = null; | 327 var _url = null; |
325 var _queryParams = new core.Map(); | 328 var _queryParams = new core.Map(); |
326 var _uploadMedia = null; | 329 var _uploadMedia = null; |
327 var _uploadOptions = null; | 330 var _uploadOptions = null; |
328 var _downloadOptions = commons.DownloadOptions.Metadata; | 331 var _downloadOptions = commons.DownloadOptions.Metadata; |
329 var _body = null; | 332 var _body = null; |
330 | 333 |
331 if (projectId == null) { | 334 if (projectId == null) { |
332 throw new core.ArgumentError("Parameter projectId is required."); | 335 throw new core.ArgumentError("Parameter projectId is required."); |
333 } | 336 } |
334 if (view != null) { | |
335 _queryParams["view"] = [view]; | |
336 } | |
337 if (filter != null) { | |
338 _queryParams["filter"] = [filter]; | |
339 } | |
340 if (location != null) { | 337 if (location != null) { |
341 _queryParams["location"] = [location]; | 338 _queryParams["location"] = [location]; |
342 } | 339 } |
343 if (pageToken != null) { | 340 if (pageToken != null) { |
344 _queryParams["pageToken"] = [pageToken]; | 341 _queryParams["pageToken"] = [pageToken]; |
345 } | 342 } |
346 if (pageSize != null) { | 343 if (pageSize != null) { |
347 _queryParams["pageSize"] = ["${pageSize}"]; | 344 _queryParams["pageSize"] = ["${pageSize}"]; |
348 } | 345 } |
| 346 if (view != null) { |
| 347 _queryParams["view"] = [view]; |
| 348 } |
| 349 if (filter != null) { |
| 350 _queryParams["filter"] = [filter]; |
| 351 } |
349 | 352 |
350 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jo
bs'; | 353 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jo
bs'; |
351 | 354 |
352 var _response = _requester.request(_url, | 355 var _response = _requester.request(_url, |
353 "GET", | 356 "GET", |
354 body: _body, | 357 body: _body, |
355 queryParams: _queryParams, | 358 queryParams: _queryParams, |
356 uploadOptions: _uploadOptions, | 359 uploadOptions: _uploadOptions, |
357 uploadMedia: _uploadMedia, | 360 uploadMedia: _uploadMedia, |
358 downloadOptions: _downloadOptions); | 361 downloadOptions: _downloadOptions); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 | 534 |
532 /** | 535 /** |
533 * Request the job status. | 536 * Request the job status. |
534 * | 537 * |
535 * Request parameters: | 538 * Request parameters: |
536 * | 539 * |
537 * [projectId] - A project id. | 540 * [projectId] - A project id. |
538 * | 541 * |
539 * [jobId] - The job to get messages about. | 542 * [jobId] - The job to get messages about. |
540 * | 543 * |
| 544 * [pageSize] - If specified, determines the maximum number of messages to |
| 545 * return. If unspecified, the service may choose an appropriate |
| 546 * default, or may return an arbitrarily large number of results. |
| 547 * |
541 * [minimumImportance] - Filter to only get messages with importance >= level | 548 * [minimumImportance] - Filter to only get messages with importance >= level |
542 * Possible string values are: | 549 * Possible string values are: |
543 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN. | 550 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN. |
544 * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG. | 551 * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG. |
545 * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED. | 552 * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED. |
546 * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC. | 553 * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC. |
547 * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING. | 554 * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING. |
548 * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR. | 555 * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR. |
549 * | 556 * |
| 557 * [location] - The location which contains the job specified by job_id. |
| 558 * |
550 * [endTime] - Return only messages with timestamps < end_time. The default is | 559 * [endTime] - Return only messages with timestamps < end_time. The default is |
551 * now | 560 * now |
552 * (i.e. return up to the latest messages available). | 561 * (i.e. return up to the latest messages available). |
553 * | 562 * |
554 * [location] - The location which contains the job specified by job_id. | 563 * [startTime] - If specified, return only messages with timestamps >= |
| 564 * start_time. |
| 565 * The default is the job creation time (i.e. beginning of messages). |
555 * | 566 * |
556 * [pageToken] - If supplied, this should be the value of next_page_token | 567 * [pageToken] - If supplied, this should be the value of next_page_token |
557 * returned | 568 * returned |
558 * by an earlier call. This will cause the next page of results to | 569 * by an earlier call. This will cause the next page of results to |
559 * be returned. | 570 * be returned. |
560 * | 571 * |
561 * [startTime] - If specified, return only messages with timestamps >= | |
562 * start_time. | |
563 * The default is the job creation time (i.e. beginning of messages). | |
564 * | |
565 * [pageSize] - If specified, determines the maximum number of messages to | |
566 * return. If unspecified, the service may choose an appropriate | |
567 * default, or may return an arbitrarily large number of results. | |
568 * | |
569 * Completes with a [ListJobMessagesResponse]. | 572 * Completes with a [ListJobMessagesResponse]. |
570 * | 573 * |
571 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 574 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
572 * error. | 575 * error. |
573 * | 576 * |
574 * If the used [http.Client] completes with an error when making a REST call, | 577 * If the used [http.Client] completes with an error when making a REST call, |
575 * this method will complete with the same error. | 578 * this method will complete with the same error. |
576 */ | 579 */ |
577 async.Future<ListJobMessagesResponse> list(core.String projectId, core.String
jobId, {core.String minimumImportance, core.String endTime, core.String location
, core.String pageToken, core.String startTime, core.int pageSize}) { | 580 async.Future<ListJobMessagesResponse> list(core.String projectId, core.String
jobId, {core.int pageSize, core.String minimumImportance, core.String location,
core.String endTime, core.String startTime, core.String pageToken}) { |
578 var _url = null; | 581 var _url = null; |
579 var _queryParams = new core.Map(); | 582 var _queryParams = new core.Map(); |
580 var _uploadMedia = null; | 583 var _uploadMedia = null; |
581 var _uploadOptions = null; | 584 var _uploadOptions = null; |
582 var _downloadOptions = commons.DownloadOptions.Metadata; | 585 var _downloadOptions = commons.DownloadOptions.Metadata; |
583 var _body = null; | 586 var _body = null; |
584 | 587 |
585 if (projectId == null) { | 588 if (projectId == null) { |
586 throw new core.ArgumentError("Parameter projectId is required."); | 589 throw new core.ArgumentError("Parameter projectId is required."); |
587 } | 590 } |
588 if (jobId == null) { | 591 if (jobId == null) { |
589 throw new core.ArgumentError("Parameter jobId is required."); | 592 throw new core.ArgumentError("Parameter jobId is required."); |
590 } | 593 } |
| 594 if (pageSize != null) { |
| 595 _queryParams["pageSize"] = ["${pageSize}"]; |
| 596 } |
591 if (minimumImportance != null) { | 597 if (minimumImportance != null) { |
592 _queryParams["minimumImportance"] = [minimumImportance]; | 598 _queryParams["minimumImportance"] = [minimumImportance]; |
593 } | 599 } |
| 600 if (location != null) { |
| 601 _queryParams["location"] = [location]; |
| 602 } |
594 if (endTime != null) { | 603 if (endTime != null) { |
595 _queryParams["endTime"] = [endTime]; | 604 _queryParams["endTime"] = [endTime]; |
596 } | 605 } |
597 if (location != null) { | 606 if (startTime != null) { |
598 _queryParams["location"] = [location]; | 607 _queryParams["startTime"] = [startTime]; |
599 } | 608 } |
600 if (pageToken != null) { | 609 if (pageToken != null) { |
601 _queryParams["pageToken"] = [pageToken]; | 610 _queryParams["pageToken"] = [pageToken]; |
602 } | 611 } |
603 if (startTime != null) { | |
604 _queryParams["startTime"] = [startTime]; | |
605 } | |
606 if (pageSize != null) { | |
607 _queryParams["pageSize"] = ["${pageSize}"]; | |
608 } | |
609 | 612 |
610 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jo
bs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages'; | 613 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jo
bs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages'; |
611 | 614 |
612 var _response = _requester.request(_url, | 615 var _response = _requester.request(_url, |
613 "GET", | 616 "GET", |
614 body: _body, | 617 body: _body, |
615 queryParams: _queryParams, | 618 queryParams: _queryParams, |
616 uploadOptions: _uploadOptions, | 619 uploadOptions: _uploadOptions, |
617 uploadMedia: _uploadMedia, | 620 uploadMedia: _uploadMedia, |
618 downloadOptions: _downloadOptions); | 621 downloadOptions: _downloadOptions); |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 | 983 |
981 /** | 984 /** |
982 * List the jobs of a project. | 985 * List the jobs of a project. |
983 * | 986 * |
984 * Request parameters: | 987 * Request parameters: |
985 * | 988 * |
986 * [projectId] - The project which owns the jobs. | 989 * [projectId] - The project which owns the jobs. |
987 * | 990 * |
988 * [location] - The location that contains this job. | 991 * [location] - The location that contains this job. |
989 * | 992 * |
990 * [filter] - The kind of filter to use. | |
991 * Possible string values are: | |
992 * - "UNKNOWN" : A UNKNOWN. | |
993 * - "ALL" : A ALL. | |
994 * - "TERMINATED" : A TERMINATED. | |
995 * - "ACTIVE" : A ACTIVE. | |
996 * | |
997 * [pageToken] - Set this to the 'next_page_token' field of a previous | 993 * [pageToken] - Set this to the 'next_page_token' field of a previous |
998 * response | 994 * response |
999 * to request additional results in a long list. | 995 * to request additional results in a long list. |
1000 * | 996 * |
1001 * [pageSize] - If there are many jobs, limit response to at most this many. | 997 * [pageSize] - If there are many jobs, limit response to at most this many. |
1002 * The actual number of jobs returned will be the lesser of max_responses | 998 * The actual number of jobs returned will be the lesser of max_responses |
1003 * and an unspecified server-defined limit. | 999 * and an unspecified server-defined limit. |
1004 * | 1000 * |
1005 * [view] - Level of information requested in response. Default is | 1001 * [view] - Level of information requested in response. Default is |
1006 * `JOB_VIEW_SUMMARY`. | 1002 * `JOB_VIEW_SUMMARY`. |
1007 * Possible string values are: | 1003 * Possible string values are: |
1008 * - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN. | 1004 * - "JOB_VIEW_UNKNOWN" : A JOB_VIEW_UNKNOWN. |
1009 * - "JOB_VIEW_SUMMARY" : A JOB_VIEW_SUMMARY. | 1005 * - "JOB_VIEW_SUMMARY" : A JOB_VIEW_SUMMARY. |
1010 * - "JOB_VIEW_ALL" : A JOB_VIEW_ALL. | 1006 * - "JOB_VIEW_ALL" : A JOB_VIEW_ALL. |
1011 * - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION. | 1007 * - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION. |
1012 * | 1008 * |
| 1009 * [filter] - The kind of filter to use. |
| 1010 * Possible string values are: |
| 1011 * - "UNKNOWN" : A UNKNOWN. |
| 1012 * - "ALL" : A ALL. |
| 1013 * - "TERMINATED" : A TERMINATED. |
| 1014 * - "ACTIVE" : A ACTIVE. |
| 1015 * |
1013 * Completes with a [ListJobsResponse]. | 1016 * Completes with a [ListJobsResponse]. |
1014 * | 1017 * |
1015 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1018 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1016 * error. | 1019 * error. |
1017 * | 1020 * |
1018 * If the used [http.Client] completes with an error when making a REST call, | 1021 * If the used [http.Client] completes with an error when making a REST call, |
1019 * this method will complete with the same error. | 1022 * this method will complete with the same error. |
1020 */ | 1023 */ |
1021 async.Future<ListJobsResponse> list(core.String projectId, core.String locatio
n, {core.String filter, core.String pageToken, core.int pageSize, core.String vi
ew}) { | 1024 async.Future<ListJobsResponse> list(core.String projectId, core.String locatio
n, {core.String pageToken, core.int pageSize, core.String view, core.String filt
er}) { |
1022 var _url = null; | 1025 var _url = null; |
1023 var _queryParams = new core.Map(); | 1026 var _queryParams = new core.Map(); |
1024 var _uploadMedia = null; | 1027 var _uploadMedia = null; |
1025 var _uploadOptions = null; | 1028 var _uploadOptions = null; |
1026 var _downloadOptions = commons.DownloadOptions.Metadata; | 1029 var _downloadOptions = commons.DownloadOptions.Metadata; |
1027 var _body = null; | 1030 var _body = null; |
1028 | 1031 |
1029 if (projectId == null) { | 1032 if (projectId == null) { |
1030 throw new core.ArgumentError("Parameter projectId is required."); | 1033 throw new core.ArgumentError("Parameter projectId is required."); |
1031 } | 1034 } |
1032 if (location == null) { | 1035 if (location == null) { |
1033 throw new core.ArgumentError("Parameter location is required."); | 1036 throw new core.ArgumentError("Parameter location is required."); |
1034 } | 1037 } |
1035 if (filter != null) { | |
1036 _queryParams["filter"] = [filter]; | |
1037 } | |
1038 if (pageToken != null) { | 1038 if (pageToken != null) { |
1039 _queryParams["pageToken"] = [pageToken]; | 1039 _queryParams["pageToken"] = [pageToken]; |
1040 } | 1040 } |
1041 if (pageSize != null) { | 1041 if (pageSize != null) { |
1042 _queryParams["pageSize"] = ["${pageSize}"]; | 1042 _queryParams["pageSize"] = ["${pageSize}"]; |
1043 } | 1043 } |
1044 if (view != null) { | 1044 if (view != null) { |
1045 _queryParams["view"] = [view]; | 1045 _queryParams["view"] = [view]; |
1046 } | 1046 } |
| 1047 if (filter != null) { |
| 1048 _queryParams["filter"] = [filter]; |
| 1049 } |
1047 | 1050 |
1048 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/lo
cations/' + commons.Escaper.ecapeVariable('$location') + '/jobs'; | 1051 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/lo
cations/' + commons.Escaper.ecapeVariable('$location') + '/jobs'; |
1049 | 1052 |
1050 var _response = _requester.request(_url, | 1053 var _response = _requester.request(_url, |
1051 "GET", | 1054 "GET", |
1052 body: _body, | 1055 body: _body, |
1053 queryParams: _queryParams, | 1056 queryParams: _queryParams, |
1054 uploadOptions: _uploadOptions, | 1057 uploadOptions: _uploadOptions, |
1055 uploadMedia: _uploadMedia, | 1058 uploadMedia: _uploadMedia, |
1056 downloadOptions: _downloadOptions); | 1059 downloadOptions: _downloadOptions); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 * Request the job status. | 1244 * Request the job status. |
1242 * | 1245 * |
1243 * Request parameters: | 1246 * Request parameters: |
1244 * | 1247 * |
1245 * [projectId] - A project id. | 1248 * [projectId] - A project id. |
1246 * | 1249 * |
1247 * [location] - The location which contains the job specified by job_id. | 1250 * [location] - The location which contains the job specified by job_id. |
1248 * | 1251 * |
1249 * [jobId] - The job to get messages about. | 1252 * [jobId] - The job to get messages about. |
1250 * | 1253 * |
1251 * [endTime] - Return only messages with timestamps < end_time. The default is | |
1252 * now | |
1253 * (i.e. return up to the latest messages available). | |
1254 * | |
1255 * [startTime] - If specified, return only messages with timestamps >= | 1254 * [startTime] - If specified, return only messages with timestamps >= |
1256 * start_time. | 1255 * start_time. |
1257 * The default is the job creation time (i.e. beginning of messages). | 1256 * The default is the job creation time (i.e. beginning of messages). |
1258 * | 1257 * |
1259 * [pageToken] - If supplied, this should be the value of next_page_token | 1258 * [pageToken] - If supplied, this should be the value of next_page_token |
1260 * returned | 1259 * returned |
1261 * by an earlier call. This will cause the next page of results to | 1260 * by an earlier call. This will cause the next page of results to |
1262 * be returned. | 1261 * be returned. |
1263 * | 1262 * |
1264 * [pageSize] - If specified, determines the maximum number of messages to | 1263 * [pageSize] - If specified, determines the maximum number of messages to |
1265 * return. If unspecified, the service may choose an appropriate | 1264 * return. If unspecified, the service may choose an appropriate |
1266 * default, or may return an arbitrarily large number of results. | 1265 * default, or may return an arbitrarily large number of results. |
1267 * | 1266 * |
1268 * [minimumImportance] - Filter to only get messages with importance >= level | 1267 * [minimumImportance] - Filter to only get messages with importance >= level |
1269 * Possible string values are: | 1268 * Possible string values are: |
1270 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN. | 1269 * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN. |
1271 * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG. | 1270 * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG. |
1272 * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED. | 1271 * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED. |
1273 * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC. | 1272 * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC. |
1274 * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING. | 1273 * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING. |
1275 * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR. | 1274 * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR. |
1276 * | 1275 * |
| 1276 * [endTime] - Return only messages with timestamps < end_time. The default is |
| 1277 * now |
| 1278 * (i.e. return up to the latest messages available). |
| 1279 * |
1277 * Completes with a [ListJobMessagesResponse]. | 1280 * Completes with a [ListJobMessagesResponse]. |
1278 * | 1281 * |
1279 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1282 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1280 * error. | 1283 * error. |
1281 * | 1284 * |
1282 * If the used [http.Client] completes with an error when making a REST call, | 1285 * If the used [http.Client] completes with an error when making a REST call, |
1283 * this method will complete with the same error. | 1286 * this method will complete with the same error. |
1284 */ | 1287 */ |
1285 async.Future<ListJobMessagesResponse> list(core.String projectId, core.String
location, core.String jobId, {core.String endTime, core.String startTime, core.S
tring pageToken, core.int pageSize, core.String minimumImportance}) { | 1288 async.Future<ListJobMessagesResponse> list(core.String projectId, core.String
location, core.String jobId, {core.String startTime, core.String pageToken, core
.int pageSize, core.String minimumImportance, core.String endTime}) { |
1286 var _url = null; | 1289 var _url = null; |
1287 var _queryParams = new core.Map(); | 1290 var _queryParams = new core.Map(); |
1288 var _uploadMedia = null; | 1291 var _uploadMedia = null; |
1289 var _uploadOptions = null; | 1292 var _uploadOptions = null; |
1290 var _downloadOptions = commons.DownloadOptions.Metadata; | 1293 var _downloadOptions = commons.DownloadOptions.Metadata; |
1291 var _body = null; | 1294 var _body = null; |
1292 | 1295 |
1293 if (projectId == null) { | 1296 if (projectId == null) { |
1294 throw new core.ArgumentError("Parameter projectId is required."); | 1297 throw new core.ArgumentError("Parameter projectId is required."); |
1295 } | 1298 } |
1296 if (location == null) { | 1299 if (location == null) { |
1297 throw new core.ArgumentError("Parameter location is required."); | 1300 throw new core.ArgumentError("Parameter location is required."); |
1298 } | 1301 } |
1299 if (jobId == null) { | 1302 if (jobId == null) { |
1300 throw new core.ArgumentError("Parameter jobId is required."); | 1303 throw new core.ArgumentError("Parameter jobId is required."); |
1301 } | 1304 } |
1302 if (endTime != null) { | |
1303 _queryParams["endTime"] = [endTime]; | |
1304 } | |
1305 if (startTime != null) { | 1305 if (startTime != null) { |
1306 _queryParams["startTime"] = [startTime]; | 1306 _queryParams["startTime"] = [startTime]; |
1307 } | 1307 } |
1308 if (pageToken != null) { | 1308 if (pageToken != null) { |
1309 _queryParams["pageToken"] = [pageToken]; | 1309 _queryParams["pageToken"] = [pageToken]; |
1310 } | 1310 } |
1311 if (pageSize != null) { | 1311 if (pageSize != null) { |
1312 _queryParams["pageSize"] = ["${pageSize}"]; | 1312 _queryParams["pageSize"] = ["${pageSize}"]; |
1313 } | 1313 } |
1314 if (minimumImportance != null) { | 1314 if (minimumImportance != null) { |
1315 _queryParams["minimumImportance"] = [minimumImportance]; | 1315 _queryParams["minimumImportance"] = [minimumImportance]; |
1316 } | 1316 } |
| 1317 if (endTime != null) { |
| 1318 _queryParams["endTime"] = [endTime]; |
| 1319 } |
1317 | 1320 |
1318 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/lo
cations/' + commons.Escaper.ecapeVariable('$location') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId') + '/messages'; | 1321 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/lo
cations/' + commons.Escaper.ecapeVariable('$location') + '/jobs/' + commons.Esca
per.ecapeVariable('$jobId') + '/messages'; |
1319 | 1322 |
1320 var _response = _requester.request(_url, | 1323 var _response = _requester.request(_url, |
1321 "GET", | 1324 "GET", |
1322 body: _body, | 1325 body: _body, |
1323 queryParams: _queryParams, | 1326 queryParams: _queryParams, |
1324 uploadOptions: _uploadOptions, | 1327 uploadOptions: _uploadOptions, |
1325 uploadMedia: _uploadMedia, | 1328 uploadMedia: _uploadMedia, |
1326 downloadOptions: _downloadOptions); | 1329 downloadOptions: _downloadOptions); |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 * | 1570 * |
1568 * [request] - The metadata request object. | 1571 * [request] - The metadata request object. |
1569 * | 1572 * |
1570 * Request parameters: | 1573 * Request parameters: |
1571 * | 1574 * |
1572 * [projectId] - Required. The ID of the Cloud Platform project that the job | 1575 * [projectId] - Required. The ID of the Cloud Platform project that the job |
1573 * belongs to. | 1576 * belongs to. |
1574 * | 1577 * |
1575 * [location] - The location to which to direct the request. | 1578 * [location] - The location to which to direct the request. |
1576 * | 1579 * |
1577 * [validateOnly] - If true, the request is validated but not actually | |
1578 * executed. | |
1579 * Defaults to false. | |
1580 * | |
1581 * [gcsPath] - Required. A Cloud Storage path to the template from which to | 1580 * [gcsPath] - Required. A Cloud Storage path to the template from which to |
1582 * create | 1581 * create |
1583 * the job. | 1582 * the job. |
1584 * Must be valid Cloud Storage URL, beginning with 'gs://'. | 1583 * Must be valid Cloud Storage URL, beginning with 'gs://'. |
1585 * | 1584 * |
| 1585 * [validateOnly] - If true, the request is validated but not actually |
| 1586 * executed. |
| 1587 * Defaults to false. |
| 1588 * |
1586 * Completes with a [LaunchTemplateResponse]. | 1589 * Completes with a [LaunchTemplateResponse]. |
1587 * | 1590 * |
1588 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1591 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1589 * error. | 1592 * error. |
1590 * | 1593 * |
1591 * If the used [http.Client] completes with an error when making a REST call, | 1594 * If the used [http.Client] completes with an error when making a REST call, |
1592 * this method will complete with the same error. | 1595 * this method will complete with the same error. |
1593 */ | 1596 */ |
1594 async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request,
core.String projectId, core.String location, {core.bool validateOnly, core.Strin
g gcsPath}) { | 1597 async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request,
core.String projectId, core.String location, {core.String gcsPath, core.bool val
idateOnly}) { |
1595 var _url = null; | 1598 var _url = null; |
1596 var _queryParams = new core.Map(); | 1599 var _queryParams = new core.Map(); |
1597 var _uploadMedia = null; | 1600 var _uploadMedia = null; |
1598 var _uploadOptions = null; | 1601 var _uploadOptions = null; |
1599 var _downloadOptions = commons.DownloadOptions.Metadata; | 1602 var _downloadOptions = commons.DownloadOptions.Metadata; |
1600 var _body = null; | 1603 var _body = null; |
1601 | 1604 |
1602 if (request != null) { | 1605 if (request != null) { |
1603 _body = convert.JSON.encode((request).toJson()); | 1606 _body = convert.JSON.encode((request).toJson()); |
1604 } | 1607 } |
1605 if (projectId == null) { | 1608 if (projectId == null) { |
1606 throw new core.ArgumentError("Parameter projectId is required."); | 1609 throw new core.ArgumentError("Parameter projectId is required."); |
1607 } | 1610 } |
1608 if (location == null) { | 1611 if (location == null) { |
1609 throw new core.ArgumentError("Parameter location is required."); | 1612 throw new core.ArgumentError("Parameter location is required."); |
1610 } | 1613 } |
| 1614 if (gcsPath != null) { |
| 1615 _queryParams["gcsPath"] = [gcsPath]; |
| 1616 } |
1611 if (validateOnly != null) { | 1617 if (validateOnly != null) { |
1612 _queryParams["validateOnly"] = ["${validateOnly}"]; | 1618 _queryParams["validateOnly"] = ["${validateOnly}"]; |
1613 } | 1619 } |
1614 if (gcsPath != null) { | |
1615 _queryParams["gcsPath"] = [gcsPath]; | |
1616 } | |
1617 | 1620 |
1618 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/lo
cations/' + commons.Escaper.ecapeVariable('$location') + '/templates:launch'; | 1621 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/lo
cations/' + commons.Escaper.ecapeVariable('$location') + '/templates:launch'; |
1619 | 1622 |
1620 var _response = _requester.request(_url, | 1623 var _response = _requester.request(_url, |
1621 "POST", | 1624 "POST", |
1622 body: _body, | 1625 body: _body, |
1623 queryParams: _queryParams, | 1626 queryParams: _queryParams, |
1624 uploadOptions: _uploadOptions, | 1627 uploadOptions: _uploadOptions, |
1625 uploadMedia: _uploadMedia, | 1628 uploadMedia: _uploadMedia, |
1626 downloadOptions: _downloadOptions); | 1629 downloadOptions: _downloadOptions); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 } | 1685 } |
1683 | 1686 |
1684 /** | 1687 /** |
1685 * Get the template associated with a template. | 1688 * Get the template associated with a template. |
1686 * | 1689 * |
1687 * Request parameters: | 1690 * Request parameters: |
1688 * | 1691 * |
1689 * [projectId] - Required. The ID of the Cloud Platform project that the job | 1692 * [projectId] - Required. The ID of the Cloud Platform project that the job |
1690 * belongs to. | 1693 * belongs to. |
1691 * | 1694 * |
| 1695 * [location] - The location to which to direct the request. |
| 1696 * |
1692 * [view] - The view to retrieve. Defaults to METADATA_ONLY. | 1697 * [view] - The view to retrieve. Defaults to METADATA_ONLY. |
1693 * Possible string values are: | 1698 * Possible string values are: |
1694 * - "METADATA_ONLY" : A METADATA_ONLY. | 1699 * - "METADATA_ONLY" : A METADATA_ONLY. |
1695 * | 1700 * |
1696 * [gcsPath] - Required. A Cloud Storage path to the template from which to | 1701 * [gcsPath] - Required. A Cloud Storage path to the template from which to |
1697 * create the job. | 1702 * create the job. |
1698 * Must be a valid Cloud Storage URL, beginning with `gs://`. | 1703 * Must be a valid Cloud Storage URL, beginning with `gs://`. |
1699 * | 1704 * |
1700 * [location] - The location to which to direct the request. | |
1701 * | |
1702 * Completes with a [GetTemplateResponse]. | 1705 * Completes with a [GetTemplateResponse]. |
1703 * | 1706 * |
1704 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1707 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1705 * error. | 1708 * error. |
1706 * | 1709 * |
1707 * If the used [http.Client] completes with an error when making a REST call, | 1710 * If the used [http.Client] completes with an error when making a REST call, |
1708 * this method will complete with the same error. | 1711 * this method will complete with the same error. |
1709 */ | 1712 */ |
1710 async.Future<GetTemplateResponse> get(core.String projectId, {core.String view
, core.String gcsPath, core.String location}) { | 1713 async.Future<GetTemplateResponse> get(core.String projectId, {core.String loca
tion, core.String view, core.String gcsPath}) { |
1711 var _url = null; | 1714 var _url = null; |
1712 var _queryParams = new core.Map(); | 1715 var _queryParams = new core.Map(); |
1713 var _uploadMedia = null; | 1716 var _uploadMedia = null; |
1714 var _uploadOptions = null; | 1717 var _uploadOptions = null; |
1715 var _downloadOptions = commons.DownloadOptions.Metadata; | 1718 var _downloadOptions = commons.DownloadOptions.Metadata; |
1716 var _body = null; | 1719 var _body = null; |
1717 | 1720 |
1718 if (projectId == null) { | 1721 if (projectId == null) { |
1719 throw new core.ArgumentError("Parameter projectId is required."); | 1722 throw new core.ArgumentError("Parameter projectId is required."); |
1720 } | 1723 } |
| 1724 if (location != null) { |
| 1725 _queryParams["location"] = [location]; |
| 1726 } |
1721 if (view != null) { | 1727 if (view != null) { |
1722 _queryParams["view"] = [view]; | 1728 _queryParams["view"] = [view]; |
1723 } | 1729 } |
1724 if (gcsPath != null) { | 1730 if (gcsPath != null) { |
1725 _queryParams["gcsPath"] = [gcsPath]; | 1731 _queryParams["gcsPath"] = [gcsPath]; |
1726 } | 1732 } |
1727 if (location != null) { | |
1728 _queryParams["location"] = [location]; | |
1729 } | |
1730 | 1733 |
1731 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/te
mplates:get'; | 1734 _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/te
mplates:get'; |
1732 | 1735 |
1733 var _response = _requester.request(_url, | 1736 var _response = _requester.request(_url, |
1734 "GET", | 1737 "GET", |
1735 body: _body, | 1738 body: _body, |
1736 queryParams: _queryParams, | 1739 queryParams: _queryParams, |
1737 uploadOptions: _uploadOptions, | 1740 uploadOptions: _uploadOptions, |
1738 uploadMedia: _uploadMedia, | 1741 uploadMedia: _uploadMedia, |
1739 downloadOptions: _downloadOptions); | 1742 downloadOptions: _downloadOptions); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1827 percentComplete = _json["percentComplete"]; | 1830 percentComplete = _json["percentComplete"]; |
1828 } | 1831 } |
1829 if (_json.containsKey("position")) { | 1832 if (_json.containsKey("position")) { |
1830 position = new Position.fromJson(_json["position"]); | 1833 position = new Position.fromJson(_json["position"]); |
1831 } | 1834 } |
1832 if (_json.containsKey("remainingTime")) { | 1835 if (_json.containsKey("remainingTime")) { |
1833 remainingTime = _json["remainingTime"]; | 1836 remainingTime = _json["remainingTime"]; |
1834 } | 1837 } |
1835 } | 1838 } |
1836 | 1839 |
1837 core.Map toJson() { | 1840 core.Map<core.String, core.Object> toJson() { |
1838 var _json = new core.Map(); | 1841 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1839 if (percentComplete != null) { | 1842 if (percentComplete != null) { |
1840 _json["percentComplete"] = percentComplete; | 1843 _json["percentComplete"] = percentComplete; |
1841 } | 1844 } |
1842 if (position != null) { | 1845 if (position != null) { |
1843 _json["position"] = (position).toJson(); | 1846 _json["position"] = (position).toJson(); |
1844 } | 1847 } |
1845 if (remainingTime != null) { | 1848 if (remainingTime != null) { |
1846 _json["remainingTime"] = remainingTime; | 1849 _json["remainingTime"] = remainingTime; |
1847 } | 1850 } |
1848 return _json; | 1851 return _json; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1906 fractionConsumed = _json["fractionConsumed"]; | 1909 fractionConsumed = _json["fractionConsumed"]; |
1907 } | 1910 } |
1908 if (_json.containsKey("position")) { | 1911 if (_json.containsKey("position")) { |
1909 position = new Position.fromJson(_json["position"]); | 1912 position = new Position.fromJson(_json["position"]); |
1910 } | 1913 } |
1911 if (_json.containsKey("remainingParallelism")) { | 1914 if (_json.containsKey("remainingParallelism")) { |
1912 remainingParallelism = new ReportedParallelism.fromJson(_json["remainingPa
rallelism"]); | 1915 remainingParallelism = new ReportedParallelism.fromJson(_json["remainingPa
rallelism"]); |
1913 } | 1916 } |
1914 } | 1917 } |
1915 | 1918 |
1916 core.Map toJson() { | 1919 core.Map<core.String, core.Object> toJson() { |
1917 var _json = new core.Map(); | 1920 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1918 if (consumedParallelism != null) { | 1921 if (consumedParallelism != null) { |
1919 _json["consumedParallelism"] = (consumedParallelism).toJson(); | 1922 _json["consumedParallelism"] = (consumedParallelism).toJson(); |
1920 } | 1923 } |
1921 if (fractionConsumed != null) { | 1924 if (fractionConsumed != null) { |
1922 _json["fractionConsumed"] = fractionConsumed; | 1925 _json["fractionConsumed"] = fractionConsumed; |
1923 } | 1926 } |
1924 if (position != null) { | 1927 if (position != null) { |
1925 _json["position"] = (position).toJson(); | 1928 _json["position"] = (position).toJson(); |
1926 } | 1929 } |
1927 if (remainingParallelism != null) { | 1930 if (remainingParallelism != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
1947 | 1950 |
1948 ApproximateSplitRequest.fromJson(core.Map _json) { | 1951 ApproximateSplitRequest.fromJson(core.Map _json) { |
1949 if (_json.containsKey("fractionConsumed")) { | 1952 if (_json.containsKey("fractionConsumed")) { |
1950 fractionConsumed = _json["fractionConsumed"]; | 1953 fractionConsumed = _json["fractionConsumed"]; |
1951 } | 1954 } |
1952 if (_json.containsKey("position")) { | 1955 if (_json.containsKey("position")) { |
1953 position = new Position.fromJson(_json["position"]); | 1956 position = new Position.fromJson(_json["position"]); |
1954 } | 1957 } |
1955 } | 1958 } |
1956 | 1959 |
1957 core.Map toJson() { | 1960 core.Map<core.String, core.Object> toJson() { |
1958 var _json = new core.Map(); | 1961 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1959 if (fractionConsumed != null) { | 1962 if (fractionConsumed != null) { |
1960 _json["fractionConsumed"] = fractionConsumed; | 1963 _json["fractionConsumed"] = fractionConsumed; |
1961 } | 1964 } |
1962 if (position != null) { | 1965 if (position != null) { |
1963 _json["position"] = (position).toJson(); | 1966 _json["position"] = (position).toJson(); |
1964 } | 1967 } |
1965 return _json; | 1968 return _json; |
1966 } | 1969 } |
1967 } | 1970 } |
1968 | 1971 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2024 eventType = _json["eventType"]; | 2027 eventType = _json["eventType"]; |
2025 } | 2028 } |
2026 if (_json.containsKey("targetNumWorkers")) { | 2029 if (_json.containsKey("targetNumWorkers")) { |
2027 targetNumWorkers = _json["targetNumWorkers"]; | 2030 targetNumWorkers = _json["targetNumWorkers"]; |
2028 } | 2031 } |
2029 if (_json.containsKey("time")) { | 2032 if (_json.containsKey("time")) { |
2030 time = _json["time"]; | 2033 time = _json["time"]; |
2031 } | 2034 } |
2032 } | 2035 } |
2033 | 2036 |
2034 core.Map toJson() { | 2037 core.Map<core.String, core.Object> toJson() { |
2035 var _json = new core.Map(); | 2038 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2036 if (currentNumWorkers != null) { | 2039 if (currentNumWorkers != null) { |
2037 _json["currentNumWorkers"] = currentNumWorkers; | 2040 _json["currentNumWorkers"] = currentNumWorkers; |
2038 } | 2041 } |
2039 if (description != null) { | 2042 if (description != null) { |
2040 _json["description"] = (description).toJson(); | 2043 _json["description"] = (description).toJson(); |
2041 } | 2044 } |
2042 if (eventType != null) { | 2045 if (eventType != null) { |
2043 _json["eventType"] = eventType; | 2046 _json["eventType"] = eventType; |
2044 } | 2047 } |
2045 if (targetNumWorkers != null) { | 2048 if (targetNumWorkers != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
2071 | 2074 |
2072 AutoscalingSettings.fromJson(core.Map _json) { | 2075 AutoscalingSettings.fromJson(core.Map _json) { |
2073 if (_json.containsKey("algorithm")) { | 2076 if (_json.containsKey("algorithm")) { |
2074 algorithm = _json["algorithm"]; | 2077 algorithm = _json["algorithm"]; |
2075 } | 2078 } |
2076 if (_json.containsKey("maxNumWorkers")) { | 2079 if (_json.containsKey("maxNumWorkers")) { |
2077 maxNumWorkers = _json["maxNumWorkers"]; | 2080 maxNumWorkers = _json["maxNumWorkers"]; |
2078 } | 2081 } |
2079 } | 2082 } |
2080 | 2083 |
2081 core.Map toJson() { | 2084 core.Map<core.String, core.Object> toJson() { |
2082 var _json = new core.Map(); | 2085 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2083 if (algorithm != null) { | 2086 if (algorithm != null) { |
2084 _json["algorithm"] = algorithm; | 2087 _json["algorithm"] = algorithm; |
2085 } | 2088 } |
2086 if (maxNumWorkers != null) { | 2089 if (maxNumWorkers != null) { |
2087 _json["maxNumWorkers"] = maxNumWorkers; | 2090 _json["maxNumWorkers"] = maxNumWorkers; |
2088 } | 2091 } |
2089 return _json; | 2092 return _json; |
2090 } | 2093 } |
2091 } | 2094 } |
2092 | 2095 |
(...skipping 19 matching lines...) Expand all Loading... |
2112 rate = _json["rate"]; | 2115 rate = _json["rate"]; |
2113 } | 2116 } |
2114 if (_json.containsKey("timestamp")) { | 2117 if (_json.containsKey("timestamp")) { |
2115 timestamp = _json["timestamp"]; | 2118 timestamp = _json["timestamp"]; |
2116 } | 2119 } |
2117 if (_json.containsKey("totalMs")) { | 2120 if (_json.containsKey("totalMs")) { |
2118 totalMs = _json["totalMs"]; | 2121 totalMs = _json["totalMs"]; |
2119 } | 2122 } |
2120 } | 2123 } |
2121 | 2124 |
2122 core.Map toJson() { | 2125 core.Map<core.String, core.Object> toJson() { |
2123 var _json = new core.Map(); | 2126 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2124 if (rate != null) { | 2127 if (rate != null) { |
2125 _json["rate"] = rate; | 2128 _json["rate"] = rate; |
2126 } | 2129 } |
2127 if (timestamp != null) { | 2130 if (timestamp != null) { |
2128 _json["timestamp"] = timestamp; | 2131 _json["timestamp"] = timestamp; |
2129 } | 2132 } |
2130 if (totalMs != null) { | 2133 if (totalMs != null) { |
2131 _json["totalMs"] = totalMs; | 2134 _json["totalMs"] = totalMs; |
2132 } | 2135 } |
2133 return _json; | 2136 return _json; |
(...skipping 24 matching lines...) Expand all Loading... |
2158 name = _json["name"]; | 2161 name = _json["name"]; |
2159 } | 2162 } |
2160 if (_json.containsKey("originalTransformOrCollection")) { | 2163 if (_json.containsKey("originalTransformOrCollection")) { |
2161 originalTransformOrCollection = _json["originalTransformOrCollection"]; | 2164 originalTransformOrCollection = _json["originalTransformOrCollection"]; |
2162 } | 2165 } |
2163 if (_json.containsKey("userName")) { | 2166 if (_json.containsKey("userName")) { |
2164 userName = _json["userName"]; | 2167 userName = _json["userName"]; |
2165 } | 2168 } |
2166 } | 2169 } |
2167 | 2170 |
2168 core.Map toJson() { | 2171 core.Map<core.String, core.Object> toJson() { |
2169 var _json = new core.Map(); | 2172 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2170 if (name != null) { | 2173 if (name != null) { |
2171 _json["name"] = name; | 2174 _json["name"] = name; |
2172 } | 2175 } |
2173 if (originalTransformOrCollection != null) { | 2176 if (originalTransformOrCollection != null) { |
2174 _json["originalTransformOrCollection"] = originalTransformOrCollection; | 2177 _json["originalTransformOrCollection"] = originalTransformOrCollection; |
2175 } | 2178 } |
2176 if (userName != null) { | 2179 if (userName != null) { |
2177 _json["userName"] = userName; | 2180 _json["userName"] = userName; |
2178 } | 2181 } |
2179 return _json; | 2182 return _json; |
(...skipping 21 matching lines...) Expand all Loading... |
2201 name = _json["name"]; | 2204 name = _json["name"]; |
2202 } | 2205 } |
2203 if (_json.containsKey("originalTransform")) { | 2206 if (_json.containsKey("originalTransform")) { |
2204 originalTransform = _json["originalTransform"]; | 2207 originalTransform = _json["originalTransform"]; |
2205 } | 2208 } |
2206 if (_json.containsKey("userName")) { | 2209 if (_json.containsKey("userName")) { |
2207 userName = _json["userName"]; | 2210 userName = _json["userName"]; |
2208 } | 2211 } |
2209 } | 2212 } |
2210 | 2213 |
2211 core.Map toJson() { | 2214 core.Map<core.String, core.Object> toJson() { |
2212 var _json = new core.Map(); | 2215 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2213 if (name != null) { | 2216 if (name != null) { |
2214 _json["name"] = name; | 2217 _json["name"] = name; |
2215 } | 2218 } |
2216 if (originalTransform != null) { | 2219 if (originalTransform != null) { |
2217 _json["originalTransform"] = originalTransform; | 2220 _json["originalTransform"] = originalTransform; |
2218 } | 2221 } |
2219 if (userName != null) { | 2222 if (userName != null) { |
2220 _json["userName"] = userName; | 2223 _json["userName"] = userName; |
2221 } | 2224 } |
2222 return _json; | 2225 return _json; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2254 outputs = _json["outputs"].map((value) => new StreamLocation.fromJson(valu
e)).toList(); | 2257 outputs = _json["outputs"].map((value) => new StreamLocation.fromJson(valu
e)).toList(); |
2255 } | 2258 } |
2256 if (_json.containsKey("stateFamilies")) { | 2259 if (_json.containsKey("stateFamilies")) { |
2257 stateFamilies = _json["stateFamilies"].map((value) => new StateFamilyConfi
g.fromJson(value)).toList(); | 2260 stateFamilies = _json["stateFamilies"].map((value) => new StateFamilyConfi
g.fromJson(value)).toList(); |
2258 } | 2261 } |
2259 if (_json.containsKey("systemStageName")) { | 2262 if (_json.containsKey("systemStageName")) { |
2260 systemStageName = _json["systemStageName"]; | 2263 systemStageName = _json["systemStageName"]; |
2261 } | 2264 } |
2262 } | 2265 } |
2263 | 2266 |
2264 core.Map toJson() { | 2267 core.Map<core.String, core.Object> toJson() { |
2265 var _json = new core.Map(); | 2268 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2266 if (computationId != null) { | 2269 if (computationId != null) { |
2267 _json["computationId"] = computationId; | 2270 _json["computationId"] = computationId; |
2268 } | 2271 } |
2269 if (inputs != null) { | 2272 if (inputs != null) { |
2270 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); | 2273 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); |
2271 } | 2274 } |
2272 if (keyRanges != null) { | 2275 if (keyRanges != null) { |
2273 _json["keyRanges"] = keyRanges.map((value) => (value).toJson()).toList(); | 2276 _json["keyRanges"] = keyRanges.map((value) => (value).toJson()).toList(); |
2274 } | 2277 } |
2275 if (outputs != null) { | 2278 if (outputs != null) { |
(...skipping 24 matching lines...) Expand all Loading... |
2300 | 2303 |
2301 ConcatPosition.fromJson(core.Map _json) { | 2304 ConcatPosition.fromJson(core.Map _json) { |
2302 if (_json.containsKey("index")) { | 2305 if (_json.containsKey("index")) { |
2303 index = _json["index"]; | 2306 index = _json["index"]; |
2304 } | 2307 } |
2305 if (_json.containsKey("position")) { | 2308 if (_json.containsKey("position")) { |
2306 position = new Position.fromJson(_json["position"]); | 2309 position = new Position.fromJson(_json["position"]); |
2307 } | 2310 } |
2308 } | 2311 } |
2309 | 2312 |
2310 core.Map toJson() { | 2313 core.Map<core.String, core.Object> toJson() { |
2311 var _json = new core.Map(); | 2314 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2312 if (index != null) { | 2315 if (index != null) { |
2313 _json["index"] = index; | 2316 _json["index"] = index; |
2314 } | 2317 } |
2315 if (position != null) { | 2318 if (position != null) { |
2316 _json["position"] = (position).toJson(); | 2319 _json["position"] = (position).toJson(); |
2317 } | 2320 } |
2318 return _json; | 2321 return _json; |
2319 } | 2322 } |
2320 } | 2323 } |
2321 | 2324 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2368 kind = _json["kind"]; | 2371 kind = _json["kind"]; |
2369 } | 2372 } |
2370 if (_json.containsKey("otherUnits")) { | 2373 if (_json.containsKey("otherUnits")) { |
2371 otherUnits = _json["otherUnits"]; | 2374 otherUnits = _json["otherUnits"]; |
2372 } | 2375 } |
2373 if (_json.containsKey("standardUnits")) { | 2376 if (_json.containsKey("standardUnits")) { |
2374 standardUnits = _json["standardUnits"]; | 2377 standardUnits = _json["standardUnits"]; |
2375 } | 2378 } |
2376 } | 2379 } |
2377 | 2380 |
2378 core.Map toJson() { | 2381 core.Map<core.String, core.Object> toJson() { |
2379 var _json = new core.Map(); | 2382 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2380 if (description != null) { | 2383 if (description != null) { |
2381 _json["description"] = description; | 2384 _json["description"] = description; |
2382 } | 2385 } |
2383 if (kind != null) { | 2386 if (kind != null) { |
2384 _json["kind"] = kind; | 2387 _json["kind"] = kind; |
2385 } | 2388 } |
2386 if (otherUnits != null) { | 2389 if (otherUnits != null) { |
2387 _json["otherUnits"] = otherUnits; | 2390 _json["otherUnits"] = otherUnits; |
2388 } | 2391 } |
2389 if (standardUnits != null) { | 2392 if (standardUnits != null) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2457 originalStepName = _json["originalStepName"]; | 2460 originalStepName = _json["originalStepName"]; |
2458 } | 2461 } |
2459 if (_json.containsKey("portion")) { | 2462 if (_json.containsKey("portion")) { |
2460 portion = _json["portion"]; | 2463 portion = _json["portion"]; |
2461 } | 2464 } |
2462 if (_json.containsKey("workerId")) { | 2465 if (_json.containsKey("workerId")) { |
2463 workerId = _json["workerId"]; | 2466 workerId = _json["workerId"]; |
2464 } | 2467 } |
2465 } | 2468 } |
2466 | 2469 |
2467 core.Map toJson() { | 2470 core.Map<core.String, core.Object> toJson() { |
2468 var _json = new core.Map(); | 2471 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2469 if (componentStepName != null) { | 2472 if (componentStepName != null) { |
2470 _json["componentStepName"] = componentStepName; | 2473 _json["componentStepName"] = componentStepName; |
2471 } | 2474 } |
2472 if (executionStepName != null) { | 2475 if (executionStepName != null) { |
2473 _json["executionStepName"] = executionStepName; | 2476 _json["executionStepName"] = executionStepName; |
2474 } | 2477 } |
2475 if (name != null) { | 2478 if (name != null) { |
2476 _json["name"] = name; | 2479 _json["name"] = name; |
2477 } | 2480 } |
2478 if (origin != null) { | 2481 if (origin != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
2508 | 2511 |
2509 CounterStructuredNameAndMetadata.fromJson(core.Map _json) { | 2512 CounterStructuredNameAndMetadata.fromJson(core.Map _json) { |
2510 if (_json.containsKey("metadata")) { | 2513 if (_json.containsKey("metadata")) { |
2511 metadata = new CounterMetadata.fromJson(_json["metadata"]); | 2514 metadata = new CounterMetadata.fromJson(_json["metadata"]); |
2512 } | 2515 } |
2513 if (_json.containsKey("name")) { | 2516 if (_json.containsKey("name")) { |
2514 name = new CounterStructuredName.fromJson(_json["name"]); | 2517 name = new CounterStructuredName.fromJson(_json["name"]); |
2515 } | 2518 } |
2516 } | 2519 } |
2517 | 2520 |
2518 core.Map toJson() { | 2521 core.Map<core.String, core.Object> toJson() { |
2519 var _json = new core.Map(); | 2522 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2520 if (metadata != null) { | 2523 if (metadata != null) { |
2521 _json["metadata"] = (metadata).toJson(); | 2524 _json["metadata"] = (metadata).toJson(); |
2522 } | 2525 } |
2523 if (name != null) { | 2526 if (name != null) { |
2524 _json["name"] = (name).toJson(); | 2527 _json["name"] = (name).toJson(); |
2525 } | 2528 } |
2526 return _json; | 2529 return _json; |
2527 } | 2530 } |
2528 } | 2531 } |
2529 | 2532 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2612 shortId = _json["shortId"]; | 2615 shortId = _json["shortId"]; |
2613 } | 2616 } |
2614 if (_json.containsKey("stringList")) { | 2617 if (_json.containsKey("stringList")) { |
2615 stringList = new StringList.fromJson(_json["stringList"]); | 2618 stringList = new StringList.fromJson(_json["stringList"]); |
2616 } | 2619 } |
2617 if (_json.containsKey("structuredNameAndMetadata")) { | 2620 if (_json.containsKey("structuredNameAndMetadata")) { |
2618 structuredNameAndMetadata = new CounterStructuredNameAndMetadata.fromJson(
_json["structuredNameAndMetadata"]); | 2621 structuredNameAndMetadata = new CounterStructuredNameAndMetadata.fromJson(
_json["structuredNameAndMetadata"]); |
2619 } | 2622 } |
2620 } | 2623 } |
2621 | 2624 |
2622 core.Map toJson() { | 2625 core.Map<core.String, core.Object> toJson() { |
2623 var _json = new core.Map(); | 2626 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2624 if (boolean != null) { | 2627 if (boolean != null) { |
2625 _json["boolean"] = boolean; | 2628 _json["boolean"] = boolean; |
2626 } | 2629 } |
2627 if (cumulative != null) { | 2630 if (cumulative != null) { |
2628 _json["cumulative"] = cumulative; | 2631 _json["cumulative"] = cumulative; |
2629 } | 2632 } |
2630 if (distribution != null) { | 2633 if (distribution != null) { |
2631 _json["distribution"] = (distribution).toJson(); | 2634 _json["distribution"] = (distribution).toJson(); |
2632 } | 2635 } |
2633 if (floatingPoint != null) { | 2636 if (floatingPoint != null) { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2697 jobName = _json["jobName"]; | 2700 jobName = _json["jobName"]; |
2698 } | 2701 } |
2699 if (_json.containsKey("location")) { | 2702 if (_json.containsKey("location")) { |
2700 location = _json["location"]; | 2703 location = _json["location"]; |
2701 } | 2704 } |
2702 if (_json.containsKey("parameters")) { | 2705 if (_json.containsKey("parameters")) { |
2703 parameters = _json["parameters"]; | 2706 parameters = _json["parameters"]; |
2704 } | 2707 } |
2705 } | 2708 } |
2706 | 2709 |
2707 core.Map toJson() { | 2710 core.Map<core.String, core.Object> toJson() { |
2708 var _json = new core.Map(); | 2711 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2709 if (environment != null) { | 2712 if (environment != null) { |
2710 _json["environment"] = (environment).toJson(); | 2713 _json["environment"] = (environment).toJson(); |
2711 } | 2714 } |
2712 if (gcsPath != null) { | 2715 if (gcsPath != null) { |
2713 _json["gcsPath"] = gcsPath; | 2716 _json["gcsPath"] = gcsPath; |
2714 } | 2717 } |
2715 if (jobName != null) { | 2718 if (jobName != null) { |
2716 _json["jobName"] = jobName; | 2719 _json["jobName"] = jobName; |
2717 } | 2720 } |
2718 if (location != null) { | 2721 if (location != null) { |
(...skipping 12 matching lines...) Expand all Loading... |
2731 core.bool stateful; | 2734 core.bool stateful; |
2732 | 2735 |
2733 CustomSourceLocation(); | 2736 CustomSourceLocation(); |
2734 | 2737 |
2735 CustomSourceLocation.fromJson(core.Map _json) { | 2738 CustomSourceLocation.fromJson(core.Map _json) { |
2736 if (_json.containsKey("stateful")) { | 2739 if (_json.containsKey("stateful")) { |
2737 stateful = _json["stateful"]; | 2740 stateful = _json["stateful"]; |
2738 } | 2741 } |
2739 } | 2742 } |
2740 | 2743 |
2741 core.Map toJson() { | 2744 core.Map<core.String, core.Object> toJson() { |
2742 var _json = new core.Map(); | 2745 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2743 if (stateful != null) { | 2746 if (stateful != null) { |
2744 _json["stateful"] = stateful; | 2747 _json["stateful"] = stateful; |
2745 } | 2748 } |
2746 return _json; | 2749 return _json; |
2747 } | 2750 } |
2748 } | 2751 } |
2749 | 2752 |
2750 /** Data disk assignment for a given VM instance. */ | 2753 /** Data disk assignment for a given VM instance. */ |
2751 class DataDiskAssignment { | 2754 class DataDiskAssignment { |
2752 /** | 2755 /** |
(...skipping 13 matching lines...) Expand all Loading... |
2766 | 2769 |
2767 DataDiskAssignment.fromJson(core.Map _json) { | 2770 DataDiskAssignment.fromJson(core.Map _json) { |
2768 if (_json.containsKey("dataDisks")) { | 2771 if (_json.containsKey("dataDisks")) { |
2769 dataDisks = _json["dataDisks"]; | 2772 dataDisks = _json["dataDisks"]; |
2770 } | 2773 } |
2771 if (_json.containsKey("vmInstance")) { | 2774 if (_json.containsKey("vmInstance")) { |
2772 vmInstance = _json["vmInstance"]; | 2775 vmInstance = _json["vmInstance"]; |
2773 } | 2776 } |
2774 } | 2777 } |
2775 | 2778 |
2776 core.Map toJson() { | 2779 core.Map<core.String, core.Object> toJson() { |
2777 var _json = new core.Map(); | 2780 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2778 if (dataDisks != null) { | 2781 if (dataDisks != null) { |
2779 _json["dataDisks"] = dataDisks; | 2782 _json["dataDisks"] = dataDisks; |
2780 } | 2783 } |
2781 if (vmInstance != null) { | 2784 if (vmInstance != null) { |
2782 _json["vmInstance"] = vmInstance; | 2785 _json["vmInstance"] = vmInstance; |
2783 } | 2786 } |
2784 return _json; | 2787 return _json; |
2785 } | 2788 } |
2786 } | 2789 } |
2787 | 2790 |
(...skipping 24 matching lines...) Expand all Loading... |
2812 | 2815 |
2813 DerivedSource.fromJson(core.Map _json) { | 2816 DerivedSource.fromJson(core.Map _json) { |
2814 if (_json.containsKey("derivationMode")) { | 2817 if (_json.containsKey("derivationMode")) { |
2815 derivationMode = _json["derivationMode"]; | 2818 derivationMode = _json["derivationMode"]; |
2816 } | 2819 } |
2817 if (_json.containsKey("source")) { | 2820 if (_json.containsKey("source")) { |
2818 source = new Source.fromJson(_json["source"]); | 2821 source = new Source.fromJson(_json["source"]); |
2819 } | 2822 } |
2820 } | 2823 } |
2821 | 2824 |
2822 core.Map toJson() { | 2825 core.Map<core.String, core.Object> toJson() { |
2823 var _json = new core.Map(); | 2826 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2824 if (derivationMode != null) { | 2827 if (derivationMode != null) { |
2825 _json["derivationMode"] = derivationMode; | 2828 _json["derivationMode"] = derivationMode; |
2826 } | 2829 } |
2827 if (source != null) { | 2830 if (source != null) { |
2828 _json["source"] = (source).toJson(); | 2831 _json["source"] = (source).toJson(); |
2829 } | 2832 } |
2830 return _json; | 2833 return _json; |
2831 } | 2834 } |
2832 } | 2835 } |
2833 | 2836 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2869 diskType = _json["diskType"]; | 2872 diskType = _json["diskType"]; |
2870 } | 2873 } |
2871 if (_json.containsKey("mountPoint")) { | 2874 if (_json.containsKey("mountPoint")) { |
2872 mountPoint = _json["mountPoint"]; | 2875 mountPoint = _json["mountPoint"]; |
2873 } | 2876 } |
2874 if (_json.containsKey("sizeGb")) { | 2877 if (_json.containsKey("sizeGb")) { |
2875 sizeGb = _json["sizeGb"]; | 2878 sizeGb = _json["sizeGb"]; |
2876 } | 2879 } |
2877 } | 2880 } |
2878 | 2881 |
2879 core.Map toJson() { | 2882 core.Map<core.String, core.Object> toJson() { |
2880 var _json = new core.Map(); | 2883 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2881 if (diskType != null) { | 2884 if (diskType != null) { |
2882 _json["diskType"] = diskType; | 2885 _json["diskType"] = diskType; |
2883 } | 2886 } |
2884 if (mountPoint != null) { | 2887 if (mountPoint != null) { |
2885 _json["mountPoint"] = mountPoint; | 2888 _json["mountPoint"] = mountPoint; |
2886 } | 2889 } |
2887 if (sizeGb != null) { | 2890 if (sizeGb != null) { |
2888 _json["sizeGb"] = sizeGb; | 2891 _json["sizeGb"] = sizeGb; |
2889 } | 2892 } |
2890 return _json; | 2893 return _json; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2968 strValue = _json["strValue"]; | 2971 strValue = _json["strValue"]; |
2969 } | 2972 } |
2970 if (_json.containsKey("timestampValue")) { | 2973 if (_json.containsKey("timestampValue")) { |
2971 timestampValue = _json["timestampValue"]; | 2974 timestampValue = _json["timestampValue"]; |
2972 } | 2975 } |
2973 if (_json.containsKey("url")) { | 2976 if (_json.containsKey("url")) { |
2974 url = _json["url"]; | 2977 url = _json["url"]; |
2975 } | 2978 } |
2976 } | 2979 } |
2977 | 2980 |
2978 core.Map toJson() { | 2981 core.Map<core.String, core.Object> toJson() { |
2979 var _json = new core.Map(); | 2982 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2980 if (boolValue != null) { | 2983 if (boolValue != null) { |
2981 _json["boolValue"] = boolValue; | 2984 _json["boolValue"] = boolValue; |
2982 } | 2985 } |
2983 if (durationValue != null) { | 2986 if (durationValue != null) { |
2984 _json["durationValue"] = durationValue; | 2987 _json["durationValue"] = durationValue; |
2985 } | 2988 } |
2986 if (floatValue != null) { | 2989 if (floatValue != null) { |
2987 _json["floatValue"] = floatValue; | 2990 _json["floatValue"] = floatValue; |
2988 } | 2991 } |
2989 if (int64Value != null) { | 2992 if (int64Value != null) { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3054 min = new SplitInt64.fromJson(_json["min"]); | 3057 min = new SplitInt64.fromJson(_json["min"]); |
3055 } | 3058 } |
3056 if (_json.containsKey("sum")) { | 3059 if (_json.containsKey("sum")) { |
3057 sum = new SplitInt64.fromJson(_json["sum"]); | 3060 sum = new SplitInt64.fromJson(_json["sum"]); |
3058 } | 3061 } |
3059 if (_json.containsKey("sumOfSquares")) { | 3062 if (_json.containsKey("sumOfSquares")) { |
3060 sumOfSquares = _json["sumOfSquares"]; | 3063 sumOfSquares = _json["sumOfSquares"]; |
3061 } | 3064 } |
3062 } | 3065 } |
3063 | 3066 |
3064 core.Map toJson() { | 3067 core.Map<core.String, core.Object> toJson() { |
3065 var _json = new core.Map(); | 3068 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3066 if (count != null) { | 3069 if (count != null) { |
3067 _json["count"] = (count).toJson(); | 3070 _json["count"] = (count).toJson(); |
3068 } | 3071 } |
3069 if (logBuckets != null) { | 3072 if (logBuckets != null) { |
3070 _json["logBuckets"] = logBuckets.map((value) => (value).toJson()).toList()
; | 3073 _json["logBuckets"] = logBuckets.map((value) => (value).toJson()).toList()
; |
3071 } | 3074 } |
3072 if (max != null) { | 3075 if (max != null) { |
3073 _json["max"] = (max).toJson(); | 3076 _json["max"] = (max).toJson(); |
3074 } | 3077 } |
3075 if (min != null) { | 3078 if (min != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3107 | 3110 |
3108 DynamicSourceSplit.fromJson(core.Map _json) { | 3111 DynamicSourceSplit.fromJson(core.Map _json) { |
3109 if (_json.containsKey("primary")) { | 3112 if (_json.containsKey("primary")) { |
3110 primary = new DerivedSource.fromJson(_json["primary"]); | 3113 primary = new DerivedSource.fromJson(_json["primary"]); |
3111 } | 3114 } |
3112 if (_json.containsKey("residual")) { | 3115 if (_json.containsKey("residual")) { |
3113 residual = new DerivedSource.fromJson(_json["residual"]); | 3116 residual = new DerivedSource.fromJson(_json["residual"]); |
3114 } | 3117 } |
3115 } | 3118 } |
3116 | 3119 |
3117 core.Map toJson() { | 3120 core.Map<core.String, core.Object> toJson() { |
3118 var _json = new core.Map(); | 3121 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3119 if (primary != null) { | 3122 if (primary != null) { |
3120 _json["primary"] = (primary).toJson(); | 3123 _json["primary"] = (primary).toJson(); |
3121 } | 3124 } |
3122 if (residual != null) { | 3125 if (residual != null) { |
3123 _json["residual"] = (residual).toJson(); | 3126 _json["residual"] = (residual).toJson(); |
3124 } | 3127 } |
3125 return _json; | 3128 return _json; |
3126 } | 3129 } |
3127 } | 3130 } |
3128 | 3131 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3231 userAgent = _json["userAgent"]; | 3234 userAgent = _json["userAgent"]; |
3232 } | 3235 } |
3233 if (_json.containsKey("version")) { | 3236 if (_json.containsKey("version")) { |
3234 version = _json["version"]; | 3237 version = _json["version"]; |
3235 } | 3238 } |
3236 if (_json.containsKey("workerPools")) { | 3239 if (_json.containsKey("workerPools")) { |
3237 workerPools = _json["workerPools"].map((value) => new WorkerPool.fromJson(
value)).toList(); | 3240 workerPools = _json["workerPools"].map((value) => new WorkerPool.fromJson(
value)).toList(); |
3238 } | 3241 } |
3239 } | 3242 } |
3240 | 3243 |
3241 core.Map toJson() { | 3244 core.Map<core.String, core.Object> toJson() { |
3242 var _json = new core.Map(); | 3245 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3243 if (clusterManagerApiService != null) { | 3246 if (clusterManagerApiService != null) { |
3244 _json["clusterManagerApiService"] = clusterManagerApiService; | 3247 _json["clusterManagerApiService"] = clusterManagerApiService; |
3245 } | 3248 } |
3246 if (dataset != null) { | 3249 if (dataset != null) { |
3247 _json["dataset"] = dataset; | 3250 _json["dataset"] = dataset; |
3248 } | 3251 } |
3249 if (experiments != null) { | 3252 if (experiments != null) { |
3250 _json["experiments"] = experiments; | 3253 _json["experiments"] = experiments; |
3251 } | 3254 } |
3252 if (internalExperiments != null) { | 3255 if (internalExperiments != null) { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3340 currentStateTime = _json["currentStateTime"]; | 3343 currentStateTime = _json["currentStateTime"]; |
3341 } | 3344 } |
3342 if (_json.containsKey("executionStageName")) { | 3345 if (_json.containsKey("executionStageName")) { |
3343 executionStageName = _json["executionStageName"]; | 3346 executionStageName = _json["executionStageName"]; |
3344 } | 3347 } |
3345 if (_json.containsKey("executionStageState")) { | 3348 if (_json.containsKey("executionStageState")) { |
3346 executionStageState = _json["executionStageState"]; | 3349 executionStageState = _json["executionStageState"]; |
3347 } | 3350 } |
3348 } | 3351 } |
3349 | 3352 |
3350 core.Map toJson() { | 3353 core.Map<core.String, core.Object> toJson() { |
3351 var _json = new core.Map(); | 3354 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3352 if (currentStateTime != null) { | 3355 if (currentStateTime != null) { |
3353 _json["currentStateTime"] = currentStateTime; | 3356 _json["currentStateTime"] = currentStateTime; |
3354 } | 3357 } |
3355 if (executionStageName != null) { | 3358 if (executionStageName != null) { |
3356 _json["executionStageName"] = executionStageName; | 3359 _json["executionStageName"] = executionStageName; |
3357 } | 3360 } |
3358 if (executionStageState != null) { | 3361 if (executionStageState != null) { |
3359 _json["executionStageState"] = executionStageState; | 3362 _json["executionStageState"] = executionStageState; |
3360 } | 3363 } |
3361 return _json; | 3364 return _json; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3418 kind = _json["kind"]; | 3421 kind = _json["kind"]; |
3419 } | 3422 } |
3420 if (_json.containsKey("name")) { | 3423 if (_json.containsKey("name")) { |
3421 name = _json["name"]; | 3424 name = _json["name"]; |
3422 } | 3425 } |
3423 if (_json.containsKey("outputSource")) { | 3426 if (_json.containsKey("outputSource")) { |
3424 outputSource = _json["outputSource"].map((value) => new StageSource.fromJs
on(value)).toList(); | 3427 outputSource = _json["outputSource"].map((value) => new StageSource.fromJs
on(value)).toList(); |
3425 } | 3428 } |
3426 } | 3429 } |
3427 | 3430 |
3428 core.Map toJson() { | 3431 core.Map<core.String, core.Object> toJson() { |
3429 var _json = new core.Map(); | 3432 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3430 if (componentSource != null) { | 3433 if (componentSource != null) { |
3431 _json["componentSource"] = componentSource.map((value) => (value).toJson()
).toList(); | 3434 _json["componentSource"] = componentSource.map((value) => (value).toJson()
).toList(); |
3432 } | 3435 } |
3433 if (componentTransform != null) { | 3436 if (componentTransform != null) { |
3434 _json["componentTransform"] = componentTransform.map((value) => (value).to
Json()).toList(); | 3437 _json["componentTransform"] = componentTransform.map((value) => (value).to
Json()).toList(); |
3435 } | 3438 } |
3436 if (id != null) { | 3439 if (id != null) { |
3437 _json["id"] = id; | 3440 _json["id"] = id; |
3438 } | 3441 } |
3439 if (inputSource != null) { | 3442 if (inputSource != null) { |
(...skipping 18 matching lines...) Expand all Loading... |
3458 core.String name; | 3461 core.String name; |
3459 | 3462 |
3460 FailedLocation(); | 3463 FailedLocation(); |
3461 | 3464 |
3462 FailedLocation.fromJson(core.Map _json) { | 3465 FailedLocation.fromJson(core.Map _json) { |
3463 if (_json.containsKey("name")) { | 3466 if (_json.containsKey("name")) { |
3464 name = _json["name"]; | 3467 name = _json["name"]; |
3465 } | 3468 } |
3466 } | 3469 } |
3467 | 3470 |
3468 core.Map toJson() { | 3471 core.Map<core.String, core.Object> toJson() { |
3469 var _json = new core.Map(); | 3472 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3470 if (name != null) { | 3473 if (name != null) { |
3471 _json["name"] = name; | 3474 _json["name"] = name; |
3472 } | 3475 } |
3473 return _json; | 3476 return _json; |
3474 } | 3477 } |
3475 } | 3478 } |
3476 | 3479 |
3477 /** | 3480 /** |
3478 * An instruction that copies its inputs (zero or more) to its (single) output. | 3481 * An instruction that copies its inputs (zero or more) to its (single) output. |
3479 */ | 3482 */ |
3480 class FlattenInstruction { | 3483 class FlattenInstruction { |
3481 /** Describes the inputs to the flatten instruction. */ | 3484 /** Describes the inputs to the flatten instruction. */ |
3482 core.List<InstructionInput> inputs; | 3485 core.List<InstructionInput> inputs; |
3483 | 3486 |
3484 FlattenInstruction(); | 3487 FlattenInstruction(); |
3485 | 3488 |
3486 FlattenInstruction.fromJson(core.Map _json) { | 3489 FlattenInstruction.fromJson(core.Map _json) { |
3487 if (_json.containsKey("inputs")) { | 3490 if (_json.containsKey("inputs")) { |
3488 inputs = _json["inputs"].map((value) => new InstructionInput.fromJson(valu
e)).toList(); | 3491 inputs = _json["inputs"].map((value) => new InstructionInput.fromJson(valu
e)).toList(); |
3489 } | 3492 } |
3490 } | 3493 } |
3491 | 3494 |
3492 core.Map toJson() { | 3495 core.Map<core.String, core.Object> toJson() { |
3493 var _json = new core.Map(); | 3496 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3494 if (inputs != null) { | 3497 if (inputs != null) { |
3495 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); | 3498 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); |
3496 } | 3499 } |
3497 return _json; | 3500 return _json; |
3498 } | 3501 } |
3499 } | 3502 } |
3500 | 3503 |
3501 /** A metric value representing a list of floating point numbers. */ | 3504 /** A metric value representing a list of floating point numbers. */ |
3502 class FloatingPointList { | 3505 class FloatingPointList { |
3503 /** Elements of the list. */ | 3506 /** Elements of the list. */ |
3504 core.List<core.double> elements; | 3507 core.List<core.double> elements; |
3505 | 3508 |
3506 FloatingPointList(); | 3509 FloatingPointList(); |
3507 | 3510 |
3508 FloatingPointList.fromJson(core.Map _json) { | 3511 FloatingPointList.fromJson(core.Map _json) { |
3509 if (_json.containsKey("elements")) { | 3512 if (_json.containsKey("elements")) { |
3510 elements = _json["elements"]; | 3513 elements = _json["elements"]; |
3511 } | 3514 } |
3512 } | 3515 } |
3513 | 3516 |
3514 core.Map toJson() { | 3517 core.Map<core.String, core.Object> toJson() { |
3515 var _json = new core.Map(); | 3518 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3516 if (elements != null) { | 3519 if (elements != null) { |
3517 _json["elements"] = elements; | 3520 _json["elements"] = elements; |
3518 } | 3521 } |
3519 return _json; | 3522 return _json; |
3520 } | 3523 } |
3521 } | 3524 } |
3522 | 3525 |
3523 /** A representation of a floating point mean metric contribution. */ | 3526 /** A representation of a floating point mean metric contribution. */ |
3524 class FloatingPointMean { | 3527 class FloatingPointMean { |
3525 /** The number of values being aggregated. */ | 3528 /** The number of values being aggregated. */ |
3526 SplitInt64 count; | 3529 SplitInt64 count; |
3527 /** The sum of all values being aggregated. */ | 3530 /** The sum of all values being aggregated. */ |
3528 core.double sum; | 3531 core.double sum; |
3529 | 3532 |
3530 FloatingPointMean(); | 3533 FloatingPointMean(); |
3531 | 3534 |
3532 FloatingPointMean.fromJson(core.Map _json) { | 3535 FloatingPointMean.fromJson(core.Map _json) { |
3533 if (_json.containsKey("count")) { | 3536 if (_json.containsKey("count")) { |
3534 count = new SplitInt64.fromJson(_json["count"]); | 3537 count = new SplitInt64.fromJson(_json["count"]); |
3535 } | 3538 } |
3536 if (_json.containsKey("sum")) { | 3539 if (_json.containsKey("sum")) { |
3537 sum = _json["sum"]; | 3540 sum = _json["sum"]; |
3538 } | 3541 } |
3539 } | 3542 } |
3540 | 3543 |
3541 core.Map toJson() { | 3544 core.Map<core.String, core.Object> toJson() { |
3542 var _json = new core.Map(); | 3545 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3543 if (count != null) { | 3546 if (count != null) { |
3544 _json["count"] = (count).toJson(); | 3547 _json["count"] = (count).toJson(); |
3545 } | 3548 } |
3546 if (sum != null) { | 3549 if (sum != null) { |
3547 _json["sum"] = sum; | 3550 _json["sum"] = sum; |
3548 } | 3551 } |
3549 return _json; | 3552 return _json; |
3550 } | 3553 } |
3551 } | 3554 } |
3552 | 3555 |
(...skipping 16 matching lines...) Expand all Loading... |
3569 componentId = _json["componentId"]; | 3572 componentId = _json["componentId"]; |
3570 } | 3573 } |
3571 if (_json.containsKey("location")) { | 3574 if (_json.containsKey("location")) { |
3572 location = _json["location"]; | 3575 location = _json["location"]; |
3573 } | 3576 } |
3574 if (_json.containsKey("workerId")) { | 3577 if (_json.containsKey("workerId")) { |
3575 workerId = _json["workerId"]; | 3578 workerId = _json["workerId"]; |
3576 } | 3579 } |
3577 } | 3580 } |
3578 | 3581 |
3579 core.Map toJson() { | 3582 core.Map<core.String, core.Object> toJson() { |
3580 var _json = new core.Map(); | 3583 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3581 if (componentId != null) { | 3584 if (componentId != null) { |
3582 _json["componentId"] = componentId; | 3585 _json["componentId"] = componentId; |
3583 } | 3586 } |
3584 if (location != null) { | 3587 if (location != null) { |
3585 _json["location"] = location; | 3588 _json["location"] = location; |
3586 } | 3589 } |
3587 if (workerId != null) { | 3590 if (workerId != null) { |
3588 _json["workerId"] = workerId; | 3591 _json["workerId"] = workerId; |
3589 } | 3592 } |
3590 return _json; | 3593 return _json; |
3591 } | 3594 } |
3592 } | 3595 } |
3593 | 3596 |
3594 /** Response to a get debug configuration request. */ | 3597 /** Response to a get debug configuration request. */ |
3595 class GetDebugConfigResponse { | 3598 class GetDebugConfigResponse { |
3596 /** The encoded debug configuration for the requested component. */ | 3599 /** The encoded debug configuration for the requested component. */ |
3597 core.String config; | 3600 core.String config; |
3598 | 3601 |
3599 GetDebugConfigResponse(); | 3602 GetDebugConfigResponse(); |
3600 | 3603 |
3601 GetDebugConfigResponse.fromJson(core.Map _json) { | 3604 GetDebugConfigResponse.fromJson(core.Map _json) { |
3602 if (_json.containsKey("config")) { | 3605 if (_json.containsKey("config")) { |
3603 config = _json["config"]; | 3606 config = _json["config"]; |
3604 } | 3607 } |
3605 } | 3608 } |
3606 | 3609 |
3607 core.Map toJson() { | 3610 core.Map<core.String, core.Object> toJson() { |
3608 var _json = new core.Map(); | 3611 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3609 if (config != null) { | 3612 if (config != null) { |
3610 _json["config"] = config; | 3613 _json["config"] = config; |
3611 } | 3614 } |
3612 return _json; | 3615 return _json; |
3613 } | 3616 } |
3614 } | 3617 } |
3615 | 3618 |
3616 /** The response to a GetTemplate request. */ | 3619 /** The response to a GetTemplate request. */ |
3617 class GetTemplateResponse { | 3620 class GetTemplateResponse { |
3618 /** | 3621 /** |
(...skipping 11 matching lines...) Expand all Loading... |
3630 | 3633 |
3631 GetTemplateResponse.fromJson(core.Map _json) { | 3634 GetTemplateResponse.fromJson(core.Map _json) { |
3632 if (_json.containsKey("metadata")) { | 3635 if (_json.containsKey("metadata")) { |
3633 metadata = new TemplateMetadata.fromJson(_json["metadata"]); | 3636 metadata = new TemplateMetadata.fromJson(_json["metadata"]); |
3634 } | 3637 } |
3635 if (_json.containsKey("status")) { | 3638 if (_json.containsKey("status")) { |
3636 status = new Status.fromJson(_json["status"]); | 3639 status = new Status.fromJson(_json["status"]); |
3637 } | 3640 } |
3638 } | 3641 } |
3639 | 3642 |
3640 core.Map toJson() { | 3643 core.Map<core.String, core.Object> toJson() { |
3641 var _json = new core.Map(); | 3644 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3642 if (metadata != null) { | 3645 if (metadata != null) { |
3643 _json["metadata"] = (metadata).toJson(); | 3646 _json["metadata"] = (metadata).toJson(); |
3644 } | 3647 } |
3645 if (status != null) { | 3648 if (status != null) { |
3646 _json["status"] = (status).toJson(); | 3649 _json["status"] = (status).toJson(); |
3647 } | 3650 } |
3648 return _json; | 3651 return _json; |
3649 } | 3652 } |
3650 } | 3653 } |
3651 | 3654 |
(...skipping 16 matching lines...) Expand all Loading... |
3668 | 3671 |
3669 InstructionInput.fromJson(core.Map _json) { | 3672 InstructionInput.fromJson(core.Map _json) { |
3670 if (_json.containsKey("outputNum")) { | 3673 if (_json.containsKey("outputNum")) { |
3671 outputNum = _json["outputNum"]; | 3674 outputNum = _json["outputNum"]; |
3672 } | 3675 } |
3673 if (_json.containsKey("producerInstructionIndex")) { | 3676 if (_json.containsKey("producerInstructionIndex")) { |
3674 producerInstructionIndex = _json["producerInstructionIndex"]; | 3677 producerInstructionIndex = _json["producerInstructionIndex"]; |
3675 } | 3678 } |
3676 } | 3679 } |
3677 | 3680 |
3678 core.Map toJson() { | 3681 core.Map<core.String, core.Object> toJson() { |
3679 var _json = new core.Map(); | 3682 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3680 if (outputNum != null) { | 3683 if (outputNum != null) { |
3681 _json["outputNum"] = outputNum; | 3684 _json["outputNum"] = outputNum; |
3682 } | 3685 } |
3683 if (producerInstructionIndex != null) { | 3686 if (producerInstructionIndex != null) { |
3684 _json["producerInstructionIndex"] = producerInstructionIndex; | 3687 _json["producerInstructionIndex"] = producerInstructionIndex; |
3685 } | 3688 } |
3686 return _json; | 3689 return _json; |
3687 } | 3690 } |
3688 } | 3691 } |
3689 | 3692 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3735 onlyCountValueBytes = _json["onlyCountValueBytes"]; | 3738 onlyCountValueBytes = _json["onlyCountValueBytes"]; |
3736 } | 3739 } |
3737 if (_json.containsKey("originalName")) { | 3740 if (_json.containsKey("originalName")) { |
3738 originalName = _json["originalName"]; | 3741 originalName = _json["originalName"]; |
3739 } | 3742 } |
3740 if (_json.containsKey("systemName")) { | 3743 if (_json.containsKey("systemName")) { |
3741 systemName = _json["systemName"]; | 3744 systemName = _json["systemName"]; |
3742 } | 3745 } |
3743 } | 3746 } |
3744 | 3747 |
3745 core.Map toJson() { | 3748 core.Map<core.String, core.Object> toJson() { |
3746 var _json = new core.Map(); | 3749 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3747 if (codec != null) { | 3750 if (codec != null) { |
3748 _json["codec"] = codec; | 3751 _json["codec"] = codec; |
3749 } | 3752 } |
3750 if (name != null) { | 3753 if (name != null) { |
3751 _json["name"] = name; | 3754 _json["name"] = name; |
3752 } | 3755 } |
3753 if (onlyCountKeyBytes != null) { | 3756 if (onlyCountKeyBytes != null) { |
3754 _json["onlyCountKeyBytes"] = onlyCountKeyBytes; | 3757 _json["onlyCountKeyBytes"] = onlyCountKeyBytes; |
3755 } | 3758 } |
3756 if (onlyCountValueBytes != null) { | 3759 if (onlyCountValueBytes != null) { |
(...skipping 15 matching lines...) Expand all Loading... |
3772 core.List<SplitInt64> elements; | 3775 core.List<SplitInt64> elements; |
3773 | 3776 |
3774 IntegerList(); | 3777 IntegerList(); |
3775 | 3778 |
3776 IntegerList.fromJson(core.Map _json) { | 3779 IntegerList.fromJson(core.Map _json) { |
3777 if (_json.containsKey("elements")) { | 3780 if (_json.containsKey("elements")) { |
3778 elements = _json["elements"].map((value) => new SplitInt64.fromJson(value)
).toList(); | 3781 elements = _json["elements"].map((value) => new SplitInt64.fromJson(value)
).toList(); |
3779 } | 3782 } |
3780 } | 3783 } |
3781 | 3784 |
3782 core.Map toJson() { | 3785 core.Map<core.String, core.Object> toJson() { |
3783 var _json = new core.Map(); | 3786 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3784 if (elements != null) { | 3787 if (elements != null) { |
3785 _json["elements"] = elements.map((value) => (value).toJson()).toList(); | 3788 _json["elements"] = elements.map((value) => (value).toJson()).toList(); |
3786 } | 3789 } |
3787 return _json; | 3790 return _json; |
3788 } | 3791 } |
3789 } | 3792 } |
3790 | 3793 |
3791 /** A representation of an integer mean metric contribution. */ | 3794 /** A representation of an integer mean metric contribution. */ |
3792 class IntegerMean { | 3795 class IntegerMean { |
3793 /** The number of values being aggregated. */ | 3796 /** The number of values being aggregated. */ |
3794 SplitInt64 count; | 3797 SplitInt64 count; |
3795 /** The sum of all values being aggregated. */ | 3798 /** The sum of all values being aggregated. */ |
3796 SplitInt64 sum; | 3799 SplitInt64 sum; |
3797 | 3800 |
3798 IntegerMean(); | 3801 IntegerMean(); |
3799 | 3802 |
3800 IntegerMean.fromJson(core.Map _json) { | 3803 IntegerMean.fromJson(core.Map _json) { |
3801 if (_json.containsKey("count")) { | 3804 if (_json.containsKey("count")) { |
3802 count = new SplitInt64.fromJson(_json["count"]); | 3805 count = new SplitInt64.fromJson(_json["count"]); |
3803 } | 3806 } |
3804 if (_json.containsKey("sum")) { | 3807 if (_json.containsKey("sum")) { |
3805 sum = new SplitInt64.fromJson(_json["sum"]); | 3808 sum = new SplitInt64.fromJson(_json["sum"]); |
3806 } | 3809 } |
3807 } | 3810 } |
3808 | 3811 |
3809 core.Map toJson() { | 3812 core.Map<core.String, core.Object> toJson() { |
3810 var _json = new core.Map(); | 3813 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3811 if (count != null) { | 3814 if (count != null) { |
3812 _json["count"] = (count).toJson(); | 3815 _json["count"] = (count).toJson(); |
3813 } | 3816 } |
3814 if (sum != null) { | 3817 if (sum != null) { |
3815 _json["sum"] = (sum).toJson(); | 3818 _json["sum"] = (sum).toJson(); |
3816 } | 3819 } |
3817 return _json; | 3820 return _json; |
3818 } | 3821 } |
3819 } | 3822 } |
3820 | 3823 |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4115 tempFiles = _json["tempFiles"]; | 4118 tempFiles = _json["tempFiles"]; |
4116 } | 4119 } |
4117 if (_json.containsKey("transformNameMapping")) { | 4120 if (_json.containsKey("transformNameMapping")) { |
4118 transformNameMapping = _json["transformNameMapping"]; | 4121 transformNameMapping = _json["transformNameMapping"]; |
4119 } | 4122 } |
4120 if (_json.containsKey("type")) { | 4123 if (_json.containsKey("type")) { |
4121 type = _json["type"]; | 4124 type = _json["type"]; |
4122 } | 4125 } |
4123 } | 4126 } |
4124 | 4127 |
4125 core.Map toJson() { | 4128 core.Map<core.String, core.Object> toJson() { |
4126 var _json = new core.Map(); | 4129 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4127 if (clientRequestId != null) { | 4130 if (clientRequestId != null) { |
4128 _json["clientRequestId"] = clientRequestId; | 4131 _json["clientRequestId"] = clientRequestId; |
4129 } | 4132 } |
4130 if (createTime != null) { | 4133 if (createTime != null) { |
4131 _json["createTime"] = createTime; | 4134 _json["createTime"] = createTime; |
4132 } | 4135 } |
4133 if (currentState != null) { | 4136 if (currentState != null) { |
4134 _json["currentState"] = currentState; | 4137 _json["currentState"] = currentState; |
4135 } | 4138 } |
4136 if (currentStateTime != null) { | 4139 if (currentStateTime != null) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4193 * isn't contained in the submitted job. | 4196 * isn't contained in the submitted job. |
4194 */ | 4197 */ |
4195 class JobExecutionInfo { | 4198 class JobExecutionInfo { |
4196 /** A mapping from each stage to the information about that stage. */ | 4199 /** A mapping from each stage to the information about that stage. */ |
4197 core.Map<core.String, JobExecutionStageInfo> stages; | 4200 core.Map<core.String, JobExecutionStageInfo> stages; |
4198 | 4201 |
4199 JobExecutionInfo(); | 4202 JobExecutionInfo(); |
4200 | 4203 |
4201 JobExecutionInfo.fromJson(core.Map _json) { | 4204 JobExecutionInfo.fromJson(core.Map _json) { |
4202 if (_json.containsKey("stages")) { | 4205 if (_json.containsKey("stages")) { |
4203 stages = commons.mapMap(_json["stages"], (item) => new JobExecutionStageIn
fo.fromJson(item)); | 4206 stages = commons.mapMap<core.Map<core.String, core.Object>, JobExecutionSt
ageInfo>(_json["stages"], (core.Map<core.String, core.Object> item) => new JobEx
ecutionStageInfo.fromJson(item)); |
4204 } | 4207 } |
4205 } | 4208 } |
4206 | 4209 |
4207 core.Map toJson() { | 4210 core.Map<core.String, core.Object> toJson() { |
4208 var _json = new core.Map(); | 4211 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4209 if (stages != null) { | 4212 if (stages != null) { |
4210 _json["stages"] = commons.mapMap(stages, (item) => (item).toJson()); | 4213 _json["stages"] = commons.mapMap<JobExecutionStageInfo, core.Map<core.Stri
ng, core.Object>>(stages, (JobExecutionStageInfo item) => (item).toJson()); |
4211 } | 4214 } |
4212 return _json; | 4215 return _json; |
4213 } | 4216 } |
4214 } | 4217 } |
4215 | 4218 |
4216 /** | 4219 /** |
4217 * Contains information about how a particular | 4220 * Contains information about how a particular |
4218 * google.dataflow.v1beta3.Step will be executed. | 4221 * google.dataflow.v1beta3.Step will be executed. |
4219 */ | 4222 */ |
4220 class JobExecutionStageInfo { | 4223 class JobExecutionStageInfo { |
4221 /** | 4224 /** |
4222 * The steps associated with the execution stage. | 4225 * The steps associated with the execution stage. |
4223 * Note that stages may have several steps, and that a given step | 4226 * Note that stages may have several steps, and that a given step |
4224 * might be run by more than one stage. | 4227 * might be run by more than one stage. |
4225 */ | 4228 */ |
4226 core.List<core.String> stepName; | 4229 core.List<core.String> stepName; |
4227 | 4230 |
4228 JobExecutionStageInfo(); | 4231 JobExecutionStageInfo(); |
4229 | 4232 |
4230 JobExecutionStageInfo.fromJson(core.Map _json) { | 4233 JobExecutionStageInfo.fromJson(core.Map _json) { |
4231 if (_json.containsKey("stepName")) { | 4234 if (_json.containsKey("stepName")) { |
4232 stepName = _json["stepName"]; | 4235 stepName = _json["stepName"]; |
4233 } | 4236 } |
4234 } | 4237 } |
4235 | 4238 |
4236 core.Map toJson() { | 4239 core.Map<core.String, core.Object> toJson() { |
4237 var _json = new core.Map(); | 4240 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4238 if (stepName != null) { | 4241 if (stepName != null) { |
4239 _json["stepName"] = stepName; | 4242 _json["stepName"] = stepName; |
4240 } | 4243 } |
4241 return _json; | 4244 return _json; |
4242 } | 4245 } |
4243 } | 4246 } |
4244 | 4247 |
4245 /** A particular message pertaining to a Dataflow job. */ | 4248 /** A particular message pertaining to a Dataflow job. */ |
4246 class JobMessage { | 4249 class JobMessage { |
4247 /** Deprecated. */ | 4250 /** Deprecated. */ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4296 messageImportance = _json["messageImportance"]; | 4299 messageImportance = _json["messageImportance"]; |
4297 } | 4300 } |
4298 if (_json.containsKey("messageText")) { | 4301 if (_json.containsKey("messageText")) { |
4299 messageText = _json["messageText"]; | 4302 messageText = _json["messageText"]; |
4300 } | 4303 } |
4301 if (_json.containsKey("time")) { | 4304 if (_json.containsKey("time")) { |
4302 time = _json["time"]; | 4305 time = _json["time"]; |
4303 } | 4306 } |
4304 } | 4307 } |
4305 | 4308 |
4306 core.Map toJson() { | 4309 core.Map<core.String, core.Object> toJson() { |
4307 var _json = new core.Map(); | 4310 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4308 if (id != null) { | 4311 if (id != null) { |
4309 _json["id"] = id; | 4312 _json["id"] = id; |
4310 } | 4313 } |
4311 if (messageImportance != null) { | 4314 if (messageImportance != null) { |
4312 _json["messageImportance"] = messageImportance; | 4315 _json["messageImportance"] = messageImportance; |
4313 } | 4316 } |
4314 if (messageText != null) { | 4317 if (messageText != null) { |
4315 _json["messageText"] = messageText; | 4318 _json["messageText"] = messageText; |
4316 } | 4319 } |
4317 if (time != null) { | 4320 if (time != null) { |
(...skipping 22 matching lines...) Expand all Loading... |
4340 | 4343 |
4341 JobMetrics.fromJson(core.Map _json) { | 4344 JobMetrics.fromJson(core.Map _json) { |
4342 if (_json.containsKey("metricTime")) { | 4345 if (_json.containsKey("metricTime")) { |
4343 metricTime = _json["metricTime"]; | 4346 metricTime = _json["metricTime"]; |
4344 } | 4347 } |
4345 if (_json.containsKey("metrics")) { | 4348 if (_json.containsKey("metrics")) { |
4346 metrics = _json["metrics"].map((value) => new MetricUpdate.fromJson(value)
).toList(); | 4349 metrics = _json["metrics"].map((value) => new MetricUpdate.fromJson(value)
).toList(); |
4347 } | 4350 } |
4348 } | 4351 } |
4349 | 4352 |
4350 core.Map toJson() { | 4353 core.Map<core.String, core.Object> toJson() { |
4351 var _json = new core.Map(); | 4354 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4352 if (metricTime != null) { | 4355 if (metricTime != null) { |
4353 _json["metricTime"] = metricTime; | 4356 _json["metricTime"] = metricTime; |
4354 } | 4357 } |
4355 if (metrics != null) { | 4358 if (metrics != null) { |
4356 _json["metrics"] = metrics.map((value) => (value).toJson()).toList(); | 4359 _json["metrics"] = metrics.map((value) => (value).toJson()).toList(); |
4357 } | 4360 } |
4358 return _json; | 4361 return _json; |
4359 } | 4362 } |
4360 } | 4363 } |
4361 | 4364 |
(...skipping 23 matching lines...) Expand all Loading... |
4385 dataDisk = _json["dataDisk"]; | 4388 dataDisk = _json["dataDisk"]; |
4386 } | 4389 } |
4387 if (_json.containsKey("end")) { | 4390 if (_json.containsKey("end")) { |
4388 end = _json["end"]; | 4391 end = _json["end"]; |
4389 } | 4392 } |
4390 if (_json.containsKey("start")) { | 4393 if (_json.containsKey("start")) { |
4391 start = _json["start"]; | 4394 start = _json["start"]; |
4392 } | 4395 } |
4393 } | 4396 } |
4394 | 4397 |
4395 core.Map toJson() { | 4398 core.Map<core.String, core.Object> toJson() { |
4396 var _json = new core.Map(); | 4399 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4397 if (dataDisk != null) { | 4400 if (dataDisk != null) { |
4398 _json["dataDisk"] = dataDisk; | 4401 _json["dataDisk"] = dataDisk; |
4399 } | 4402 } |
4400 if (end != null) { | 4403 if (end != null) { |
4401 _json["end"] = end; | 4404 _json["end"] = end; |
4402 } | 4405 } |
4403 if (start != null) { | 4406 if (start != null) { |
4404 _json["start"] = start; | 4407 _json["start"] = start; |
4405 } | 4408 } |
4406 return _json; | 4409 return _json; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4448 deprecatedPersistentDirectory = _json["deprecatedPersistentDirectory"]; | 4451 deprecatedPersistentDirectory = _json["deprecatedPersistentDirectory"]; |
4449 } | 4452 } |
4450 if (_json.containsKey("end")) { | 4453 if (_json.containsKey("end")) { |
4451 end = _json["end"]; | 4454 end = _json["end"]; |
4452 } | 4455 } |
4453 if (_json.containsKey("start")) { | 4456 if (_json.containsKey("start")) { |
4454 start = _json["start"]; | 4457 start = _json["start"]; |
4455 } | 4458 } |
4456 } | 4459 } |
4457 | 4460 |
4458 core.Map toJson() { | 4461 core.Map<core.String, core.Object> toJson() { |
4459 var _json = new core.Map(); | 4462 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4460 if (dataDisk != null) { | 4463 if (dataDisk != null) { |
4461 _json["dataDisk"] = dataDisk; | 4464 _json["dataDisk"] = dataDisk; |
4462 } | 4465 } |
4463 if (deliveryEndpoint != null) { | 4466 if (deliveryEndpoint != null) { |
4464 _json["deliveryEndpoint"] = deliveryEndpoint; | 4467 _json["deliveryEndpoint"] = deliveryEndpoint; |
4465 } | 4468 } |
4466 if (deprecatedPersistentDirectory != null) { | 4469 if (deprecatedPersistentDirectory != null) { |
4467 _json["deprecatedPersistentDirectory"] = deprecatedPersistentDirectory; | 4470 _json["deprecatedPersistentDirectory"] = deprecatedPersistentDirectory; |
4468 } | 4471 } |
4469 if (end != null) { | 4472 if (end != null) { |
(...skipping 22 matching lines...) Expand all Loading... |
4492 environment = new RuntimeEnvironment.fromJson(_json["environment"]); | 4495 environment = new RuntimeEnvironment.fromJson(_json["environment"]); |
4493 } | 4496 } |
4494 if (_json.containsKey("jobName")) { | 4497 if (_json.containsKey("jobName")) { |
4495 jobName = _json["jobName"]; | 4498 jobName = _json["jobName"]; |
4496 } | 4499 } |
4497 if (_json.containsKey("parameters")) { | 4500 if (_json.containsKey("parameters")) { |
4498 parameters = _json["parameters"]; | 4501 parameters = _json["parameters"]; |
4499 } | 4502 } |
4500 } | 4503 } |
4501 | 4504 |
4502 core.Map toJson() { | 4505 core.Map<core.String, core.Object> toJson() { |
4503 var _json = new core.Map(); | 4506 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4504 if (environment != null) { | 4507 if (environment != null) { |
4505 _json["environment"] = (environment).toJson(); | 4508 _json["environment"] = (environment).toJson(); |
4506 } | 4509 } |
4507 if (jobName != null) { | 4510 if (jobName != null) { |
4508 _json["jobName"] = jobName; | 4511 _json["jobName"] = jobName; |
4509 } | 4512 } |
4510 if (parameters != null) { | 4513 if (parameters != null) { |
4511 _json["parameters"] = parameters; | 4514 _json["parameters"] = parameters; |
4512 } | 4515 } |
4513 return _json; | 4516 return _json; |
4514 } | 4517 } |
4515 } | 4518 } |
4516 | 4519 |
4517 /** Response to the request to launch a template. */ | 4520 /** Response to the request to launch a template. */ |
4518 class LaunchTemplateResponse { | 4521 class LaunchTemplateResponse { |
4519 /** | 4522 /** |
4520 * The job that was launched, if the request was not a dry run and | 4523 * The job that was launched, if the request was not a dry run and |
4521 * the job was successfully launched. | 4524 * the job was successfully launched. |
4522 */ | 4525 */ |
4523 Job job; | 4526 Job job; |
4524 | 4527 |
4525 LaunchTemplateResponse(); | 4528 LaunchTemplateResponse(); |
4526 | 4529 |
4527 LaunchTemplateResponse.fromJson(core.Map _json) { | 4530 LaunchTemplateResponse.fromJson(core.Map _json) { |
4528 if (_json.containsKey("job")) { | 4531 if (_json.containsKey("job")) { |
4529 job = new Job.fromJson(_json["job"]); | 4532 job = new Job.fromJson(_json["job"]); |
4530 } | 4533 } |
4531 } | 4534 } |
4532 | 4535 |
4533 core.Map toJson() { | 4536 core.Map<core.String, core.Object> toJson() { |
4534 var _json = new core.Map(); | 4537 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4535 if (job != null) { | 4538 if (job != null) { |
4536 _json["job"] = (job).toJson(); | 4539 _json["job"] = (job).toJson(); |
4537 } | 4540 } |
4538 return _json; | 4541 return _json; |
4539 } | 4542 } |
4540 } | 4543 } |
4541 | 4544 |
4542 /** Request to lease WorkItems. */ | 4545 /** Request to lease WorkItems. */ |
4543 class LeaseWorkItemRequest { | 4546 class LeaseWorkItemRequest { |
4544 /** The current timestamp at the worker. */ | 4547 /** The current timestamp at the worker. */ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4576 workItemTypes = _json["workItemTypes"]; | 4579 workItemTypes = _json["workItemTypes"]; |
4577 } | 4580 } |
4578 if (_json.containsKey("workerCapabilities")) { | 4581 if (_json.containsKey("workerCapabilities")) { |
4579 workerCapabilities = _json["workerCapabilities"]; | 4582 workerCapabilities = _json["workerCapabilities"]; |
4580 } | 4583 } |
4581 if (_json.containsKey("workerId")) { | 4584 if (_json.containsKey("workerId")) { |
4582 workerId = _json["workerId"]; | 4585 workerId = _json["workerId"]; |
4583 } | 4586 } |
4584 } | 4587 } |
4585 | 4588 |
4586 core.Map toJson() { | 4589 core.Map<core.String, core.Object> toJson() { |
4587 var _json = new core.Map(); | 4590 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4588 if (currentWorkerTime != null) { | 4591 if (currentWorkerTime != null) { |
4589 _json["currentWorkerTime"] = currentWorkerTime; | 4592 _json["currentWorkerTime"] = currentWorkerTime; |
4590 } | 4593 } |
4591 if (location != null) { | 4594 if (location != null) { |
4592 _json["location"] = location; | 4595 _json["location"] = location; |
4593 } | 4596 } |
4594 if (requestedLeaseDuration != null) { | 4597 if (requestedLeaseDuration != null) { |
4595 _json["requestedLeaseDuration"] = requestedLeaseDuration; | 4598 _json["requestedLeaseDuration"] = requestedLeaseDuration; |
4596 } | 4599 } |
4597 if (workItemTypes != null) { | 4600 if (workItemTypes != null) { |
(...skipping 15 matching lines...) Expand all Loading... |
4613 core.List<WorkItem> workItems; | 4616 core.List<WorkItem> workItems; |
4614 | 4617 |
4615 LeaseWorkItemResponse(); | 4618 LeaseWorkItemResponse(); |
4616 | 4619 |
4617 LeaseWorkItemResponse.fromJson(core.Map _json) { | 4620 LeaseWorkItemResponse.fromJson(core.Map _json) { |
4618 if (_json.containsKey("workItems")) { | 4621 if (_json.containsKey("workItems")) { |
4619 workItems = _json["workItems"].map((value) => new WorkItem.fromJson(value)
).toList(); | 4622 workItems = _json["workItems"].map((value) => new WorkItem.fromJson(value)
).toList(); |
4620 } | 4623 } |
4621 } | 4624 } |
4622 | 4625 |
4623 core.Map toJson() { | 4626 core.Map<core.String, core.Object> toJson() { |
4624 var _json = new core.Map(); | 4627 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4625 if (workItems != null) { | 4628 if (workItems != null) { |
4626 _json["workItems"] = workItems.map((value) => (value).toJson()).toList(); | 4629 _json["workItems"] = workItems.map((value) => (value).toJson()).toList(); |
4627 } | 4630 } |
4628 return _json; | 4631 return _json; |
4629 } | 4632 } |
4630 } | 4633 } |
4631 | 4634 |
4632 /** Response to a request to list job messages. */ | 4635 /** Response to a request to list job messages. */ |
4633 class ListJobMessagesResponse { | 4636 class ListJobMessagesResponse { |
4634 /** Autoscaling events in ascending timestamp order. */ | 4637 /** Autoscaling events in ascending timestamp order. */ |
(...skipping 10 matching lines...) Expand all Loading... |
4645 autoscalingEvents = _json["autoscalingEvents"].map((value) => new Autoscal
ingEvent.fromJson(value)).toList(); | 4648 autoscalingEvents = _json["autoscalingEvents"].map((value) => new Autoscal
ingEvent.fromJson(value)).toList(); |
4646 } | 4649 } |
4647 if (_json.containsKey("jobMessages")) { | 4650 if (_json.containsKey("jobMessages")) { |
4648 jobMessages = _json["jobMessages"].map((value) => new JobMessage.fromJson(
value)).toList(); | 4651 jobMessages = _json["jobMessages"].map((value) => new JobMessage.fromJson(
value)).toList(); |
4649 } | 4652 } |
4650 if (_json.containsKey("nextPageToken")) { | 4653 if (_json.containsKey("nextPageToken")) { |
4651 nextPageToken = _json["nextPageToken"]; | 4654 nextPageToken = _json["nextPageToken"]; |
4652 } | 4655 } |
4653 } | 4656 } |
4654 | 4657 |
4655 core.Map toJson() { | 4658 core.Map<core.String, core.Object> toJson() { |
4656 var _json = new core.Map(); | 4659 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4657 if (autoscalingEvents != null) { | 4660 if (autoscalingEvents != null) { |
4658 _json["autoscalingEvents"] = autoscalingEvents.map((value) => (value).toJs
on()).toList(); | 4661 _json["autoscalingEvents"] = autoscalingEvents.map((value) => (value).toJs
on()).toList(); |
4659 } | 4662 } |
4660 if (jobMessages != null) { | 4663 if (jobMessages != null) { |
4661 _json["jobMessages"] = jobMessages.map((value) => (value).toJson()).toList
(); | 4664 _json["jobMessages"] = jobMessages.map((value) => (value).toJson()).toList
(); |
4662 } | 4665 } |
4663 if (nextPageToken != null) { | 4666 if (nextPageToken != null) { |
4664 _json["nextPageToken"] = nextPageToken; | 4667 _json["nextPageToken"] = nextPageToken; |
4665 } | 4668 } |
4666 return _json; | 4669 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
4686 failedLocation = _json["failedLocation"].map((value) => new FailedLocation
.fromJson(value)).toList(); | 4689 failedLocation = _json["failedLocation"].map((value) => new FailedLocation
.fromJson(value)).toList(); |
4687 } | 4690 } |
4688 if (_json.containsKey("jobs")) { | 4691 if (_json.containsKey("jobs")) { |
4689 jobs = _json["jobs"].map((value) => new Job.fromJson(value)).toList(); | 4692 jobs = _json["jobs"].map((value) => new Job.fromJson(value)).toList(); |
4690 } | 4693 } |
4691 if (_json.containsKey("nextPageToken")) { | 4694 if (_json.containsKey("nextPageToken")) { |
4692 nextPageToken = _json["nextPageToken"]; | 4695 nextPageToken = _json["nextPageToken"]; |
4693 } | 4696 } |
4694 } | 4697 } |
4695 | 4698 |
4696 core.Map toJson() { | 4699 core.Map<core.String, core.Object> toJson() { |
4697 var _json = new core.Map(); | 4700 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4698 if (failedLocation != null) { | 4701 if (failedLocation != null) { |
4699 _json["failedLocation"] = failedLocation.map((value) => (value).toJson()).
toList(); | 4702 _json["failedLocation"] = failedLocation.map((value) => (value).toJson()).
toList(); |
4700 } | 4703 } |
4701 if (jobs != null) { | 4704 if (jobs != null) { |
4702 _json["jobs"] = jobs.map((value) => (value).toJson()).toList(); | 4705 _json["jobs"] = jobs.map((value) => (value).toJson()).toList(); |
4703 } | 4706 } |
4704 if (nextPageToken != null) { | 4707 if (nextPageToken != null) { |
4705 _json["nextPageToken"] = nextPageToken; | 4708 _json["nextPageToken"] = nextPageToken; |
4706 } | 4709 } |
4707 return _json; | 4710 return _json; |
(...skipping 20 matching lines...) Expand all Loading... |
4728 | 4731 |
4729 LogBucket.fromJson(core.Map _json) { | 4732 LogBucket.fromJson(core.Map _json) { |
4730 if (_json.containsKey("count")) { | 4733 if (_json.containsKey("count")) { |
4731 count = _json["count"]; | 4734 count = _json["count"]; |
4732 } | 4735 } |
4733 if (_json.containsKey("log")) { | 4736 if (_json.containsKey("log")) { |
4734 log = _json["log"]; | 4737 log = _json["log"]; |
4735 } | 4738 } |
4736 } | 4739 } |
4737 | 4740 |
4738 core.Map toJson() { | 4741 core.Map<core.String, core.Object> toJson() { |
4739 var _json = new core.Map(); | 4742 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4740 if (count != null) { | 4743 if (count != null) { |
4741 _json["count"] = count; | 4744 _json["count"] = count; |
4742 } | 4745 } |
4743 if (log != null) { | 4746 if (log != null) { |
4744 _json["log"] = log; | 4747 _json["log"] = log; |
4745 } | 4748 } |
4746 return _json; | 4749 return _json; |
4747 } | 4750 } |
4748 } | 4751 } |
4749 | 4752 |
(...skipping 26 matching lines...) Expand all Loading... |
4776 instructions = _json["instructions"].map((value) => new ParallelInstructio
n.fromJson(value)).toList(); | 4779 instructions = _json["instructions"].map((value) => new ParallelInstructio
n.fromJson(value)).toList(); |
4777 } | 4780 } |
4778 if (_json.containsKey("stageName")) { | 4781 if (_json.containsKey("stageName")) { |
4779 stageName = _json["stageName"]; | 4782 stageName = _json["stageName"]; |
4780 } | 4783 } |
4781 if (_json.containsKey("systemName")) { | 4784 if (_json.containsKey("systemName")) { |
4782 systemName = _json["systemName"]; | 4785 systemName = _json["systemName"]; |
4783 } | 4786 } |
4784 } | 4787 } |
4785 | 4788 |
4786 core.Map toJson() { | 4789 core.Map<core.String, core.Object> toJson() { |
4787 var _json = new core.Map(); | 4790 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4788 if (instructions != null) { | 4791 if (instructions != null) { |
4789 _json["instructions"] = instructions.map((value) => (value).toJson()).toLi
st(); | 4792 _json["instructions"] = instructions.map((value) => (value).toJson()).toLi
st(); |
4790 } | 4793 } |
4791 if (stageName != null) { | 4794 if (stageName != null) { |
4792 _json["stageName"] = stageName; | 4795 _json["stageName"] = stageName; |
4793 } | 4796 } |
4794 if (systemName != null) { | 4797 if (systemName != null) { |
4795 _json["systemName"] = systemName; | 4798 _json["systemName"] = systemName; |
4796 } | 4799 } |
4797 return _json; | 4800 return _json; |
(...skipping 17 matching lines...) Expand all Loading... |
4815 | 4818 |
4816 MetricShortId.fromJson(core.Map _json) { | 4819 MetricShortId.fromJson(core.Map _json) { |
4817 if (_json.containsKey("metricIndex")) { | 4820 if (_json.containsKey("metricIndex")) { |
4818 metricIndex = _json["metricIndex"]; | 4821 metricIndex = _json["metricIndex"]; |
4819 } | 4822 } |
4820 if (_json.containsKey("shortId")) { | 4823 if (_json.containsKey("shortId")) { |
4821 shortId = _json["shortId"]; | 4824 shortId = _json["shortId"]; |
4822 } | 4825 } |
4823 } | 4826 } |
4824 | 4827 |
4825 core.Map toJson() { | 4828 core.Map<core.String, core.Object> toJson() { |
4826 var _json = new core.Map(); | 4829 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4827 if (metricIndex != null) { | 4830 if (metricIndex != null) { |
4828 _json["metricIndex"] = metricIndex; | 4831 _json["metricIndex"] = metricIndex; |
4829 } | 4832 } |
4830 if (shortId != null) { | 4833 if (shortId != null) { |
4831 _json["shortId"] = shortId; | 4834 _json["shortId"] = shortId; |
4832 } | 4835 } |
4833 return _json; | 4836 return _json; |
4834 } | 4837 } |
4835 } | 4838 } |
4836 | 4839 |
(...skipping 26 matching lines...) Expand all Loading... |
4863 context = _json["context"]; | 4866 context = _json["context"]; |
4864 } | 4867 } |
4865 if (_json.containsKey("name")) { | 4868 if (_json.containsKey("name")) { |
4866 name = _json["name"]; | 4869 name = _json["name"]; |
4867 } | 4870 } |
4868 if (_json.containsKey("origin")) { | 4871 if (_json.containsKey("origin")) { |
4869 origin = _json["origin"]; | 4872 origin = _json["origin"]; |
4870 } | 4873 } |
4871 } | 4874 } |
4872 | 4875 |
4873 core.Map toJson() { | 4876 core.Map<core.String, core.Object> toJson() { |
4874 var _json = new core.Map(); | 4877 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4875 if (context != null) { | 4878 if (context != null) { |
4876 _json["context"] = context; | 4879 _json["context"] = context; |
4877 } | 4880 } |
4878 if (name != null) { | 4881 if (name != null) { |
4879 _json["name"] = name; | 4882 _json["name"] = name; |
4880 } | 4883 } |
4881 if (origin != null) { | 4884 if (origin != null) { |
4882 _json["origin"] = origin; | 4885 _json["origin"] = origin; |
4883 } | 4886 } |
4884 return _json; | 4887 return _json; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4993 scalar = _json["scalar"]; | 4996 scalar = _json["scalar"]; |
4994 } | 4997 } |
4995 if (_json.containsKey("set")) { | 4998 if (_json.containsKey("set")) { |
4996 set = _json["set"]; | 4999 set = _json["set"]; |
4997 } | 5000 } |
4998 if (_json.containsKey("updateTime")) { | 5001 if (_json.containsKey("updateTime")) { |
4999 updateTime = _json["updateTime"]; | 5002 updateTime = _json["updateTime"]; |
5000 } | 5003 } |
5001 } | 5004 } |
5002 | 5005 |
5003 core.Map toJson() { | 5006 core.Map<core.String, core.Object> toJson() { |
5004 var _json = new core.Map(); | 5007 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5005 if (cumulative != null) { | 5008 if (cumulative != null) { |
5006 _json["cumulative"] = cumulative; | 5009 _json["cumulative"] = cumulative; |
5007 } | 5010 } |
5008 if (distribution != null) { | 5011 if (distribution != null) { |
5009 _json["distribution"] = distribution; | 5012 _json["distribution"] = distribution; |
5010 } | 5013 } |
5011 if (internal != null) { | 5014 if (internal != null) { |
5012 _json["internal"] = internal; | 5015 _json["internal"] = internal; |
5013 } | 5016 } |
5014 if (kind != null) { | 5017 if (kind != null) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5047 core.String dataDisk; | 5050 core.String dataDisk; |
5048 | 5051 |
5049 MountedDataDisk(); | 5052 MountedDataDisk(); |
5050 | 5053 |
5051 MountedDataDisk.fromJson(core.Map _json) { | 5054 MountedDataDisk.fromJson(core.Map _json) { |
5052 if (_json.containsKey("dataDisk")) { | 5055 if (_json.containsKey("dataDisk")) { |
5053 dataDisk = _json["dataDisk"]; | 5056 dataDisk = _json["dataDisk"]; |
5054 } | 5057 } |
5055 } | 5058 } |
5056 | 5059 |
5057 core.Map toJson() { | 5060 core.Map<core.String, core.Object> toJson() { |
5058 var _json = new core.Map(); | 5061 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5059 if (dataDisk != null) { | 5062 if (dataDisk != null) { |
5060 _json["dataDisk"] = dataDisk; | 5063 _json["dataDisk"] = dataDisk; |
5061 } | 5064 } |
5062 return _json; | 5065 return _json; |
5063 } | 5066 } |
5064 } | 5067 } |
5065 | 5068 |
5066 /** Information about an output of a multi-output DoFn. */ | 5069 /** Information about an output of a multi-output DoFn. */ |
5067 class MultiOutputInfo { | 5070 class MultiOutputInfo { |
5068 /** | 5071 /** |
5069 * The id of the tag the user code will emit to this output by; this | 5072 * The id of the tag the user code will emit to this output by; this |
5070 * should correspond to the tag of some SideInputInfo. | 5073 * should correspond to the tag of some SideInputInfo. |
5071 */ | 5074 */ |
5072 core.String tag; | 5075 core.String tag; |
5073 | 5076 |
5074 MultiOutputInfo(); | 5077 MultiOutputInfo(); |
5075 | 5078 |
5076 MultiOutputInfo.fromJson(core.Map _json) { | 5079 MultiOutputInfo.fromJson(core.Map _json) { |
5077 if (_json.containsKey("tag")) { | 5080 if (_json.containsKey("tag")) { |
5078 tag = _json["tag"]; | 5081 tag = _json["tag"]; |
5079 } | 5082 } |
5080 } | 5083 } |
5081 | 5084 |
5082 core.Map toJson() { | 5085 core.Map<core.String, core.Object> toJson() { |
5083 var _json = new core.Map(); | 5086 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5084 if (tag != null) { | 5087 if (tag != null) { |
5085 _json["tag"] = tag; | 5088 _json["tag"] = tag; |
5086 } | 5089 } |
5087 return _json; | 5090 return _json; |
5088 } | 5091 } |
5089 } | 5092 } |
5090 | 5093 |
5091 /** Basic metadata about a counter. */ | 5094 /** Basic metadata about a counter. */ |
5092 class NameAndKind { | 5095 class NameAndKind { |
5093 /** | 5096 /** |
(...skipping 20 matching lines...) Expand all Loading... |
5114 | 5117 |
5115 NameAndKind.fromJson(core.Map _json) { | 5118 NameAndKind.fromJson(core.Map _json) { |
5116 if (_json.containsKey("kind")) { | 5119 if (_json.containsKey("kind")) { |
5117 kind = _json["kind"]; | 5120 kind = _json["kind"]; |
5118 } | 5121 } |
5119 if (_json.containsKey("name")) { | 5122 if (_json.containsKey("name")) { |
5120 name = _json["name"]; | 5123 name = _json["name"]; |
5121 } | 5124 } |
5122 } | 5125 } |
5123 | 5126 |
5124 core.Map toJson() { | 5127 core.Map<core.String, core.Object> toJson() { |
5125 var _json = new core.Map(); | 5128 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5126 if (kind != null) { | 5129 if (kind != null) { |
5127 _json["kind"] = kind; | 5130 _json["kind"] = kind; |
5128 } | 5131 } |
5129 if (name != null) { | 5132 if (name != null) { |
5130 _json["name"] = name; | 5133 _json["name"] = name; |
5131 } | 5134 } |
5132 return _json; | 5135 return _json; |
5133 } | 5136 } |
5134 } | 5137 } |
5135 | 5138 |
(...skipping 25 matching lines...) Expand all Loading... |
5161 | 5164 |
5162 Package.fromJson(core.Map _json) { | 5165 Package.fromJson(core.Map _json) { |
5163 if (_json.containsKey("location")) { | 5166 if (_json.containsKey("location")) { |
5164 location = _json["location"]; | 5167 location = _json["location"]; |
5165 } | 5168 } |
5166 if (_json.containsKey("name")) { | 5169 if (_json.containsKey("name")) { |
5167 name = _json["name"]; | 5170 name = _json["name"]; |
5168 } | 5171 } |
5169 } | 5172 } |
5170 | 5173 |
5171 core.Map toJson() { | 5174 core.Map<core.String, core.Object> toJson() { |
5172 var _json = new core.Map(); | 5175 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5173 if (location != null) { | 5176 if (location != null) { |
5174 _json["location"] = location; | 5177 _json["location"] = location; |
5175 } | 5178 } |
5176 if (name != null) { | 5179 if (name != null) { |
5177 _json["name"] = name; | 5180 _json["name"] = name; |
5178 } | 5181 } |
5179 return _json; | 5182 return _json; |
5180 } | 5183 } |
5181 } | 5184 } |
5182 | 5185 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5216 numOutputs = _json["numOutputs"]; | 5219 numOutputs = _json["numOutputs"]; |
5217 } | 5220 } |
5218 if (_json.containsKey("sideInputs")) { | 5221 if (_json.containsKey("sideInputs")) { |
5219 sideInputs = _json["sideInputs"].map((value) => new SideInputInfo.fromJson
(value)).toList(); | 5222 sideInputs = _json["sideInputs"].map((value) => new SideInputInfo.fromJson
(value)).toList(); |
5220 } | 5223 } |
5221 if (_json.containsKey("userFn")) { | 5224 if (_json.containsKey("userFn")) { |
5222 userFn = _json["userFn"]; | 5225 userFn = _json["userFn"]; |
5223 } | 5226 } |
5224 } | 5227 } |
5225 | 5228 |
5226 core.Map toJson() { | 5229 core.Map<core.String, core.Object> toJson() { |
5227 var _json = new core.Map(); | 5230 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5228 if (input != null) { | 5231 if (input != null) { |
5229 _json["input"] = (input).toJson(); | 5232 _json["input"] = (input).toJson(); |
5230 } | 5233 } |
5231 if (multiOutputInfos != null) { | 5234 if (multiOutputInfos != null) { |
5232 _json["multiOutputInfos"] = multiOutputInfos.map((value) => (value).toJson
()).toList(); | 5235 _json["multiOutputInfos"] = multiOutputInfos.map((value) => (value).toJson
()).toList(); |
5233 } | 5236 } |
5234 if (numOutputs != null) { | 5237 if (numOutputs != null) { |
5235 _json["numOutputs"] = numOutputs; | 5238 _json["numOutputs"] = numOutputs; |
5236 } | 5239 } |
5237 if (sideInputs != null) { | 5240 if (sideInputs != null) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5293 read = new ReadInstruction.fromJson(_json["read"]); | 5296 read = new ReadInstruction.fromJson(_json["read"]); |
5294 } | 5297 } |
5295 if (_json.containsKey("systemName")) { | 5298 if (_json.containsKey("systemName")) { |
5296 systemName = _json["systemName"]; | 5299 systemName = _json["systemName"]; |
5297 } | 5300 } |
5298 if (_json.containsKey("write")) { | 5301 if (_json.containsKey("write")) { |
5299 write = new WriteInstruction.fromJson(_json["write"]); | 5302 write = new WriteInstruction.fromJson(_json["write"]); |
5300 } | 5303 } |
5301 } | 5304 } |
5302 | 5305 |
5303 core.Map toJson() { | 5306 core.Map<core.String, core.Object> toJson() { |
5304 var _json = new core.Map(); | 5307 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5305 if (flatten != null) { | 5308 if (flatten != null) { |
5306 _json["flatten"] = (flatten).toJson(); | 5309 _json["flatten"] = (flatten).toJson(); |
5307 } | 5310 } |
5308 if (name != null) { | 5311 if (name != null) { |
5309 _json["name"] = name; | 5312 _json["name"] = name; |
5310 } | 5313 } |
5311 if (originalName != null) { | 5314 if (originalName != null) { |
5312 _json["originalName"] = originalName; | 5315 _json["originalName"] = originalName; |
5313 } | 5316 } |
5314 if (outputs != null) { | 5317 if (outputs != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5349 | 5352 |
5350 Parameter.fromJson(core.Map _json) { | 5353 Parameter.fromJson(core.Map _json) { |
5351 if (_json.containsKey("key")) { | 5354 if (_json.containsKey("key")) { |
5352 key = _json["key"]; | 5355 key = _json["key"]; |
5353 } | 5356 } |
5354 if (_json.containsKey("value")) { | 5357 if (_json.containsKey("value")) { |
5355 value = _json["value"]; | 5358 value = _json["value"]; |
5356 } | 5359 } |
5357 } | 5360 } |
5358 | 5361 |
5359 core.Map toJson() { | 5362 core.Map<core.String, core.Object> toJson() { |
5360 var _json = new core.Map(); | 5363 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5361 if (key != null) { | 5364 if (key != null) { |
5362 _json["key"] = key; | 5365 _json["key"] = key; |
5363 } | 5366 } |
5364 if (value != null) { | 5367 if (value != null) { |
5365 _json["value"] = value; | 5368 _json["value"] = value; |
5366 } | 5369 } |
5367 return _json; | 5370 return _json; |
5368 } | 5371 } |
5369 } | 5372 } |
5370 | 5373 |
(...skipping 23 matching lines...) Expand all Loading... |
5394 label = _json["label"]; | 5397 label = _json["label"]; |
5395 } | 5398 } |
5396 if (_json.containsKey("name")) { | 5399 if (_json.containsKey("name")) { |
5397 name = _json["name"]; | 5400 name = _json["name"]; |
5398 } | 5401 } |
5399 if (_json.containsKey("regexes")) { | 5402 if (_json.containsKey("regexes")) { |
5400 regexes = _json["regexes"]; | 5403 regexes = _json["regexes"]; |
5401 } | 5404 } |
5402 } | 5405 } |
5403 | 5406 |
5404 core.Map toJson() { | 5407 core.Map<core.String, core.Object> toJson() { |
5405 var _json = new core.Map(); | 5408 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5406 if (helpText != null) { | 5409 if (helpText != null) { |
5407 _json["helpText"] = helpText; | 5410 _json["helpText"] = helpText; |
5408 } | 5411 } |
5409 if (isOptional != null) { | 5412 if (isOptional != null) { |
5410 _json["isOptional"] = isOptional; | 5413 _json["isOptional"] = isOptional; |
5411 } | 5414 } |
5412 if (label != null) { | 5415 if (label != null) { |
5413 _json["label"] = label; | 5416 _json["label"] = label; |
5414 } | 5417 } |
5415 if (name != null) { | 5418 if (name != null) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5472 originalCombineValuesStepName = _json["originalCombineValuesStepName"]; | 5475 originalCombineValuesStepName = _json["originalCombineValuesStepName"]; |
5473 } | 5476 } |
5474 if (_json.containsKey("sideInputs")) { | 5477 if (_json.containsKey("sideInputs")) { |
5475 sideInputs = _json["sideInputs"].map((value) => new SideInputInfo.fromJson
(value)).toList(); | 5478 sideInputs = _json["sideInputs"].map((value) => new SideInputInfo.fromJson
(value)).toList(); |
5476 } | 5479 } |
5477 if (_json.containsKey("valueCombiningFn")) { | 5480 if (_json.containsKey("valueCombiningFn")) { |
5478 valueCombiningFn = _json["valueCombiningFn"]; | 5481 valueCombiningFn = _json["valueCombiningFn"]; |
5479 } | 5482 } |
5480 } | 5483 } |
5481 | 5484 |
5482 core.Map toJson() { | 5485 core.Map<core.String, core.Object> toJson() { |
5483 var _json = new core.Map(); | 5486 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5484 if (input != null) { | 5487 if (input != null) { |
5485 _json["input"] = (input).toJson(); | 5488 _json["input"] = (input).toJson(); |
5486 } | 5489 } |
5487 if (inputElementCodec != null) { | 5490 if (inputElementCodec != null) { |
5488 _json["inputElementCodec"] = inputElementCodec; | 5491 _json["inputElementCodec"] = inputElementCodec; |
5489 } | 5492 } |
5490 if (originalCombineValuesInputStoreName != null) { | 5493 if (originalCombineValuesInputStoreName != null) { |
5491 _json["originalCombineValuesInputStoreName"] = originalCombineValuesInputS
toreName; | 5494 _json["originalCombineValuesInputStoreName"] = originalCombineValuesInputS
toreName; |
5492 } | 5495 } |
5493 if (originalCombineValuesStepName != null) { | 5496 if (originalCombineValuesStepName != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5525 displayData = _json["displayData"].map((value) => new DisplayData.fromJson
(value)).toList(); | 5528 displayData = _json["displayData"].map((value) => new DisplayData.fromJson
(value)).toList(); |
5526 } | 5529 } |
5527 if (_json.containsKey("executionPipelineStage")) { | 5530 if (_json.containsKey("executionPipelineStage")) { |
5528 executionPipelineStage = _json["executionPipelineStage"].map((value) => ne
w ExecutionStageSummary.fromJson(value)).toList(); | 5531 executionPipelineStage = _json["executionPipelineStage"].map((value) => ne
w ExecutionStageSummary.fromJson(value)).toList(); |
5529 } | 5532 } |
5530 if (_json.containsKey("originalPipelineTransform")) { | 5533 if (_json.containsKey("originalPipelineTransform")) { |
5531 originalPipelineTransform = _json["originalPipelineTransform"].map((value)
=> new TransformSummary.fromJson(value)).toList(); | 5534 originalPipelineTransform = _json["originalPipelineTransform"].map((value)
=> new TransformSummary.fromJson(value)).toList(); |
5532 } | 5535 } |
5533 } | 5536 } |
5534 | 5537 |
5535 core.Map toJson() { | 5538 core.Map<core.String, core.Object> toJson() { |
5536 var _json = new core.Map(); | 5539 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5537 if (displayData != null) { | 5540 if (displayData != null) { |
5538 _json["displayData"] = displayData.map((value) => (value).toJson()).toList
(); | 5541 _json["displayData"] = displayData.map((value) => (value).toJson()).toList
(); |
5539 } | 5542 } |
5540 if (executionPipelineStage != null) { | 5543 if (executionPipelineStage != null) { |
5541 _json["executionPipelineStage"] = executionPipelineStage.map((value) => (v
alue).toJson()).toList(); | 5544 _json["executionPipelineStage"] = executionPipelineStage.map((value) => (v
alue).toJson()).toList(); |
5542 } | 5545 } |
5543 if (originalPipelineTransform != null) { | 5546 if (originalPipelineTransform != null) { |
5544 _json["originalPipelineTransform"] = originalPipelineTransform.map((value)
=> (value).toJson()).toList(); | 5547 _json["originalPipelineTransform"] = originalPipelineTransform.map((value)
=> (value).toJson()).toList(); |
5545 } | 5548 } |
5546 return _json; | 5549 return _json; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5588 key = _json["key"]; | 5591 key = _json["key"]; |
5589 } | 5592 } |
5590 if (_json.containsKey("recordIndex")) { | 5593 if (_json.containsKey("recordIndex")) { |
5591 recordIndex = _json["recordIndex"]; | 5594 recordIndex = _json["recordIndex"]; |
5592 } | 5595 } |
5593 if (_json.containsKey("shufflePosition")) { | 5596 if (_json.containsKey("shufflePosition")) { |
5594 shufflePosition = _json["shufflePosition"]; | 5597 shufflePosition = _json["shufflePosition"]; |
5595 } | 5598 } |
5596 } | 5599 } |
5597 | 5600 |
5598 core.Map toJson() { | 5601 core.Map<core.String, core.Object> toJson() { |
5599 var _json = new core.Map(); | 5602 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5600 if (byteOffset != null) { | 5603 if (byteOffset != null) { |
5601 _json["byteOffset"] = byteOffset; | 5604 _json["byteOffset"] = byteOffset; |
5602 } | 5605 } |
5603 if (concatPosition != null) { | 5606 if (concatPosition != null) { |
5604 _json["concatPosition"] = (concatPosition).toJson(); | 5607 _json["concatPosition"] = (concatPosition).toJson(); |
5605 } | 5608 } |
5606 if (end != null) { | 5609 if (end != null) { |
5607 _json["end"] = end; | 5610 _json["end"] = end; |
5608 } | 5611 } |
5609 if (key != null) { | 5612 if (key != null) { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5673 topic = _json["topic"]; | 5676 topic = _json["topic"]; |
5674 } | 5677 } |
5675 if (_json.containsKey("trackingSubscription")) { | 5678 if (_json.containsKey("trackingSubscription")) { |
5676 trackingSubscription = _json["trackingSubscription"]; | 5679 trackingSubscription = _json["trackingSubscription"]; |
5677 } | 5680 } |
5678 if (_json.containsKey("withAttributes")) { | 5681 if (_json.containsKey("withAttributes")) { |
5679 withAttributes = _json["withAttributes"]; | 5682 withAttributes = _json["withAttributes"]; |
5680 } | 5683 } |
5681 } | 5684 } |
5682 | 5685 |
5683 core.Map toJson() { | 5686 core.Map<core.String, core.Object> toJson() { |
5684 var _json = new core.Map(); | 5687 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5685 if (dropLateData != null) { | 5688 if (dropLateData != null) { |
5686 _json["dropLateData"] = dropLateData; | 5689 _json["dropLateData"] = dropLateData; |
5687 } | 5690 } |
5688 if (idLabel != null) { | 5691 if (idLabel != null) { |
5689 _json["idLabel"] = idLabel; | 5692 _json["idLabel"] = idLabel; |
5690 } | 5693 } |
5691 if (subscription != null) { | 5694 if (subscription != null) { |
5692 _json["subscription"] = subscription; | 5695 _json["subscription"] = subscription; |
5693 } | 5696 } |
5694 if (timestampLabel != null) { | 5697 if (timestampLabel != null) { |
(...skipping 21 matching lines...) Expand all Loading... |
5716 Source source; | 5719 Source source; |
5717 | 5720 |
5718 ReadInstruction(); | 5721 ReadInstruction(); |
5719 | 5722 |
5720 ReadInstruction.fromJson(core.Map _json) { | 5723 ReadInstruction.fromJson(core.Map _json) { |
5721 if (_json.containsKey("source")) { | 5724 if (_json.containsKey("source")) { |
5722 source = new Source.fromJson(_json["source"]); | 5725 source = new Source.fromJson(_json["source"]); |
5723 } | 5726 } |
5724 } | 5727 } |
5725 | 5728 |
5726 core.Map toJson() { | 5729 core.Map<core.String, core.Object> toJson() { |
5727 var _json = new core.Map(); | 5730 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5728 if (source != null) { | 5731 if (source != null) { |
5729 _json["source"] = (source).toJson(); | 5732 _json["source"] = (source).toJson(); |
5730 } | 5733 } |
5731 return _json; | 5734 return _json; |
5732 } | 5735 } |
5733 } | 5736 } |
5734 | 5737 |
5735 /** Request to report the status of WorkItems. */ | 5738 /** Request to report the status of WorkItems. */ |
5736 class ReportWorkItemStatusRequest { | 5739 class ReportWorkItemStatusRequest { |
5737 /** The current timestamp at the worker. */ | 5740 /** The current timestamp at the worker. */ |
(...skipping 24 matching lines...) Expand all Loading... |
5762 location = _json["location"]; | 5765 location = _json["location"]; |
5763 } | 5766 } |
5764 if (_json.containsKey("workItemStatuses")) { | 5767 if (_json.containsKey("workItemStatuses")) { |
5765 workItemStatuses = _json["workItemStatuses"].map((value) => new WorkItemSt
atus.fromJson(value)).toList(); | 5768 workItemStatuses = _json["workItemStatuses"].map((value) => new WorkItemSt
atus.fromJson(value)).toList(); |
5766 } | 5769 } |
5767 if (_json.containsKey("workerId")) { | 5770 if (_json.containsKey("workerId")) { |
5768 workerId = _json["workerId"]; | 5771 workerId = _json["workerId"]; |
5769 } | 5772 } |
5770 } | 5773 } |
5771 | 5774 |
5772 core.Map toJson() { | 5775 core.Map<core.String, core.Object> toJson() { |
5773 var _json = new core.Map(); | 5776 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5774 if (currentWorkerTime != null) { | 5777 if (currentWorkerTime != null) { |
5775 _json["currentWorkerTime"] = currentWorkerTime; | 5778 _json["currentWorkerTime"] = currentWorkerTime; |
5776 } | 5779 } |
5777 if (location != null) { | 5780 if (location != null) { |
5778 _json["location"] = location; | 5781 _json["location"] = location; |
5779 } | 5782 } |
5780 if (workItemStatuses != null) { | 5783 if (workItemStatuses != null) { |
5781 _json["workItemStatuses"] = workItemStatuses.map((value) => (value).toJson
()).toList(); | 5784 _json["workItemStatuses"] = workItemStatuses.map((value) => (value).toJson
()).toList(); |
5782 } | 5785 } |
5783 if (workerId != null) { | 5786 if (workerId != null) { |
(...skipping 14 matching lines...) Expand all Loading... |
5798 core.List<WorkItemServiceState> workItemServiceStates; | 5801 core.List<WorkItemServiceState> workItemServiceStates; |
5799 | 5802 |
5800 ReportWorkItemStatusResponse(); | 5803 ReportWorkItemStatusResponse(); |
5801 | 5804 |
5802 ReportWorkItemStatusResponse.fromJson(core.Map _json) { | 5805 ReportWorkItemStatusResponse.fromJson(core.Map _json) { |
5803 if (_json.containsKey("workItemServiceStates")) { | 5806 if (_json.containsKey("workItemServiceStates")) { |
5804 workItemServiceStates = _json["workItemServiceStates"].map((value) => new
WorkItemServiceState.fromJson(value)).toList(); | 5807 workItemServiceStates = _json["workItemServiceStates"].map((value) => new
WorkItemServiceState.fromJson(value)).toList(); |
5805 } | 5808 } |
5806 } | 5809 } |
5807 | 5810 |
5808 core.Map toJson() { | 5811 core.Map<core.String, core.Object> toJson() { |
5809 var _json = new core.Map(); | 5812 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5810 if (workItemServiceStates != null) { | 5813 if (workItemServiceStates != null) { |
5811 _json["workItemServiceStates"] = workItemServiceStates.map((value) => (val
ue).toJson()).toList(); | 5814 _json["workItemServiceStates"] = workItemServiceStates.map((value) => (val
ue).toJson()).toList(); |
5812 } | 5815 } |
5813 return _json; | 5816 return _json; |
5814 } | 5817 } |
5815 } | 5818 } |
5816 | 5819 |
5817 /** | 5820 /** |
5818 * Represents the level of parallelism in a WorkItem's input, | 5821 * Represents the level of parallelism in a WorkItem's input, |
5819 * reported by the worker. | 5822 * reported by the worker. |
(...skipping 15 matching lines...) Expand all Loading... |
5835 | 5838 |
5836 ReportedParallelism.fromJson(core.Map _json) { | 5839 ReportedParallelism.fromJson(core.Map _json) { |
5837 if (_json.containsKey("isInfinite")) { | 5840 if (_json.containsKey("isInfinite")) { |
5838 isInfinite = _json["isInfinite"]; | 5841 isInfinite = _json["isInfinite"]; |
5839 } | 5842 } |
5840 if (_json.containsKey("value")) { | 5843 if (_json.containsKey("value")) { |
5841 value = _json["value"]; | 5844 value = _json["value"]; |
5842 } | 5845 } |
5843 } | 5846 } |
5844 | 5847 |
5845 core.Map toJson() { | 5848 core.Map<core.String, core.Object> toJson() { |
5846 var _json = new core.Map(); | 5849 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5847 if (isInfinite != null) { | 5850 if (isInfinite != null) { |
5848 _json["isInfinite"] = isInfinite; | 5851 _json["isInfinite"] = isInfinite; |
5849 } | 5852 } |
5850 if (value != null) { | 5853 if (value != null) { |
5851 _json["value"] = value; | 5854 _json["value"] = value; |
5852 } | 5855 } |
5853 return _json; | 5856 return _json; |
5854 } | 5857 } |
5855 } | 5858 } |
5856 | 5859 |
5857 /** | 5860 /** |
5858 * Worker metrics exported from workers. This contains resource utilization | 5861 * Worker metrics exported from workers. This contains resource utilization |
5859 * metrics accumulated from a variety of sources. For more information, see | 5862 * metrics accumulated from a variety of sources. For more information, see |
5860 * go/df-resource-signals. | 5863 * go/df-resource-signals. |
5861 */ | 5864 */ |
5862 class ResourceUtilizationReport { | 5865 class ResourceUtilizationReport { |
5863 /** CPU utilization samples. */ | 5866 /** CPU utilization samples. */ |
5864 core.List<CPUTime> cpuTime; | 5867 core.List<CPUTime> cpuTime; |
5865 | 5868 |
5866 ResourceUtilizationReport(); | 5869 ResourceUtilizationReport(); |
5867 | 5870 |
5868 ResourceUtilizationReport.fromJson(core.Map _json) { | 5871 ResourceUtilizationReport.fromJson(core.Map _json) { |
5869 if (_json.containsKey("cpuTime")) { | 5872 if (_json.containsKey("cpuTime")) { |
5870 cpuTime = _json["cpuTime"].map((value) => new CPUTime.fromJson(value)).toL
ist(); | 5873 cpuTime = _json["cpuTime"].map((value) => new CPUTime.fromJson(value)).toL
ist(); |
5871 } | 5874 } |
5872 } | 5875 } |
5873 | 5876 |
5874 core.Map toJson() { | 5877 core.Map<core.String, core.Object> toJson() { |
5875 var _json = new core.Map(); | 5878 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5876 if (cpuTime != null) { | 5879 if (cpuTime != null) { |
5877 _json["cpuTime"] = cpuTime.map((value) => (value).toJson()).toList(); | 5880 _json["cpuTime"] = cpuTime.map((value) => (value).toJson()).toList(); |
5878 } | 5881 } |
5879 return _json; | 5882 return _json; |
5880 } | 5883 } |
5881 } | 5884 } |
5882 | 5885 |
5883 /** Service-side response to WorkerMessage reporting resource utilization. */ | 5886 /** Service-side response to WorkerMessage reporting resource utilization. */ |
5884 class ResourceUtilizationReportResponse { | 5887 class ResourceUtilizationReportResponse { |
5885 | 5888 |
5886 ResourceUtilizationReportResponse(); | 5889 ResourceUtilizationReportResponse(); |
5887 | 5890 |
5888 ResourceUtilizationReportResponse.fromJson(core.Map _json) { | 5891 ResourceUtilizationReportResponse.fromJson(core.Map _json) { |
5889 } | 5892 } |
5890 | 5893 |
5891 core.Map toJson() { | 5894 core.Map<core.String, core.Object> toJson() { |
5892 var _json = new core.Map(); | 5895 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5893 return _json; | 5896 return _json; |
5894 } | 5897 } |
5895 } | 5898 } |
5896 | 5899 |
5897 /** The environment values to set at runtime. */ | 5900 /** The environment values to set at runtime. */ |
5898 class RuntimeEnvironment { | 5901 class RuntimeEnvironment { |
5899 /** | 5902 /** |
5900 * Whether to bypass the safety checks for the job's temporary directory. | 5903 * Whether to bypass the safety checks for the job's temporary directory. |
5901 * Use with caution. | 5904 * Use with caution. |
5902 */ | 5905 */ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5941 serviceAccountEmail = _json["serviceAccountEmail"]; | 5944 serviceAccountEmail = _json["serviceAccountEmail"]; |
5942 } | 5945 } |
5943 if (_json.containsKey("tempLocation")) { | 5946 if (_json.containsKey("tempLocation")) { |
5944 tempLocation = _json["tempLocation"]; | 5947 tempLocation = _json["tempLocation"]; |
5945 } | 5948 } |
5946 if (_json.containsKey("zone")) { | 5949 if (_json.containsKey("zone")) { |
5947 zone = _json["zone"]; | 5950 zone = _json["zone"]; |
5948 } | 5951 } |
5949 } | 5952 } |
5950 | 5953 |
5951 core.Map toJson() { | 5954 core.Map<core.String, core.Object> toJson() { |
5952 var _json = new core.Map(); | 5955 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5953 if (bypassTempDirValidation != null) { | 5956 if (bypassTempDirValidation != null) { |
5954 _json["bypassTempDirValidation"] = bypassTempDirValidation; | 5957 _json["bypassTempDirValidation"] = bypassTempDirValidation; |
5955 } | 5958 } |
5956 if (machineType != null) { | 5959 if (machineType != null) { |
5957 _json["machineType"] = machineType; | 5960 _json["machineType"] = machineType; |
5958 } | 5961 } |
5959 if (maxWorkers != null) { | 5962 if (maxWorkers != null) { |
5960 _json["maxWorkers"] = maxWorkers; | 5963 _json["maxWorkers"] = maxWorkers; |
5961 } | 5964 } |
5962 if (serviceAccountEmail != null) { | 5965 if (serviceAccountEmail != null) { |
(...skipping 30 matching lines...) Expand all Loading... |
5993 data = _json["data"]; | 5996 data = _json["data"]; |
5994 } | 5997 } |
5995 if (_json.containsKey("location")) { | 5998 if (_json.containsKey("location")) { |
5996 location = _json["location"]; | 5999 location = _json["location"]; |
5997 } | 6000 } |
5998 if (_json.containsKey("workerId")) { | 6001 if (_json.containsKey("workerId")) { |
5999 workerId = _json["workerId"]; | 6002 workerId = _json["workerId"]; |
6000 } | 6003 } |
6001 } | 6004 } |
6002 | 6005 |
6003 core.Map toJson() { | 6006 core.Map<core.String, core.Object> toJson() { |
6004 var _json = new core.Map(); | 6007 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6005 if (componentId != null) { | 6008 if (componentId != null) { |
6006 _json["componentId"] = componentId; | 6009 _json["componentId"] = componentId; |
6007 } | 6010 } |
6008 if (data != null) { | 6011 if (data != null) { |
6009 _json["data"] = data; | 6012 _json["data"] = data; |
6010 } | 6013 } |
6011 if (location != null) { | 6014 if (location != null) { |
6012 _json["location"] = location; | 6015 _json["location"] = location; |
6013 } | 6016 } |
6014 if (workerId != null) { | 6017 if (workerId != null) { |
6015 _json["workerId"] = workerId; | 6018 _json["workerId"] = workerId; |
6016 } | 6019 } |
6017 return _json; | 6020 return _json; |
6018 } | 6021 } |
6019 } | 6022 } |
6020 | 6023 |
6021 /** | 6024 /** |
6022 * Response to a send capture request. | 6025 * Response to a send capture request. |
6023 * nothing | 6026 * nothing |
6024 */ | 6027 */ |
6025 class SendDebugCaptureResponse { | 6028 class SendDebugCaptureResponse { |
6026 | 6029 |
6027 SendDebugCaptureResponse(); | 6030 SendDebugCaptureResponse(); |
6028 | 6031 |
6029 SendDebugCaptureResponse.fromJson(core.Map _json) { | 6032 SendDebugCaptureResponse.fromJson(core.Map _json) { |
6030 } | 6033 } |
6031 | 6034 |
6032 core.Map toJson() { | 6035 core.Map<core.String, core.Object> toJson() { |
6033 var _json = new core.Map(); | 6036 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6034 return _json; | 6037 return _json; |
6035 } | 6038 } |
6036 } | 6039 } |
6037 | 6040 |
6038 /** A request for sending worker messages to the service. */ | 6041 /** A request for sending worker messages to the service. */ |
6039 class SendWorkerMessagesRequest { | 6042 class SendWorkerMessagesRequest { |
6040 /** The location which contains the job */ | 6043 /** The location which contains the job */ |
6041 core.String location; | 6044 core.String location; |
6042 /** The WorkerMessages to send. */ | 6045 /** The WorkerMessages to send. */ |
6043 core.List<WorkerMessage> workerMessages; | 6046 core.List<WorkerMessage> workerMessages; |
6044 | 6047 |
6045 SendWorkerMessagesRequest(); | 6048 SendWorkerMessagesRequest(); |
6046 | 6049 |
6047 SendWorkerMessagesRequest.fromJson(core.Map _json) { | 6050 SendWorkerMessagesRequest.fromJson(core.Map _json) { |
6048 if (_json.containsKey("location")) { | 6051 if (_json.containsKey("location")) { |
6049 location = _json["location"]; | 6052 location = _json["location"]; |
6050 } | 6053 } |
6051 if (_json.containsKey("workerMessages")) { | 6054 if (_json.containsKey("workerMessages")) { |
6052 workerMessages = _json["workerMessages"].map((value) => new WorkerMessage.
fromJson(value)).toList(); | 6055 workerMessages = _json["workerMessages"].map((value) => new WorkerMessage.
fromJson(value)).toList(); |
6053 } | 6056 } |
6054 } | 6057 } |
6055 | 6058 |
6056 core.Map toJson() { | 6059 core.Map<core.String, core.Object> toJson() { |
6057 var _json = new core.Map(); | 6060 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6058 if (location != null) { | 6061 if (location != null) { |
6059 _json["location"] = location; | 6062 _json["location"] = location; |
6060 } | 6063 } |
6061 if (workerMessages != null) { | 6064 if (workerMessages != null) { |
6062 _json["workerMessages"] = workerMessages.map((value) => (value).toJson()).
toList(); | 6065 _json["workerMessages"] = workerMessages.map((value) => (value).toJson()).
toList(); |
6063 } | 6066 } |
6064 return _json; | 6067 return _json; |
6065 } | 6068 } |
6066 } | 6069 } |
6067 | 6070 |
6068 /** The response to the worker messages. */ | 6071 /** The response to the worker messages. */ |
6069 class SendWorkerMessagesResponse { | 6072 class SendWorkerMessagesResponse { |
6070 /** The servers response to the worker messages. */ | 6073 /** The servers response to the worker messages. */ |
6071 core.List<WorkerMessageResponse> workerMessageResponses; | 6074 core.List<WorkerMessageResponse> workerMessageResponses; |
6072 | 6075 |
6073 SendWorkerMessagesResponse(); | 6076 SendWorkerMessagesResponse(); |
6074 | 6077 |
6075 SendWorkerMessagesResponse.fromJson(core.Map _json) { | 6078 SendWorkerMessagesResponse.fromJson(core.Map _json) { |
6076 if (_json.containsKey("workerMessageResponses")) { | 6079 if (_json.containsKey("workerMessageResponses")) { |
6077 workerMessageResponses = _json["workerMessageResponses"].map((value) => ne
w WorkerMessageResponse.fromJson(value)).toList(); | 6080 workerMessageResponses = _json["workerMessageResponses"].map((value) => ne
w WorkerMessageResponse.fromJson(value)).toList(); |
6078 } | 6081 } |
6079 } | 6082 } |
6080 | 6083 |
6081 core.Map toJson() { | 6084 core.Map<core.String, core.Object> toJson() { |
6082 var _json = new core.Map(); | 6085 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6083 if (workerMessageResponses != null) { | 6086 if (workerMessageResponses != null) { |
6084 _json["workerMessageResponses"] = workerMessageResponses.map((value) => (v
alue).toJson()).toList(); | 6087 _json["workerMessageResponses"] = workerMessageResponses.map((value) => (v
alue).toJson()).toList(); |
6085 } | 6088 } |
6086 return _json; | 6089 return _json; |
6087 } | 6090 } |
6088 } | 6091 } |
6089 | 6092 |
6090 /** Describes a particular function to invoke. */ | 6093 /** Describes a particular function to invoke. */ |
6091 class SeqMapTask { | 6094 class SeqMapTask { |
6092 /** Information about each of the inputs. */ | 6095 /** Information about each of the inputs. */ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6129 stageName = _json["stageName"]; | 6132 stageName = _json["stageName"]; |
6130 } | 6133 } |
6131 if (_json.containsKey("systemName")) { | 6134 if (_json.containsKey("systemName")) { |
6132 systemName = _json["systemName"]; | 6135 systemName = _json["systemName"]; |
6133 } | 6136 } |
6134 if (_json.containsKey("userFn")) { | 6137 if (_json.containsKey("userFn")) { |
6135 userFn = _json["userFn"]; | 6138 userFn = _json["userFn"]; |
6136 } | 6139 } |
6137 } | 6140 } |
6138 | 6141 |
6139 core.Map toJson() { | 6142 core.Map<core.String, core.Object> toJson() { |
6140 var _json = new core.Map(); | 6143 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6141 if (inputs != null) { | 6144 if (inputs != null) { |
6142 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); | 6145 _json["inputs"] = inputs.map((value) => (value).toJson()).toList(); |
6143 } | 6146 } |
6144 if (name != null) { | 6147 if (name != null) { |
6145 _json["name"] = name; | 6148 _json["name"] = name; |
6146 } | 6149 } |
6147 if (outputInfos != null) { | 6150 if (outputInfos != null) { |
6148 _json["outputInfos"] = outputInfos.map((value) => (value).toJson()).toList
(); | 6151 _json["outputInfos"] = outputInfos.map((value) => (value).toJson()).toList
(); |
6149 } | 6152 } |
6150 if (stageName != null) { | 6153 if (stageName != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
6171 | 6174 |
6172 SeqMapTaskOutputInfo.fromJson(core.Map _json) { | 6175 SeqMapTaskOutputInfo.fromJson(core.Map _json) { |
6173 if (_json.containsKey("sink")) { | 6176 if (_json.containsKey("sink")) { |
6174 sink = new Sink.fromJson(_json["sink"]); | 6177 sink = new Sink.fromJson(_json["sink"]); |
6175 } | 6178 } |
6176 if (_json.containsKey("tag")) { | 6179 if (_json.containsKey("tag")) { |
6177 tag = _json["tag"]; | 6180 tag = _json["tag"]; |
6178 } | 6181 } |
6179 } | 6182 } |
6180 | 6183 |
6181 core.Map toJson() { | 6184 core.Map<core.String, core.Object> toJson() { |
6182 var _json = new core.Map(); | 6185 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6183 if (sink != null) { | 6186 if (sink != null) { |
6184 _json["sink"] = (sink).toJson(); | 6187 _json["sink"] = (sink).toJson(); |
6185 } | 6188 } |
6186 if (tag != null) { | 6189 if (tag != null) { |
6187 _json["tag"] = tag; | 6190 _json["tag"] = tag; |
6188 } | 6191 } |
6189 return _json; | 6192 return _json; |
6190 } | 6193 } |
6191 } | 6194 } |
6192 | 6195 |
6193 /** A task which consists of a shell command for the worker to execute. */ | 6196 /** A task which consists of a shell command for the worker to execute. */ |
6194 class ShellTask { | 6197 class ShellTask { |
6195 /** The shell command to run. */ | 6198 /** The shell command to run. */ |
6196 core.String command; | 6199 core.String command; |
6197 /** Exit code for the task. */ | 6200 /** Exit code for the task. */ |
6198 core.int exitCode; | 6201 core.int exitCode; |
6199 | 6202 |
6200 ShellTask(); | 6203 ShellTask(); |
6201 | 6204 |
6202 ShellTask.fromJson(core.Map _json) { | 6205 ShellTask.fromJson(core.Map _json) { |
6203 if (_json.containsKey("command")) { | 6206 if (_json.containsKey("command")) { |
6204 command = _json["command"]; | 6207 command = _json["command"]; |
6205 } | 6208 } |
6206 if (_json.containsKey("exitCode")) { | 6209 if (_json.containsKey("exitCode")) { |
6207 exitCode = _json["exitCode"]; | 6210 exitCode = _json["exitCode"]; |
6208 } | 6211 } |
6209 } | 6212 } |
6210 | 6213 |
6211 core.Map toJson() { | 6214 core.Map<core.String, core.Object> toJson() { |
6212 var _json = new core.Map(); | 6215 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6213 if (command != null) { | 6216 if (command != null) { |
6214 _json["command"] = command; | 6217 _json["command"] = command; |
6215 } | 6218 } |
6216 if (exitCode != null) { | 6219 if (exitCode != null) { |
6217 _json["exitCode"] = exitCode; | 6220 _json["exitCode"] = exitCode; |
6218 } | 6221 } |
6219 return _json; | 6222 return _json; |
6220 } | 6223 } |
6221 } | 6224 } |
6222 | 6225 |
(...skipping 26 matching lines...) Expand all Loading... |
6249 kind = _json["kind"]; | 6252 kind = _json["kind"]; |
6250 } | 6253 } |
6251 if (_json.containsKey("sources")) { | 6254 if (_json.containsKey("sources")) { |
6252 sources = _json["sources"].map((value) => new Source.fromJson(value)).toLi
st(); | 6255 sources = _json["sources"].map((value) => new Source.fromJson(value)).toLi
st(); |
6253 } | 6256 } |
6254 if (_json.containsKey("tag")) { | 6257 if (_json.containsKey("tag")) { |
6255 tag = _json["tag"]; | 6258 tag = _json["tag"]; |
6256 } | 6259 } |
6257 } | 6260 } |
6258 | 6261 |
6259 core.Map toJson() { | 6262 core.Map<core.String, core.Object> toJson() { |
6260 var _json = new core.Map(); | 6263 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6261 if (kind != null) { | 6264 if (kind != null) { |
6262 _json["kind"] = kind; | 6265 _json["kind"] = kind; |
6263 } | 6266 } |
6264 if (sources != null) { | 6267 if (sources != null) { |
6265 _json["sources"] = sources.map((value) => (value).toJson()).toList(); | 6268 _json["sources"] = sources.map((value) => (value).toJson()).toList(); |
6266 } | 6269 } |
6267 if (tag != null) { | 6270 if (tag != null) { |
6268 _json["tag"] = tag; | 6271 _json["tag"] = tag; |
6269 } | 6272 } |
6270 return _json; | 6273 return _json; |
(...skipping 21 matching lines...) Expand all Loading... |
6292 | 6295 |
6293 Sink.fromJson(core.Map _json) { | 6296 Sink.fromJson(core.Map _json) { |
6294 if (_json.containsKey("codec")) { | 6297 if (_json.containsKey("codec")) { |
6295 codec = _json["codec"]; | 6298 codec = _json["codec"]; |
6296 } | 6299 } |
6297 if (_json.containsKey("spec")) { | 6300 if (_json.containsKey("spec")) { |
6298 spec = _json["spec"]; | 6301 spec = _json["spec"]; |
6299 } | 6302 } |
6300 } | 6303 } |
6301 | 6304 |
6302 core.Map toJson() { | 6305 core.Map<core.String, core.Object> toJson() { |
6303 var _json = new core.Map(); | 6306 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6304 if (codec != null) { | 6307 if (codec != null) { |
6305 _json["codec"] = codec; | 6308 _json["codec"] = codec; |
6306 } | 6309 } |
6307 if (spec != null) { | 6310 if (spec != null) { |
6308 _json["spec"] = spec; | 6311 _json["spec"] = spec; |
6309 } | 6312 } |
6310 return _json; | 6313 return _json; |
6311 } | 6314 } |
6312 } | 6315 } |
6313 | 6316 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6385 doesNotNeedSplitting = _json["doesNotNeedSplitting"]; | 6388 doesNotNeedSplitting = _json["doesNotNeedSplitting"]; |
6386 } | 6389 } |
6387 if (_json.containsKey("metadata")) { | 6390 if (_json.containsKey("metadata")) { |
6388 metadata = new SourceMetadata.fromJson(_json["metadata"]); | 6391 metadata = new SourceMetadata.fromJson(_json["metadata"]); |
6389 } | 6392 } |
6390 if (_json.containsKey("spec")) { | 6393 if (_json.containsKey("spec")) { |
6391 spec = _json["spec"]; | 6394 spec = _json["spec"]; |
6392 } | 6395 } |
6393 } | 6396 } |
6394 | 6397 |
6395 core.Map toJson() { | 6398 core.Map<core.String, core.Object> toJson() { |
6396 var _json = new core.Map(); | 6399 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6397 if (baseSpecs != null) { | 6400 if (baseSpecs != null) { |
6398 _json["baseSpecs"] = baseSpecs; | 6401 _json["baseSpecs"] = baseSpecs; |
6399 } | 6402 } |
6400 if (codec != null) { | 6403 if (codec != null) { |
6401 _json["codec"] = codec; | 6404 _json["codec"] = codec; |
6402 } | 6405 } |
6403 if (doesNotNeedSplitting != null) { | 6406 if (doesNotNeedSplitting != null) { |
6404 _json["doesNotNeedSplitting"] = doesNotNeedSplitting; | 6407 _json["doesNotNeedSplitting"] = doesNotNeedSplitting; |
6405 } | 6408 } |
6406 if (metadata != null) { | 6409 if (metadata != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
6434 primarySource = new DerivedSource.fromJson(_json["primarySource"]); | 6437 primarySource = new DerivedSource.fromJson(_json["primarySource"]); |
6435 } | 6438 } |
6436 if (_json.containsKey("residual")) { | 6439 if (_json.containsKey("residual")) { |
6437 residual = new SourceSplitShard.fromJson(_json["residual"]); | 6440 residual = new SourceSplitShard.fromJson(_json["residual"]); |
6438 } | 6441 } |
6439 if (_json.containsKey("residualSource")) { | 6442 if (_json.containsKey("residualSource")) { |
6440 residualSource = new DerivedSource.fromJson(_json["residualSource"]); | 6443 residualSource = new DerivedSource.fromJson(_json["residualSource"]); |
6441 } | 6444 } |
6442 } | 6445 } |
6443 | 6446 |
6444 core.Map toJson() { | 6447 core.Map<core.String, core.Object> toJson() { |
6445 var _json = new core.Map(); | 6448 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6446 if (primary != null) { | 6449 if (primary != null) { |
6447 _json["primary"] = (primary).toJson(); | 6450 _json["primary"] = (primary).toJson(); |
6448 } | 6451 } |
6449 if (primarySource != null) { | 6452 if (primarySource != null) { |
6450 _json["primarySource"] = (primarySource).toJson(); | 6453 _json["primarySource"] = (primarySource).toJson(); |
6451 } | 6454 } |
6452 if (residual != null) { | 6455 if (residual != null) { |
6453 _json["residual"] = (residual).toJson(); | 6456 _json["residual"] = (residual).toJson(); |
6454 } | 6457 } |
6455 if (residualSource != null) { | 6458 if (residualSource != null) { |
6456 _json["residualSource"] = (residualSource).toJson(); | 6459 _json["residualSource"] = (residualSource).toJson(); |
6457 } | 6460 } |
6458 return _json; | 6461 return _json; |
6459 } | 6462 } |
6460 } | 6463 } |
6461 | 6464 |
6462 /** A request to compute the SourceMetadata of a Source. */ | 6465 /** A request to compute the SourceMetadata of a Source. */ |
6463 class SourceGetMetadataRequest { | 6466 class SourceGetMetadataRequest { |
6464 /** Specification of the source whose metadata should be computed. */ | 6467 /** Specification of the source whose metadata should be computed. */ |
6465 Source source; | 6468 Source source; |
6466 | 6469 |
6467 SourceGetMetadataRequest(); | 6470 SourceGetMetadataRequest(); |
6468 | 6471 |
6469 SourceGetMetadataRequest.fromJson(core.Map _json) { | 6472 SourceGetMetadataRequest.fromJson(core.Map _json) { |
6470 if (_json.containsKey("source")) { | 6473 if (_json.containsKey("source")) { |
6471 source = new Source.fromJson(_json["source"]); | 6474 source = new Source.fromJson(_json["source"]); |
6472 } | 6475 } |
6473 } | 6476 } |
6474 | 6477 |
6475 core.Map toJson() { | 6478 core.Map<core.String, core.Object> toJson() { |
6476 var _json = new core.Map(); | 6479 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6477 if (source != null) { | 6480 if (source != null) { |
6478 _json["source"] = (source).toJson(); | 6481 _json["source"] = (source).toJson(); |
6479 } | 6482 } |
6480 return _json; | 6483 return _json; |
6481 } | 6484 } |
6482 } | 6485 } |
6483 | 6486 |
6484 /** The result of a SourceGetMetadataOperation. */ | 6487 /** The result of a SourceGetMetadataOperation. */ |
6485 class SourceGetMetadataResponse { | 6488 class SourceGetMetadataResponse { |
6486 /** The computed metadata. */ | 6489 /** The computed metadata. */ |
6487 SourceMetadata metadata; | 6490 SourceMetadata metadata; |
6488 | 6491 |
6489 SourceGetMetadataResponse(); | 6492 SourceGetMetadataResponse(); |
6490 | 6493 |
6491 SourceGetMetadataResponse.fromJson(core.Map _json) { | 6494 SourceGetMetadataResponse.fromJson(core.Map _json) { |
6492 if (_json.containsKey("metadata")) { | 6495 if (_json.containsKey("metadata")) { |
6493 metadata = new SourceMetadata.fromJson(_json["metadata"]); | 6496 metadata = new SourceMetadata.fromJson(_json["metadata"]); |
6494 } | 6497 } |
6495 } | 6498 } |
6496 | 6499 |
6497 core.Map toJson() { | 6500 core.Map<core.String, core.Object> toJson() { |
6498 var _json = new core.Map(); | 6501 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6499 if (metadata != null) { | 6502 if (metadata != null) { |
6500 _json["metadata"] = (metadata).toJson(); | 6503 _json["metadata"] = (metadata).toJson(); |
6501 } | 6504 } |
6502 return _json; | 6505 return _json; |
6503 } | 6506 } |
6504 } | 6507 } |
6505 | 6508 |
6506 /** | 6509 /** |
6507 * Metadata about a Source useful for automatically optimizing | 6510 * Metadata about a Source useful for automatically optimizing |
6508 * and tuning the pipeline, etc. | 6511 * and tuning the pipeline, etc. |
(...skipping 23 matching lines...) Expand all Loading... |
6532 estimatedSizeBytes = _json["estimatedSizeBytes"]; | 6535 estimatedSizeBytes = _json["estimatedSizeBytes"]; |
6533 } | 6536 } |
6534 if (_json.containsKey("infinite")) { | 6537 if (_json.containsKey("infinite")) { |
6535 infinite = _json["infinite"]; | 6538 infinite = _json["infinite"]; |
6536 } | 6539 } |
6537 if (_json.containsKey("producesSortedKeys")) { | 6540 if (_json.containsKey("producesSortedKeys")) { |
6538 producesSortedKeys = _json["producesSortedKeys"]; | 6541 producesSortedKeys = _json["producesSortedKeys"]; |
6539 } | 6542 } |
6540 } | 6543 } |
6541 | 6544 |
6542 core.Map toJson() { | 6545 core.Map<core.String, core.Object> toJson() { |
6543 var _json = new core.Map(); | 6546 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6544 if (estimatedSizeBytes != null) { | 6547 if (estimatedSizeBytes != null) { |
6545 _json["estimatedSizeBytes"] = estimatedSizeBytes; | 6548 _json["estimatedSizeBytes"] = estimatedSizeBytes; |
6546 } | 6549 } |
6547 if (infinite != null) { | 6550 if (infinite != null) { |
6548 _json["infinite"] = infinite; | 6551 _json["infinite"] = infinite; |
6549 } | 6552 } |
6550 if (producesSortedKeys != null) { | 6553 if (producesSortedKeys != null) { |
6551 _json["producesSortedKeys"] = producesSortedKeys; | 6554 _json["producesSortedKeys"] = producesSortedKeys; |
6552 } | 6555 } |
6553 return _json; | 6556 return _json; |
(...skipping 14 matching lines...) Expand all Loading... |
6568 | 6571 |
6569 SourceOperationRequest.fromJson(core.Map _json) { | 6572 SourceOperationRequest.fromJson(core.Map _json) { |
6570 if (_json.containsKey("getMetadata")) { | 6573 if (_json.containsKey("getMetadata")) { |
6571 getMetadata = new SourceGetMetadataRequest.fromJson(_json["getMetadata"]); | 6574 getMetadata = new SourceGetMetadataRequest.fromJson(_json["getMetadata"]); |
6572 } | 6575 } |
6573 if (_json.containsKey("split")) { | 6576 if (_json.containsKey("split")) { |
6574 split = new SourceSplitRequest.fromJson(_json["split"]); | 6577 split = new SourceSplitRequest.fromJson(_json["split"]); |
6575 } | 6578 } |
6576 } | 6579 } |
6577 | 6580 |
6578 core.Map toJson() { | 6581 core.Map<core.String, core.Object> toJson() { |
6579 var _json = new core.Map(); | 6582 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6580 if (getMetadata != null) { | 6583 if (getMetadata != null) { |
6581 _json["getMetadata"] = (getMetadata).toJson(); | 6584 _json["getMetadata"] = (getMetadata).toJson(); |
6582 } | 6585 } |
6583 if (split != null) { | 6586 if (split != null) { |
6584 _json["split"] = (split).toJson(); | 6587 _json["split"] = (split).toJson(); |
6585 } | 6588 } |
6586 return _json; | 6589 return _json; |
6587 } | 6590 } |
6588 } | 6591 } |
6589 | 6592 |
(...skipping 12 matching lines...) Expand all Loading... |
6602 | 6605 |
6603 SourceOperationResponse.fromJson(core.Map _json) { | 6606 SourceOperationResponse.fromJson(core.Map _json) { |
6604 if (_json.containsKey("getMetadata")) { | 6607 if (_json.containsKey("getMetadata")) { |
6605 getMetadata = new SourceGetMetadataResponse.fromJson(_json["getMetadata"])
; | 6608 getMetadata = new SourceGetMetadataResponse.fromJson(_json["getMetadata"])
; |
6606 } | 6609 } |
6607 if (_json.containsKey("split")) { | 6610 if (_json.containsKey("split")) { |
6608 split = new SourceSplitResponse.fromJson(_json["split"]); | 6611 split = new SourceSplitResponse.fromJson(_json["split"]); |
6609 } | 6612 } |
6610 } | 6613 } |
6611 | 6614 |
6612 core.Map toJson() { | 6615 core.Map<core.String, core.Object> toJson() { |
6613 var _json = new core.Map(); | 6616 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6614 if (getMetadata != null) { | 6617 if (getMetadata != null) { |
6615 _json["getMetadata"] = (getMetadata).toJson(); | 6618 _json["getMetadata"] = (getMetadata).toJson(); |
6616 } | 6619 } |
6617 if (split != null) { | 6620 if (split != null) { |
6618 _json["split"] = (split).toJson(); | 6621 _json["split"] = (split).toJson(); |
6619 } | 6622 } |
6620 return _json; | 6623 return _json; |
6621 } | 6624 } |
6622 } | 6625 } |
6623 | 6626 |
(...skipping 14 matching lines...) Expand all Loading... |
6638 | 6641 |
6639 SourceSplitOptions.fromJson(core.Map _json) { | 6642 SourceSplitOptions.fromJson(core.Map _json) { |
6640 if (_json.containsKey("desiredBundleSizeBytes")) { | 6643 if (_json.containsKey("desiredBundleSizeBytes")) { |
6641 desiredBundleSizeBytes = _json["desiredBundleSizeBytes"]; | 6644 desiredBundleSizeBytes = _json["desiredBundleSizeBytes"]; |
6642 } | 6645 } |
6643 if (_json.containsKey("desiredShardSizeBytes")) { | 6646 if (_json.containsKey("desiredShardSizeBytes")) { |
6644 desiredShardSizeBytes = _json["desiredShardSizeBytes"]; | 6647 desiredShardSizeBytes = _json["desiredShardSizeBytes"]; |
6645 } | 6648 } |
6646 } | 6649 } |
6647 | 6650 |
6648 core.Map toJson() { | 6651 core.Map<core.String, core.Object> toJson() { |
6649 var _json = new core.Map(); | 6652 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6650 if (desiredBundleSizeBytes != null) { | 6653 if (desiredBundleSizeBytes != null) { |
6651 _json["desiredBundleSizeBytes"] = desiredBundleSizeBytes; | 6654 _json["desiredBundleSizeBytes"] = desiredBundleSizeBytes; |
6652 } | 6655 } |
6653 if (desiredShardSizeBytes != null) { | 6656 if (desiredShardSizeBytes != null) { |
6654 _json["desiredShardSizeBytes"] = desiredShardSizeBytes; | 6657 _json["desiredShardSizeBytes"] = desiredShardSizeBytes; |
6655 } | 6658 } |
6656 return _json; | 6659 return _json; |
6657 } | 6660 } |
6658 } | 6661 } |
6659 | 6662 |
(...skipping 23 matching lines...) Expand all Loading... |
6683 | 6686 |
6684 SourceSplitRequest.fromJson(core.Map _json) { | 6687 SourceSplitRequest.fromJson(core.Map _json) { |
6685 if (_json.containsKey("options")) { | 6688 if (_json.containsKey("options")) { |
6686 options = new SourceSplitOptions.fromJson(_json["options"]); | 6689 options = new SourceSplitOptions.fromJson(_json["options"]); |
6687 } | 6690 } |
6688 if (_json.containsKey("source")) { | 6691 if (_json.containsKey("source")) { |
6689 source = new Source.fromJson(_json["source"]); | 6692 source = new Source.fromJson(_json["source"]); |
6690 } | 6693 } |
6691 } | 6694 } |
6692 | 6695 |
6693 core.Map toJson() { | 6696 core.Map<core.String, core.Object> toJson() { |
6694 var _json = new core.Map(); | 6697 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6695 if (options != null) { | 6698 if (options != null) { |
6696 _json["options"] = (options).toJson(); | 6699 _json["options"] = (options).toJson(); |
6697 } | 6700 } |
6698 if (source != null) { | 6701 if (source != null) { |
6699 _json["source"] = (source).toJson(); | 6702 _json["source"] = (source).toJson(); |
6700 } | 6703 } |
6701 return _json; | 6704 return _json; |
6702 } | 6705 } |
6703 } | 6706 } |
6704 | 6707 |
(...skipping 30 matching lines...) Expand all Loading... |
6735 bundles = _json["bundles"].map((value) => new DerivedSource.fromJson(value
)).toList(); | 6738 bundles = _json["bundles"].map((value) => new DerivedSource.fromJson(value
)).toList(); |
6736 } | 6739 } |
6737 if (_json.containsKey("outcome")) { | 6740 if (_json.containsKey("outcome")) { |
6738 outcome = _json["outcome"]; | 6741 outcome = _json["outcome"]; |
6739 } | 6742 } |
6740 if (_json.containsKey("shards")) { | 6743 if (_json.containsKey("shards")) { |
6741 shards = _json["shards"].map((value) => new SourceSplitShard.fromJson(valu
e)).toList(); | 6744 shards = _json["shards"].map((value) => new SourceSplitShard.fromJson(valu
e)).toList(); |
6742 } | 6745 } |
6743 } | 6746 } |
6744 | 6747 |
6745 core.Map toJson() { | 6748 core.Map<core.String, core.Object> toJson() { |
6746 var _json = new core.Map(); | 6749 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6747 if (bundles != null) { | 6750 if (bundles != null) { |
6748 _json["bundles"] = bundles.map((value) => (value).toJson()).toList(); | 6751 _json["bundles"] = bundles.map((value) => (value).toJson()).toList(); |
6749 } | 6752 } |
6750 if (outcome != null) { | 6753 if (outcome != null) { |
6751 _json["outcome"] = outcome; | 6754 _json["outcome"] = outcome; |
6752 } | 6755 } |
6753 if (shards != null) { | 6756 if (shards != null) { |
6754 _json["shards"] = shards.map((value) => (value).toJson()).toList(); | 6757 _json["shards"] = shards.map((value) => (value).toJson()).toList(); |
6755 } | 6758 } |
6756 return _json; | 6759 return _json; |
(...skipping 22 matching lines...) Expand all Loading... |
6779 | 6782 |
6780 SourceSplitShard.fromJson(core.Map _json) { | 6783 SourceSplitShard.fromJson(core.Map _json) { |
6781 if (_json.containsKey("derivationMode")) { | 6784 if (_json.containsKey("derivationMode")) { |
6782 derivationMode = _json["derivationMode"]; | 6785 derivationMode = _json["derivationMode"]; |
6783 } | 6786 } |
6784 if (_json.containsKey("source")) { | 6787 if (_json.containsKey("source")) { |
6785 source = new Source.fromJson(_json["source"]); | 6788 source = new Source.fromJson(_json["source"]); |
6786 } | 6789 } |
6787 } | 6790 } |
6788 | 6791 |
6789 core.Map toJson() { | 6792 core.Map<core.String, core.Object> toJson() { |
6790 var _json = new core.Map(); | 6793 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6791 if (derivationMode != null) { | 6794 if (derivationMode != null) { |
6792 _json["derivationMode"] = derivationMode; | 6795 _json["derivationMode"] = derivationMode; |
6793 } | 6796 } |
6794 if (source != null) { | 6797 if (source != null) { |
6795 _json["source"] = (source).toJson(); | 6798 _json["source"] = (source).toJson(); |
6796 } | 6799 } |
6797 return _json; | 6800 return _json; |
6798 } | 6801 } |
6799 } | 6802 } |
6800 | 6803 |
(...skipping 11 matching lines...) Expand all Loading... |
6812 | 6815 |
6813 SplitInt64.fromJson(core.Map _json) { | 6816 SplitInt64.fromJson(core.Map _json) { |
6814 if (_json.containsKey("highBits")) { | 6817 if (_json.containsKey("highBits")) { |
6815 highBits = _json["highBits"]; | 6818 highBits = _json["highBits"]; |
6816 } | 6819 } |
6817 if (_json.containsKey("lowBits")) { | 6820 if (_json.containsKey("lowBits")) { |
6818 lowBits = _json["lowBits"]; | 6821 lowBits = _json["lowBits"]; |
6819 } | 6822 } |
6820 } | 6823 } |
6821 | 6824 |
6822 core.Map toJson() { | 6825 core.Map<core.String, core.Object> toJson() { |
6823 var _json = new core.Map(); | 6826 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6824 if (highBits != null) { | 6827 if (highBits != null) { |
6825 _json["highBits"] = highBits; | 6828 _json["highBits"] = highBits; |
6826 } | 6829 } |
6827 if (lowBits != null) { | 6830 if (lowBits != null) { |
6828 _json["lowBits"] = lowBits; | 6831 _json["lowBits"] = lowBits; |
6829 } | 6832 } |
6830 return _json; | 6833 return _json; |
6831 } | 6834 } |
6832 } | 6835 } |
6833 | 6836 |
(...skipping 21 matching lines...) Expand all Loading... |
6855 originalTransformOrCollection = _json["originalTransformOrCollection"]; | 6858 originalTransformOrCollection = _json["originalTransformOrCollection"]; |
6856 } | 6859 } |
6857 if (_json.containsKey("sizeBytes")) { | 6860 if (_json.containsKey("sizeBytes")) { |
6858 sizeBytes = _json["sizeBytes"]; | 6861 sizeBytes = _json["sizeBytes"]; |
6859 } | 6862 } |
6860 if (_json.containsKey("userName")) { | 6863 if (_json.containsKey("userName")) { |
6861 userName = _json["userName"]; | 6864 userName = _json["userName"]; |
6862 } | 6865 } |
6863 } | 6866 } |
6864 | 6867 |
6865 core.Map toJson() { | 6868 core.Map<core.String, core.Object> toJson() { |
6866 var _json = new core.Map(); | 6869 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6867 if (name != null) { | 6870 if (name != null) { |
6868 _json["name"] = name; | 6871 _json["name"] = name; |
6869 } | 6872 } |
6870 if (originalTransformOrCollection != null) { | 6873 if (originalTransformOrCollection != null) { |
6871 _json["originalTransformOrCollection"] = originalTransformOrCollection; | 6874 _json["originalTransformOrCollection"] = originalTransformOrCollection; |
6872 } | 6875 } |
6873 if (sizeBytes != null) { | 6876 if (sizeBytes != null) { |
6874 _json["sizeBytes"] = sizeBytes; | 6877 _json["sizeBytes"] = sizeBytes; |
6875 } | 6878 } |
6876 if (userName != null) { | 6879 if (userName != null) { |
(...skipping 14 matching lines...) Expand all Loading... |
6891 | 6894 |
6892 StateFamilyConfig.fromJson(core.Map _json) { | 6895 StateFamilyConfig.fromJson(core.Map _json) { |
6893 if (_json.containsKey("isRead")) { | 6896 if (_json.containsKey("isRead")) { |
6894 isRead = _json["isRead"]; | 6897 isRead = _json["isRead"]; |
6895 } | 6898 } |
6896 if (_json.containsKey("stateFamily")) { | 6899 if (_json.containsKey("stateFamily")) { |
6897 stateFamily = _json["stateFamily"]; | 6900 stateFamily = _json["stateFamily"]; |
6898 } | 6901 } |
6899 } | 6902 } |
6900 | 6903 |
6901 core.Map toJson() { | 6904 core.Map<core.String, core.Object> toJson() { |
6902 var _json = new core.Map(); | 6905 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6903 if (isRead != null) { | 6906 if (isRead != null) { |
6904 _json["isRead"] = isRead; | 6907 _json["isRead"] = isRead; |
6905 } | 6908 } |
6906 if (stateFamily != null) { | 6909 if (stateFamily != null) { |
6907 _json["stateFamily"] = stateFamily; | 6910 _json["stateFamily"] = stateFamily; |
6908 } | 6911 } |
6909 return _json; | 6912 return _json; |
6910 } | 6913 } |
6911 } | 6914 } |
6912 | 6915 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6991 code = _json["code"]; | 6994 code = _json["code"]; |
6992 } | 6995 } |
6993 if (_json.containsKey("details")) { | 6996 if (_json.containsKey("details")) { |
6994 details = _json["details"]; | 6997 details = _json["details"]; |
6995 } | 6998 } |
6996 if (_json.containsKey("message")) { | 6999 if (_json.containsKey("message")) { |
6997 message = _json["message"]; | 7000 message = _json["message"]; |
6998 } | 7001 } |
6999 } | 7002 } |
7000 | 7003 |
7001 core.Map toJson() { | 7004 core.Map<core.String, core.Object> toJson() { |
7002 var _json = new core.Map(); | 7005 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7003 if (code != null) { | 7006 if (code != null) { |
7004 _json["code"] = code; | 7007 _json["code"] = code; |
7005 } | 7008 } |
7006 if (details != null) { | 7009 if (details != null) { |
7007 _json["details"] = details; | 7010 _json["details"] = details; |
7008 } | 7011 } |
7009 if (message != null) { | 7012 if (message != null) { |
7010 _json["message"] = message; | 7013 _json["message"] = message; |
7011 } | 7014 } |
7012 return _json; | 7015 return _json; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7065 kind = _json["kind"]; | 7068 kind = _json["kind"]; |
7066 } | 7069 } |
7067 if (_json.containsKey("name")) { | 7070 if (_json.containsKey("name")) { |
7068 name = _json["name"]; | 7071 name = _json["name"]; |
7069 } | 7072 } |
7070 if (_json.containsKey("properties")) { | 7073 if (_json.containsKey("properties")) { |
7071 properties = _json["properties"]; | 7074 properties = _json["properties"]; |
7072 } | 7075 } |
7073 } | 7076 } |
7074 | 7077 |
7075 core.Map toJson() { | 7078 core.Map<core.String, core.Object> toJson() { |
7076 var _json = new core.Map(); | 7079 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7077 if (kind != null) { | 7080 if (kind != null) { |
7078 _json["kind"] = kind; | 7081 _json["kind"] = kind; |
7079 } | 7082 } |
7080 if (name != null) { | 7083 if (name != null) { |
7081 _json["name"] = name; | 7084 _json["name"] = name; |
7082 } | 7085 } |
7083 if (properties != null) { | 7086 if (properties != null) { |
7084 _json["properties"] = properties; | 7087 _json["properties"] = properties; |
7085 } | 7088 } |
7086 return _json; | 7089 return _json; |
(...skipping 27 matching lines...) Expand all Loading... |
7114 pubsubLocation = new PubsubLocation.fromJson(_json["pubsubLocation"]); | 7117 pubsubLocation = new PubsubLocation.fromJson(_json["pubsubLocation"]); |
7115 } | 7118 } |
7116 if (_json.containsKey("sideInputLocation")) { | 7119 if (_json.containsKey("sideInputLocation")) { |
7117 sideInputLocation = new StreamingSideInputLocation.fromJson(_json["sideInp
utLocation"]); | 7120 sideInputLocation = new StreamingSideInputLocation.fromJson(_json["sideInp
utLocation"]); |
7118 } | 7121 } |
7119 if (_json.containsKey("streamingStageLocation")) { | 7122 if (_json.containsKey("streamingStageLocation")) { |
7120 streamingStageLocation = new StreamingStageLocation.fromJson(_json["stream
ingStageLocation"]); | 7123 streamingStageLocation = new StreamingStageLocation.fromJson(_json["stream
ingStageLocation"]); |
7121 } | 7124 } |
7122 } | 7125 } |
7123 | 7126 |
7124 core.Map toJson() { | 7127 core.Map<core.String, core.Object> toJson() { |
7125 var _json = new core.Map(); | 7128 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7126 if (customSourceLocation != null) { | 7129 if (customSourceLocation != null) { |
7127 _json["customSourceLocation"] = (customSourceLocation).toJson(); | 7130 _json["customSourceLocation"] = (customSourceLocation).toJson(); |
7128 } | 7131 } |
7129 if (pubsubLocation != null) { | 7132 if (pubsubLocation != null) { |
7130 _json["pubsubLocation"] = (pubsubLocation).toJson(); | 7133 _json["pubsubLocation"] = (pubsubLocation).toJson(); |
7131 } | 7134 } |
7132 if (sideInputLocation != null) { | 7135 if (sideInputLocation != null) { |
7133 _json["sideInputLocation"] = (sideInputLocation).toJson(); | 7136 _json["sideInputLocation"] = (sideInputLocation).toJson(); |
7134 } | 7137 } |
7135 if (streamingStageLocation != null) { | 7138 if (streamingStageLocation != null) { |
(...skipping 24 matching lines...) Expand all Loading... |
7160 instructions = _json["instructions"].map((value) => new ParallelInstructio
n.fromJson(value)).toList(); | 7163 instructions = _json["instructions"].map((value) => new ParallelInstructio
n.fromJson(value)).toList(); |
7161 } | 7164 } |
7162 if (_json.containsKey("stageName")) { | 7165 if (_json.containsKey("stageName")) { |
7163 stageName = _json["stageName"]; | 7166 stageName = _json["stageName"]; |
7164 } | 7167 } |
7165 if (_json.containsKey("systemName")) { | 7168 if (_json.containsKey("systemName")) { |
7166 systemName = _json["systemName"]; | 7169 systemName = _json["systemName"]; |
7167 } | 7170 } |
7168 } | 7171 } |
7169 | 7172 |
7170 core.Map toJson() { | 7173 core.Map<core.String, core.Object> toJson() { |
7171 var _json = new core.Map(); | 7174 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7172 if (computationId != null) { | 7175 if (computationId != null) { |
7173 _json["computationId"] = computationId; | 7176 _json["computationId"] = computationId; |
7174 } | 7177 } |
7175 if (instructions != null) { | 7178 if (instructions != null) { |
7176 _json["instructions"] = instructions.map((value) => (value).toJson()).toLi
st(); | 7179 _json["instructions"] = instructions.map((value) => (value).toJson()).toLi
st(); |
7177 } | 7180 } |
7178 if (stageName != null) { | 7181 if (stageName != null) { |
7179 _json["stageName"] = stageName; | 7182 _json["stageName"] = stageName; |
7180 } | 7183 } |
7181 if (systemName != null) { | 7184 if (systemName != null) { |
(...skipping 17 matching lines...) Expand all Loading... |
7199 | 7202 |
7200 StreamingComputationRanges.fromJson(core.Map _json) { | 7203 StreamingComputationRanges.fromJson(core.Map _json) { |
7201 if (_json.containsKey("computationId")) { | 7204 if (_json.containsKey("computationId")) { |
7202 computationId = _json["computationId"]; | 7205 computationId = _json["computationId"]; |
7203 } | 7206 } |
7204 if (_json.containsKey("rangeAssignments")) { | 7207 if (_json.containsKey("rangeAssignments")) { |
7205 rangeAssignments = _json["rangeAssignments"].map((value) => new KeyRangeDa
taDiskAssignment.fromJson(value)).toList(); | 7208 rangeAssignments = _json["rangeAssignments"].map((value) => new KeyRangeDa
taDiskAssignment.fromJson(value)).toList(); |
7206 } | 7209 } |
7207 } | 7210 } |
7208 | 7211 |
7209 core.Map toJson() { | 7212 core.Map<core.String, core.Object> toJson() { |
7210 var _json = new core.Map(); | 7213 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7211 if (computationId != null) { | 7214 if (computationId != null) { |
7212 _json["computationId"] = computationId; | 7215 _json["computationId"] = computationId; |
7213 } | 7216 } |
7214 if (rangeAssignments != null) { | 7217 if (rangeAssignments != null) { |
7215 _json["rangeAssignments"] = rangeAssignments.map((value) => (value).toJson
()).toList(); | 7218 _json["rangeAssignments"] = rangeAssignments.map((value) => (value).toJson
()).toList(); |
7216 } | 7219 } |
7217 return _json; | 7220 return _json; |
7218 } | 7221 } |
7219 } | 7222 } |
7220 | 7223 |
(...skipping 25 matching lines...) Expand all Loading... |
7246 computationRanges = _json["computationRanges"].map((value) => new Streamin
gComputationRanges.fromJson(value)).toList(); | 7249 computationRanges = _json["computationRanges"].map((value) => new Streamin
gComputationRanges.fromJson(value)).toList(); |
7247 } | 7250 } |
7248 if (_json.containsKey("dataDisks")) { | 7251 if (_json.containsKey("dataDisks")) { |
7249 dataDisks = _json["dataDisks"].map((value) => new MountedDataDisk.fromJson
(value)).toList(); | 7252 dataDisks = _json["dataDisks"].map((value) => new MountedDataDisk.fromJson
(value)).toList(); |
7250 } | 7253 } |
7251 if (_json.containsKey("taskType")) { | 7254 if (_json.containsKey("taskType")) { |
7252 taskType = _json["taskType"]; | 7255 taskType = _json["taskType"]; |
7253 } | 7256 } |
7254 } | 7257 } |
7255 | 7258 |
7256 core.Map toJson() { | 7259 core.Map<core.String, core.Object> toJson() { |
7257 var _json = new core.Map(); | 7260 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7258 if (computationRanges != null) { | 7261 if (computationRanges != null) { |
7259 _json["computationRanges"] = computationRanges.map((value) => (value).toJs
on()).toList(); | 7262 _json["computationRanges"] = computationRanges.map((value) => (value).toJs
on()).toList(); |
7260 } | 7263 } |
7261 if (dataDisks != null) { | 7264 if (dataDisks != null) { |
7262 _json["dataDisks"] = dataDisks.map((value) => (value).toJson()).toList(); | 7265 _json["dataDisks"] = dataDisks.map((value) => (value).toJson()).toList(); |
7263 } | 7266 } |
7264 if (taskType != null) { | 7267 if (taskType != null) { |
7265 _json["taskType"] = taskType; | 7268 _json["taskType"] = taskType; |
7266 } | 7269 } |
7267 return _json; | 7270 return _json; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7299 userStepToStateFamilyNameMap = _json["userStepToStateFamilyNameMap"]; | 7302 userStepToStateFamilyNameMap = _json["userStepToStateFamilyNameMap"]; |
7300 } | 7303 } |
7301 if (_json.containsKey("windmillServiceEndpoint")) { | 7304 if (_json.containsKey("windmillServiceEndpoint")) { |
7302 windmillServiceEndpoint = _json["windmillServiceEndpoint"]; | 7305 windmillServiceEndpoint = _json["windmillServiceEndpoint"]; |
7303 } | 7306 } |
7304 if (_json.containsKey("windmillServicePort")) { | 7307 if (_json.containsKey("windmillServicePort")) { |
7305 windmillServicePort = _json["windmillServicePort"]; | 7308 windmillServicePort = _json["windmillServicePort"]; |
7306 } | 7309 } |
7307 } | 7310 } |
7308 | 7311 |
7309 core.Map toJson() { | 7312 core.Map<core.String, core.Object> toJson() { |
7310 var _json = new core.Map(); | 7313 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7311 if (streamingComputationConfigs != null) { | 7314 if (streamingComputationConfigs != null) { |
7312 _json["streamingComputationConfigs"] = streamingComputationConfigs.map((va
lue) => (value).toJson()).toList(); | 7315 _json["streamingComputationConfigs"] = streamingComputationConfigs.map((va
lue) => (value).toJson()).toList(); |
7313 } | 7316 } |
7314 if (userStepToStateFamilyNameMap != null) { | 7317 if (userStepToStateFamilyNameMap != null) { |
7315 _json["userStepToStateFamilyNameMap"] = userStepToStateFamilyNameMap; | 7318 _json["userStepToStateFamilyNameMap"] = userStepToStateFamilyNameMap; |
7316 } | 7319 } |
7317 if (windmillServiceEndpoint != null) { | 7320 if (windmillServiceEndpoint != null) { |
7318 _json["windmillServiceEndpoint"] = windmillServiceEndpoint; | 7321 _json["windmillServiceEndpoint"] = windmillServiceEndpoint; |
7319 } | 7322 } |
7320 if (windmillServicePort != null) { | 7323 if (windmillServicePort != null) { |
(...skipping 30 matching lines...) Expand all Loading... |
7351 receiveWorkPort = _json["receiveWorkPort"]; | 7354 receiveWorkPort = _json["receiveWorkPort"]; |
7352 } | 7355 } |
7353 if (_json.containsKey("streamingComputationTopology")) { | 7356 if (_json.containsKey("streamingComputationTopology")) { |
7354 streamingComputationTopology = new TopologyConfig.fromJson(_json["streamin
gComputationTopology"]); | 7357 streamingComputationTopology = new TopologyConfig.fromJson(_json["streamin
gComputationTopology"]); |
7355 } | 7358 } |
7356 if (_json.containsKey("workerHarnessPort")) { | 7359 if (_json.containsKey("workerHarnessPort")) { |
7357 workerHarnessPort = _json["workerHarnessPort"]; | 7360 workerHarnessPort = _json["workerHarnessPort"]; |
7358 } | 7361 } |
7359 } | 7362 } |
7360 | 7363 |
7361 core.Map toJson() { | 7364 core.Map<core.String, core.Object> toJson() { |
7362 var _json = new core.Map(); | 7365 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7363 if (drain != null) { | 7366 if (drain != null) { |
7364 _json["drain"] = drain; | 7367 _json["drain"] = drain; |
7365 } | 7368 } |
7366 if (receiveWorkPort != null) { | 7369 if (receiveWorkPort != null) { |
7367 _json["receiveWorkPort"] = receiveWorkPort; | 7370 _json["receiveWorkPort"] = receiveWorkPort; |
7368 } | 7371 } |
7369 if (streamingComputationTopology != null) { | 7372 if (streamingComputationTopology != null) { |
7370 _json["streamingComputationTopology"] = (streamingComputationTopology).toJ
son(); | 7373 _json["streamingComputationTopology"] = (streamingComputationTopology).toJ
son(); |
7371 } | 7374 } |
7372 if (workerHarnessPort != null) { | 7375 if (workerHarnessPort != null) { |
(...skipping 16 matching lines...) Expand all Loading... |
7389 | 7392 |
7390 StreamingSideInputLocation.fromJson(core.Map _json) { | 7393 StreamingSideInputLocation.fromJson(core.Map _json) { |
7391 if (_json.containsKey("stateFamily")) { | 7394 if (_json.containsKey("stateFamily")) { |
7392 stateFamily = _json["stateFamily"]; | 7395 stateFamily = _json["stateFamily"]; |
7393 } | 7396 } |
7394 if (_json.containsKey("tag")) { | 7397 if (_json.containsKey("tag")) { |
7395 tag = _json["tag"]; | 7398 tag = _json["tag"]; |
7396 } | 7399 } |
7397 } | 7400 } |
7398 | 7401 |
7399 core.Map toJson() { | 7402 core.Map<core.String, core.Object> toJson() { |
7400 var _json = new core.Map(); | 7403 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7401 if (stateFamily != null) { | 7404 if (stateFamily != null) { |
7402 _json["stateFamily"] = stateFamily; | 7405 _json["stateFamily"] = stateFamily; |
7403 } | 7406 } |
7404 if (tag != null) { | 7407 if (tag != null) { |
7405 _json["tag"] = tag; | 7408 _json["tag"] = tag; |
7406 } | 7409 } |
7407 return _json; | 7410 return _json; |
7408 } | 7411 } |
7409 } | 7412 } |
7410 | 7413 |
7411 /** | 7414 /** |
7412 * Identifies the location of a streaming computation stage, for | 7415 * Identifies the location of a streaming computation stage, for |
7413 * stage-to-stage communication. | 7416 * stage-to-stage communication. |
7414 */ | 7417 */ |
7415 class StreamingStageLocation { | 7418 class StreamingStageLocation { |
7416 /** | 7419 /** |
7417 * Identifies the particular stream within the streaming Dataflow | 7420 * Identifies the particular stream within the streaming Dataflow |
7418 * job. | 7421 * job. |
7419 */ | 7422 */ |
7420 core.String streamId; | 7423 core.String streamId; |
7421 | 7424 |
7422 StreamingStageLocation(); | 7425 StreamingStageLocation(); |
7423 | 7426 |
7424 StreamingStageLocation.fromJson(core.Map _json) { | 7427 StreamingStageLocation.fromJson(core.Map _json) { |
7425 if (_json.containsKey("streamId")) { | 7428 if (_json.containsKey("streamId")) { |
7426 streamId = _json["streamId"]; | 7429 streamId = _json["streamId"]; |
7427 } | 7430 } |
7428 } | 7431 } |
7429 | 7432 |
7430 core.Map toJson() { | 7433 core.Map<core.String, core.Object> toJson() { |
7431 var _json = new core.Map(); | 7434 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7432 if (streamId != null) { | 7435 if (streamId != null) { |
7433 _json["streamId"] = streamId; | 7436 _json["streamId"] = streamId; |
7434 } | 7437 } |
7435 return _json; | 7438 return _json; |
7436 } | 7439 } |
7437 } | 7440 } |
7438 | 7441 |
7439 /** A metric value representing a list of strings. */ | 7442 /** A metric value representing a list of strings. */ |
7440 class StringList { | 7443 class StringList { |
7441 /** Elements of the list. */ | 7444 /** Elements of the list. */ |
7442 core.List<core.String> elements; | 7445 core.List<core.String> elements; |
7443 | 7446 |
7444 StringList(); | 7447 StringList(); |
7445 | 7448 |
7446 StringList.fromJson(core.Map _json) { | 7449 StringList.fromJson(core.Map _json) { |
7447 if (_json.containsKey("elements")) { | 7450 if (_json.containsKey("elements")) { |
7448 elements = _json["elements"]; | 7451 elements = _json["elements"]; |
7449 } | 7452 } |
7450 } | 7453 } |
7451 | 7454 |
7452 core.Map toJson() { | 7455 core.Map<core.String, core.Object> toJson() { |
7453 var _json = new core.Map(); | 7456 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7454 if (elements != null) { | 7457 if (elements != null) { |
7455 _json["elements"] = elements; | 7458 _json["elements"] = elements; |
7456 } | 7459 } |
7457 return _json; | 7460 return _json; |
7458 } | 7461 } |
7459 } | 7462 } |
7460 | 7463 |
7461 /** | 7464 /** |
7462 * A rich message format, including a human readable string, a key for | 7465 * A rich message format, including a human readable string, a key for |
7463 * identifying the message, and structured data associated with the message for | 7466 * identifying the message, and structured data associated with the message for |
(...skipping 17 matching lines...) Expand all Loading... |
7481 messageKey = _json["messageKey"]; | 7484 messageKey = _json["messageKey"]; |
7482 } | 7485 } |
7483 if (_json.containsKey("messageText")) { | 7486 if (_json.containsKey("messageText")) { |
7484 messageText = _json["messageText"]; | 7487 messageText = _json["messageText"]; |
7485 } | 7488 } |
7486 if (_json.containsKey("parameters")) { | 7489 if (_json.containsKey("parameters")) { |
7487 parameters = _json["parameters"].map((value) => new Parameter.fromJson(val
ue)).toList(); | 7490 parameters = _json["parameters"].map((value) => new Parameter.fromJson(val
ue)).toList(); |
7488 } | 7491 } |
7489 } | 7492 } |
7490 | 7493 |
7491 core.Map toJson() { | 7494 core.Map<core.String, core.Object> toJson() { |
7492 var _json = new core.Map(); | 7495 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7493 if (messageKey != null) { | 7496 if (messageKey != null) { |
7494 _json["messageKey"] = messageKey; | 7497 _json["messageKey"] = messageKey; |
7495 } | 7498 } |
7496 if (messageText != null) { | 7499 if (messageText != null) { |
7497 _json["messageText"] = messageText; | 7500 _json["messageText"] = messageText; |
7498 } | 7501 } |
7499 if (parameters != null) { | 7502 if (parameters != null) { |
7500 _json["parameters"] = parameters.map((value) => (value).toJson()).toList()
; | 7503 _json["parameters"] = parameters.map((value) => (value).toJson()).toList()
; |
7501 } | 7504 } |
7502 return _json; | 7505 return _json; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7639 tempStoragePrefix = _json["tempStoragePrefix"]; | 7642 tempStoragePrefix = _json["tempStoragePrefix"]; |
7640 } | 7643 } |
7641 if (_json.containsKey("vmId")) { | 7644 if (_json.containsKey("vmId")) { |
7642 vmId = _json["vmId"]; | 7645 vmId = _json["vmId"]; |
7643 } | 7646 } |
7644 if (_json.containsKey("workflowFileName")) { | 7647 if (_json.containsKey("workflowFileName")) { |
7645 workflowFileName = _json["workflowFileName"]; | 7648 workflowFileName = _json["workflowFileName"]; |
7646 } | 7649 } |
7647 } | 7650 } |
7648 | 7651 |
7649 core.Map toJson() { | 7652 core.Map<core.String, core.Object> toJson() { |
7650 var _json = new core.Map(); | 7653 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7651 if (alsologtostderr != null) { | 7654 if (alsologtostderr != null) { |
7652 _json["alsologtostderr"] = alsologtostderr; | 7655 _json["alsologtostderr"] = alsologtostderr; |
7653 } | 7656 } |
7654 if (baseTaskDir != null) { | 7657 if (baseTaskDir != null) { |
7655 _json["baseTaskDir"] = baseTaskDir; | 7658 _json["baseTaskDir"] = baseTaskDir; |
7656 } | 7659 } |
7657 if (baseUrl != null) { | 7660 if (baseUrl != null) { |
7658 _json["baseUrl"] = baseUrl; | 7661 _json["baseUrl"] = baseUrl; |
7659 } | 7662 } |
7660 if (commandlinesFileName != null) { | 7663 if (commandlinesFileName != null) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7704 } | 7707 } |
7705 if (workflowFileName != null) { | 7708 if (workflowFileName != null) { |
7706 _json["workflowFileName"] = workflowFileName; | 7709 _json["workflowFileName"] = workflowFileName; |
7707 } | 7710 } |
7708 return _json; | 7711 return _json; |
7709 } | 7712 } |
7710 } | 7713 } |
7711 | 7714 |
7712 /** Metadata describing a template. */ | 7715 /** Metadata describing a template. */ |
7713 class TemplateMetadata { | 7716 class TemplateMetadata { |
7714 /** | |
7715 * If true, will bypass the validation that the temp directory is | |
7716 * writable. This should only be used with templates for pipelines | |
7717 * that are guaranteed not to need to write to the temp directory, | |
7718 * which is subject to change based on the optimizer. | |
7719 */ | |
7720 core.bool bypassTempDirValidation; | |
7721 /** Optional. A description of the template. */ | 7717 /** Optional. A description of the template. */ |
7722 core.String description; | 7718 core.String description; |
7723 /** Required. The name of the template. */ | 7719 /** Required. The name of the template. */ |
7724 core.String name; | 7720 core.String name; |
7725 /** The parameters for the template. */ | 7721 /** The parameters for the template. */ |
7726 core.List<ParameterMetadata> parameters; | 7722 core.List<ParameterMetadata> parameters; |
7727 | 7723 |
7728 TemplateMetadata(); | 7724 TemplateMetadata(); |
7729 | 7725 |
7730 TemplateMetadata.fromJson(core.Map _json) { | 7726 TemplateMetadata.fromJson(core.Map _json) { |
7731 if (_json.containsKey("bypassTempDirValidation")) { | |
7732 bypassTempDirValidation = _json["bypassTempDirValidation"]; | |
7733 } | |
7734 if (_json.containsKey("description")) { | 7727 if (_json.containsKey("description")) { |
7735 description = _json["description"]; | 7728 description = _json["description"]; |
7736 } | 7729 } |
7737 if (_json.containsKey("name")) { | 7730 if (_json.containsKey("name")) { |
7738 name = _json["name"]; | 7731 name = _json["name"]; |
7739 } | 7732 } |
7740 if (_json.containsKey("parameters")) { | 7733 if (_json.containsKey("parameters")) { |
7741 parameters = _json["parameters"].map((value) => new ParameterMetadata.from
Json(value)).toList(); | 7734 parameters = _json["parameters"].map((value) => new ParameterMetadata.from
Json(value)).toList(); |
7742 } | 7735 } |
7743 } | 7736 } |
7744 | 7737 |
7745 core.Map toJson() { | 7738 core.Map<core.String, core.Object> toJson() { |
7746 var _json = new core.Map(); | 7739 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7747 if (bypassTempDirValidation != null) { | |
7748 _json["bypassTempDirValidation"] = bypassTempDirValidation; | |
7749 } | |
7750 if (description != null) { | 7740 if (description != null) { |
7751 _json["description"] = description; | 7741 _json["description"] = description; |
7752 } | 7742 } |
7753 if (name != null) { | 7743 if (name != null) { |
7754 _json["name"] = name; | 7744 _json["name"] = name; |
7755 } | 7745 } |
7756 if (parameters != null) { | 7746 if (parameters != null) { |
7757 _json["parameters"] = parameters.map((value) => (value).toJson()).toList()
; | 7747 _json["parameters"] = parameters.map((value) => (value).toJson()).toList()
; |
7758 } | 7748 } |
7759 return _json; | 7749 return _json; |
(...skipping 29 matching lines...) Expand all Loading... |
7789 forwardingKeyBits = _json["forwardingKeyBits"]; | 7779 forwardingKeyBits = _json["forwardingKeyBits"]; |
7790 } | 7780 } |
7791 if (_json.containsKey("persistentStateVersion")) { | 7781 if (_json.containsKey("persistentStateVersion")) { |
7792 persistentStateVersion = _json["persistentStateVersion"]; | 7782 persistentStateVersion = _json["persistentStateVersion"]; |
7793 } | 7783 } |
7794 if (_json.containsKey("userStageToComputationNameMap")) { | 7784 if (_json.containsKey("userStageToComputationNameMap")) { |
7795 userStageToComputationNameMap = _json["userStageToComputationNameMap"]; | 7785 userStageToComputationNameMap = _json["userStageToComputationNameMap"]; |
7796 } | 7786 } |
7797 } | 7787 } |
7798 | 7788 |
7799 core.Map toJson() { | 7789 core.Map<core.String, core.Object> toJson() { |
7800 var _json = new core.Map(); | 7790 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7801 if (computations != null) { | 7791 if (computations != null) { |
7802 _json["computations"] = computations.map((value) => (value).toJson()).toLi
st(); | 7792 _json["computations"] = computations.map((value) => (value).toJson()).toLi
st(); |
7803 } | 7793 } |
7804 if (dataDiskAssignments != null) { | 7794 if (dataDiskAssignments != null) { |
7805 _json["dataDiskAssignments"] = dataDiskAssignments.map((value) => (value).
toJson()).toList(); | 7795 _json["dataDiskAssignments"] = dataDiskAssignments.map((value) => (value).
toJson()).toList(); |
7806 } | 7796 } |
7807 if (forwardingKeyBits != null) { | 7797 if (forwardingKeyBits != null) { |
7808 _json["forwardingKeyBits"] = forwardingKeyBits; | 7798 _json["forwardingKeyBits"] = forwardingKeyBits; |
7809 } | 7799 } |
7810 if (persistentStateVersion != null) { | 7800 if (persistentStateVersion != null) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7862 kind = _json["kind"]; | 7852 kind = _json["kind"]; |
7863 } | 7853 } |
7864 if (_json.containsKey("name")) { | 7854 if (_json.containsKey("name")) { |
7865 name = _json["name"]; | 7855 name = _json["name"]; |
7866 } | 7856 } |
7867 if (_json.containsKey("outputCollectionName")) { | 7857 if (_json.containsKey("outputCollectionName")) { |
7868 outputCollectionName = _json["outputCollectionName"]; | 7858 outputCollectionName = _json["outputCollectionName"]; |
7869 } | 7859 } |
7870 } | 7860 } |
7871 | 7861 |
7872 core.Map toJson() { | 7862 core.Map<core.String, core.Object> toJson() { |
7873 var _json = new core.Map(); | 7863 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7874 if (displayData != null) { | 7864 if (displayData != null) { |
7875 _json["displayData"] = displayData.map((value) => (value).toJson()).toList
(); | 7865 _json["displayData"] = displayData.map((value) => (value).toJson()).toList
(); |
7876 } | 7866 } |
7877 if (id != null) { | 7867 if (id != null) { |
7878 _json["id"] = id; | 7868 _json["id"] = id; |
7879 } | 7869 } |
7880 if (inputCollectionName != null) { | 7870 if (inputCollectionName != null) { |
7881 _json["inputCollectionName"] = inputCollectionName; | 7871 _json["inputCollectionName"] = inputCollectionName; |
7882 } | 7872 } |
7883 if (kind != null) { | 7873 if (kind != null) { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7975 streamingComputationTask = new StreamingComputationTask.fromJson(_json["st
reamingComputationTask"]); | 7965 streamingComputationTask = new StreamingComputationTask.fromJson(_json["st
reamingComputationTask"]); |
7976 } | 7966 } |
7977 if (_json.containsKey("streamingConfigTask")) { | 7967 if (_json.containsKey("streamingConfigTask")) { |
7978 streamingConfigTask = new StreamingConfigTask.fromJson(_json["streamingCon
figTask"]); | 7968 streamingConfigTask = new StreamingConfigTask.fromJson(_json["streamingCon
figTask"]); |
7979 } | 7969 } |
7980 if (_json.containsKey("streamingSetupTask")) { | 7970 if (_json.containsKey("streamingSetupTask")) { |
7981 streamingSetupTask = new StreamingSetupTask.fromJson(_json["streamingSetup
Task"]); | 7971 streamingSetupTask = new StreamingSetupTask.fromJson(_json["streamingSetup
Task"]); |
7982 } | 7972 } |
7983 } | 7973 } |
7984 | 7974 |
7985 core.Map toJson() { | 7975 core.Map<core.String, core.Object> toJson() { |
7986 var _json = new core.Map(); | 7976 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7987 if (configuration != null) { | 7977 if (configuration != null) { |
7988 _json["configuration"] = configuration; | 7978 _json["configuration"] = configuration; |
7989 } | 7979 } |
7990 if (id != null) { | 7980 if (id != null) { |
7991 _json["id"] = id; | 7981 _json["id"] = id; |
7992 } | 7982 } |
7993 if (initialReportIndex != null) { | 7983 if (initialReportIndex != null) { |
7994 _json["initialReportIndex"] = initialReportIndex; | 7984 _json["initialReportIndex"] = initialReportIndex; |
7995 } | 7985 } |
7996 if (jobId != null) { | 7986 if (jobId != null) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8097 splitRequest = new ApproximateSplitRequest.fromJson(_json["splitRequest"])
; | 8087 splitRequest = new ApproximateSplitRequest.fromJson(_json["splitRequest"])
; |
8098 } | 8088 } |
8099 if (_json.containsKey("suggestedStopPoint")) { | 8089 if (_json.containsKey("suggestedStopPoint")) { |
8100 suggestedStopPoint = new ApproximateProgress.fromJson(_json["suggestedStop
Point"]); | 8090 suggestedStopPoint = new ApproximateProgress.fromJson(_json["suggestedStop
Point"]); |
8101 } | 8091 } |
8102 if (_json.containsKey("suggestedStopPosition")) { | 8092 if (_json.containsKey("suggestedStopPosition")) { |
8103 suggestedStopPosition = new Position.fromJson(_json["suggestedStopPosition
"]); | 8093 suggestedStopPosition = new Position.fromJson(_json["suggestedStopPosition
"]); |
8104 } | 8094 } |
8105 } | 8095 } |
8106 | 8096 |
8107 core.Map toJson() { | 8097 core.Map<core.String, core.Object> toJson() { |
8108 var _json = new core.Map(); | 8098 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8109 if (harnessData != null) { | 8099 if (harnessData != null) { |
8110 _json["harnessData"] = harnessData; | 8100 _json["harnessData"] = harnessData; |
8111 } | 8101 } |
8112 if (leaseExpireTime != null) { | 8102 if (leaseExpireTime != null) { |
8113 _json["leaseExpireTime"] = leaseExpireTime; | 8103 _json["leaseExpireTime"] = leaseExpireTime; |
8114 } | 8104 } |
8115 if (metricShortId != null) { | 8105 if (metricShortId != null) { |
8116 _json["metricShortId"] = metricShortId.map((value) => (value).toJson()).to
List(); | 8106 _json["metricShortId"] = metricShortId.map((value) => (value).toJson()).to
List(); |
8117 } | 8107 } |
8118 if (nextReportIndex != null) { | 8108 if (nextReportIndex != null) { |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8251 sourceOperationResponse = new SourceOperationResponse.fromJson(_json["sour
ceOperationResponse"]); | 8241 sourceOperationResponse = new SourceOperationResponse.fromJson(_json["sour
ceOperationResponse"]); |
8252 } | 8242 } |
8253 if (_json.containsKey("stopPosition")) { | 8243 if (_json.containsKey("stopPosition")) { |
8254 stopPosition = new Position.fromJson(_json["stopPosition"]); | 8244 stopPosition = new Position.fromJson(_json["stopPosition"]); |
8255 } | 8245 } |
8256 if (_json.containsKey("workItemId")) { | 8246 if (_json.containsKey("workItemId")) { |
8257 workItemId = _json["workItemId"]; | 8247 workItemId = _json["workItemId"]; |
8258 } | 8248 } |
8259 } | 8249 } |
8260 | 8250 |
8261 core.Map toJson() { | 8251 core.Map<core.String, core.Object> toJson() { |
8262 var _json = new core.Map(); | 8252 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8263 if (completed != null) { | 8253 if (completed != null) { |
8264 _json["completed"] = completed; | 8254 _json["completed"] = completed; |
8265 } | 8255 } |
8266 if (counterUpdates != null) { | 8256 if (counterUpdates != null) { |
8267 _json["counterUpdates"] = counterUpdates.map((value) => (value).toJson()).
toList(); | 8257 _json["counterUpdates"] = counterUpdates.map((value) => (value).toJson()).
toList(); |
8268 } | 8258 } |
8269 if (dynamicSourceSplit != null) { | 8259 if (dynamicSourceSplit != null) { |
8270 _json["dynamicSourceSplit"] = (dynamicSourceSplit).toJson(); | 8260 _json["dynamicSourceSplit"] = (dynamicSourceSplit).toJson(); |
8271 } | 8261 } |
8272 if (errors != null) { | 8262 if (errors != null) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8342 reportInterval = _json["reportInterval"]; | 8332 reportInterval = _json["reportInterval"]; |
8343 } | 8333 } |
8344 if (_json.containsKey("vmIsHealthy")) { | 8334 if (_json.containsKey("vmIsHealthy")) { |
8345 vmIsHealthy = _json["vmIsHealthy"]; | 8335 vmIsHealthy = _json["vmIsHealthy"]; |
8346 } | 8336 } |
8347 if (_json.containsKey("vmStartupTime")) { | 8337 if (_json.containsKey("vmStartupTime")) { |
8348 vmStartupTime = _json["vmStartupTime"]; | 8338 vmStartupTime = _json["vmStartupTime"]; |
8349 } | 8339 } |
8350 } | 8340 } |
8351 | 8341 |
8352 core.Map toJson() { | 8342 core.Map<core.String, core.Object> toJson() { |
8353 var _json = new core.Map(); | 8343 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8354 if (pods != null) { | 8344 if (pods != null) { |
8355 _json["pods"] = pods; | 8345 _json["pods"] = pods; |
8356 } | 8346 } |
8357 if (reportInterval != null) { | 8347 if (reportInterval != null) { |
8358 _json["reportInterval"] = reportInterval; | 8348 _json["reportInterval"] = reportInterval; |
8359 } | 8349 } |
8360 if (vmIsHealthy != null) { | 8350 if (vmIsHealthy != null) { |
8361 _json["vmIsHealthy"] = vmIsHealthy; | 8351 _json["vmIsHealthy"] = vmIsHealthy; |
8362 } | 8352 } |
8363 if (vmStartupTime != null) { | 8353 if (vmStartupTime != null) { |
(...skipping 18 matching lines...) Expand all Loading... |
8382 core.String reportInterval; | 8372 core.String reportInterval; |
8383 | 8373 |
8384 WorkerHealthReportResponse(); | 8374 WorkerHealthReportResponse(); |
8385 | 8375 |
8386 WorkerHealthReportResponse.fromJson(core.Map _json) { | 8376 WorkerHealthReportResponse.fromJson(core.Map _json) { |
8387 if (_json.containsKey("reportInterval")) { | 8377 if (_json.containsKey("reportInterval")) { |
8388 reportInterval = _json["reportInterval"]; | 8378 reportInterval = _json["reportInterval"]; |
8389 } | 8379 } |
8390 } | 8380 } |
8391 | 8381 |
8392 core.Map toJson() { | 8382 core.Map<core.String, core.Object> toJson() { |
8393 var _json = new core.Map(); | 8383 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8394 if (reportInterval != null) { | 8384 if (reportInterval != null) { |
8395 _json["reportInterval"] = reportInterval; | 8385 _json["reportInterval"] = reportInterval; |
8396 } | 8386 } |
8397 return _json; | 8387 return _json; |
8398 } | 8388 } |
8399 } | 8389 } |
8400 | 8390 |
8401 /** WorkerMessage provides information to the backend about a worker. */ | 8391 /** WorkerMessage provides information to the backend about a worker. */ |
8402 class WorkerMessage { | 8392 class WorkerMessage { |
8403 /** | 8393 /** |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8435 workerHealthReport = new WorkerHealthReport.fromJson(_json["workerHealthRe
port"]); | 8425 workerHealthReport = new WorkerHealthReport.fromJson(_json["workerHealthRe
port"]); |
8436 } | 8426 } |
8437 if (_json.containsKey("workerMessageCode")) { | 8427 if (_json.containsKey("workerMessageCode")) { |
8438 workerMessageCode = new WorkerMessageCode.fromJson(_json["workerMessageCod
e"]); | 8428 workerMessageCode = new WorkerMessageCode.fromJson(_json["workerMessageCod
e"]); |
8439 } | 8429 } |
8440 if (_json.containsKey("workerMetrics")) { | 8430 if (_json.containsKey("workerMetrics")) { |
8441 workerMetrics = new ResourceUtilizationReport.fromJson(_json["workerMetric
s"]); | 8431 workerMetrics = new ResourceUtilizationReport.fromJson(_json["workerMetric
s"]); |
8442 } | 8432 } |
8443 } | 8433 } |
8444 | 8434 |
8445 core.Map toJson() { | 8435 core.Map<core.String, core.Object> toJson() { |
8446 var _json = new core.Map(); | 8436 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8447 if (labels != null) { | 8437 if (labels != null) { |
8448 _json["labels"] = labels; | 8438 _json["labels"] = labels; |
8449 } | 8439 } |
8450 if (time != null) { | 8440 if (time != null) { |
8451 _json["time"] = time; | 8441 _json["time"] = time; |
8452 } | 8442 } |
8453 if (workerHealthReport != null) { | 8443 if (workerHealthReport != null) { |
8454 _json["workerHealthReport"] = (workerHealthReport).toJson(); | 8444 _json["workerHealthReport"] = (workerHealthReport).toJson(); |
8455 } | 8445 } |
8456 if (workerMessageCode != null) { | 8446 if (workerMessageCode != null) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8519 | 8509 |
8520 WorkerMessageCode.fromJson(core.Map _json) { | 8510 WorkerMessageCode.fromJson(core.Map _json) { |
8521 if (_json.containsKey("code")) { | 8511 if (_json.containsKey("code")) { |
8522 code = _json["code"]; | 8512 code = _json["code"]; |
8523 } | 8513 } |
8524 if (_json.containsKey("parameters")) { | 8514 if (_json.containsKey("parameters")) { |
8525 parameters = _json["parameters"]; | 8515 parameters = _json["parameters"]; |
8526 } | 8516 } |
8527 } | 8517 } |
8528 | 8518 |
8529 core.Map toJson() { | 8519 core.Map<core.String, core.Object> toJson() { |
8530 var _json = new core.Map(); | 8520 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8531 if (code != null) { | 8521 if (code != null) { |
8532 _json["code"] = code; | 8522 _json["code"] = code; |
8533 } | 8523 } |
8534 if (parameters != null) { | 8524 if (parameters != null) { |
8535 _json["parameters"] = parameters; | 8525 _json["parameters"] = parameters; |
8536 } | 8526 } |
8537 return _json; | 8527 return _json; |
8538 } | 8528 } |
8539 } | 8529 } |
8540 | 8530 |
(...skipping 11 matching lines...) Expand all Loading... |
8552 | 8542 |
8553 WorkerMessageResponse.fromJson(core.Map _json) { | 8543 WorkerMessageResponse.fromJson(core.Map _json) { |
8554 if (_json.containsKey("workerHealthReportResponse")) { | 8544 if (_json.containsKey("workerHealthReportResponse")) { |
8555 workerHealthReportResponse = new WorkerHealthReportResponse.fromJson(_json
["workerHealthReportResponse"]); | 8545 workerHealthReportResponse = new WorkerHealthReportResponse.fromJson(_json
["workerHealthReportResponse"]); |
8556 } | 8546 } |
8557 if (_json.containsKey("workerMetricsResponse")) { | 8547 if (_json.containsKey("workerMetricsResponse")) { |
8558 workerMetricsResponse = new ResourceUtilizationReportResponse.fromJson(_js
on["workerMetricsResponse"]); | 8548 workerMetricsResponse = new ResourceUtilizationReportResponse.fromJson(_js
on["workerMetricsResponse"]); |
8559 } | 8549 } |
8560 } | 8550 } |
8561 | 8551 |
8562 core.Map toJson() { | 8552 core.Map<core.String, core.Object> toJson() { |
8563 var _json = new core.Map(); | 8553 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8564 if (workerHealthReportResponse != null) { | 8554 if (workerHealthReportResponse != null) { |
8565 _json["workerHealthReportResponse"] = (workerHealthReportResponse).toJson(
); | 8555 _json["workerHealthReportResponse"] = (workerHealthReportResponse).toJson(
); |
8566 } | 8556 } |
8567 if (workerMetricsResponse != null) { | 8557 if (workerMetricsResponse != null) { |
8568 _json["workerMetricsResponse"] = (workerMetricsResponse).toJson(); | 8558 _json["workerMetricsResponse"] = (workerMetricsResponse).toJson(); |
8569 } | 8559 } |
8570 return _json; | 8560 return _json; |
8571 } | 8561 } |
8572 } | 8562 } |
8573 | 8563 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8774 teardownPolicy = _json["teardownPolicy"]; | 8764 teardownPolicy = _json["teardownPolicy"]; |
8775 } | 8765 } |
8776 if (_json.containsKey("workerHarnessContainerImage")) { | 8766 if (_json.containsKey("workerHarnessContainerImage")) { |
8777 workerHarnessContainerImage = _json["workerHarnessContainerImage"]; | 8767 workerHarnessContainerImage = _json["workerHarnessContainerImage"]; |
8778 } | 8768 } |
8779 if (_json.containsKey("zone")) { | 8769 if (_json.containsKey("zone")) { |
8780 zone = _json["zone"]; | 8770 zone = _json["zone"]; |
8781 } | 8771 } |
8782 } | 8772 } |
8783 | 8773 |
8784 core.Map toJson() { | 8774 core.Map<core.String, core.Object> toJson() { |
8785 var _json = new core.Map(); | 8775 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8786 if (autoscalingSettings != null) { | 8776 if (autoscalingSettings != null) { |
8787 _json["autoscalingSettings"] = (autoscalingSettings).toJson(); | 8777 _json["autoscalingSettings"] = (autoscalingSettings).toJson(); |
8788 } | 8778 } |
8789 if (dataDisks != null) { | 8779 if (dataDisks != null) { |
8790 _json["dataDisks"] = dataDisks.map((value) => (value).toJson()).toList(); | 8780 _json["dataDisks"] = dataDisks.map((value) => (value).toJson()).toList(); |
8791 } | 8781 } |
8792 if (defaultPackageSet != null) { | 8782 if (defaultPackageSet != null) { |
8793 _json["defaultPackageSet"] = defaultPackageSet; | 8783 _json["defaultPackageSet"] = defaultPackageSet; |
8794 } | 8784 } |
8795 if (diskSizeGb != null) { | 8785 if (diskSizeGb != null) { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8907 shuffleServicePath = _json["shuffleServicePath"]; | 8897 shuffleServicePath = _json["shuffleServicePath"]; |
8908 } | 8898 } |
8909 if (_json.containsKey("tempStoragePrefix")) { | 8899 if (_json.containsKey("tempStoragePrefix")) { |
8910 tempStoragePrefix = _json["tempStoragePrefix"]; | 8900 tempStoragePrefix = _json["tempStoragePrefix"]; |
8911 } | 8901 } |
8912 if (_json.containsKey("workerId")) { | 8902 if (_json.containsKey("workerId")) { |
8913 workerId = _json["workerId"]; | 8903 workerId = _json["workerId"]; |
8914 } | 8904 } |
8915 } | 8905 } |
8916 | 8906 |
8917 core.Map toJson() { | 8907 core.Map<core.String, core.Object> toJson() { |
8918 var _json = new core.Map(); | 8908 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8919 if (baseUrl != null) { | 8909 if (baseUrl != null) { |
8920 _json["baseUrl"] = baseUrl; | 8910 _json["baseUrl"] = baseUrl; |
8921 } | 8911 } |
8922 if (reportingEnabled != null) { | 8912 if (reportingEnabled != null) { |
8923 _json["reportingEnabled"] = reportingEnabled; | 8913 _json["reportingEnabled"] = reportingEnabled; |
8924 } | 8914 } |
8925 if (servicePath != null) { | 8915 if (servicePath != null) { |
8926 _json["servicePath"] = servicePath; | 8916 _json["servicePath"] = servicePath; |
8927 } | 8917 } |
8928 if (shuffleServicePath != null) { | 8918 if (shuffleServicePath != null) { |
(...skipping 23 matching lines...) Expand all Loading... |
8952 | 8942 |
8953 WriteInstruction.fromJson(core.Map _json) { | 8943 WriteInstruction.fromJson(core.Map _json) { |
8954 if (_json.containsKey("input")) { | 8944 if (_json.containsKey("input")) { |
8955 input = new InstructionInput.fromJson(_json["input"]); | 8945 input = new InstructionInput.fromJson(_json["input"]); |
8956 } | 8946 } |
8957 if (_json.containsKey("sink")) { | 8947 if (_json.containsKey("sink")) { |
8958 sink = new Sink.fromJson(_json["sink"]); | 8948 sink = new Sink.fromJson(_json["sink"]); |
8959 } | 8949 } |
8960 } | 8950 } |
8961 | 8951 |
8962 core.Map toJson() { | 8952 core.Map<core.String, core.Object> toJson() { |
8963 var _json = new core.Map(); | 8953 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8964 if (input != null) { | 8954 if (input != null) { |
8965 _json["input"] = (input).toJson(); | 8955 _json["input"] = (input).toJson(); |
8966 } | 8956 } |
8967 if (sink != null) { | 8957 if (sink != null) { |
8968 _json["sink"] = (sink).toJson(); | 8958 _json["sink"] = (sink).toJson(); |
8969 } | 8959 } |
8970 return _json; | 8960 return _json; |
8971 } | 8961 } |
8972 } | 8962 } |
OLD | NEW |