| 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.clouddebugger.v2; | 3 library googleapis.clouddebugger.v2; |
| 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 clouddebugger/v2'; | 15 const core.String USER_AGENT = 'dart-api-client clouddebugger/v2'; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Lets you examine the stack and variables of your running application without | 18 * Examines the call stack and variables of a running application without |
| 19 * stopping or slowing it down. | 19 * stopping or slowing it down. |
| 20 */ | 20 */ |
| 21 class ClouddebuggerApi { | 21 class ClouddebuggerApi { |
| 22 /** View and manage your data across Google Cloud Platform services */ | 22 /** View and manage your data across Google Cloud Platform services */ |
| 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; | 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
| 24 | 24 |
| 25 /** Manage cloud debugger */ | 25 /** Manage cloud debugger */ |
| 26 static const CloudDebuggerScope = "https://www.googleapis.com/auth/cloud_debug
ger"; | 26 static const CloudDebuggerScope = "https://www.googleapis.com/auth/cloud_debug
ger"; |
| 27 | 27 |
| 28 /** Manage active breakpoints in cloud debugger */ | 28 /** Manage active breakpoints in cloud debugger */ |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 * Lists all the debuggees that the user can set breakpoints to. | 254 * Lists all the debuggees that the user can set breakpoints to. |
| 255 * | 255 * |
| 256 * Request parameters: | 256 * Request parameters: |
| 257 * | 257 * |
| 258 * [project] - Project number of a Google Cloud project whose debuggees to | 258 * [project] - Project number of a Google Cloud project whose debuggees to |
| 259 * list. | 259 * list. |
| 260 * | 260 * |
| 261 * [includeInactive] - When set to `true`, the result includes all debuggees. | 261 * [includeInactive] - When set to `true`, the result includes all debuggees. |
| 262 * Otherwise, the result includes only debuggees that are active. | 262 * Otherwise, the result includes only debuggees that are active. |
| 263 * | 263 * |
| 264 * [clientVersion] - The client version making the call. Following: |
| 265 * `domain/type/version` (e.g., `google.com/intellij/v1`). |
| 266 * |
| 264 * Completes with a [ListDebuggeesResponse]. | 267 * Completes with a [ListDebuggeesResponse]. |
| 265 * | 268 * |
| 266 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 269 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 267 * error. | 270 * error. |
| 268 * | 271 * |
| 269 * If the used [http.Client] completes with an error when making a REST call, | 272 * If the used [http.Client] completes with an error when making a REST call, |
| 270 * this method will complete with the same error. | 273 * this method will complete with the same error. |
| 271 */ | 274 */ |
| 272 async.Future<ListDebuggeesResponse> list({core.String project, core.bool inclu
deInactive}) { | 275 async.Future<ListDebuggeesResponse> list({core.String project, core.bool inclu
deInactive, core.String clientVersion}) { |
| 273 var _url = null; | 276 var _url = null; |
| 274 var _queryParams = new core.Map(); | 277 var _queryParams = new core.Map(); |
| 275 var _uploadMedia = null; | 278 var _uploadMedia = null; |
| 276 var _uploadOptions = null; | 279 var _uploadOptions = null; |
| 277 var _downloadOptions = commons.DownloadOptions.Metadata; | 280 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 278 var _body = null; | 281 var _body = null; |
| 279 | 282 |
| 280 if (project != null) { | 283 if (project != null) { |
| 281 _queryParams["project"] = [project]; | 284 _queryParams["project"] = [project]; |
| 282 } | 285 } |
| 283 if (includeInactive != null) { | 286 if (includeInactive != null) { |
| 284 _queryParams["includeInactive"] = ["${includeInactive}"]; | 287 _queryParams["includeInactive"] = ["${includeInactive}"]; |
| 285 } | 288 } |
| 289 if (clientVersion != null) { |
| 290 _queryParams["clientVersion"] = [clientVersion]; |
| 291 } |
| 286 | 292 |
| 287 _url = 'v2/debugger/debuggees'; | 293 _url = 'v2/debugger/debuggees'; |
| 288 | 294 |
| 289 var _response = _requester.request(_url, | 295 var _response = _requester.request(_url, |
| 290 "GET", | 296 "GET", |
| 291 body: _body, | 297 body: _body, |
| 292 queryParams: _queryParams, | 298 queryParams: _queryParams, |
| 293 uploadOptions: _uploadOptions, | 299 uploadOptions: _uploadOptions, |
| 294 uploadMedia: _uploadMedia, | 300 uploadMedia: _uploadMedia, |
| 295 downloadOptions: _downloadOptions); | 301 downloadOptions: _downloadOptions); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 307 | 313 |
| 308 /** | 314 /** |
| 309 * Deletes the breakpoint from the debuggee. | 315 * Deletes the breakpoint from the debuggee. |
| 310 * | 316 * |
| 311 * Request parameters: | 317 * Request parameters: |
| 312 * | 318 * |
| 313 * [debuggeeId] - ID of the debuggee whose breakpoint to delete. | 319 * [debuggeeId] - ID of the debuggee whose breakpoint to delete. |
| 314 * | 320 * |
| 315 * [breakpointId] - ID of the breakpoint to delete. | 321 * [breakpointId] - ID of the breakpoint to delete. |
| 316 * | 322 * |
| 323 * [clientVersion] - The client version making the call. Following: |
| 324 * `domain/type/version` (e.g., `google.com/intellij/v1`). |
| 325 * |
| 317 * Completes with a [Empty]. | 326 * Completes with a [Empty]. |
| 318 * | 327 * |
| 319 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 328 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 320 * error. | 329 * error. |
| 321 * | 330 * |
| 322 * If the used [http.Client] completes with an error when making a REST call, | 331 * If the used [http.Client] completes with an error when making a REST call, |
| 323 * this method will complete with the same error. | 332 * this method will complete with the same error. |
| 324 */ | 333 */ |
| 325 async.Future<Empty> delete(core.String debuggeeId, core.String breakpointId) { | 334 async.Future<Empty> delete(core.String debuggeeId, core.String breakpointId, {
core.String clientVersion}) { |
| 326 var _url = null; | 335 var _url = null; |
| 327 var _queryParams = new core.Map(); | 336 var _queryParams = new core.Map(); |
| 328 var _uploadMedia = null; | 337 var _uploadMedia = null; |
| 329 var _uploadOptions = null; | 338 var _uploadOptions = null; |
| 330 var _downloadOptions = commons.DownloadOptions.Metadata; | 339 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 331 var _body = null; | 340 var _body = null; |
| 332 | 341 |
| 333 if (debuggeeId == null) { | 342 if (debuggeeId == null) { |
| 334 throw new core.ArgumentError("Parameter debuggeeId is required."); | 343 throw new core.ArgumentError("Parameter debuggeeId is required."); |
| 335 } | 344 } |
| 336 if (breakpointId == null) { | 345 if (breakpointId == null) { |
| 337 throw new core.ArgumentError("Parameter breakpointId is required."); | 346 throw new core.ArgumentError("Parameter breakpointId is required."); |
| 338 } | 347 } |
| 348 if (clientVersion != null) { |
| 349 _queryParams["clientVersion"] = [clientVersion]; |
| 350 } |
| 339 | 351 |
| 340 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints/' + commons.Escaper.ecapeVariable('$breakpointId'); | 352 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints/' + commons.Escaper.ecapeVariable('$breakpointId'); |
| 341 | 353 |
| 342 var _response = _requester.request(_url, | 354 var _response = _requester.request(_url, |
| 343 "DELETE", | 355 "DELETE", |
| 344 body: _body, | 356 body: _body, |
| 345 queryParams: _queryParams, | 357 queryParams: _queryParams, |
| 346 uploadOptions: _uploadOptions, | 358 uploadOptions: _uploadOptions, |
| 347 uploadMedia: _uploadMedia, | 359 uploadMedia: _uploadMedia, |
| 348 downloadOptions: _downloadOptions); | 360 downloadOptions: _downloadOptions); |
| 349 return _response.then((data) => new Empty.fromJson(data)); | 361 return _response.then((data) => new Empty.fromJson(data)); |
| 350 } | 362 } |
| 351 | 363 |
| 352 /** | 364 /** |
| 353 * Gets breakpoint information. | 365 * Gets breakpoint information. |
| 354 * | 366 * |
| 355 * Request parameters: | 367 * Request parameters: |
| 356 * | 368 * |
| 357 * [debuggeeId] - ID of the debuggee whose breakpoint to get. | 369 * [debuggeeId] - ID of the debuggee whose breakpoint to get. |
| 358 * | 370 * |
| 359 * [breakpointId] - ID of the breakpoint to get. | 371 * [breakpointId] - ID of the breakpoint to get. |
| 360 * | 372 * |
| 373 * [clientVersion] - The client version making the call. Following: |
| 374 * `domain/type/version` (e.g., `google.com/intellij/v1`). |
| 375 * |
| 361 * Completes with a [GetBreakpointResponse]. | 376 * Completes with a [GetBreakpointResponse]. |
| 362 * | 377 * |
| 363 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 378 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 364 * error. | 379 * error. |
| 365 * | 380 * |
| 366 * If the used [http.Client] completes with an error when making a REST call, | 381 * If the used [http.Client] completes with an error when making a REST call, |
| 367 * this method will complete with the same error. | 382 * this method will complete with the same error. |
| 368 */ | 383 */ |
| 369 async.Future<GetBreakpointResponse> get(core.String debuggeeId, core.String br
eakpointId) { | 384 async.Future<GetBreakpointResponse> get(core.String debuggeeId, core.String br
eakpointId, {core.String clientVersion}) { |
| 370 var _url = null; | 385 var _url = null; |
| 371 var _queryParams = new core.Map(); | 386 var _queryParams = new core.Map(); |
| 372 var _uploadMedia = null; | 387 var _uploadMedia = null; |
| 373 var _uploadOptions = null; | 388 var _uploadOptions = null; |
| 374 var _downloadOptions = commons.DownloadOptions.Metadata; | 389 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 375 var _body = null; | 390 var _body = null; |
| 376 | 391 |
| 377 if (debuggeeId == null) { | 392 if (debuggeeId == null) { |
| 378 throw new core.ArgumentError("Parameter debuggeeId is required."); | 393 throw new core.ArgumentError("Parameter debuggeeId is required."); |
| 379 } | 394 } |
| 380 if (breakpointId == null) { | 395 if (breakpointId == null) { |
| 381 throw new core.ArgumentError("Parameter breakpointId is required."); | 396 throw new core.ArgumentError("Parameter breakpointId is required."); |
| 382 } | 397 } |
| 398 if (clientVersion != null) { |
| 399 _queryParams["clientVersion"] = [clientVersion]; |
| 400 } |
| 383 | 401 |
| 384 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints/' + commons.Escaper.ecapeVariable('$breakpointId'); | 402 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints/' + commons.Escaper.ecapeVariable('$breakpointId'); |
| 385 | 403 |
| 386 var _response = _requester.request(_url, | 404 var _response = _requester.request(_url, |
| 387 "GET", | 405 "GET", |
| 388 body: _body, | 406 body: _body, |
| 389 queryParams: _queryParams, | 407 queryParams: _queryParams, |
| 390 uploadOptions: _uploadOptions, | 408 uploadOptions: _uploadOptions, |
| 391 uploadMedia: _uploadMedia, | 409 uploadMedia: _uploadMedia, |
| 392 downloadOptions: _downloadOptions); | 410 downloadOptions: _downloadOptions); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 416 * [stripResults] - When set to `true`, the response breakpoints are stripped | 434 * [stripResults] - When set to `true`, the response breakpoints are stripped |
| 417 * of the results fields: `stack_frames`, `evaluated_expressions` and | 435 * of the results fields: `stack_frames`, `evaluated_expressions` and |
| 418 * `variable_table`. | 436 * `variable_table`. |
| 419 * | 437 * |
| 420 * [waitToken] - A wait token that, if specified, blocks the call until the | 438 * [waitToken] - A wait token that, if specified, blocks the call until the |
| 421 * breakpoints list has changed, or a server selected timeout has expired. The | 439 * breakpoints list has changed, or a server selected timeout has expired. The |
| 422 * value should be set from the last response. The error code | 440 * value should be set from the last response. The error code |
| 423 * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should | 441 * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should |
| 424 * be called again with the same `wait_token`. | 442 * be called again with the same `wait_token`. |
| 425 * | 443 * |
| 444 * [clientVersion] - The client version making the call. Following: |
| 445 * `domain/type/version` (e.g., `google.com/intellij/v1`). |
| 446 * |
| 426 * Completes with a [ListBreakpointsResponse]. | 447 * Completes with a [ListBreakpointsResponse]. |
| 427 * | 448 * |
| 428 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 449 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 429 * error. | 450 * error. |
| 430 * | 451 * |
| 431 * If the used [http.Client] completes with an error when making a REST call, | 452 * If the used [http.Client] completes with an error when making a REST call, |
| 432 * this method will complete with the same error. | 453 * this method will complete with the same error. |
| 433 */ | 454 */ |
| 434 async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.bool
includeAllUsers, core.bool includeInactive, core.String action_value, core.bool
stripResults, core.String waitToken}) { | 455 async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.bool
includeAllUsers, core.bool includeInactive, core.String action_value, core.bool
stripResults, core.String waitToken, core.String clientVersion}) { |
| 435 var _url = null; | 456 var _url = null; |
| 436 var _queryParams = new core.Map(); | 457 var _queryParams = new core.Map(); |
| 437 var _uploadMedia = null; | 458 var _uploadMedia = null; |
| 438 var _uploadOptions = null; | 459 var _uploadOptions = null; |
| 439 var _downloadOptions = commons.DownloadOptions.Metadata; | 460 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 440 var _body = null; | 461 var _body = null; |
| 441 | 462 |
| 442 if (debuggeeId == null) { | 463 if (debuggeeId == null) { |
| 443 throw new core.ArgumentError("Parameter debuggeeId is required."); | 464 throw new core.ArgumentError("Parameter debuggeeId is required."); |
| 444 } | 465 } |
| 445 if (includeAllUsers != null) { | 466 if (includeAllUsers != null) { |
| 446 _queryParams["includeAllUsers"] = ["${includeAllUsers}"]; | 467 _queryParams["includeAllUsers"] = ["${includeAllUsers}"]; |
| 447 } | 468 } |
| 448 if (includeInactive != null) { | 469 if (includeInactive != null) { |
| 449 _queryParams["includeInactive"] = ["${includeInactive}"]; | 470 _queryParams["includeInactive"] = ["${includeInactive}"]; |
| 450 } | 471 } |
| 451 if (action_value != null) { | 472 if (action_value != null) { |
| 452 _queryParams["action.value"] = [action_value]; | 473 _queryParams["action.value"] = [action_value]; |
| 453 } | 474 } |
| 454 if (stripResults != null) { | 475 if (stripResults != null) { |
| 455 _queryParams["stripResults"] = ["${stripResults}"]; | 476 _queryParams["stripResults"] = ["${stripResults}"]; |
| 456 } | 477 } |
| 457 if (waitToken != null) { | 478 if (waitToken != null) { |
| 458 _queryParams["waitToken"] = [waitToken]; | 479 _queryParams["waitToken"] = [waitToken]; |
| 459 } | 480 } |
| 481 if (clientVersion != null) { |
| 482 _queryParams["clientVersion"] = [clientVersion]; |
| 483 } |
| 460 | 484 |
| 461 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints'; | 485 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints'; |
| 462 | 486 |
| 463 var _response = _requester.request(_url, | 487 var _response = _requester.request(_url, |
| 464 "GET", | 488 "GET", |
| 465 body: _body, | 489 body: _body, |
| 466 queryParams: _queryParams, | 490 queryParams: _queryParams, |
| 467 uploadOptions: _uploadOptions, | 491 uploadOptions: _uploadOptions, |
| 468 uploadMedia: _uploadMedia, | 492 uploadMedia: _uploadMedia, |
| 469 downloadOptions: _downloadOptions); | 493 downloadOptions: _downloadOptions); |
| 470 return _response.then((data) => new ListBreakpointsResponse.fromJson(data)); | 494 return _response.then((data) => new ListBreakpointsResponse.fromJson(data)); |
| 471 } | 495 } |
| 472 | 496 |
| 473 /** | 497 /** |
| 474 * Sets the breakpoint to the debuggee. | 498 * Sets the breakpoint to the debuggee. |
| 475 * | 499 * |
| 476 * [request] - The metadata request object. | 500 * [request] - The metadata request object. |
| 477 * | 501 * |
| 478 * Request parameters: | 502 * Request parameters: |
| 479 * | 503 * |
| 480 * [debuggeeId] - ID of the debuggee where the breakpoint is to be set. | 504 * [debuggeeId] - ID of the debuggee where the breakpoint is to be set. |
| 481 * | 505 * |
| 506 * [clientVersion] - The client version making the call. Following: |
| 507 * `domain/type/version` (e.g., `google.com/intellij/v1`). |
| 508 * |
| 482 * Completes with a [SetBreakpointResponse]. | 509 * Completes with a [SetBreakpointResponse]. |
| 483 * | 510 * |
| 484 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 511 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 485 * error. | 512 * error. |
| 486 * | 513 * |
| 487 * If the used [http.Client] completes with an error when making a REST call, | 514 * If the used [http.Client] completes with an error when making a REST call, |
| 488 * this method will complete with the same error. | 515 * this method will complete with the same error. |
| 489 */ | 516 */ |
| 490 async.Future<SetBreakpointResponse> set(Breakpoint request, core.String debugg
eeId) { | 517 async.Future<SetBreakpointResponse> set(Breakpoint request, core.String debugg
eeId, {core.String clientVersion}) { |
| 491 var _url = null; | 518 var _url = null; |
| 492 var _queryParams = new core.Map(); | 519 var _queryParams = new core.Map(); |
| 493 var _uploadMedia = null; | 520 var _uploadMedia = null; |
| 494 var _uploadOptions = null; | 521 var _uploadOptions = null; |
| 495 var _downloadOptions = commons.DownloadOptions.Metadata; | 522 var _downloadOptions = commons.DownloadOptions.Metadata; |
| 496 var _body = null; | 523 var _body = null; |
| 497 | 524 |
| 498 if (request != null) { | 525 if (request != null) { |
| 499 _body = convert.JSON.encode((request).toJson()); | 526 _body = convert.JSON.encode((request).toJson()); |
| 500 } | 527 } |
| 501 if (debuggeeId == null) { | 528 if (debuggeeId == null) { |
| 502 throw new core.ArgumentError("Parameter debuggeeId is required."); | 529 throw new core.ArgumentError("Parameter debuggeeId is required."); |
| 503 } | 530 } |
| 531 if (clientVersion != null) { |
| 532 _queryParams["clientVersion"] = [clientVersion]; |
| 533 } |
| 504 | 534 |
| 505 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints/set'; | 535 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId
') + '/breakpoints/set'; |
| 506 | 536 |
| 507 var _response = _requester.request(_url, | 537 var _response = _requester.request(_url, |
| 508 "POST", | 538 "POST", |
| 509 body: _body, | 539 body: _body, |
| 510 queryParams: _queryParams, | 540 queryParams: _queryParams, |
| 511 uploadOptions: _uploadOptions, | 541 uploadOptions: _uploadOptions, |
| 512 uploadMedia: _uploadMedia, | 542 uploadMedia: _uploadMedia, |
| 513 downloadOptions: _downloadOptions); | 543 downloadOptions: _downloadOptions); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 * resolution. | 624 * resolution. |
| 595 */ | 625 */ |
| 596 core.String finalTime; | 626 core.String finalTime; |
| 597 /** Breakpoint identifier, unique in the scope of the debuggee. */ | 627 /** Breakpoint identifier, unique in the scope of the debuggee. */ |
| 598 core.String id; | 628 core.String id; |
| 599 /** | 629 /** |
| 600 * When true, indicates that this is a final result and the breakpoint state | 630 * When true, indicates that this is a final result and the breakpoint state |
| 601 * will not change from here on. | 631 * will not change from here on. |
| 602 */ | 632 */ |
| 603 core.bool isFinalState; | 633 core.bool isFinalState; |
| 634 /** |
| 635 * A set of custom breakpoint properties, populated by the agent, to be |
| 636 * displayed to the user. |
| 637 */ |
| 638 core.Map<core.String, core.String> labels; |
| 604 /** Breakpoint source location. */ | 639 /** Breakpoint source location. */ |
| 605 SourceLocation location; | 640 SourceLocation location; |
| 606 /** | 641 /** |
| 607 * Indicates the severity of the log. Only relevant when action is `LOG`. | 642 * Indicates the severity of the log. Only relevant when action is `LOG`. |
| 608 * Possible string values are: | 643 * Possible string values are: |
| 609 * - "INFO" : A INFO. | 644 * - "INFO" : A INFO. |
| 610 * - "WARNING" : A WARNING. | 645 * - "WARNING" : A WARNING. |
| 611 * - "ERROR" : A ERROR. | 646 * - "ERROR" : A ERROR. |
| 612 */ | 647 */ |
| 613 core.String logLevel; | 648 core.String logLevel; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 636 core.String userEmail; | 671 core.String userEmail; |
| 637 /** | 672 /** |
| 638 * The `variable_table` exists to aid with computation, memory and network | 673 * The `variable_table` exists to aid with computation, memory and network |
| 639 * traffic optimization. It enables storing a variable once and reference it | 674 * traffic optimization. It enables storing a variable once and reference it |
| 640 * from multiple variables, including variables stored in the `variable_table` | 675 * from multiple variables, including variables stored in the `variable_table` |
| 641 * itself. For example, the same `this` object, which may appear at many | 676 * itself. For example, the same `this` object, which may appear at many |
| 642 * levels of the stack, can have all of its data stored once in this table. | 677 * levels of the stack, can have all of its data stored once in this table. |
| 643 * The stack frame variables then would hold only a reference to it. The | 678 * The stack frame variables then would hold only a reference to it. The |
| 644 * variable `var_table_index` field is an index into this repeated field. The | 679 * variable `var_table_index` field is an index into this repeated field. The |
| 645 * stored objects are nameless and get their name from the referencing | 680 * stored objects are nameless and get their name from the referencing |
| 646 * variable. The effective variable is a merge of the referencing veariable | 681 * variable. The effective variable is a merge of the referencing variable and |
| 647 * and the referenced variable. | 682 * the referenced variable. |
| 648 */ | 683 */ |
| 649 core.List<Variable> variableTable; | 684 core.List<Variable> variableTable; |
| 650 | 685 |
| 651 Breakpoint(); | 686 Breakpoint(); |
| 652 | 687 |
| 653 Breakpoint.fromJson(core.Map _json) { | 688 Breakpoint.fromJson(core.Map _json) { |
| 654 if (_json.containsKey("action")) { | 689 if (_json.containsKey("action")) { |
| 655 action = _json["action"]; | 690 action = _json["action"]; |
| 656 } | 691 } |
| 657 if (_json.containsKey("condition")) { | 692 if (_json.containsKey("condition")) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 668 } | 703 } |
| 669 if (_json.containsKey("finalTime")) { | 704 if (_json.containsKey("finalTime")) { |
| 670 finalTime = _json["finalTime"]; | 705 finalTime = _json["finalTime"]; |
| 671 } | 706 } |
| 672 if (_json.containsKey("id")) { | 707 if (_json.containsKey("id")) { |
| 673 id = _json["id"]; | 708 id = _json["id"]; |
| 674 } | 709 } |
| 675 if (_json.containsKey("isFinalState")) { | 710 if (_json.containsKey("isFinalState")) { |
| 676 isFinalState = _json["isFinalState"]; | 711 isFinalState = _json["isFinalState"]; |
| 677 } | 712 } |
| 713 if (_json.containsKey("labels")) { |
| 714 labels = _json["labels"]; |
| 715 } |
| 678 if (_json.containsKey("location")) { | 716 if (_json.containsKey("location")) { |
| 679 location = new SourceLocation.fromJson(_json["location"]); | 717 location = new SourceLocation.fromJson(_json["location"]); |
| 680 } | 718 } |
| 681 if (_json.containsKey("logLevel")) { | 719 if (_json.containsKey("logLevel")) { |
| 682 logLevel = _json["logLevel"]; | 720 logLevel = _json["logLevel"]; |
| 683 } | 721 } |
| 684 if (_json.containsKey("logMessageFormat")) { | 722 if (_json.containsKey("logMessageFormat")) { |
| 685 logMessageFormat = _json["logMessageFormat"]; | 723 logMessageFormat = _json["logMessageFormat"]; |
| 686 } | 724 } |
| 687 if (_json.containsKey("stackFrames")) { | 725 if (_json.containsKey("stackFrames")) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 717 } | 755 } |
| 718 if (finalTime != null) { | 756 if (finalTime != null) { |
| 719 _json["finalTime"] = finalTime; | 757 _json["finalTime"] = finalTime; |
| 720 } | 758 } |
| 721 if (id != null) { | 759 if (id != null) { |
| 722 _json["id"] = id; | 760 _json["id"] = id; |
| 723 } | 761 } |
| 724 if (isFinalState != null) { | 762 if (isFinalState != null) { |
| 725 _json["isFinalState"] = isFinalState; | 763 _json["isFinalState"] = isFinalState; |
| 726 } | 764 } |
| 765 if (labels != null) { |
| 766 _json["labels"] = labels; |
| 767 } |
| 727 if (location != null) { | 768 if (location != null) { |
| 728 _json["location"] = (location).toJson(); | 769 _json["location"] = (location).toJson(); |
| 729 } | 770 } |
| 730 if (logLevel != null) { | 771 if (logLevel != null) { |
| 731 _json["logLevel"] = logLevel; | 772 _json["logLevel"] = logLevel; |
| 732 } | 773 } |
| 733 if (logMessageFormat != null) { | 774 if (logMessageFormat != null) { |
| 734 _json["logMessageFormat"] = logMessageFormat; | 775 _json["logMessageFormat"] = logMessageFormat; |
| 735 } | 776 } |
| 736 if (stackFrames != null) { | 777 if (stackFrames != null) { |
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1803 } | 1844 } |
| 1804 if (value != null) { | 1845 if (value != null) { |
| 1805 _json["value"] = value; | 1846 _json["value"] = value; |
| 1806 } | 1847 } |
| 1807 if (varTableIndex != null) { | 1848 if (varTableIndex != null) { |
| 1808 _json["varTableIndex"] = varTableIndex; | 1849 _json["varTableIndex"] = varTableIndex; |
| 1809 } | 1850 } |
| 1810 return _json; | 1851 return _json; |
| 1811 } | 1852 } |
| 1812 } | 1853 } |
| OLD | NEW |