OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud_debugger": { | 5 "https://www.googleapis.com/auth/cloud_debugger": { |
6 "description": "Manage cloud debugger" | 6 "description": "Manage cloud debugger" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 } | 10 } |
(...skipping 10 matching lines...) Expand all Loading... |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "clouddebugger:v2", | 25 "id": "clouddebugger:v2", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "clouddebugger", | 27 "name": "clouddebugger", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
31 "quotaUser": { | |
32 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
33 "location": "query", | |
34 "type": "string" | |
35 }, | |
36 "pp": { | |
37 "default": "true", | |
38 "description": "Pretty-print response.", | |
39 "location": "query", | |
40 "type": "boolean" | |
41 }, | |
42 "bearer_token": { | |
43 "description": "OAuth bearer token.", | |
44 "location": "query", | |
45 "type": "string" | |
46 }, | |
47 "oauth_token": { | |
48 "description": "OAuth 2.0 token for the current user.", | |
49 "location": "query", | |
50 "type": "string" | |
51 }, | |
52 "upload_protocol": { | 31 "upload_protocol": { |
53 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
54 "location": "query", | 33 "location": "query", |
55 "type": "string" | 34 "type": "string" |
56 }, | 35 }, |
57 "prettyPrint": { | 36 "prettyPrint": { |
58 "default": "true", | 37 "default": "true", |
59 "description": "Returns response with indentations and line breaks."
, | 38 "description": "Returns response with indentations and line breaks."
, |
60 "location": "query", | 39 "location": "query", |
61 "type": "boolean" | 40 "type": "boolean" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "proto" | 76 "proto" |
98 ], | 77 ], |
99 "enumDescriptions": [ | 78 "enumDescriptions": [ |
100 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
101 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
102 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
103 ], | 82 ], |
104 "location": "query", | 83 "location": "query", |
105 "type": "string" | 84 "type": "string" |
106 }, | 85 }, |
| 86 "key": { |
| 87 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
107 "access_token": { | 91 "access_token": { |
108 "description": "OAuth access token.", | 92 "description": "OAuth access token.", |
109 "location": "query", | 93 "location": "query", |
110 "type": "string" | 94 "type": "string" |
111 }, | 95 }, |
112 "key": { | 96 "quotaUser": { |
113 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
| 101 "pp": { |
| 102 "default": "true", |
| 103 "description": "Pretty-print response.", |
| 104 "location": "query", |
| 105 "type": "boolean" |
| 106 }, |
| 107 "bearer_token": { |
| 108 "description": "OAuth bearer token.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "oauth_token": { |
| 113 "description": "OAuth 2.0 token for the current user.", |
114 "location": "query", | 114 "location": "query", |
115 "type": "string" | 115 "type": "string" |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "controller": { | 120 "controller": { |
121 "resources": { | 121 "resources": { |
122 "debuggees": { | 122 "debuggees": { |
123 "methods": { | 123 "methods": { |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 }, | 326 }, |
327 "get": { | 327 "get": { |
328 "description": "Gets breakpoint information.
", | 328 "description": "Gets breakpoint information.
", |
329 "httpMethod": "GET", | 329 "httpMethod": "GET", |
330 "id": "clouddebugger.debugger.debuggees.brea
kpoints.get", | 330 "id": "clouddebugger.debugger.debuggees.brea
kpoints.get", |
331 "parameterOrder": [ | 331 "parameterOrder": [ |
332 "debuggeeId", | 332 "debuggeeId", |
333 "breakpointId" | 333 "breakpointId" |
334 ], | 334 ], |
335 "parameters": { | 335 "parameters": { |
336 "debuggeeId": { | |
337 "description": "ID of the debuggee w
hose breakpoint to get.", | |
338 "location": "path", | |
339 "required": true, | |
340 "type": "string" | |
341 }, | |
342 "clientVersion": { | 336 "clientVersion": { |
343 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", | 337 "description": "The client version m
aking the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1
`).", |
344 "location": "query", | 338 "location": "query", |
345 "type": "string" | 339 "type": "string" |
346 }, | 340 }, |
347 "breakpointId": { | 341 "breakpointId": { |
348 "description": "ID of the breakpoint
to get.", | 342 "description": "ID of the breakpoint
to get.", |
349 "location": "path", | 343 "location": "path", |
350 "required": true, | 344 "required": true, |
351 "type": "string" | 345 "type": "string" |
| 346 }, |
| 347 "debuggeeId": { |
| 348 "description": "ID of the debuggee w
hose breakpoint to get.", |
| 349 "location": "path", |
| 350 "required": true, |
| 351 "type": "string" |
352 } | 352 } |
353 }, | 353 }, |
354 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", | 354 "path": "v2/debugger/debuggees/{debuggeeId}/
breakpoints/{breakpointId}", |
355 "response": { | 355 "response": { |
356 "$ref": "GetBreakpointResponse" | 356 "$ref": "GetBreakpointResponse" |
357 }, | 357 }, |
358 "scopes": [ | 358 "scopes": [ |
359 "https://www.googleapis.com/auth/cloud-p
latform", | 359 "https://www.googleapis.com/auth/cloud-p
latform", |
360 "https://www.googleapis.com/auth/cloud_d
ebugger" | 360 "https://www.googleapis.com/auth/cloud_d
ebugger" |
361 ] | 361 ] |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 "https://www.googleapis.com/auth/cloud_d
ebugger" | 418 "https://www.googleapis.com/auth/cloud_d
ebugger" |
419 ] | 419 ] |
420 } | 420 } |
421 } | 421 } |
422 } | 422 } |
423 } | 423 } |
424 } | 424 } |
425 } | 425 } |
426 } | 426 } |
427 }, | 427 }, |
428 "revision": "20170208", | 428 "revision": "20170214", |
429 "rootUrl": "https://clouddebugger.googleapis.com/", | 429 "rootUrl": "https://clouddebugger.googleapis.com/", |
430 "schemas": { | 430 "schemas": { |
431 "RegisterDebuggeeRequest": { | |
432 "description": "Request to register a debuggee.", | |
433 "id": "RegisterDebuggeeRequest", | |
434 "properties": { | |
435 "debuggee": { | |
436 "$ref": "Debuggee", | |
437 "description": "Debuggee information to register.\nThe field
s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu
st be set." | |
438 } | |
439 }, | |
440 "type": "object" | |
441 }, | |
442 "RegisterDebuggeeResponse": { | |
443 "description": "Response for registering a debuggee.", | |
444 "id": "RegisterDebuggeeResponse", | |
445 "properties": { | |
446 "debuggee": { | |
447 "$ref": "Debuggee", | |
448 "description": "Debuggee resource.\nThe field `id` is gurant
eed to be set (in addition to the echoed fields)." | |
449 } | |
450 }, | |
451 "type": "object" | |
452 }, | |
453 "GetBreakpointResponse": { | |
454 "description": "Response for getting breakpoint information.", | |
455 "id": "GetBreakpointResponse", | |
456 "properties": { | |
457 "breakpoint": { | |
458 "$ref": "Breakpoint", | |
459 "description": "Complete breakpoint state.\nThe fields `id`
and `location` are guaranteed to be set." | |
460 } | |
461 }, | |
462 "type": "object" | |
463 }, | |
464 "StatusMessage": { | |
465 "description": "Represents a contextual status message.\nThe message
can indicate an error or informational status, and refer to\nspecific parts of
the containing object.\nFor example, the `Breakpoint.status` field can indicate
an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Locati
on not found`.", | |
466 "id": "StatusMessage", | |
467 "properties": { | |
468 "isError": { | |
469 "description": "Distinguishes errors from informational mess
ages.", | |
470 "type": "boolean" | |
471 }, | |
472 "description": { | |
473 "$ref": "FormatMessage", | |
474 "description": "Status message text." | |
475 }, | |
476 "refersTo": { | |
477 "description": "Reference to which the message applies.", | |
478 "enum": [ | |
479 "UNSPECIFIED", | |
480 "BREAKPOINT_SOURCE_LOCATION", | |
481 "BREAKPOINT_CONDITION", | |
482 "BREAKPOINT_EXPRESSION", | |
483 "BREAKPOINT_AGE", | |
484 "VARIABLE_NAME", | |
485 "VARIABLE_VALUE" | |
486 ], | |
487 "enumDescriptions": [ | |
488 "Status doesn't refer to any particular input.", | |
489 "Status applies to the breakpoint and is related to its
location.", | |
490 "Status applies to the breakpoint and is related to its
condition.", | |
491 "Status applies to the breakpoint and is related to its
expressions.", | |
492 "Status applies to the breakpoint and is related to its
age.", | |
493 "Status applies to the entire variable.", | |
494 "Status applies to variable value (variable name is vali
d)." | |
495 ], | |
496 "type": "string" | |
497 } | |
498 }, | |
499 "type": "object" | |
500 }, | |
501 "GitSourceContext": { | |
502 "description": "A GitSourceContext denotes a particular revision in
a third party Git\nrepository (e.g. GitHub).", | |
503 "id": "GitSourceContext", | |
504 "properties": { | |
505 "revisionId": { | |
506 "description": "Git commit hash.\nrequired.", | |
507 "type": "string" | |
508 }, | |
509 "url": { | |
510 "description": "Git repository URL.", | |
511 "type": "string" | |
512 } | |
513 }, | |
514 "type": "object" | |
515 }, | |
516 "Variable": { | |
517 "description": "Represents a variable or an argument possibly of a c
ompound object type.\nNote how the following variables are represented:\n\n1) A
simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"in
t\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n
int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured vari
able\n name: \"x\",\n type: \"T\",\n members { name: \"m1\"
, value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\",
type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T
x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p
\",\n type: \"T*\",\n value: \"0x00500500\",\n members { na
me: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", valu
e: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captu
red:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\
n type: \"T*\",\n value: \"0x00400400\"\n status { is_error
: true, description { format: \"unavailable\" } }\n }\n\nThe status should de
scribe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessi
ble>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have m
embers.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captur
ed variable\n name: \"p\",\n value: \"0x00500500\",\n type:
\"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed p
ointer where the pointee was not captured:\n\n int* p = new int(7);\n int*
* pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value:
\"0x00500500\",\n type: \"int**\",\n members {\n value
: \"0x00400400\",\n type: \"int*\"\n status {\n
is_error: true,\n description: { format: \"unavailable\" } }
\n }\n }\n }\n\nTo optimize computation, memory and network
traffic, variables that\nrepeat in the output multiple times can be stored once
in a shared\nvariable table and be referenced using the `var_table_index` field
. The\nvariables stored in the shared table are nameless and are essentially\na
partition of the complete variable. To reconstruct the complete\nvariable, merg
e the referencing variable with the referenced variable.\n\nWhen using the share
d variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x
;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Cap
tured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table
_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // S
hared variable table entry #3:\n members { name: \"m1\", value: \"3\", ty
pe: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n
}\n\nNote that the pointer address is stored with the referencing variable\na
nd not with the referenced variable. This allows the referenced variable\nto be
shared between pointers and references.\n\nThe type field is optional. The debug
ger agent may or may not support it.", | |
518 "id": "Variable", | |
519 "properties": { | |
520 "members": { | |
521 "description": "Members contained or pointed to by the varia
ble.", | |
522 "items": { | |
523 "$ref": "Variable" | |
524 }, | |
525 "type": "array" | |
526 }, | |
527 "status": { | |
528 "$ref": "StatusMessage", | |
529 "description": "Status associated with the variable. This fi
eld will usually stay\nunset. A status of a single variable only applies to that
variable or\nexpression. The rest of breakpoint data still remains valid. Varia
bles\nmight be reported in error state even when breakpoint is not in final\nsta
te.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE
_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either ca
se variable value and members will be unset.\n\nExample of error message applied
to name: `Invalid expression syntax`.\n\nExample of information message applied
to value: `Not captured`.\n\nExamples of error message applied to value:\n\n*
`Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dere
ference`" | |
530 }, | |
531 "name": { | |
532 "description": "Name of the variable, if any.", | |
533 "type": "string" | |
534 }, | |
535 "type": { | |
536 "description": "Variable type (e.g. `MyClass`). If the varia
ble is split with\n`var_table_index`, `type` goes next to `value`. The interpret
ation of\na type is agent specific. It is recommended to include the dynamic typ
e\nrather than a static type of an object.", | |
537 "type": "string" | |
538 }, | |
539 "varTableIndex": { | |
540 "description": "Reference to a variable in the shared variab
le table. More than\none variable can reference the same variable in the table.
The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", | |
541 "format": "int32", | |
542 "type": "integer" | |
543 }, | |
544 "value": { | |
545 "description": "Simple value of the variable.", | |
546 "type": "string" | |
547 } | |
548 }, | |
549 "type": "object" | |
550 }, | |
551 "StackFrame": { | |
552 "description": "Represents a stack frame context.", | |
553 "id": "StackFrame", | |
554 "properties": { | |
555 "locals": { | |
556 "description": "Set of local variables at the stack frame lo
cation.\nNote that this might not be populated for all stack frames.", | |
557 "items": { | |
558 "$ref": "Variable" | |
559 }, | |
560 "type": "array" | |
561 }, | |
562 "location": { | |
563 "$ref": "SourceLocation", | |
564 "description": "Source location of the call site." | |
565 }, | |
566 "function": { | |
567 "description": "Demangled function name at the call site.", | |
568 "type": "string" | |
569 }, | |
570 "arguments": { | |
571 "description": "Set of arguments passed to this function.\nN
ote that this might not be populated for all stack frames.", | |
572 "items": { | |
573 "$ref": "Variable" | |
574 }, | |
575 "type": "array" | |
576 } | |
577 }, | |
578 "type": "object" | |
579 }, | |
580 "RepoId": { | |
581 "description": "A unique identifier for a cloud repo.", | |
582 "id": "RepoId", | |
583 "properties": { | |
584 "projectRepoId": { | |
585 "$ref": "ProjectRepoId", | |
586 "description": "A combination of a project ID and a repo nam
e." | |
587 }, | |
588 "uid": { | |
589 "description": "A server-assigned, globally unique identifie
r.", | |
590 "type": "string" | |
591 } | |
592 }, | |
593 "type": "object" | |
594 }, | |
595 "FormatMessage": { | |
596 "description": "Represents a message with parameters.", | |
597 "id": "FormatMessage", | |
598 "properties": { | |
599 "format": { | |
600 "description": "Format template for the message. The `format
` uses placeholders `$0`,\n`$1`, etc. to reference parameters. `$$` can be used
to denote the `$`\ncharacter.\n\nExamples:\n\n* `Failed to load '$0' which hel
ps debug $1 the first time it\n is loaded. Again, $0 is very important.`\n*
`Please pay $$10 to use $0 instead of $1.`", | |
601 "type": "string" | |
602 }, | |
603 "parameters": { | |
604 "description": "Optional parameters to be embedded into the
message.", | |
605 "items": { | |
606 "type": "string" | |
607 }, | |
608 "type": "array" | |
609 } | |
610 }, | |
611 "type": "object" | |
612 }, | |
613 "ExtendedSourceContext": { | |
614 "description": "An ExtendedSourceContext is a SourceContext combined
with additional\ndetails describing the context.", | |
615 "id": "ExtendedSourceContext", | |
616 "properties": { | |
617 "labels": { | |
618 "additionalProperties": { | |
619 "type": "string" | |
620 }, | |
621 "description": "Labels with user defined metadata.", | |
622 "type": "object" | |
623 }, | |
624 "context": { | |
625 "$ref": "SourceContext", | |
626 "description": "Any source context." | |
627 } | |
628 }, | |
629 "type": "object" | |
630 }, | |
631 "AliasContext": { | |
632 "description": "An alias to a repo revision.", | |
633 "id": "AliasContext", | |
634 "properties": { | |
635 "name": { | |
636 "description": "The alias name.", | |
637 "type": "string" | |
638 }, | |
639 "kind": { | |
640 "description": "The alias kind.", | |
641 "enum": [ | |
642 "ANY", | |
643 "FIXED", | |
644 "MOVABLE", | |
645 "OTHER" | |
646 ], | |
647 "enumDescriptions": [ | |
648 "Do not use.", | |
649 "Git tag", | |
650 "Git branch", | |
651 "OTHER is used to specify non-standard aliases, those no
t of the kinds\nabove. For example, if a Git repo has a ref named \"refs/foo/bar
\", it\nis considered to be of kind OTHER." | |
652 ], | |
653 "type": "string" | |
654 } | |
655 }, | |
656 "type": "object" | |
657 }, | |
658 "ListDebuggeesResponse": { | |
659 "description": "Response for listing debuggees.", | |
660 "id": "ListDebuggeesResponse", | |
661 "properties": { | |
662 "debuggees": { | |
663 "description": "List of debuggees accessible to the calling
user.\nNote that the `description` field is the only human readable field\nthat
should be displayed to the user.\nThe fields `debuggee.id` and `description` fi
elds are guaranteed to be\nset on each debuggee.", | |
664 "items": { | |
665 "$ref": "Debuggee" | |
666 }, | |
667 "type": "array" | |
668 } | |
669 }, | |
670 "type": "object" | |
671 }, | |
672 "Empty": { | |
673 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | |
674 "id": "Empty", | |
675 "properties": {}, | |
676 "type": "object" | |
677 }, | |
678 "SourceLocation": { | |
679 "description": "Represents a location in the source code.", | |
680 "id": "SourceLocation", | |
681 "properties": { | |
682 "path": { | |
683 "description": "Path to the source file within the source co
ntext of the target binary.", | |
684 "type": "string" | |
685 }, | |
686 "line": { | |
687 "description": "Line inside the file. The first line in the
file has the value `1`.", | |
688 "format": "int32", | |
689 "type": "integer" | |
690 } | |
691 }, | |
692 "type": "object" | |
693 }, | |
694 "Debuggee": { | 431 "Debuggee": { |
695 "description": "Represents the application to debug. The application
may include one or more\nreplicated processes executing the same code. Each of
these processes is\nattached with a debugger agent, carrying out the debugging c
ommands.\nThe agents attached to the same debuggee are identified by using exact
ly the\nsame field values when registering.", | 432 "description": "Represents the application to debug. The application
may include one or more\nreplicated processes executing the same code. Each of
these processes is\nattached with a debugger agent, carrying out the debugging c
ommands.\nThe agents attached to the same debuggee are identified by using exact
ly the\nsame field values when registering.", |
696 "id": "Debuggee", | 433 "id": "Debuggee", |
697 "properties": { | 434 "properties": { |
| 435 "uniquifier": { |
| 436 "description": "Debuggee uniquifier within the project.\nAny
string that identifies the application within the project can be used.\nIncludi
ng environment and version or build IDs is recommended.", |
| 437 "type": "string" |
| 438 }, |
698 "description": { | 439 "description": { |
699 "description": "Human readable description of the debuggee.\
nIncluding a human-readable project name, environment name and version\ninformat
ion is recommended.", | 440 "description": "Human readable description of the debuggee.\
nIncluding a human-readable project name, environment name and version\ninformat
ion is recommended.", |
700 "type": "string" | 441 "type": "string" |
701 }, | 442 }, |
702 "uniquifier": { | |
703 "description": "Debuggee uniquifier within the project.\nAny
string that identifies the application within the project can be used.\nIncludi
ng environment and version or build IDs is recommended.", | |
704 "type": "string" | |
705 }, | |
706 "sourceContexts": { | 443 "sourceContexts": { |
707 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.\n\nNOTE: This field is depre
cated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug age
nts should populate\nboth this field and `ext_source_contexts`.", | 444 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.\n\nNOTE: This field is depre
cated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug age
nts should populate\nboth this field and `ext_source_contexts`.", |
708 "items": { | 445 "items": { |
709 "$ref": "SourceContext" | 446 "$ref": "SourceContext" |
710 }, | 447 }, |
711 "type": "array" | 448 "type": "array" |
712 }, | 449 }, |
713 "extSourceContexts": { | 450 "extSourceContexts": { |
714 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.\n\nContexts describing a rem
ote repo related to the source code\nhave a `category` label of `remote_repo`. S
ource snapshot source\ncontexts have a `category` of `snapshot`.", | 451 "description": "References to the locations and revisions of
the source code used in the\ndeployed application.\n\nContexts describing a rem
ote repo related to the source code\nhave a `category` label of `remote_repo`. S
ource snapshot source\ncontexts have a `category` of `snapshot`.", |
715 "items": { | 452 "items": { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 "description": "The name of the repo. Leave empty for the de
fault repo.", | 522 "description": "The name of the repo. Leave empty for the de
fault repo.", |
786 "type": "string" | 523 "type": "string" |
787 } | 524 } |
788 }, | 525 }, |
789 "type": "object" | 526 "type": "object" |
790 }, | 527 }, |
791 "CloudWorkspaceSourceContext": { | 528 "CloudWorkspaceSourceContext": { |
792 "description": "A CloudWorkspaceSourceContext denotes a workspace at
a particular snapshot.", | 529 "description": "A CloudWorkspaceSourceContext denotes a workspace at
a particular snapshot.", |
793 "id": "CloudWorkspaceSourceContext", | 530 "id": "CloudWorkspaceSourceContext", |
794 "properties": { | 531 "properties": { |
| 532 "workspaceId": { |
| 533 "$ref": "CloudWorkspaceId", |
| 534 "description": "The ID of the workspace." |
| 535 }, |
795 "snapshotId": { | 536 "snapshotId": { |
796 "description": "The ID of the snapshot.\nAn empty snapshot_i
d refers to the most recent snapshot.", | 537 "description": "The ID of the snapshot.\nAn empty snapshot_i
d refers to the most recent snapshot.", |
797 "type": "string" | 538 "type": "string" |
798 }, | |
799 "workspaceId": { | |
800 "$ref": "CloudWorkspaceId", | |
801 "description": "The ID of the workspace." | |
802 } | 539 } |
803 }, | 540 }, |
804 "type": "object" | 541 "type": "object" |
805 }, | 542 }, |
806 "UpdateActiveBreakpointResponse": { | 543 "UpdateActiveBreakpointResponse": { |
807 "description": "Response for updating an active breakpoint.\nThe mes
sage is defined to allow future extensions.", | 544 "description": "Response for updating an active breakpoint.\nThe mes
sage is defined to allow future extensions.", |
808 "id": "UpdateActiveBreakpointResponse", | 545 "id": "UpdateActiveBreakpointResponse", |
809 "properties": {}, | 546 "properties": {}, |
810 "type": "object" | 547 "type": "object" |
811 }, | 548 }, |
812 "GerritSourceContext": { | 549 "GerritSourceContext": { |
813 "description": "A SourceContext referring to a Gerrit project.", | 550 "description": "A SourceContext referring to a Gerrit project.", |
814 "id": "GerritSourceContext", | 551 "id": "GerritSourceContext", |
815 "properties": { | 552 "properties": { |
816 "gerritProject": { | |
817 "description": "The full project name within the host. Proje
cts may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"re
po name\" is hostURI/project.", | |
818 "type": "string" | |
819 }, | |
820 "aliasContext": { | |
821 "$ref": "AliasContext", | |
822 "description": "An alias, which may be a branch or tag." | |
823 }, | |
824 "hostUri": { | 553 "hostUri": { |
825 "description": "The URI of a running Gerrit instance.", | 554 "description": "The URI of a running Gerrit instance.", |
826 "type": "string" | 555 "type": "string" |
827 }, | 556 }, |
828 "revisionId": { | 557 "revisionId": { |
829 "description": "A revision (commit) ID.", | 558 "description": "A revision (commit) ID.", |
830 "type": "string" | 559 "type": "string" |
831 }, | 560 }, |
832 "aliasName": { | 561 "aliasName": { |
833 "description": "The name of an alias (branch, tag, etc.).", | 562 "description": "The name of an alias (branch, tag, etc.).", |
834 "type": "string" | 563 "type": "string" |
| 564 }, |
| 565 "gerritProject": { |
| 566 "description": "The full project name within the host. Proje
cts may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"re
po name\" is hostURI/project.", |
| 567 "type": "string" |
| 568 }, |
| 569 "aliasContext": { |
| 570 "$ref": "AliasContext", |
| 571 "description": "An alias, which may be a branch or tag." |
835 } | 572 } |
836 }, | 573 }, |
837 "type": "object" | 574 "type": "object" |
838 }, | 575 }, |
839 "CloudWorkspaceId": { | 576 "CloudWorkspaceId": { |
840 "description": "A CloudWorkspaceId is a unique identifier for a clou
d workspace.\nA cloud workspace is a place associated with a repo where modified
files\ncan be stored before they are committed.", | 577 "description": "A CloudWorkspaceId is a unique identifier for a clou
d workspace.\nA cloud workspace is a place associated with a repo where modified
files\ncan be stored before they are committed.", |
841 "id": "CloudWorkspaceId", | 578 "id": "CloudWorkspaceId", |
842 "properties": { | 579 "properties": { |
843 "repoId": { | 580 "repoId": { |
844 "$ref": "RepoId", | 581 "$ref": "RepoId", |
(...skipping 21 matching lines...) Expand all Loading... |
866 }, | 603 }, |
867 "type": "array" | 604 "type": "array" |
868 } | 605 } |
869 }, | 606 }, |
870 "type": "object" | 607 "type": "object" |
871 }, | 608 }, |
872 "Breakpoint": { | 609 "Breakpoint": { |
873 "description": "Represents the breakpoint specification, status and
results.", | 610 "description": "Represents the breakpoint specification, status and
results.", |
874 "id": "Breakpoint", | 611 "id": "Breakpoint", |
875 "properties": { | 612 "properties": { |
876 "location": { | |
877 "$ref": "SourceLocation", | |
878 "description": "Breakpoint source location." | |
879 }, | |
880 "finalTime": { | |
881 "description": "Time this breakpoint was finalized as seen b
y the server in seconds\nresolution.", | |
882 "format": "google-datetime", | |
883 "type": "string" | |
884 }, | |
885 "variableTable": { | |
886 "description": "The `variable_table` exists to aid with comp
utation, memory and network\ntraffic optimization. It enables storing a variabl
e once and reference\nit from multiple variables, including variables stored in
the\n`variable_table` itself.\nFor example, the same `this` object, which may ap
pear at many levels of\nthe stack, can have all of its data stored once in this
table. The\nstack frame variables then would hold only a reference to it.\n\nTh
e variable `var_table_index` field is an index into this repeated field.\nThe st
ored objects are nameless and get their name from the referencing\nvariable. The
effective variable is a merge of the referencing variable\nand the referenced v
ariable.", | |
887 "items": { | |
888 "$ref": "Variable" | |
889 }, | |
890 "type": "array" | |
891 }, | |
892 "createTime": { | |
893 "description": "Time this breakpoint was created by the serv
er in seconds resolution.", | |
894 "format": "google-datetime", | |
895 "type": "string" | |
896 }, | |
897 "labels": { | |
898 "additionalProperties": { | |
899 "type": "string" | |
900 }, | |
901 "description": "A set of custom breakpoint properties, popul
ated by the agent, to be\ndisplayed to the user.", | |
902 "type": "object" | |
903 }, | |
904 "logMessageFormat": { | |
905 "description": "Only relevant when action is `LOG`. Defines
the message to log when\nthe breakpoint hits. The message may include parameter
placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluate
d value\nof the appropriate expression. Expressions not referenced in\n`log_mess
age_format` are not logged.\n\nExample: `Message received, id = $0, count = $1`
with\n`expressions` = `[ message.id, message.count ]`.", | |
906 "type": "string" | |
907 }, | |
908 "expressions": { | |
909 "description": "List of read-only expressions to evaluate at
the breakpoint location.\nThe expressions are composed using expressions in the
programming language\nat the source location. If the breakpoint action is `LOG`
, the evaluated\nexpressions are included in log statements.", | |
910 "items": { | |
911 "type": "string" | |
912 }, | |
913 "type": "array" | |
914 }, | |
915 "evaluatedExpressions": { | 613 "evaluatedExpressions": { |
916 "description": "Values of evaluated expressions at breakpoin
t time.\nThe evaluated expressions appear in exactly the same order they\nare li
sted in the `expressions` field.\nThe `name` field holds the original expression
text, the `value` or\n`members` field holds the result of the evaluated express
ion.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\
nwill indicate an error and contain the error text.", | 614 "description": "Values of evaluated expressions at breakpoin
t time.\nThe evaluated expressions appear in exactly the same order they\nare li
sted in the `expressions` field.\nThe `name` field holds the original expression
text, the `value` or\n`members` field holds the result of the evaluated express
ion.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\
nwill indicate an error and contain the error text.", |
917 "items": { | 615 "items": { |
918 "$ref": "Variable" | 616 "$ref": "Variable" |
919 }, | 617 }, |
920 "type": "array" | 618 "type": "array" |
921 }, | 619 }, |
922 "isFinalState": { | 620 "isFinalState": { |
923 "description": "When true, indicates that this is a final re
sult and the\nbreakpoint state will not change from here on.", | 621 "description": "When true, indicates that this is a final re
sult and the\nbreakpoint state will not change from here on.", |
924 "type": "boolean" | 622 "type": "boolean" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 "enumDescriptions": [ | 662 "enumDescriptions": [ |
965 "Information log message.", | 663 "Information log message.", |
966 "Warning log message.", | 664 "Warning log message.", |
967 "Error log message." | 665 "Error log message." |
968 ], | 666 ], |
969 "type": "string" | 667 "type": "string" |
970 }, | 668 }, |
971 "id": { | 669 "id": { |
972 "description": "Breakpoint identifier, unique in the scope o
f the debuggee.", | 670 "description": "Breakpoint identifier, unique in the scope o
f the debuggee.", |
973 "type": "string" | 671 "type": "string" |
| 672 }, |
| 673 "location": { |
| 674 "$ref": "SourceLocation", |
| 675 "description": "Breakpoint source location." |
| 676 }, |
| 677 "finalTime": { |
| 678 "description": "Time this breakpoint was finalized as seen b
y the server in seconds\nresolution.", |
| 679 "format": "google-datetime", |
| 680 "type": "string" |
| 681 }, |
| 682 "variableTable": { |
| 683 "description": "The `variable_table` exists to aid with comp
utation, memory and network\ntraffic optimization. It enables storing a variabl
e once and reference\nit from multiple variables, including variables stored in
the\n`variable_table` itself.\nFor example, the same `this` object, which may ap
pear at many levels of\nthe stack, can have all of its data stored once in this
table. The\nstack frame variables then would hold only a reference to it.\n\nTh
e variable `var_table_index` field is an index into this repeated field.\nThe st
ored objects are nameless and get their name from the referencing\nvariable. The
effective variable is a merge of the referencing variable\nand the referenced v
ariable.", |
| 684 "items": { |
| 685 "$ref": "Variable" |
| 686 }, |
| 687 "type": "array" |
| 688 }, |
| 689 "createTime": { |
| 690 "description": "Time this breakpoint was created by the serv
er in seconds resolution.", |
| 691 "format": "google-datetime", |
| 692 "type": "string" |
| 693 }, |
| 694 "logMessageFormat": { |
| 695 "description": "Only relevant when action is `LOG`. Defines
the message to log when\nthe breakpoint hits. The message may include parameter
placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluate
d value\nof the appropriate expression. Expressions not referenced in\n`log_mess
age_format` are not logged.\n\nExample: `Message received, id = $0, count = $1`
with\n`expressions` = `[ message.id, message.count ]`.", |
| 696 "type": "string" |
| 697 }, |
| 698 "labels": { |
| 699 "additionalProperties": { |
| 700 "type": "string" |
| 701 }, |
| 702 "description": "A set of custom breakpoint properties, popul
ated by the agent, to be\ndisplayed to the user.", |
| 703 "type": "object" |
| 704 }, |
| 705 "expressions": { |
| 706 "description": "List of read-only expressions to evaluate at
the breakpoint location.\nThe expressions are composed using expressions in the
programming language\nat the source location. If the breakpoint action is `LOG`
, the evaluated\nexpressions are included in log statements.", |
| 707 "items": { |
| 708 "type": "string" |
| 709 }, |
| 710 "type": "array" |
974 } | 711 } |
975 }, | 712 }, |
976 "type": "object" | 713 "type": "object" |
977 }, | 714 }, |
978 "SetBreakpointResponse": { | 715 "SetBreakpointResponse": { |
979 "description": "Response for setting a breakpoint.", | 716 "description": "Response for setting a breakpoint.", |
980 "id": "SetBreakpointResponse", | 717 "id": "SetBreakpointResponse", |
981 "properties": { | 718 "properties": { |
982 "breakpoint": { | 719 "breakpoint": { |
983 "$ref": "Breakpoint", | 720 "$ref": "Breakpoint", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 "$ref": "GitSourceContext", | 754 "$ref": "GitSourceContext", |
1018 "description": "A SourceContext referring to any third party
Git repo (e.g. GitHub)." | 755 "description": "A SourceContext referring to any third party
Git repo (e.g. GitHub)." |
1019 } | 756 } |
1020 }, | 757 }, |
1021 "type": "object" | 758 "type": "object" |
1022 }, | 759 }, |
1023 "CloudRepoSourceContext": { | 760 "CloudRepoSourceContext": { |
1024 "description": "A CloudRepoSourceContext denotes a particular revisi
on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", | 761 "description": "A CloudRepoSourceContext denotes a particular revisi
on in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", |
1025 "id": "CloudRepoSourceContext", | 762 "id": "CloudRepoSourceContext", |
1026 "properties": { | 763 "properties": { |
| 764 "revisionId": { |
| 765 "description": "A revision ID.", |
| 766 "type": "string" |
| 767 }, |
| 768 "aliasName": { |
| 769 "description": "The name of an alias (branch, tag, etc.).", |
| 770 "type": "string" |
| 771 }, |
1027 "repoId": { | 772 "repoId": { |
1028 "$ref": "RepoId", | 773 "$ref": "RepoId", |
1029 "description": "The ID of the repo." | 774 "description": "The ID of the repo." |
1030 }, | 775 }, |
1031 "aliasContext": { | 776 "aliasContext": { |
1032 "$ref": "AliasContext", | 777 "$ref": "AliasContext", |
1033 "description": "An alias, which may be a branch or tag." | 778 "description": "An alias, which may be a branch or tag." |
1034 }, | 779 } |
| 780 }, |
| 781 "type": "object" |
| 782 }, |
| 783 "RegisterDebuggeeResponse": { |
| 784 "description": "Response for registering a debuggee.", |
| 785 "id": "RegisterDebuggeeResponse", |
| 786 "properties": { |
| 787 "debuggee": { |
| 788 "$ref": "Debuggee", |
| 789 "description": "Debuggee resource.\nThe field `id` is gurant
eed to be set (in addition to the echoed fields)." |
| 790 } |
| 791 }, |
| 792 "type": "object" |
| 793 }, |
| 794 "RegisterDebuggeeRequest": { |
| 795 "description": "Request to register a debuggee.", |
| 796 "id": "RegisterDebuggeeRequest", |
| 797 "properties": { |
| 798 "debuggee": { |
| 799 "$ref": "Debuggee", |
| 800 "description": "Debuggee information to register.\nThe field
s `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee mu
st be set." |
| 801 } |
| 802 }, |
| 803 "type": "object" |
| 804 }, |
| 805 "GetBreakpointResponse": { |
| 806 "description": "Response for getting breakpoint information.", |
| 807 "id": "GetBreakpointResponse", |
| 808 "properties": { |
| 809 "breakpoint": { |
| 810 "$ref": "Breakpoint", |
| 811 "description": "Complete breakpoint state.\nThe fields `id`
and `location` are guaranteed to be set." |
| 812 } |
| 813 }, |
| 814 "type": "object" |
| 815 }, |
| 816 "StatusMessage": { |
| 817 "description": "Represents a contextual status message.\nThe message
can indicate an error or informational status, and refer to\nspecific parts of
the containing object.\nFor example, the `Breakpoint.status` field can indicate
an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Locati
on not found`.", |
| 818 "id": "StatusMessage", |
| 819 "properties": { |
| 820 "isError": { |
| 821 "description": "Distinguishes errors from informational mess
ages.", |
| 822 "type": "boolean" |
| 823 }, |
| 824 "description": { |
| 825 "$ref": "FormatMessage", |
| 826 "description": "Status message text." |
| 827 }, |
| 828 "refersTo": { |
| 829 "description": "Reference to which the message applies.", |
| 830 "enum": [ |
| 831 "UNSPECIFIED", |
| 832 "BREAKPOINT_SOURCE_LOCATION", |
| 833 "BREAKPOINT_CONDITION", |
| 834 "BREAKPOINT_EXPRESSION", |
| 835 "BREAKPOINT_AGE", |
| 836 "VARIABLE_NAME", |
| 837 "VARIABLE_VALUE" |
| 838 ], |
| 839 "enumDescriptions": [ |
| 840 "Status doesn't refer to any particular input.", |
| 841 "Status applies to the breakpoint and is related to its
location.", |
| 842 "Status applies to the breakpoint and is related to its
condition.", |
| 843 "Status applies to the breakpoint and is related to its
expressions.", |
| 844 "Status applies to the breakpoint and is related to its
age.", |
| 845 "Status applies to the entire variable.", |
| 846 "Status applies to variable value (variable name is vali
d)." |
| 847 ], |
| 848 "type": "string" |
| 849 } |
| 850 }, |
| 851 "type": "object" |
| 852 }, |
| 853 "GitSourceContext": { |
| 854 "description": "A GitSourceContext denotes a particular revision in
a third party Git\nrepository (e.g. GitHub).", |
| 855 "id": "GitSourceContext", |
| 856 "properties": { |
1035 "revisionId": { | 857 "revisionId": { |
1036 "description": "A revision ID.", | 858 "description": "Git commit hash.\nrequired.", |
1037 "type": "string" | 859 "type": "string" |
1038 }, | 860 }, |
1039 "aliasName": { | 861 "url": { |
1040 "description": "The name of an alias (branch, tag, etc.).", | 862 "description": "Git repository URL.", |
1041 "type": "string" | 863 "type": "string" |
| 864 } |
| 865 }, |
| 866 "type": "object" |
| 867 }, |
| 868 "Variable": { |
| 869 "description": "Represents a variable or an argument possibly of a c
ompound object type.\nNote how the following variables are represented:\n\n1) A
simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"in
t\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n
int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured vari
able\n name: \"x\",\n type: \"T\",\n members { name: \"m1\"
, value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\",
type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T
x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p
\",\n type: \"T*\",\n value: \"0x00500500\",\n members { na
me: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", valu
e: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captu
red:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\
n type: \"T*\",\n value: \"0x00400400\"\n status { is_error
: true, description { format: \"unavailable\" } }\n }\n\nThe status should de
scribe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessi
ble>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have m
embers.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captur
ed variable\n name: \"p\",\n value: \"0x00500500\",\n type:
\"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed p
ointer where the pointee was not captured:\n\n int* p = new int(7);\n int*
* pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value:
\"0x00500500\",\n type: \"int**\",\n members {\n value
: \"0x00400400\",\n type: \"int*\"\n status {\n
is_error: true,\n description: { format: \"unavailable\" } }
\n }\n }\n }\n\nTo optimize computation, memory and network
traffic, variables that\nrepeat in the output multiple times can be stored once
in a shared\nvariable table and be referenced using the `var_table_index` field
. The\nvariables stored in the shared table are nameless and are essentially\na
partition of the complete variable. To reconstruct the complete\nvariable, merg
e the referencing variable with the referenced variable.\n\nWhen using the share
d variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x
;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Cap
tured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table
_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // S
hared variable table entry #3:\n members { name: \"m1\", value: \"3\", ty
pe: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n
}\n\nNote that the pointer address is stored with the referencing variable\na
nd not with the referenced variable. This allows the referenced variable\nto be
shared between pointers and references.\n\nThe type field is optional. The debug
ger agent may or may not support it.", |
| 870 "id": "Variable", |
| 871 "properties": { |
| 872 "members": { |
| 873 "description": "Members contained or pointed to by the varia
ble.", |
| 874 "items": { |
| 875 "$ref": "Variable" |
| 876 }, |
| 877 "type": "array" |
| 878 }, |
| 879 "status": { |
| 880 "$ref": "StatusMessage", |
| 881 "description": "Status associated with the variable. This fi
eld will usually stay\nunset. A status of a single variable only applies to that
variable or\nexpression. The rest of breakpoint data still remains valid. Varia
bles\nmight be reported in error state even when breakpoint is not in final\nsta
te.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE
_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either ca
se variable value and members will be unset.\n\nExample of error message applied
to name: `Invalid expression syntax`.\n\nExample of information message applied
to value: `Not captured`.\n\nExamples of error message applied to value:\n\n*
`Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dere
ference`" |
| 882 }, |
| 883 "name": { |
| 884 "description": "Name of the variable, if any.", |
| 885 "type": "string" |
| 886 }, |
| 887 "type": { |
| 888 "description": "Variable type (e.g. `MyClass`). If the varia
ble is split with\n`var_table_index`, `type` goes next to `value`. The interpret
ation of\na type is agent specific. It is recommended to include the dynamic typ
e\nrather than a static type of an object.", |
| 889 "type": "string" |
| 890 }, |
| 891 "varTableIndex": { |
| 892 "description": "Reference to a variable in the shared variab
le table. More than\none variable can reference the same variable in the table.
The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", |
| 893 "format": "int32", |
| 894 "type": "integer" |
| 895 }, |
| 896 "value": { |
| 897 "description": "Simple value of the variable.", |
| 898 "type": "string" |
| 899 } |
| 900 }, |
| 901 "type": "object" |
| 902 }, |
| 903 "StackFrame": { |
| 904 "description": "Represents a stack frame context.", |
| 905 "id": "StackFrame", |
| 906 "properties": { |
| 907 "arguments": { |
| 908 "description": "Set of arguments passed to this function.\nN
ote that this might not be populated for all stack frames.", |
| 909 "items": { |
| 910 "$ref": "Variable" |
| 911 }, |
| 912 "type": "array" |
| 913 }, |
| 914 "locals": { |
| 915 "description": "Set of local variables at the stack frame lo
cation.\nNote that this might not be populated for all stack frames.", |
| 916 "items": { |
| 917 "$ref": "Variable" |
| 918 }, |
| 919 "type": "array" |
| 920 }, |
| 921 "location": { |
| 922 "$ref": "SourceLocation", |
| 923 "description": "Source location of the call site." |
| 924 }, |
| 925 "function": { |
| 926 "description": "Demangled function name at the call site.", |
| 927 "type": "string" |
| 928 } |
| 929 }, |
| 930 "type": "object" |
| 931 }, |
| 932 "RepoId": { |
| 933 "description": "A unique identifier for a cloud repo.", |
| 934 "id": "RepoId", |
| 935 "properties": { |
| 936 "projectRepoId": { |
| 937 "$ref": "ProjectRepoId", |
| 938 "description": "A combination of a project ID and a repo nam
e." |
| 939 }, |
| 940 "uid": { |
| 941 "description": "A server-assigned, globally unique identifie
r.", |
| 942 "type": "string" |
| 943 } |
| 944 }, |
| 945 "type": "object" |
| 946 }, |
| 947 "FormatMessage": { |
| 948 "description": "Represents a message with parameters.", |
| 949 "id": "FormatMessage", |
| 950 "properties": { |
| 951 "format": { |
| 952 "description": "Format template for the message. The `format
` uses placeholders `$0`,\n`$1`, etc. to reference parameters. `$$` can be used
to denote the `$`\ncharacter.\n\nExamples:\n\n* `Failed to load '$0' which hel
ps debug $1 the first time it\n is loaded. Again, $0 is very important.`\n*
`Please pay $$10 to use $0 instead of $1.`", |
| 953 "type": "string" |
| 954 }, |
| 955 "parameters": { |
| 956 "description": "Optional parameters to be embedded into the
message.", |
| 957 "items": { |
| 958 "type": "string" |
| 959 }, |
| 960 "type": "array" |
| 961 } |
| 962 }, |
| 963 "type": "object" |
| 964 }, |
| 965 "ExtendedSourceContext": { |
| 966 "description": "An ExtendedSourceContext is a SourceContext combined
with additional\ndetails describing the context.", |
| 967 "id": "ExtendedSourceContext", |
| 968 "properties": { |
| 969 "labels": { |
| 970 "additionalProperties": { |
| 971 "type": "string" |
| 972 }, |
| 973 "description": "Labels with user defined metadata.", |
| 974 "type": "object" |
| 975 }, |
| 976 "context": { |
| 977 "$ref": "SourceContext", |
| 978 "description": "Any source context." |
| 979 } |
| 980 }, |
| 981 "type": "object" |
| 982 }, |
| 983 "ListDebuggeesResponse": { |
| 984 "description": "Response for listing debuggees.", |
| 985 "id": "ListDebuggeesResponse", |
| 986 "properties": { |
| 987 "debuggees": { |
| 988 "description": "List of debuggees accessible to the calling
user.\nNote that the `description` field is the only human readable field\nthat
should be displayed to the user.\nThe fields `debuggee.id` and `description` fi
elds are guaranteed to be\nset on each debuggee.", |
| 989 "items": { |
| 990 "$ref": "Debuggee" |
| 991 }, |
| 992 "type": "array" |
| 993 } |
| 994 }, |
| 995 "type": "object" |
| 996 }, |
| 997 "AliasContext": { |
| 998 "description": "An alias to a repo revision.", |
| 999 "id": "AliasContext", |
| 1000 "properties": { |
| 1001 "name": { |
| 1002 "description": "The alias name.", |
| 1003 "type": "string" |
| 1004 }, |
| 1005 "kind": { |
| 1006 "description": "The alias kind.", |
| 1007 "enum": [ |
| 1008 "ANY", |
| 1009 "FIXED", |
| 1010 "MOVABLE", |
| 1011 "OTHER" |
| 1012 ], |
| 1013 "enumDescriptions": [ |
| 1014 "Do not use.", |
| 1015 "Git tag", |
| 1016 "Git branch", |
| 1017 "OTHER is used to specify non-standard aliases, those no
t of the kinds\nabove. For example, if a Git repo has a ref named \"refs/foo/bar
\", it\nis considered to be of kind OTHER." |
| 1018 ], |
| 1019 "type": "string" |
| 1020 } |
| 1021 }, |
| 1022 "type": "object" |
| 1023 }, |
| 1024 "Empty": { |
| 1025 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 1026 "id": "Empty", |
| 1027 "properties": {}, |
| 1028 "type": "object" |
| 1029 }, |
| 1030 "SourceLocation": { |
| 1031 "description": "Represents a location in the source code.", |
| 1032 "id": "SourceLocation", |
| 1033 "properties": { |
| 1034 "path": { |
| 1035 "description": "Path to the source file within the source co
ntext of the target binary.", |
| 1036 "type": "string" |
| 1037 }, |
| 1038 "line": { |
| 1039 "description": "Line inside the file. The first line in the
file has the value `1`.", |
| 1040 "format": "int32", |
| 1041 "type": "integer" |
1042 } | 1042 } |
1043 }, | 1043 }, |
1044 "type": "object" | 1044 "type": "object" |
1045 } | 1045 } |
1046 }, | 1046 }, |
1047 "servicePath": "", | 1047 "servicePath": "", |
1048 "title": "Stackdriver Debugger API", | 1048 "title": "Stackdriver Debugger API", |
1049 "version": "v2" | 1049 "version": "v2" |
1050 } | 1050 } |
OLD | NEW |