| 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.dataproc.v1beta1; |     3 library googleapis_beta.dataproc.v1beta1; | 
|     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; | 
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   172   } |   172   } | 
|   173  |   173  | 
|   174   /** |   174   /** | 
|   175    * Lists operations that match the specified filter in the request. If the |   175    * Lists operations that match the specified filter in the request. If the | 
|   176    * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name |   176    * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name | 
|   177    * binding below allows API services to override the binding to use different |   177    * binding below allows API services to override the binding to use different | 
|   178    * resource name schemes, such as users / * /operations. |   178    * resource name schemes, such as users / * /operations. | 
|   179    * |   179    * | 
|   180    * Request parameters: |   180    * Request parameters: | 
|   181    * |   181    * | 
|   182    * [name] - The name of the operation collection. |   182    * [name] - The name of the operation's parent resource. | 
|   183    * Value must have pattern "^operations$". |   183    * Value must have pattern "^operations$". | 
|   184    * |   184    * | 
|   185    * [filter] - The standard list filter. |   185    * [filter] - The standard list filter. | 
|   186    * |   186    * | 
|   187    * [pageToken] - The standard list page token. |   187    * [pageToken] - The standard list page token. | 
|   188    * |   188    * | 
|   189    * [pageSize] - The standard list page size. |   189    * [pageSize] - The standard list page size. | 
|   190    * |   190    * | 
|   191    * Completes with a [ListOperationsResponse]. |   191    * Completes with a [ListOperationsResponse]. | 
|   192    * |   192    * | 
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   928  |   928  | 
|   929   AcceleratorConfiguration.fromJson(core.Map _json) { |   929   AcceleratorConfiguration.fromJson(core.Map _json) { | 
|   930     if (_json.containsKey("acceleratorCount")) { |   930     if (_json.containsKey("acceleratorCount")) { | 
|   931       acceleratorCount = _json["acceleratorCount"]; |   931       acceleratorCount = _json["acceleratorCount"]; | 
|   932     } |   932     } | 
|   933     if (_json.containsKey("acceleratorTypeUri")) { |   933     if (_json.containsKey("acceleratorTypeUri")) { | 
|   934       acceleratorTypeUri = _json["acceleratorTypeUri"]; |   934       acceleratorTypeUri = _json["acceleratorTypeUri"]; | 
|   935     } |   935     } | 
|   936   } |   936   } | 
|   937  |   937  | 
|   938   core.Map toJson() { |   938   core.Map<core.String, core.Object> toJson() { | 
|   939     var _json = new core.Map(); |   939     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|   940     if (acceleratorCount != null) { |   940     if (acceleratorCount != null) { | 
|   941       _json["acceleratorCount"] = acceleratorCount; |   941       _json["acceleratorCount"] = acceleratorCount; | 
|   942     } |   942     } | 
|   943     if (acceleratorTypeUri != null) { |   943     if (acceleratorTypeUri != null) { | 
|   944       _json["acceleratorTypeUri"] = acceleratorTypeUri; |   944       _json["acceleratorTypeUri"] = acceleratorTypeUri; | 
|   945     } |   945     } | 
|   946     return _json; |   946     return _json; | 
|   947   } |   947   } | 
|   948 } |   948 } | 
|   949  |   949  | 
|   950 /** A request to cancel a job. */ |   950 /** A request to cancel a job. */ | 
|   951 class CancelJobRequest { |   951 class CancelJobRequest { | 
|   952  |   952  | 
|   953   CancelJobRequest(); |   953   CancelJobRequest(); | 
|   954  |   954  | 
|   955   CancelJobRequest.fromJson(core.Map _json) { |   955   CancelJobRequest.fromJson(core.Map _json) { | 
|   956   } |   956   } | 
|   957  |   957  | 
|   958   core.Map toJson() { |   958   core.Map<core.String, core.Object> toJson() { | 
|   959     var _json = new core.Map(); |   959     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|   960     return _json; |   960     return _json; | 
|   961   } |   961   } | 
|   962 } |   962 } | 
|   963  |   963  | 
|   964 /** The request message for Operations.CancelOperation. */ |   964 /** The request message for Operations.CancelOperation. */ | 
|   965 class CancelOperationRequest { |   965 class CancelOperationRequest { | 
|   966  |   966  | 
|   967   CancelOperationRequest(); |   967   CancelOperationRequest(); | 
|   968  |   968  | 
|   969   CancelOperationRequest.fromJson(core.Map _json) { |   969   CancelOperationRequest.fromJson(core.Map _json) { | 
|   970   } |   970   } | 
|   971  |   971  | 
|   972   core.Map toJson() { |   972   core.Map<core.String, core.Object> toJson() { | 
|   973     var _json = new core.Map(); |   973     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|   974     return _json; |   974     return _json; | 
|   975   } |   975   } | 
|   976 } |   976 } | 
|   977  |   977  | 
|   978 /** |   978 /** | 
|   979  * Describes the identifying information, configuration, and status of a cluster |   979  * Describes the identifying information, configuration, and status of a cluster | 
|   980  * of Google Compute Engine instances. |   980  * of Google Compute Engine instances. | 
|   981  */ |   981  */ | 
|   982 class Cluster { |   982 class Cluster { | 
|   983   /** |   983   /** | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1037       projectId = _json["projectId"]; |  1037       projectId = _json["projectId"]; | 
|  1038     } |  1038     } | 
|  1039     if (_json.containsKey("status")) { |  1039     if (_json.containsKey("status")) { | 
|  1040       status = new ClusterStatus.fromJson(_json["status"]); |  1040       status = new ClusterStatus.fromJson(_json["status"]); | 
|  1041     } |  1041     } | 
|  1042     if (_json.containsKey("statusHistory")) { |  1042     if (_json.containsKey("statusHistory")) { | 
|  1043       statusHistory = _json["statusHistory"].map((value) => new ClusterStatus.fr
      omJson(value)).toList(); |  1043       statusHistory = _json["statusHistory"].map((value) => new ClusterStatus.fr
      omJson(value)).toList(); | 
|  1044     } |  1044     } | 
|  1045   } |  1045   } | 
|  1046  |  1046  | 
|  1047   core.Map toJson() { |  1047   core.Map<core.String, core.Object> toJson() { | 
|  1048     var _json = new core.Map(); |  1048     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1049     if (clusterName != null) { |  1049     if (clusterName != null) { | 
|  1050       _json["clusterName"] = clusterName; |  1050       _json["clusterName"] = clusterName; | 
|  1051     } |  1051     } | 
|  1052     if (clusterUuid != null) { |  1052     if (clusterUuid != null) { | 
|  1053       _json["clusterUuid"] = clusterUuid; |  1053       _json["clusterUuid"] = clusterUuid; | 
|  1054     } |  1054     } | 
|  1055     if (configuration != null) { |  1055     if (configuration != null) { | 
|  1056       _json["configuration"] = (configuration).toJson(); |  1056       _json["configuration"] = (configuration).toJson(); | 
|  1057     } |  1057     } | 
|  1058     if (labels != null) { |  1058     if (labels != null) { | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1140       secondaryWorkerConfiguration = new InstanceGroupConfiguration.fromJson(_js
      on["secondaryWorkerConfiguration"]); |  1140       secondaryWorkerConfiguration = new InstanceGroupConfiguration.fromJson(_js
      on["secondaryWorkerConfiguration"]); | 
|  1141     } |  1141     } | 
|  1142     if (_json.containsKey("softwareConfiguration")) { |  1142     if (_json.containsKey("softwareConfiguration")) { | 
|  1143       softwareConfiguration = new SoftwareConfiguration.fromJson(_json["software
      Configuration"]); |  1143       softwareConfiguration = new SoftwareConfiguration.fromJson(_json["software
      Configuration"]); | 
|  1144     } |  1144     } | 
|  1145     if (_json.containsKey("workerConfiguration")) { |  1145     if (_json.containsKey("workerConfiguration")) { | 
|  1146       workerConfiguration = new InstanceGroupConfiguration.fromJson(_json["worke
      rConfiguration"]); |  1146       workerConfiguration = new InstanceGroupConfiguration.fromJson(_json["worke
      rConfiguration"]); | 
|  1147     } |  1147     } | 
|  1148   } |  1148   } | 
|  1149  |  1149  | 
|  1150   core.Map toJson() { |  1150   core.Map<core.String, core.Object> toJson() { | 
|  1151     var _json = new core.Map(); |  1151     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1152     if (configurationBucket != null) { |  1152     if (configurationBucket != null) { | 
|  1153       _json["configurationBucket"] = configurationBucket; |  1153       _json["configurationBucket"] = configurationBucket; | 
|  1154     } |  1154     } | 
|  1155     if (gceClusterConfiguration != null) { |  1155     if (gceClusterConfiguration != null) { | 
|  1156       _json["gceClusterConfiguration"] = (gceClusterConfiguration).toJson(); |  1156       _json["gceClusterConfiguration"] = (gceClusterConfiguration).toJson(); | 
|  1157     } |  1157     } | 
|  1158     if (initializationActions != null) { |  1158     if (initializationActions != null) { | 
|  1159       _json["initializationActions"] = initializationActions.map((value) => (val
      ue).toJson()).toList(); |  1159       _json["initializationActions"] = initializationActions.map((value) => (val
      ue).toJson()).toList(); | 
|  1160     } |  1160     } | 
|  1161     if (masterConfiguration != null) { |  1161     if (masterConfiguration != null) { | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
|  1185  |  1185  | 
|  1186   ClusterMetrics.fromJson(core.Map _json) { |  1186   ClusterMetrics.fromJson(core.Map _json) { | 
|  1187     if (_json.containsKey("hdfsMetrics")) { |  1187     if (_json.containsKey("hdfsMetrics")) { | 
|  1188       hdfsMetrics = _json["hdfsMetrics"]; |  1188       hdfsMetrics = _json["hdfsMetrics"]; | 
|  1189     } |  1189     } | 
|  1190     if (_json.containsKey("yarnMetrics")) { |  1190     if (_json.containsKey("yarnMetrics")) { | 
|  1191       yarnMetrics = _json["yarnMetrics"]; |  1191       yarnMetrics = _json["yarnMetrics"]; | 
|  1192     } |  1192     } | 
|  1193   } |  1193   } | 
|  1194  |  1194  | 
|  1195   core.Map toJson() { |  1195   core.Map<core.String, core.Object> toJson() { | 
|  1196     var _json = new core.Map(); |  1196     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1197     if (hdfsMetrics != null) { |  1197     if (hdfsMetrics != null) { | 
|  1198       _json["hdfsMetrics"] = hdfsMetrics; |  1198       _json["hdfsMetrics"] = hdfsMetrics; | 
|  1199     } |  1199     } | 
|  1200     if (yarnMetrics != null) { |  1200     if (yarnMetrics != null) { | 
|  1201       _json["yarnMetrics"] = yarnMetrics; |  1201       _json["yarnMetrics"] = yarnMetrics; | 
|  1202     } |  1202     } | 
|  1203     return _json; |  1203     return _json; | 
|  1204   } |  1204   } | 
|  1205 } |  1205 } | 
|  1206  |  1206  | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1245       status = new ClusterOperationStatus.fromJson(_json["status"]); |  1245       status = new ClusterOperationStatus.fromJson(_json["status"]); | 
|  1246     } |  1246     } | 
|  1247     if (_json.containsKey("statusHistory")) { |  1247     if (_json.containsKey("statusHistory")) { | 
|  1248       statusHistory = _json["statusHistory"].map((value) => new ClusterOperation
      Status.fromJson(value)).toList(); |  1248       statusHistory = _json["statusHistory"].map((value) => new ClusterOperation
      Status.fromJson(value)).toList(); | 
|  1249     } |  1249     } | 
|  1250     if (_json.containsKey("warnings")) { |  1250     if (_json.containsKey("warnings")) { | 
|  1251       warnings = _json["warnings"]; |  1251       warnings = _json["warnings"]; | 
|  1252     } |  1252     } | 
|  1253   } |  1253   } | 
|  1254  |  1254  | 
|  1255   core.Map toJson() { |  1255   core.Map<core.String, core.Object> toJson() { | 
|  1256     var _json = new core.Map(); |  1256     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1257     if (clusterName != null) { |  1257     if (clusterName != null) { | 
|  1258       _json["clusterName"] = clusterName; |  1258       _json["clusterName"] = clusterName; | 
|  1259     } |  1259     } | 
|  1260     if (clusterUuid != null) { |  1260     if (clusterUuid != null) { | 
|  1261       _json["clusterUuid"] = clusterUuid; |  1261       _json["clusterUuid"] = clusterUuid; | 
|  1262     } |  1262     } | 
|  1263     if (description != null) { |  1263     if (description != null) { | 
|  1264       _json["description"] = description; |  1264       _json["description"] = description; | 
|  1265     } |  1265     } | 
|  1266     if (labels != null) { |  1266     if (labels != null) { | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1310       innerState = _json["innerState"]; |  1310       innerState = _json["innerState"]; | 
|  1311     } |  1311     } | 
|  1312     if (_json.containsKey("state")) { |  1312     if (_json.containsKey("state")) { | 
|  1313       state = _json["state"]; |  1313       state = _json["state"]; | 
|  1314     } |  1314     } | 
|  1315     if (_json.containsKey("stateStartTime")) { |  1315     if (_json.containsKey("stateStartTime")) { | 
|  1316       stateStartTime = _json["stateStartTime"]; |  1316       stateStartTime = _json["stateStartTime"]; | 
|  1317     } |  1317     } | 
|  1318   } |  1318   } | 
|  1319  |  1319  | 
|  1320   core.Map toJson() { |  1320   core.Map<core.String, core.Object> toJson() { | 
|  1321     var _json = new core.Map(); |  1321     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1322     if (details != null) { |  1322     if (details != null) { | 
|  1323       _json["details"] = details; |  1323       _json["details"] = details; | 
|  1324     } |  1324     } | 
|  1325     if (innerState != null) { |  1325     if (innerState != null) { | 
|  1326       _json["innerState"] = innerState; |  1326       _json["innerState"] = innerState; | 
|  1327     } |  1327     } | 
|  1328     if (state != null) { |  1328     if (state != null) { | 
|  1329       _json["state"] = state; |  1329       _json["state"] = state; | 
|  1330     } |  1330     } | 
|  1331     if (stateStartTime != null) { |  1331     if (stateStartTime != null) { | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1378       state = _json["state"]; |  1378       state = _json["state"]; | 
|  1379     } |  1379     } | 
|  1380     if (_json.containsKey("stateStartTime")) { |  1380     if (_json.containsKey("stateStartTime")) { | 
|  1381       stateStartTime = _json["stateStartTime"]; |  1381       stateStartTime = _json["stateStartTime"]; | 
|  1382     } |  1382     } | 
|  1383     if (_json.containsKey("substate")) { |  1383     if (_json.containsKey("substate")) { | 
|  1384       substate = _json["substate"]; |  1384       substate = _json["substate"]; | 
|  1385     } |  1385     } | 
|  1386   } |  1386   } | 
|  1387  |  1387  | 
|  1388   core.Map toJson() { |  1388   core.Map<core.String, core.Object> toJson() { | 
|  1389     var _json = new core.Map(); |  1389     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1390     if (detail != null) { |  1390     if (detail != null) { | 
|  1391       _json["detail"] = detail; |  1391       _json["detail"] = detail; | 
|  1392     } |  1392     } | 
|  1393     if (state != null) { |  1393     if (state != null) { | 
|  1394       _json["state"] = state; |  1394       _json["state"] = state; | 
|  1395     } |  1395     } | 
|  1396     if (stateStartTime != null) { |  1396     if (stateStartTime != null) { | 
|  1397       _json["stateStartTime"] = stateStartTime; |  1397       _json["stateStartTime"] = stateStartTime; | 
|  1398     } |  1398     } | 
|  1399     if (substate != null) { |  1399     if (substate != null) { | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
|  1412   core.String outputUri; |  1412   core.String outputUri; | 
|  1413  |  1413  | 
|  1414   DiagnoseClusterOutputLocation(); |  1414   DiagnoseClusterOutputLocation(); | 
|  1415  |  1415  | 
|  1416   DiagnoseClusterOutputLocation.fromJson(core.Map _json) { |  1416   DiagnoseClusterOutputLocation.fromJson(core.Map _json) { | 
|  1417     if (_json.containsKey("outputUri")) { |  1417     if (_json.containsKey("outputUri")) { | 
|  1418       outputUri = _json["outputUri"]; |  1418       outputUri = _json["outputUri"]; | 
|  1419     } |  1419     } | 
|  1420   } |  1420   } | 
|  1421  |  1421  | 
|  1422   core.Map toJson() { |  1422   core.Map<core.String, core.Object> toJson() { | 
|  1423     var _json = new core.Map(); |  1423     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1424     if (outputUri != null) { |  1424     if (outputUri != null) { | 
|  1425       _json["outputUri"] = outputUri; |  1425       _json["outputUri"] = outputUri; | 
|  1426     } |  1426     } | 
|  1427     return _json; |  1427     return _json; | 
|  1428   } |  1428   } | 
|  1429 } |  1429 } | 
|  1430  |  1430  | 
|  1431 /** A request to collect cluster diagnostic information. */ |  1431 /** A request to collect cluster diagnostic information. */ | 
|  1432 class DiagnoseClusterRequest { |  1432 class DiagnoseClusterRequest { | 
|  1433  |  1433  | 
|  1434   DiagnoseClusterRequest(); |  1434   DiagnoseClusterRequest(); | 
|  1435  |  1435  | 
|  1436   DiagnoseClusterRequest.fromJson(core.Map _json) { |  1436   DiagnoseClusterRequest.fromJson(core.Map _json) { | 
|  1437   } |  1437   } | 
|  1438  |  1438  | 
|  1439   core.Map toJson() { |  1439   core.Map<core.String, core.Object> toJson() { | 
|  1440     var _json = new core.Map(); |  1440     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1441     return _json; |  1441     return _json; | 
|  1442   } |  1442   } | 
|  1443 } |  1443 } | 
|  1444  |  1444  | 
|  1445 /** The location of diagnostic output. */ |  1445 /** The location of diagnostic output. */ | 
|  1446 class DiagnoseClusterResults { |  1446 class DiagnoseClusterResults { | 
|  1447   /** |  1447   /** | 
|  1448    * Output-only. The Google Cloud Storage URI of the diagnostic output. The |  1448    * Output-only. The Google Cloud Storage URI of the diagnostic output. The | 
|  1449    * output report is a plain text file with a summary of collected diagnostics. |  1449    * output report is a plain text file with a summary of collected diagnostics. | 
|  1450    */ |  1450    */ | 
|  1451   core.String outputUri; |  1451   core.String outputUri; | 
|  1452  |  1452  | 
|  1453   DiagnoseClusterResults(); |  1453   DiagnoseClusterResults(); | 
|  1454  |  1454  | 
|  1455   DiagnoseClusterResults.fromJson(core.Map _json) { |  1455   DiagnoseClusterResults.fromJson(core.Map _json) { | 
|  1456     if (_json.containsKey("outputUri")) { |  1456     if (_json.containsKey("outputUri")) { | 
|  1457       outputUri = _json["outputUri"]; |  1457       outputUri = _json["outputUri"]; | 
|  1458     } |  1458     } | 
|  1459   } |  1459   } | 
|  1460  |  1460  | 
|  1461   core.Map toJson() { |  1461   core.Map<core.String, core.Object> toJson() { | 
|  1462     var _json = new core.Map(); |  1462     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1463     if (outputUri != null) { |  1463     if (outputUri != null) { | 
|  1464       _json["outputUri"] = outputUri; |  1464       _json["outputUri"] = outputUri; | 
|  1465     } |  1465     } | 
|  1466     return _json; |  1466     return _json; | 
|  1467   } |  1467   } | 
|  1468 } |  1468 } | 
|  1469  |  1469  | 
|  1470 /** Specifies the configuration of disk options for a group of VM instances. */ |  1470 /** Specifies the configuration of disk options for a group of VM instances. */ | 
|  1471 class DiskConfiguration { |  1471 class DiskConfiguration { | 
|  1472   /** Optional Size in GB of the boot disk (default is 500GB). */ |  1472   /** Optional Size in GB of the boot disk (default is 500GB). */ | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  1484  |  1484  | 
|  1485   DiskConfiguration.fromJson(core.Map _json) { |  1485   DiskConfiguration.fromJson(core.Map _json) { | 
|  1486     if (_json.containsKey("bootDiskSizeGb")) { |  1486     if (_json.containsKey("bootDiskSizeGb")) { | 
|  1487       bootDiskSizeGb = _json["bootDiskSizeGb"]; |  1487       bootDiskSizeGb = _json["bootDiskSizeGb"]; | 
|  1488     } |  1488     } | 
|  1489     if (_json.containsKey("numLocalSsds")) { |  1489     if (_json.containsKey("numLocalSsds")) { | 
|  1490       numLocalSsds = _json["numLocalSsds"]; |  1490       numLocalSsds = _json["numLocalSsds"]; | 
|  1491     } |  1491     } | 
|  1492   } |  1492   } | 
|  1493  |  1493  | 
|  1494   core.Map toJson() { |  1494   core.Map<core.String, core.Object> toJson() { | 
|  1495     var _json = new core.Map(); |  1495     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1496     if (bootDiskSizeGb != null) { |  1496     if (bootDiskSizeGb != null) { | 
|  1497       _json["bootDiskSizeGb"] = bootDiskSizeGb; |  1497       _json["bootDiskSizeGb"] = bootDiskSizeGb; | 
|  1498     } |  1498     } | 
|  1499     if (numLocalSsds != null) { |  1499     if (numLocalSsds != null) { | 
|  1500       _json["numLocalSsds"] = numLocalSsds; |  1500       _json["numLocalSsds"] = numLocalSsds; | 
|  1501     } |  1501     } | 
|  1502     return _json; |  1502     return _json; | 
|  1503   } |  1503   } | 
|  1504 } |  1504 } | 
|  1505  |  1505  | 
|  1506 /** |  1506 /** | 
|  1507  * A generic empty message that you can re-use to avoid defining duplicated |  1507  * A generic empty message that you can re-use to avoid defining duplicated | 
|  1508  * empty messages in your APIs. A typical example is to use it as the request or |  1508  * empty messages in your APIs. A typical example is to use it as the request or | 
|  1509  * the response type of an API method. For instance: |  1509  * the response type of an API method. For instance: | 
|  1510  * service Foo { |  1510  * service Foo { | 
|  1511  *   rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |  1511  *   rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); | 
|  1512  * } |  1512  * } | 
|  1513  * The JSON representation for Empty is empty JSON object {}. |  1513  * The JSON representation for Empty is empty JSON object {}. | 
|  1514  */ |  1514  */ | 
|  1515 class Empty { |  1515 class Empty { | 
|  1516  |  1516  | 
|  1517   Empty(); |  1517   Empty(); | 
|  1518  |  1518  | 
|  1519   Empty.fromJson(core.Map _json) { |  1519   Empty.fromJson(core.Map _json) { | 
|  1520   } |  1520   } | 
|  1521  |  1521  | 
|  1522   core.Map toJson() { |  1522   core.Map<core.String, core.Object> toJson() { | 
|  1523     var _json = new core.Map(); |  1523     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1524     return _json; |  1524     return _json; | 
|  1525   } |  1525   } | 
|  1526 } |  1526 } | 
|  1527  |  1527  | 
|  1528 /** |  1528 /** | 
|  1529  * Common configuration settings for resources of Google Compute Engine cluster |  1529  * Common configuration settings for resources of Google Compute Engine cluster | 
|  1530  * instances, applicable to all instances in the cluster. |  1530  * instances, applicable to all instances in the cluster. | 
|  1531  */ |  1531  */ | 
|  1532 class GceClusterConfiguration { |  1532 class GceClusterConfiguration { | 
|  1533   /** |  1533   /** | 
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1612       subnetworkUri = _json["subnetworkUri"]; |  1612       subnetworkUri = _json["subnetworkUri"]; | 
|  1613     } |  1613     } | 
|  1614     if (_json.containsKey("tags")) { |  1614     if (_json.containsKey("tags")) { | 
|  1615       tags = _json["tags"]; |  1615       tags = _json["tags"]; | 
|  1616     } |  1616     } | 
|  1617     if (_json.containsKey("zoneUri")) { |  1617     if (_json.containsKey("zoneUri")) { | 
|  1618       zoneUri = _json["zoneUri"]; |  1618       zoneUri = _json["zoneUri"]; | 
|  1619     } |  1619     } | 
|  1620   } |  1620   } | 
|  1621  |  1621  | 
|  1622   core.Map toJson() { |  1622   core.Map<core.String, core.Object> toJson() { | 
|  1623     var _json = new core.Map(); |  1623     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1624     if (internalIpOnly != null) { |  1624     if (internalIpOnly != null) { | 
|  1625       _json["internalIpOnly"] = internalIpOnly; |  1625       _json["internalIpOnly"] = internalIpOnly; | 
|  1626     } |  1626     } | 
|  1627     if (metadata != null) { |  1627     if (metadata != null) { | 
|  1628       _json["metadata"] = metadata; |  1628       _json["metadata"] = metadata; | 
|  1629     } |  1629     } | 
|  1630     if (networkUri != null) { |  1630     if (networkUri != null) { | 
|  1631       _json["networkUri"] = networkUri; |  1631       _json["networkUri"] = networkUri; | 
|  1632     } |  1632     } | 
|  1633     if (serviceAccount != null) { |  1633     if (serviceAccount != null) { | 
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1718       mainClass = _json["mainClass"]; |  1718       mainClass = _json["mainClass"]; | 
|  1719     } |  1719     } | 
|  1720     if (_json.containsKey("mainJarFileUri")) { |  1720     if (_json.containsKey("mainJarFileUri")) { | 
|  1721       mainJarFileUri = _json["mainJarFileUri"]; |  1721       mainJarFileUri = _json["mainJarFileUri"]; | 
|  1722     } |  1722     } | 
|  1723     if (_json.containsKey("properties")) { |  1723     if (_json.containsKey("properties")) { | 
|  1724       properties = _json["properties"]; |  1724       properties = _json["properties"]; | 
|  1725     } |  1725     } | 
|  1726   } |  1726   } | 
|  1727  |  1727  | 
|  1728   core.Map toJson() { |  1728   core.Map<core.String, core.Object> toJson() { | 
|  1729     var _json = new core.Map(); |  1729     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1730     if (archiveUris != null) { |  1730     if (archiveUris != null) { | 
|  1731       _json["archiveUris"] = archiveUris; |  1731       _json["archiveUris"] = archiveUris; | 
|  1732     } |  1732     } | 
|  1733     if (args != null) { |  1733     if (args != null) { | 
|  1734       _json["args"] = args; |  1734       _json["args"] = args; | 
|  1735     } |  1735     } | 
|  1736     if (fileUris != null) { |  1736     if (fileUris != null) { | 
|  1737       _json["fileUris"] = fileUris; |  1737       _json["fileUris"] = fileUris; | 
|  1738     } |  1738     } | 
|  1739     if (jarFileUris != null) { |  1739     if (jarFileUris != null) { | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1801       queryFileUri = _json["queryFileUri"]; |  1801       queryFileUri = _json["queryFileUri"]; | 
|  1802     } |  1802     } | 
|  1803     if (_json.containsKey("queryList")) { |  1803     if (_json.containsKey("queryList")) { | 
|  1804       queryList = new QueryList.fromJson(_json["queryList"]); |  1804       queryList = new QueryList.fromJson(_json["queryList"]); | 
|  1805     } |  1805     } | 
|  1806     if (_json.containsKey("scriptVariables")) { |  1806     if (_json.containsKey("scriptVariables")) { | 
|  1807       scriptVariables = _json["scriptVariables"]; |  1807       scriptVariables = _json["scriptVariables"]; | 
|  1808     } |  1808     } | 
|  1809   } |  1809   } | 
|  1810  |  1810  | 
|  1811   core.Map toJson() { |  1811   core.Map<core.String, core.Object> toJson() { | 
|  1812     var _json = new core.Map(); |  1812     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1813     if (continueOnFailure != null) { |  1813     if (continueOnFailure != null) { | 
|  1814       _json["continueOnFailure"] = continueOnFailure; |  1814       _json["continueOnFailure"] = continueOnFailure; | 
|  1815     } |  1815     } | 
|  1816     if (jarFileUris != null) { |  1816     if (jarFileUris != null) { | 
|  1817       _json["jarFileUris"] = jarFileUris; |  1817       _json["jarFileUris"] = jarFileUris; | 
|  1818     } |  1818     } | 
|  1819     if (properties != null) { |  1819     if (properties != null) { | 
|  1820       _json["properties"] = properties; |  1820       _json["properties"] = properties; | 
|  1821     } |  1821     } | 
|  1822     if (queryFileUri != null) { |  1822     if (queryFileUri != null) { | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1896       machineTypeUri = _json["machineTypeUri"]; |  1896       machineTypeUri = _json["machineTypeUri"]; | 
|  1897     } |  1897     } | 
|  1898     if (_json.containsKey("managedGroupConfiguration")) { |  1898     if (_json.containsKey("managedGroupConfiguration")) { | 
|  1899       managedGroupConfiguration = new ManagedGroupConfiguration.fromJson(_json["
      managedGroupConfiguration"]); |  1899       managedGroupConfiguration = new ManagedGroupConfiguration.fromJson(_json["
      managedGroupConfiguration"]); | 
|  1900     } |  1900     } | 
|  1901     if (_json.containsKey("numInstances")) { |  1901     if (_json.containsKey("numInstances")) { | 
|  1902       numInstances = _json["numInstances"]; |  1902       numInstances = _json["numInstances"]; | 
|  1903     } |  1903     } | 
|  1904   } |  1904   } | 
|  1905  |  1905  | 
|  1906   core.Map toJson() { |  1906   core.Map<core.String, core.Object> toJson() { | 
|  1907     var _json = new core.Map(); |  1907     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  1908     if (accelerators != null) { |  1908     if (accelerators != null) { | 
|  1909       _json["accelerators"] = accelerators.map((value) => (value).toJson()).toLi
      st(); |  1909       _json["accelerators"] = accelerators.map((value) => (value).toJson()).toLi
      st(); | 
|  1910     } |  1910     } | 
|  1911     if (diskConfiguration != null) { |  1911     if (diskConfiguration != null) { | 
|  1912       _json["diskConfiguration"] = (diskConfiguration).toJson(); |  1912       _json["diskConfiguration"] = (diskConfiguration).toJson(); | 
|  1913     } |  1913     } | 
|  1914     if (imageUri != null) { |  1914     if (imageUri != null) { | 
|  1915       _json["imageUri"] = imageUri; |  1915       _json["imageUri"] = imageUri; | 
|  1916     } |  1916     } | 
|  1917     if (instanceNames != null) { |  1917     if (instanceNames != null) { | 
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2059       statusHistory = _json["statusHistory"].map((value) => new JobStatus.fromJs
      on(value)).toList(); |  2059       statusHistory = _json["statusHistory"].map((value) => new JobStatus.fromJs
      on(value)).toList(); | 
|  2060     } |  2060     } | 
|  2061     if (_json.containsKey("submittedBy")) { |  2061     if (_json.containsKey("submittedBy")) { | 
|  2062       submittedBy = _json["submittedBy"]; |  2062       submittedBy = _json["submittedBy"]; | 
|  2063     } |  2063     } | 
|  2064     if (_json.containsKey("yarnApplications")) { |  2064     if (_json.containsKey("yarnApplications")) { | 
|  2065       yarnApplications = _json["yarnApplications"].map((value) => new YarnApplic
      ation.fromJson(value)).toList(); |  2065       yarnApplications = _json["yarnApplications"].map((value) => new YarnApplic
      ation.fromJson(value)).toList(); | 
|  2066     } |  2066     } | 
|  2067   } |  2067   } | 
|  2068  |  2068  | 
|  2069   core.Map toJson() { |  2069   core.Map<core.String, core.Object> toJson() { | 
|  2070     var _json = new core.Map(); |  2070     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2071     if (driverControlFilesUri != null) { |  2071     if (driverControlFilesUri != null) { | 
|  2072       _json["driverControlFilesUri"] = driverControlFilesUri; |  2072       _json["driverControlFilesUri"] = driverControlFilesUri; | 
|  2073     } |  2073     } | 
|  2074     if (driverInputResourceUri != null) { |  2074     if (driverInputResourceUri != null) { | 
|  2075       _json["driverInputResourceUri"] = driverInputResourceUri; |  2075       _json["driverInputResourceUri"] = driverInputResourceUri; | 
|  2076     } |  2076     } | 
|  2077     if (driverOutputResourceUri != null) { |  2077     if (driverOutputResourceUri != null) { | 
|  2078       _json["driverOutputResourceUri"] = driverOutputResourceUri; |  2078       _json["driverOutputResourceUri"] = driverOutputResourceUri; | 
|  2079     } |  2079     } | 
|  2080     if (hadoopJob != null) { |  2080     if (hadoopJob != null) { | 
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2140  |  2140  | 
|  2141   JobPlacement.fromJson(core.Map _json) { |  2141   JobPlacement.fromJson(core.Map _json) { | 
|  2142     if (_json.containsKey("clusterName")) { |  2142     if (_json.containsKey("clusterName")) { | 
|  2143       clusterName = _json["clusterName"]; |  2143       clusterName = _json["clusterName"]; | 
|  2144     } |  2144     } | 
|  2145     if (_json.containsKey("clusterUuid")) { |  2145     if (_json.containsKey("clusterUuid")) { | 
|  2146       clusterUuid = _json["clusterUuid"]; |  2146       clusterUuid = _json["clusterUuid"]; | 
|  2147     } |  2147     } | 
|  2148   } |  2148   } | 
|  2149  |  2149  | 
|  2150   core.Map toJson() { |  2150   core.Map<core.String, core.Object> toJson() { | 
|  2151     var _json = new core.Map(); |  2151     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2152     if (clusterName != null) { |  2152     if (clusterName != null) { | 
|  2153       _json["clusterName"] = clusterName; |  2153       _json["clusterName"] = clusterName; | 
|  2154     } |  2154     } | 
|  2155     if (clusterUuid != null) { |  2155     if (clusterUuid != null) { | 
|  2156       _json["clusterUuid"] = clusterUuid; |  2156       _json["clusterUuid"] = clusterUuid; | 
|  2157     } |  2157     } | 
|  2158     return _json; |  2158     return _json; | 
|  2159   } |  2159   } | 
|  2160 } |  2160 } | 
|  2161  |  2161  | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
|  2179  |  2179  | 
|  2180   JobReference.fromJson(core.Map _json) { |  2180   JobReference.fromJson(core.Map _json) { | 
|  2181     if (_json.containsKey("jobId")) { |  2181     if (_json.containsKey("jobId")) { | 
|  2182       jobId = _json["jobId"]; |  2182       jobId = _json["jobId"]; | 
|  2183     } |  2183     } | 
|  2184     if (_json.containsKey("projectId")) { |  2184     if (_json.containsKey("projectId")) { | 
|  2185       projectId = _json["projectId"]; |  2185       projectId = _json["projectId"]; | 
|  2186     } |  2186     } | 
|  2187   } |  2187   } | 
|  2188  |  2188  | 
|  2189   core.Map toJson() { |  2189   core.Map<core.String, core.Object> toJson() { | 
|  2190     var _json = new core.Map(); |  2190     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2191     if (jobId != null) { |  2191     if (jobId != null) { | 
|  2192       _json["jobId"] = jobId; |  2192       _json["jobId"] = jobId; | 
|  2193     } |  2193     } | 
|  2194     if (projectId != null) { |  2194     if (projectId != null) { | 
|  2195       _json["projectId"] = projectId; |  2195       _json["projectId"] = projectId; | 
|  2196     } |  2196     } | 
|  2197     return _json; |  2197     return _json; | 
|  2198   } |  2198   } | 
|  2199 } |  2199 } | 
|  2200  |  2200  | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  2212   core.int maxFailuresPerHour; |  2212   core.int maxFailuresPerHour; | 
|  2213  |  2213  | 
|  2214   JobScheduling(); |  2214   JobScheduling(); | 
|  2215  |  2215  | 
|  2216   JobScheduling.fromJson(core.Map _json) { |  2216   JobScheduling.fromJson(core.Map _json) { | 
|  2217     if (_json.containsKey("maxFailuresPerHour")) { |  2217     if (_json.containsKey("maxFailuresPerHour")) { | 
|  2218       maxFailuresPerHour = _json["maxFailuresPerHour"]; |  2218       maxFailuresPerHour = _json["maxFailuresPerHour"]; | 
|  2219     } |  2219     } | 
|  2220   } |  2220   } | 
|  2221  |  2221  | 
|  2222   core.Map toJson() { |  2222   core.Map<core.String, core.Object> toJson() { | 
|  2223     var _json = new core.Map(); |  2223     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2224     if (maxFailuresPerHour != null) { |  2224     if (maxFailuresPerHour != null) { | 
|  2225       _json["maxFailuresPerHour"] = maxFailuresPerHour; |  2225       _json["maxFailuresPerHour"] = maxFailuresPerHour; | 
|  2226     } |  2226     } | 
|  2227     return _json; |  2227     return _json; | 
|  2228   } |  2228   } | 
|  2229 } |  2229 } | 
|  2230  |  2230  | 
|  2231 /** Cloud Dataproc job status. */ |  2231 /** Cloud Dataproc job status. */ | 
|  2232 class JobStatus { |  2232 class JobStatus { | 
|  2233   /** |  2233   /** | 
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2282       state = _json["state"]; |  2282       state = _json["state"]; | 
|  2283     } |  2283     } | 
|  2284     if (_json.containsKey("stateStartTime")) { |  2284     if (_json.containsKey("stateStartTime")) { | 
|  2285       stateStartTime = _json["stateStartTime"]; |  2285       stateStartTime = _json["stateStartTime"]; | 
|  2286     } |  2286     } | 
|  2287     if (_json.containsKey("substate")) { |  2287     if (_json.containsKey("substate")) { | 
|  2288       substate = _json["substate"]; |  2288       substate = _json["substate"]; | 
|  2289     } |  2289     } | 
|  2290   } |  2290   } | 
|  2291  |  2291  | 
|  2292   core.Map toJson() { |  2292   core.Map<core.String, core.Object> toJson() { | 
|  2293     var _json = new core.Map(); |  2293     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2294     if (details != null) { |  2294     if (details != null) { | 
|  2295       _json["details"] = details; |  2295       _json["details"] = details; | 
|  2296     } |  2296     } | 
|  2297     if (state != null) { |  2297     if (state != null) { | 
|  2298       _json["state"] = state; |  2298       _json["state"] = state; | 
|  2299     } |  2299     } | 
|  2300     if (stateStartTime != null) { |  2300     if (stateStartTime != null) { | 
|  2301       _json["stateStartTime"] = stateStartTime; |  2301       _json["stateStartTime"] = stateStartTime; | 
|  2302     } |  2302     } | 
|  2303     if (substate != null) { |  2303     if (substate != null) { | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
|  2318  |  2318  | 
|  2319   ListClustersResponse.fromJson(core.Map _json) { |  2319   ListClustersResponse.fromJson(core.Map _json) { | 
|  2320     if (_json.containsKey("clusters")) { |  2320     if (_json.containsKey("clusters")) { | 
|  2321       clusters = _json["clusters"].map((value) => new Cluster.fromJson(value)).t
      oList(); |  2321       clusters = _json["clusters"].map((value) => new Cluster.fromJson(value)).t
      oList(); | 
|  2322     } |  2322     } | 
|  2323     if (_json.containsKey("nextPageToken")) { |  2323     if (_json.containsKey("nextPageToken")) { | 
|  2324       nextPageToken = _json["nextPageToken"]; |  2324       nextPageToken = _json["nextPageToken"]; | 
|  2325     } |  2325     } | 
|  2326   } |  2326   } | 
|  2327  |  2327  | 
|  2328   core.Map toJson() { |  2328   core.Map<core.String, core.Object> toJson() { | 
|  2329     var _json = new core.Map(); |  2329     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2330     if (clusters != null) { |  2330     if (clusters != null) { | 
|  2331       _json["clusters"] = clusters.map((value) => (value).toJson()).toList(); |  2331       _json["clusters"] = clusters.map((value) => (value).toJson()).toList(); | 
|  2332     } |  2332     } | 
|  2333     if (nextPageToken != null) { |  2333     if (nextPageToken != null) { | 
|  2334       _json["nextPageToken"] = nextPageToken; |  2334       _json["nextPageToken"] = nextPageToken; | 
|  2335     } |  2335     } | 
|  2336     return _json; |  2336     return _json; | 
|  2337   } |  2337   } | 
|  2338 } |  2338 } | 
|  2339  |  2339  | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
|  2352  |  2352  | 
|  2353   ListJobsResponse.fromJson(core.Map _json) { |  2353   ListJobsResponse.fromJson(core.Map _json) { | 
|  2354     if (_json.containsKey("jobs")) { |  2354     if (_json.containsKey("jobs")) { | 
|  2355       jobs = _json["jobs"].map((value) => new Job.fromJson(value)).toList(); |  2355       jobs = _json["jobs"].map((value) => new Job.fromJson(value)).toList(); | 
|  2356     } |  2356     } | 
|  2357     if (_json.containsKey("nextPageToken")) { |  2357     if (_json.containsKey("nextPageToken")) { | 
|  2358       nextPageToken = _json["nextPageToken"]; |  2358       nextPageToken = _json["nextPageToken"]; | 
|  2359     } |  2359     } | 
|  2360   } |  2360   } | 
|  2361  |  2361  | 
|  2362   core.Map toJson() { |  2362   core.Map<core.String, core.Object> toJson() { | 
|  2363     var _json = new core.Map(); |  2363     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2364     if (jobs != null) { |  2364     if (jobs != null) { | 
|  2365       _json["jobs"] = jobs.map((value) => (value).toJson()).toList(); |  2365       _json["jobs"] = jobs.map((value) => (value).toJson()).toList(); | 
|  2366     } |  2366     } | 
|  2367     if (nextPageToken != null) { |  2367     if (nextPageToken != null) { | 
|  2368       _json["nextPageToken"] = nextPageToken; |  2368       _json["nextPageToken"] = nextPageToken; | 
|  2369     } |  2369     } | 
|  2370     return _json; |  2370     return _json; | 
|  2371   } |  2371   } | 
|  2372 } |  2372 } | 
|  2373  |  2373  | 
|  2374 /** The response message for Operations.ListOperations. */ |  2374 /** The response message for Operations.ListOperations. */ | 
|  2375 class ListOperationsResponse { |  2375 class ListOperationsResponse { | 
|  2376   /** The standard List next-page token. */ |  2376   /** The standard List next-page token. */ | 
|  2377   core.String nextPageToken; |  2377   core.String nextPageToken; | 
|  2378   /** A list of operations that matches the specified filter in the request. */ |  2378   /** A list of operations that matches the specified filter in the request. */ | 
|  2379   core.List<Operation> operations; |  2379   core.List<Operation> operations; | 
|  2380  |  2380  | 
|  2381   ListOperationsResponse(); |  2381   ListOperationsResponse(); | 
|  2382  |  2382  | 
|  2383   ListOperationsResponse.fromJson(core.Map _json) { |  2383   ListOperationsResponse.fromJson(core.Map _json) { | 
|  2384     if (_json.containsKey("nextPageToken")) { |  2384     if (_json.containsKey("nextPageToken")) { | 
|  2385       nextPageToken = _json["nextPageToken"]; |  2385       nextPageToken = _json["nextPageToken"]; | 
|  2386     } |  2386     } | 
|  2387     if (_json.containsKey("operations")) { |  2387     if (_json.containsKey("operations")) { | 
|  2388       operations = _json["operations"].map((value) => new Operation.fromJson(val
      ue)).toList(); |  2388       operations = _json["operations"].map((value) => new Operation.fromJson(val
      ue)).toList(); | 
|  2389     } |  2389     } | 
|  2390   } |  2390   } | 
|  2391  |  2391  | 
|  2392   core.Map toJson() { |  2392   core.Map<core.String, core.Object> toJson() { | 
|  2393     var _json = new core.Map(); |  2393     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2394     if (nextPageToken != null) { |  2394     if (nextPageToken != null) { | 
|  2395       _json["nextPageToken"] = nextPageToken; |  2395       _json["nextPageToken"] = nextPageToken; | 
|  2396     } |  2396     } | 
|  2397     if (operations != null) { |  2397     if (operations != null) { | 
|  2398       _json["operations"] = operations.map((value) => (value).toJson()).toList()
      ; |  2398       _json["operations"] = operations.map((value) => (value).toJson()).toList()
      ; | 
|  2399     } |  2399     } | 
|  2400     return _json; |  2400     return _json; | 
|  2401   } |  2401   } | 
|  2402 } |  2402 } | 
|  2403  |  2403  | 
|  2404 /** The runtime logging configuration of the job. */ |  2404 /** The runtime logging configuration of the job. */ | 
|  2405 class LoggingConfiguration { |  2405 class LoggingConfiguration { | 
|  2406   /** |  2406   /** | 
|  2407    * The per-package log levels for the driver. This may include "root" package |  2407    * The per-package log levels for the driver. This may include "root" package | 
|  2408    * name to configure rootLogger. Examples:  'com.google = FATAL', 'root = |  2408    * name to configure rootLogger. Examples:  'com.google = FATAL', 'root = | 
|  2409    * INFO', 'org.apache = DEBUG' |  2409    * INFO', 'org.apache = DEBUG' | 
|  2410    */ |  2410    */ | 
|  2411   core.Map<core.String, core.String> driverLogLevels; |  2411   core.Map<core.String, core.String> driverLogLevels; | 
|  2412  |  2412  | 
|  2413   LoggingConfiguration(); |  2413   LoggingConfiguration(); | 
|  2414  |  2414  | 
|  2415   LoggingConfiguration.fromJson(core.Map _json) { |  2415   LoggingConfiguration.fromJson(core.Map _json) { | 
|  2416     if (_json.containsKey("driverLogLevels")) { |  2416     if (_json.containsKey("driverLogLevels")) { | 
|  2417       driverLogLevels = _json["driverLogLevels"]; |  2417       driverLogLevels = _json["driverLogLevels"]; | 
|  2418     } |  2418     } | 
|  2419   } |  2419   } | 
|  2420  |  2420  | 
|  2421   core.Map toJson() { |  2421   core.Map<core.String, core.Object> toJson() { | 
|  2422     var _json = new core.Map(); |  2422     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2423     if (driverLogLevels != null) { |  2423     if (driverLogLevels != null) { | 
|  2424       _json["driverLogLevels"] = driverLogLevels; |  2424       _json["driverLogLevels"] = driverLogLevels; | 
|  2425     } |  2425     } | 
|  2426     return _json; |  2426     return _json; | 
|  2427   } |  2427   } | 
|  2428 } |  2428 } | 
|  2429  |  2429  | 
|  2430 /** Specifies the resources used to actively manage an instance group. */ |  2430 /** Specifies the resources used to actively manage an instance group. */ | 
|  2431 class ManagedGroupConfiguration { |  2431 class ManagedGroupConfiguration { | 
|  2432   /** Output-only The name of the Instance Group Manager for this group. */ |  2432   /** Output-only The name of the Instance Group Manager for this group. */ | 
|  2433   core.String instanceGroupManagerName; |  2433   core.String instanceGroupManagerName; | 
|  2434   /** |  2434   /** | 
|  2435    * Output-only The name of the Instance Template used for the Managed Instance |  2435    * Output-only The name of the Instance Template used for the Managed Instance | 
|  2436    * Group. |  2436    * Group. | 
|  2437    */ |  2437    */ | 
|  2438   core.String instanceTemplateName; |  2438   core.String instanceTemplateName; | 
|  2439  |  2439  | 
|  2440   ManagedGroupConfiguration(); |  2440   ManagedGroupConfiguration(); | 
|  2441  |  2441  | 
|  2442   ManagedGroupConfiguration.fromJson(core.Map _json) { |  2442   ManagedGroupConfiguration.fromJson(core.Map _json) { | 
|  2443     if (_json.containsKey("instanceGroupManagerName")) { |  2443     if (_json.containsKey("instanceGroupManagerName")) { | 
|  2444       instanceGroupManagerName = _json["instanceGroupManagerName"]; |  2444       instanceGroupManagerName = _json["instanceGroupManagerName"]; | 
|  2445     } |  2445     } | 
|  2446     if (_json.containsKey("instanceTemplateName")) { |  2446     if (_json.containsKey("instanceTemplateName")) { | 
|  2447       instanceTemplateName = _json["instanceTemplateName"]; |  2447       instanceTemplateName = _json["instanceTemplateName"]; | 
|  2448     } |  2448     } | 
|  2449   } |  2449   } | 
|  2450  |  2450  | 
|  2451   core.Map toJson() { |  2451   core.Map<core.String, core.Object> toJson() { | 
|  2452     var _json = new core.Map(); |  2452     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2453     if (instanceGroupManagerName != null) { |  2453     if (instanceGroupManagerName != null) { | 
|  2454       _json["instanceGroupManagerName"] = instanceGroupManagerName; |  2454       _json["instanceGroupManagerName"] = instanceGroupManagerName; | 
|  2455     } |  2455     } | 
|  2456     if (instanceTemplateName != null) { |  2456     if (instanceTemplateName != null) { | 
|  2457       _json["instanceTemplateName"] = instanceTemplateName; |  2457       _json["instanceTemplateName"] = instanceTemplateName; | 
|  2458     } |  2458     } | 
|  2459     return _json; |  2459     return _json; | 
|  2460   } |  2460   } | 
|  2461 } |  2461 } | 
|  2462  |  2462  | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
|  2479  |  2479  | 
|  2480   NodeInitializationAction.fromJson(core.Map _json) { |  2480   NodeInitializationAction.fromJson(core.Map _json) { | 
|  2481     if (_json.containsKey("executableFile")) { |  2481     if (_json.containsKey("executableFile")) { | 
|  2482       executableFile = _json["executableFile"]; |  2482       executableFile = _json["executableFile"]; | 
|  2483     } |  2483     } | 
|  2484     if (_json.containsKey("executionTimeout")) { |  2484     if (_json.containsKey("executionTimeout")) { | 
|  2485       executionTimeout = _json["executionTimeout"]; |  2485       executionTimeout = _json["executionTimeout"]; | 
|  2486     } |  2486     } | 
|  2487   } |  2487   } | 
|  2488  |  2488  | 
|  2489   core.Map toJson() { |  2489   core.Map<core.String, core.Object> toJson() { | 
|  2490     var _json = new core.Map(); |  2490     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2491     if (executableFile != null) { |  2491     if (executableFile != null) { | 
|  2492       _json["executableFile"] = executableFile; |  2492       _json["executableFile"] = executableFile; | 
|  2493     } |  2493     } | 
|  2494     if (executionTimeout != null) { |  2494     if (executionTimeout != null) { | 
|  2495       _json["executionTimeout"] = executionTimeout; |  2495       _json["executionTimeout"] = executionTimeout; | 
|  2496     } |  2496     } | 
|  2497     return _json; |  2497     return _json; | 
|  2498   } |  2498   } | 
|  2499 } |  2499 } | 
|  2500  |  2500  | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2554       metadata = _json["metadata"]; |  2554       metadata = _json["metadata"]; | 
|  2555     } |  2555     } | 
|  2556     if (_json.containsKey("name")) { |  2556     if (_json.containsKey("name")) { | 
|  2557       name = _json["name"]; |  2557       name = _json["name"]; | 
|  2558     } |  2558     } | 
|  2559     if (_json.containsKey("response")) { |  2559     if (_json.containsKey("response")) { | 
|  2560       response = _json["response"]; |  2560       response = _json["response"]; | 
|  2561     } |  2561     } | 
|  2562   } |  2562   } | 
|  2563  |  2563  | 
|  2564   core.Map toJson() { |  2564   core.Map<core.String, core.Object> toJson() { | 
|  2565     var _json = new core.Map(); |  2565     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2566     if (done != null) { |  2566     if (done != null) { | 
|  2567       _json["done"] = done; |  2567       _json["done"] = done; | 
|  2568     } |  2568     } | 
|  2569     if (error != null) { |  2569     if (error != null) { | 
|  2570       _json["error"] = (error).toJson(); |  2570       _json["error"] = (error).toJson(); | 
|  2571     } |  2571     } | 
|  2572     if (metadata != null) { |  2572     if (metadata != null) { | 
|  2573       _json["metadata"] = metadata; |  2573       _json["metadata"] = metadata; | 
|  2574     } |  2574     } | 
|  2575     if (name != null) { |  2575     if (name != null) { | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2618       status = new OperationStatus.fromJson(_json["status"]); |  2618       status = new OperationStatus.fromJson(_json["status"]); | 
|  2619     } |  2619     } | 
|  2620     if (_json.containsKey("statusHistory")) { |  2620     if (_json.containsKey("statusHistory")) { | 
|  2621       statusHistory = _json["statusHistory"].map((value) => new OperationStatus.
      fromJson(value)).toList(); |  2621       statusHistory = _json["statusHistory"].map((value) => new OperationStatus.
      fromJson(value)).toList(); | 
|  2622     } |  2622     } | 
|  2623     if (_json.containsKey("warnings")) { |  2623     if (_json.containsKey("warnings")) { | 
|  2624       warnings = _json["warnings"]; |  2624       warnings = _json["warnings"]; | 
|  2625     } |  2625     } | 
|  2626   } |  2626   } | 
|  2627  |  2627  | 
|  2628   core.Map toJson() { |  2628   core.Map<core.String, core.Object> toJson() { | 
|  2629     var _json = new core.Map(); |  2629     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2630     if (clusterName != null) { |  2630     if (clusterName != null) { | 
|  2631       _json["clusterName"] = clusterName; |  2631       _json["clusterName"] = clusterName; | 
|  2632     } |  2632     } | 
|  2633     if (clusterUuid != null) { |  2633     if (clusterUuid != null) { | 
|  2634       _json["clusterUuid"] = clusterUuid; |  2634       _json["clusterUuid"] = clusterUuid; | 
|  2635     } |  2635     } | 
|  2636     if (description != null) { |  2636     if (description != null) { | 
|  2637       _json["description"] = description; |  2637       _json["description"] = description; | 
|  2638     } |  2638     } | 
|  2639     if (operationType != null) { |  2639     if (operationType != null) { | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2680       innerState = _json["innerState"]; |  2680       innerState = _json["innerState"]; | 
|  2681     } |  2681     } | 
|  2682     if (_json.containsKey("state")) { |  2682     if (_json.containsKey("state")) { | 
|  2683       state = _json["state"]; |  2683       state = _json["state"]; | 
|  2684     } |  2684     } | 
|  2685     if (_json.containsKey("stateStartTime")) { |  2685     if (_json.containsKey("stateStartTime")) { | 
|  2686       stateStartTime = _json["stateStartTime"]; |  2686       stateStartTime = _json["stateStartTime"]; | 
|  2687     } |  2687     } | 
|  2688   } |  2688   } | 
|  2689  |  2689  | 
|  2690   core.Map toJson() { |  2690   core.Map<core.String, core.Object> toJson() { | 
|  2691     var _json = new core.Map(); |  2691     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2692     if (details != null) { |  2692     if (details != null) { | 
|  2693       _json["details"] = details; |  2693       _json["details"] = details; | 
|  2694     } |  2694     } | 
|  2695     if (innerState != null) { |  2695     if (innerState != null) { | 
|  2696       _json["innerState"] = innerState; |  2696       _json["innerState"] = innerState; | 
|  2697     } |  2697     } | 
|  2698     if (state != null) { |  2698     if (state != null) { | 
|  2699       _json["state"] = state; |  2699       _json["state"] = state; | 
|  2700     } |  2700     } | 
|  2701     if (stateStartTime != null) { |  2701     if (stateStartTime != null) { | 
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2756       queryFileUri = _json["queryFileUri"]; |  2756       queryFileUri = _json["queryFileUri"]; | 
|  2757     } |  2757     } | 
|  2758     if (_json.containsKey("queryList")) { |  2758     if (_json.containsKey("queryList")) { | 
|  2759       queryList = new QueryList.fromJson(_json["queryList"]); |  2759       queryList = new QueryList.fromJson(_json["queryList"]); | 
|  2760     } |  2760     } | 
|  2761     if (_json.containsKey("scriptVariables")) { |  2761     if (_json.containsKey("scriptVariables")) { | 
|  2762       scriptVariables = _json["scriptVariables"]; |  2762       scriptVariables = _json["scriptVariables"]; | 
|  2763     } |  2763     } | 
|  2764   } |  2764   } | 
|  2765  |  2765  | 
|  2766   core.Map toJson() { |  2766   core.Map<core.String, core.Object> toJson() { | 
|  2767     var _json = new core.Map(); |  2767     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2768     if (continueOnFailure != null) { |  2768     if (continueOnFailure != null) { | 
|  2769       _json["continueOnFailure"] = continueOnFailure; |  2769       _json["continueOnFailure"] = continueOnFailure; | 
|  2770     } |  2770     } | 
|  2771     if (jarFileUris != null) { |  2771     if (jarFileUris != null) { | 
|  2772       _json["jarFileUris"] = jarFileUris; |  2772       _json["jarFileUris"] = jarFileUris; | 
|  2773     } |  2773     } | 
|  2774     if (loggingConfiguration != null) { |  2774     if (loggingConfiguration != null) { | 
|  2775       _json["loggingConfiguration"] = (loggingConfiguration).toJson(); |  2775       _json["loggingConfiguration"] = (loggingConfiguration).toJson(); | 
|  2776     } |  2776     } | 
|  2777     if (properties != null) { |  2777     if (properties != null) { | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2855       mainPythonFileUri = _json["mainPythonFileUri"]; |  2855       mainPythonFileUri = _json["mainPythonFileUri"]; | 
|  2856     } |  2856     } | 
|  2857     if (_json.containsKey("properties")) { |  2857     if (_json.containsKey("properties")) { | 
|  2858       properties = _json["properties"]; |  2858       properties = _json["properties"]; | 
|  2859     } |  2859     } | 
|  2860     if (_json.containsKey("pythonFileUris")) { |  2860     if (_json.containsKey("pythonFileUris")) { | 
|  2861       pythonFileUris = _json["pythonFileUris"]; |  2861       pythonFileUris = _json["pythonFileUris"]; | 
|  2862     } |  2862     } | 
|  2863   } |  2863   } | 
|  2864  |  2864  | 
|  2865   core.Map toJson() { |  2865   core.Map<core.String, core.Object> toJson() { | 
|  2866     var _json = new core.Map(); |  2866     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2867     if (archiveUris != null) { |  2867     if (archiveUris != null) { | 
|  2868       _json["archiveUris"] = archiveUris; |  2868       _json["archiveUris"] = archiveUris; | 
|  2869     } |  2869     } | 
|  2870     if (args != null) { |  2870     if (args != null) { | 
|  2871       _json["args"] = args; |  2871       _json["args"] = args; | 
|  2872     } |  2872     } | 
|  2873     if (fileUris != null) { |  2873     if (fileUris != null) { | 
|  2874       _json["fileUris"] = fileUris; |  2874       _json["fileUris"] = fileUris; | 
|  2875     } |  2875     } | 
|  2876     if (jarFileUris != null) { |  2876     if (jarFileUris != null) { | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2912   core.List<core.String> queries; |  2912   core.List<core.String> queries; | 
|  2913  |  2913  | 
|  2914   QueryList(); |  2914   QueryList(); | 
|  2915  |  2915  | 
|  2916   QueryList.fromJson(core.Map _json) { |  2916   QueryList.fromJson(core.Map _json) { | 
|  2917     if (_json.containsKey("queries")) { |  2917     if (_json.containsKey("queries")) { | 
|  2918       queries = _json["queries"]; |  2918       queries = _json["queries"]; | 
|  2919     } |  2919     } | 
|  2920   } |  2920   } | 
|  2921  |  2921  | 
|  2922   core.Map toJson() { |  2922   core.Map<core.String, core.Object> toJson() { | 
|  2923     var _json = new core.Map(); |  2923     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2924     if (queries != null) { |  2924     if (queries != null) { | 
|  2925       _json["queries"] = queries; |  2925       _json["queries"] = queries; | 
|  2926     } |  2926     } | 
|  2927     return _json; |  2927     return _json; | 
|  2928   } |  2928   } | 
|  2929 } |  2929 } | 
|  2930  |  2930  | 
|  2931 /** |  2931 /** | 
|  2932  * Specifies the selection and configuration of software inside the cluster. |  2932  * Specifies the selection and configuration of software inside the cluster. | 
|  2933  */ |  2933  */ | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
|  2951  |  2951  | 
|  2952   SoftwareConfiguration.fromJson(core.Map _json) { |  2952   SoftwareConfiguration.fromJson(core.Map _json) { | 
|  2953     if (_json.containsKey("imageVersion")) { |  2953     if (_json.containsKey("imageVersion")) { | 
|  2954       imageVersion = _json["imageVersion"]; |  2954       imageVersion = _json["imageVersion"]; | 
|  2955     } |  2955     } | 
|  2956     if (_json.containsKey("properties")) { |  2956     if (_json.containsKey("properties")) { | 
|  2957       properties = _json["properties"]; |  2957       properties = _json["properties"]; | 
|  2958     } |  2958     } | 
|  2959   } |  2959   } | 
|  2960  |  2960  | 
|  2961   core.Map toJson() { |  2961   core.Map<core.String, core.Object> toJson() { | 
|  2962     var _json = new core.Map(); |  2962     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  2963     if (imageVersion != null) { |  2963     if (imageVersion != null) { | 
|  2964       _json["imageVersion"] = imageVersion; |  2964       _json["imageVersion"] = imageVersion; | 
|  2965     } |  2965     } | 
|  2966     if (properties != null) { |  2966     if (properties != null) { | 
|  2967       _json["properties"] = properties; |  2967       _json["properties"] = properties; | 
|  2968     } |  2968     } | 
|  2969     return _json; |  2969     return _json; | 
|  2970   } |  2970   } | 
|  2971 } |  2971 } | 
|  2972  |  2972  | 
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3036       mainClass = _json["mainClass"]; |  3036       mainClass = _json["mainClass"]; | 
|  3037     } |  3037     } | 
|  3038     if (_json.containsKey("mainJarFileUri")) { |  3038     if (_json.containsKey("mainJarFileUri")) { | 
|  3039       mainJarFileUri = _json["mainJarFileUri"]; |  3039       mainJarFileUri = _json["mainJarFileUri"]; | 
|  3040     } |  3040     } | 
|  3041     if (_json.containsKey("properties")) { |  3041     if (_json.containsKey("properties")) { | 
|  3042       properties = _json["properties"]; |  3042       properties = _json["properties"]; | 
|  3043     } |  3043     } | 
|  3044   } |  3044   } | 
|  3045  |  3045  | 
|  3046   core.Map toJson() { |  3046   core.Map<core.String, core.Object> toJson() { | 
|  3047     var _json = new core.Map(); |  3047     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  3048     if (archiveUris != null) { |  3048     if (archiveUris != null) { | 
|  3049       _json["archiveUris"] = archiveUris; |  3049       _json["archiveUris"] = archiveUris; | 
|  3050     } |  3050     } | 
|  3051     if (args != null) { |  3051     if (args != null) { | 
|  3052       _json["args"] = args; |  3052       _json["args"] = args; | 
|  3053     } |  3053     } | 
|  3054     if (fileUris != null) { |  3054     if (fileUris != null) { | 
|  3055       _json["fileUris"] = fileUris; |  3055       _json["fileUris"] = fileUris; | 
|  3056     } |  3056     } | 
|  3057     if (jarFileUris != null) { |  3057     if (jarFileUris != null) { | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3111       queryFileUri = _json["queryFileUri"]; |  3111       queryFileUri = _json["queryFileUri"]; | 
|  3112     } |  3112     } | 
|  3113     if (_json.containsKey("queryList")) { |  3113     if (_json.containsKey("queryList")) { | 
|  3114       queryList = new QueryList.fromJson(_json["queryList"]); |  3114       queryList = new QueryList.fromJson(_json["queryList"]); | 
|  3115     } |  3115     } | 
|  3116     if (_json.containsKey("scriptVariables")) { |  3116     if (_json.containsKey("scriptVariables")) { | 
|  3117       scriptVariables = _json["scriptVariables"]; |  3117       scriptVariables = _json["scriptVariables"]; | 
|  3118     } |  3118     } | 
|  3119   } |  3119   } | 
|  3120  |  3120  | 
|  3121   core.Map toJson() { |  3121   core.Map<core.String, core.Object> toJson() { | 
|  3122     var _json = new core.Map(); |  3122     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  3123     if (jarFileUris != null) { |  3123     if (jarFileUris != null) { | 
|  3124       _json["jarFileUris"] = jarFileUris; |  3124       _json["jarFileUris"] = jarFileUris; | 
|  3125     } |  3125     } | 
|  3126     if (loggingConfiguration != null) { |  3126     if (loggingConfiguration != null) { | 
|  3127       _json["loggingConfiguration"] = (loggingConfiguration).toJson(); |  3127       _json["loggingConfiguration"] = (loggingConfiguration).toJson(); | 
|  3128     } |  3128     } | 
|  3129     if (properties != null) { |  3129     if (properties != null) { | 
|  3130       _json["properties"] = properties; |  3130       _json["properties"] = properties; | 
|  3131     } |  3131     } | 
|  3132     if (queryFileUri != null) { |  3132     if (queryFileUri != null) { | 
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3203       code = _json["code"]; |  3203       code = _json["code"]; | 
|  3204     } |  3204     } | 
|  3205     if (_json.containsKey("details")) { |  3205     if (_json.containsKey("details")) { | 
|  3206       details = _json["details"]; |  3206       details = _json["details"]; | 
|  3207     } |  3207     } | 
|  3208     if (_json.containsKey("message")) { |  3208     if (_json.containsKey("message")) { | 
|  3209       message = _json["message"]; |  3209       message = _json["message"]; | 
|  3210     } |  3210     } | 
|  3211   } |  3211   } | 
|  3212  |  3212  | 
|  3213   core.Map toJson() { |  3213   core.Map<core.String, core.Object> toJson() { | 
|  3214     var _json = new core.Map(); |  3214     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  3215     if (code != null) { |  3215     if (code != null) { | 
|  3216       _json["code"] = code; |  3216       _json["code"] = code; | 
|  3217     } |  3217     } | 
|  3218     if (details != null) { |  3218     if (details != null) { | 
|  3219       _json["details"] = details; |  3219       _json["details"] = details; | 
|  3220     } |  3220     } | 
|  3221     if (message != null) { |  3221     if (message != null) { | 
|  3222       _json["message"] = message; |  3222       _json["message"] = message; | 
|  3223     } |  3223     } | 
|  3224     return _json; |  3224     return _json; | 
|  3225   } |  3225   } | 
|  3226 } |  3226 } | 
|  3227  |  3227  | 
|  3228 /** A request to submit a job. */ |  3228 /** A request to submit a job. */ | 
|  3229 class SubmitJobRequest { |  3229 class SubmitJobRequest { | 
|  3230   /** Required The job resource. */ |  3230   /** Required The job resource. */ | 
|  3231   Job job; |  3231   Job job; | 
|  3232  |  3232  | 
|  3233   SubmitJobRequest(); |  3233   SubmitJobRequest(); | 
|  3234  |  3234  | 
|  3235   SubmitJobRequest.fromJson(core.Map _json) { |  3235   SubmitJobRequest.fromJson(core.Map _json) { | 
|  3236     if (_json.containsKey("job")) { |  3236     if (_json.containsKey("job")) { | 
|  3237       job = new Job.fromJson(_json["job"]); |  3237       job = new Job.fromJson(_json["job"]); | 
|  3238     } |  3238     } | 
|  3239   } |  3239   } | 
|  3240  |  3240  | 
|  3241   core.Map toJson() { |  3241   core.Map<core.String, core.Object> toJson() { | 
|  3242     var _json = new core.Map(); |  3242     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  3243     if (job != null) { |  3243     if (job != null) { | 
|  3244       _json["job"] = (job).toJson(); |  3244       _json["job"] = (job).toJson(); | 
|  3245     } |  3245     } | 
|  3246     return _json; |  3246     return _json; | 
|  3247   } |  3247   } | 
|  3248 } |  3248 } | 
|  3249  |  3249  | 
|  3250 /** |  3250 /** | 
|  3251  * A YARN application created by a job. Application information is a subset of |  3251  * A YARN application created by a job. Application information is a subset of | 
|  3252  * <code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>. |  3252  * <code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>. | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3288       progress = _json["progress"]; |  3288       progress = _json["progress"]; | 
|  3289     } |  3289     } | 
|  3290     if (_json.containsKey("state")) { |  3290     if (_json.containsKey("state")) { | 
|  3291       state = _json["state"]; |  3291       state = _json["state"]; | 
|  3292     } |  3292     } | 
|  3293     if (_json.containsKey("trackingUrl")) { |  3293     if (_json.containsKey("trackingUrl")) { | 
|  3294       trackingUrl = _json["trackingUrl"]; |  3294       trackingUrl = _json["trackingUrl"]; | 
|  3295     } |  3295     } | 
|  3296   } |  3296   } | 
|  3297  |  3297  | 
|  3298   core.Map toJson() { |  3298   core.Map<core.String, core.Object> toJson() { | 
|  3299     var _json = new core.Map(); |  3299     final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
      ore.Object>(); | 
|  3300     if (name != null) { |  3300     if (name != null) { | 
|  3301       _json["name"] = name; |  3301       _json["name"] = name; | 
|  3302     } |  3302     } | 
|  3303     if (progress != null) { |  3303     if (progress != null) { | 
|  3304       _json["progress"] = progress; |  3304       _json["progress"] = progress; | 
|  3305     } |  3305     } | 
|  3306     if (state != null) { |  3306     if (state != null) { | 
|  3307       _json["state"] = state; |  3307       _json["state"] = state; | 
|  3308     } |  3308     } | 
|  3309     if (trackingUrl != null) { |  3309     if (trackingUrl != null) { | 
|  3310       _json["trackingUrl"] = trackingUrl; |  3310       _json["trackingUrl"] = trackingUrl; | 
|  3311     } |  3311     } | 
|  3312     return _json; |  3312     return _json; | 
|  3313   } |  3313   } | 
|  3314 } |  3314 } | 
| OLD | NEW |