/usr/share/gocode/src/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go is in golang-google-genproto-dev 0.0~git20171123.7f0da29-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/clouddebugger/v2/data.proto
package clouddebugger
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_devtools_source_v1 "google.golang.org/genproto/googleapis/devtools/source/v1"
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
import google_protobuf2 "github.com/golang/protobuf/ptypes/wrappers"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Enumerates references to which the message applies.
type StatusMessage_Reference int32
const (
// Status doesn't refer to any particular input.
StatusMessage_UNSPECIFIED StatusMessage_Reference = 0
// Status applies to the breakpoint and is related to its location.
StatusMessage_BREAKPOINT_SOURCE_LOCATION StatusMessage_Reference = 3
// Status applies to the breakpoint and is related to its condition.
StatusMessage_BREAKPOINT_CONDITION StatusMessage_Reference = 4
// Status applies to the breakpoint and is related to its expressions.
StatusMessage_BREAKPOINT_EXPRESSION StatusMessage_Reference = 7
// Status applies to the breakpoint and is related to its age.
StatusMessage_BREAKPOINT_AGE StatusMessage_Reference = 8
// Status applies to the entire variable.
StatusMessage_VARIABLE_NAME StatusMessage_Reference = 5
// Status applies to variable value (variable name is valid).
StatusMessage_VARIABLE_VALUE StatusMessage_Reference = 6
)
var StatusMessage_Reference_name = map[int32]string{
0: "UNSPECIFIED",
3: "BREAKPOINT_SOURCE_LOCATION",
4: "BREAKPOINT_CONDITION",
7: "BREAKPOINT_EXPRESSION",
8: "BREAKPOINT_AGE",
5: "VARIABLE_NAME",
6: "VARIABLE_VALUE",
}
var StatusMessage_Reference_value = map[string]int32{
"UNSPECIFIED": 0,
"BREAKPOINT_SOURCE_LOCATION": 3,
"BREAKPOINT_CONDITION": 4,
"BREAKPOINT_EXPRESSION": 7,
"BREAKPOINT_AGE": 8,
"VARIABLE_NAME": 5,
"VARIABLE_VALUE": 6,
}
func (x StatusMessage_Reference) String() string {
return proto.EnumName(StatusMessage_Reference_name, int32(x))
}
func (StatusMessage_Reference) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{1, 0} }
// Actions that can be taken when a breakpoint hits.
// Agents should reject breakpoints with unsupported or unknown action values.
type Breakpoint_Action int32
const (
// Capture stack frame and variables and update the breakpoint.
// The data is only captured once. After that the breakpoint is set
// in a final state.
Breakpoint_CAPTURE Breakpoint_Action = 0
// Log each breakpoint hit. The breakpoint remains active until
// deleted or expired.
Breakpoint_LOG Breakpoint_Action = 1
)
var Breakpoint_Action_name = map[int32]string{
0: "CAPTURE",
1: "LOG",
}
var Breakpoint_Action_value = map[string]int32{
"CAPTURE": 0,
"LOG": 1,
}
func (x Breakpoint_Action) String() string {
return proto.EnumName(Breakpoint_Action_name, int32(x))
}
func (Breakpoint_Action) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{5, 0} }
// Log severity levels.
type Breakpoint_LogLevel int32
const (
// Information log message.
Breakpoint_INFO Breakpoint_LogLevel = 0
// Warning log message.
Breakpoint_WARNING Breakpoint_LogLevel = 1
// Error log message.
Breakpoint_ERROR Breakpoint_LogLevel = 2
)
var Breakpoint_LogLevel_name = map[int32]string{
0: "INFO",
1: "WARNING",
2: "ERROR",
}
var Breakpoint_LogLevel_value = map[string]int32{
"INFO": 0,
"WARNING": 1,
"ERROR": 2,
}
func (x Breakpoint_LogLevel) String() string {
return proto.EnumName(Breakpoint_LogLevel_name, int32(x))
}
func (Breakpoint_LogLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{5, 1} }
// Represents a message with parameters.
type FormatMessage struct {
// Format template for the message. The `format` uses placeholders `$0`,
// `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
// character.
//
// Examples:
//
// * `Failed to load '$0' which helps debug $1 the first time it
// is loaded. Again, $0 is very important.`
// * `Please pay $$10 to use $0 instead of $1.`
Format string `protobuf:"bytes,1,opt,name=format" json:"format,omitempty"`
// Optional parameters to be embedded into the message.
Parameters []string `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"`
}
func (m *FormatMessage) Reset() { *m = FormatMessage{} }
func (m *FormatMessage) String() string { return proto.CompactTextString(m) }
func (*FormatMessage) ProtoMessage() {}
func (*FormatMessage) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *FormatMessage) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *FormatMessage) GetParameters() []string {
if m != nil {
return m.Parameters
}
return nil
}
// Represents a contextual status message.
// The message can indicate an error or informational status, and refer to
// specific parts of the containing object.
// For example, the `Breakpoint.status` field can indicate an error referring
// to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
type StatusMessage struct {
// Distinguishes errors from informational messages.
IsError bool `protobuf:"varint,1,opt,name=is_error,json=isError" json:"is_error,omitempty"`
// Reference to which the message applies.
RefersTo StatusMessage_Reference `protobuf:"varint,2,opt,name=refers_to,json=refersTo,enum=google.devtools.clouddebugger.v2.StatusMessage_Reference" json:"refers_to,omitempty"`
// Status message text.
Description *FormatMessage `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
}
func (m *StatusMessage) Reset() { *m = StatusMessage{} }
func (m *StatusMessage) String() string { return proto.CompactTextString(m) }
func (*StatusMessage) ProtoMessage() {}
func (*StatusMessage) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *StatusMessage) GetIsError() bool {
if m != nil {
return m.IsError
}
return false
}
func (m *StatusMessage) GetRefersTo() StatusMessage_Reference {
if m != nil {
return m.RefersTo
}
return StatusMessage_UNSPECIFIED
}
func (m *StatusMessage) GetDescription() *FormatMessage {
if m != nil {
return m.Description
}
return nil
}
// Represents a location in the source code.
type SourceLocation struct {
// Path to the source file within the source context of the target binary.
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
// Line inside the file. The first line in the file has the value `1`.
Line int32 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
}
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
func (*SourceLocation) ProtoMessage() {}
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *SourceLocation) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *SourceLocation) GetLine() int32 {
if m != nil {
return m.Line
}
return 0
}
// Represents a variable or an argument possibly of a compound object type.
// Note how the following variables are represented:
//
// 1) A simple variable:
//
// int x = 5
//
// { name: "x", value: "5", type: "int" } // Captured variable
//
// 2) A compound object:
//
// struct T {
// int m1;
// int m2;
// };
// T x = { 3, 7 };
//
// { // Captured variable
// name: "x",
// type: "T",
// members { name: "m1", value: "3", type: "int" },
// members { name: "m2", value: "7", type: "int" }
// }
//
// 3) A pointer where the pointee was captured:
//
// T x = { 3, 7 };
// T* p = &x;
//
// { // Captured variable
// name: "p",
// type: "T*",
// value: "0x00500500",
// members { name: "m1", value: "3", type: "int" },
// members { name: "m2", value: "7", type: "int" }
// }
//
// 4) A pointer where the pointee was not captured:
//
// T* p = new T;
//
// { // Captured variable
// name: "p",
// type: "T*",
// value: "0x00400400"
// status { is_error: true, description { format: "unavailable" } }
// }
//
// The status should describe the reason for the missing value,
// such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.
//
// Note that a null pointer should not have members.
//
// 5) An unnamed value:
//
// int* p = new int(7);
//
// { // Captured variable
// name: "p",
// value: "0x00500500",
// type: "int*",
// members { value: "7", type: "int" } }
//
// 6) An unnamed pointer where the pointee was not captured:
//
// int* p = new int(7);
// int** pp = &p;
//
// { // Captured variable
// name: "pp",
// value: "0x00500500",
// type: "int**",
// members {
// value: "0x00400400",
// type: "int*"
// status {
// is_error: true,
// description: { format: "unavailable" } }
// }
// }
// }
//
// To optimize computation, memory and network traffic, variables that
// repeat in the output multiple times can be stored once in a shared
// variable table and be referenced using the `var_table_index` field. The
// variables stored in the shared table are nameless and are essentially
// a partition of the complete variable. To reconstruct the complete
// variable, merge the referencing variable with the referenced variable.
//
// When using the shared variable table, the following variables:
//
// T x = { 3, 7 };
// T* p = &x;
// T& r = x;
//
// { name: "x", var_table_index: 3, type: "T" } // Captured variables
// { name: "p", value "0x00500500", type="T*", var_table_index: 3 }
// { name: "r", type="T&", var_table_index: 3 }
//
// { // Shared variable table entry #3:
// members { name: "m1", value: "3", type: "int" },
// members { name: "m2", value: "7", type: "int" }
// }
//
// Note that the pointer address is stored with the referencing variable
// and not with the referenced variable. This allows the referenced variable
// to be shared between pointers and references.
//
// The type field is optional. The debugger agent may or may not support it.
type Variable struct {
// Name of the variable, if any.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Simple value of the variable.
Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
// Variable type (e.g. `MyClass`). If the variable is split with
// `var_table_index`, `type` goes next to `value`. The interpretation of
// a type is agent specific. It is recommended to include the dynamic type
// rather than a static type of an object.
Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"`
// Members contained or pointed to by the variable.
Members []*Variable `protobuf:"bytes,3,rep,name=members" json:"members,omitempty"`
// Reference to a variable in the shared variable table. More than
// one variable can reference the same variable in the table. The
// `var_table_index` field is an index into `variable_table` in Breakpoint.
VarTableIndex *google_protobuf2.Int32Value `protobuf:"bytes,4,opt,name=var_table_index,json=varTableIndex" json:"var_table_index,omitempty"`
// Status associated with the variable. This field will usually stay
// unset. A status of a single variable only applies to that variable or
// expression. The rest of breakpoint data still remains valid. Variables
// might be reported in error state even when breakpoint is not in final
// state.
//
// The message may refer to variable name with `refers_to` set to
// `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
// In either case variable value and members will be unset.
//
// Example of error message applied to name: `Invalid expression syntax`.
//
// Example of information message applied to value: `Not captured`.
//
// Examples of error message applied to value:
//
// * `Malformed string`,
// * `Field f not found in class C`
// * `Null pointer dereference`
Status *StatusMessage `protobuf:"bytes,5,opt,name=status" json:"status,omitempty"`
}
func (m *Variable) Reset() { *m = Variable{} }
func (m *Variable) String() string { return proto.CompactTextString(m) }
func (*Variable) ProtoMessage() {}
func (*Variable) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (m *Variable) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Variable) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
func (m *Variable) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Variable) GetMembers() []*Variable {
if m != nil {
return m.Members
}
return nil
}
func (m *Variable) GetVarTableIndex() *google_protobuf2.Int32Value {
if m != nil {
return m.VarTableIndex
}
return nil
}
func (m *Variable) GetStatus() *StatusMessage {
if m != nil {
return m.Status
}
return nil
}
// Represents a stack frame context.
type StackFrame struct {
// Demangled function name at the call site.
Function string `protobuf:"bytes,1,opt,name=function" json:"function,omitempty"`
// Source location of the call site.
Location *SourceLocation `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
// Set of arguments passed to this function.
// Note that this might not be populated for all stack frames.
Arguments []*Variable `protobuf:"bytes,3,rep,name=arguments" json:"arguments,omitempty"`
// Set of local variables at the stack frame location.
// Note that this might not be populated for all stack frames.
Locals []*Variable `protobuf:"bytes,4,rep,name=locals" json:"locals,omitempty"`
}
func (m *StackFrame) Reset() { *m = StackFrame{} }
func (m *StackFrame) String() string { return proto.CompactTextString(m) }
func (*StackFrame) ProtoMessage() {}
func (*StackFrame) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (m *StackFrame) GetFunction() string {
if m != nil {
return m.Function
}
return ""
}
func (m *StackFrame) GetLocation() *SourceLocation {
if m != nil {
return m.Location
}
return nil
}
func (m *StackFrame) GetArguments() []*Variable {
if m != nil {
return m.Arguments
}
return nil
}
func (m *StackFrame) GetLocals() []*Variable {
if m != nil {
return m.Locals
}
return nil
}
// Represents the breakpoint specification, status and results.
type Breakpoint struct {
// Breakpoint identifier, unique in the scope of the debuggee.
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// Action that the agent should perform when the code at the
// breakpoint location is hit.
Action Breakpoint_Action `protobuf:"varint,13,opt,name=action,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"action,omitempty"`
// Breakpoint source location.
Location *SourceLocation `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
// Condition that triggers the breakpoint.
// The condition is a compound boolean expression composed using expressions
// in a programming language at the source location.
Condition string `protobuf:"bytes,3,opt,name=condition" json:"condition,omitempty"`
// List of read-only expressions to evaluate at the breakpoint location.
// The expressions are composed using expressions in the programming language
// at the source location. If the breakpoint action is `LOG`, the evaluated
// expressions are included in log statements.
Expressions []string `protobuf:"bytes,4,rep,name=expressions" json:"expressions,omitempty"`
// Only relevant when action is `LOG`. Defines the message to log when
// the breakpoint hits. The message may include parameter placeholders `$0`,
// `$1`, etc. These placeholders are replaced with the evaluated value
// of the appropriate expression. Expressions not referenced in
// `log_message_format` are not logged.
//
// Example: `Message received, id = $0, count = $1` with
// `expressions` = `[ message.id, message.count ]`.
LogMessageFormat string `protobuf:"bytes,14,opt,name=log_message_format,json=logMessageFormat" json:"log_message_format,omitempty"`
// Indicates the severity of the log. Only relevant when action is `LOG`.
LogLevel Breakpoint_LogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,enum=google.devtools.clouddebugger.v2.Breakpoint_LogLevel" json:"log_level,omitempty"`
// When true, indicates that this is a final result and the
// breakpoint state will not change from here on.
IsFinalState bool `protobuf:"varint,5,opt,name=is_final_state,json=isFinalState" json:"is_final_state,omitempty"`
// Time this breakpoint was created by the server in seconds resolution.
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
// Time this breakpoint was finalized as seen by the server in seconds
// resolution.
FinalTime *google_protobuf1.Timestamp `protobuf:"bytes,12,opt,name=final_time,json=finalTime" json:"final_time,omitempty"`
// E-mail address of the user that created this breakpoint
UserEmail string `protobuf:"bytes,16,opt,name=user_email,json=userEmail" json:"user_email,omitempty"`
// Breakpoint status.
//
// The status includes an error flag and a human readable message.
// This field is usually unset. The message can be either
// informational or an error message. Regardless, clients should always
// display the text message back to the user.
//
// Error status indicates complete failure of the breakpoint.
//
// Example (non-final state): `Still loading symbols...`
//
// Examples (final state):
//
// * `Invalid line number` referring to location
// * `Field f not found in class C` referring to condition
Status *StatusMessage `protobuf:"bytes,10,opt,name=status" json:"status,omitempty"`
// The stack at breakpoint time.
StackFrames []*StackFrame `protobuf:"bytes,7,rep,name=stack_frames,json=stackFrames" json:"stack_frames,omitempty"`
// Values of evaluated expressions at breakpoint time.
// The evaluated expressions appear in exactly the same order they
// are listed in the `expressions` field.
// The `name` field holds the original expression text, the `value` or
// `members` field holds the result of the evaluated expression.
// If the expression cannot be evaluated, the `status` inside the `Variable`
// will indicate an error and contain the error text.
EvaluatedExpressions []*Variable `protobuf:"bytes,8,rep,name=evaluated_expressions,json=evaluatedExpressions" json:"evaluated_expressions,omitempty"`
// The `variable_table` exists to aid with computation, memory and network
// traffic optimization. It enables storing a variable once and reference
// it from multiple variables, including variables stored in the
// `variable_table` itself.
// For example, the same `this` object, which may appear at many levels of
// the stack, can have all of its data stored once in this table. The
// stack frame variables then would hold only a reference to it.
//
// The variable `var_table_index` field is an index into this repeated field.
// The stored objects are nameless and get their name from the referencing
// variable. The effective variable is a merge of the referencing variable
// and the referenced variable.
VariableTable []*Variable `protobuf:"bytes,9,rep,name=variable_table,json=variableTable" json:"variable_table,omitempty"`
// A set of custom breakpoint properties, populated by the agent, to be
// displayed to the user.
Labels map[string]string `protobuf:"bytes,17,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *Breakpoint) Reset() { *m = Breakpoint{} }
func (m *Breakpoint) String() string { return proto.CompactTextString(m) }
func (*Breakpoint) ProtoMessage() {}
func (*Breakpoint) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
func (m *Breakpoint) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Breakpoint) GetAction() Breakpoint_Action {
if m != nil {
return m.Action
}
return Breakpoint_CAPTURE
}
func (m *Breakpoint) GetLocation() *SourceLocation {
if m != nil {
return m.Location
}
return nil
}
func (m *Breakpoint) GetCondition() string {
if m != nil {
return m.Condition
}
return ""
}
func (m *Breakpoint) GetExpressions() []string {
if m != nil {
return m.Expressions
}
return nil
}
func (m *Breakpoint) GetLogMessageFormat() string {
if m != nil {
return m.LogMessageFormat
}
return ""
}
func (m *Breakpoint) GetLogLevel() Breakpoint_LogLevel {
if m != nil {
return m.LogLevel
}
return Breakpoint_INFO
}
func (m *Breakpoint) GetIsFinalState() bool {
if m != nil {
return m.IsFinalState
}
return false
}
func (m *Breakpoint) GetCreateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Breakpoint) GetFinalTime() *google_protobuf1.Timestamp {
if m != nil {
return m.FinalTime
}
return nil
}
func (m *Breakpoint) GetUserEmail() string {
if m != nil {
return m.UserEmail
}
return ""
}
func (m *Breakpoint) GetStatus() *StatusMessage {
if m != nil {
return m.Status
}
return nil
}
func (m *Breakpoint) GetStackFrames() []*StackFrame {
if m != nil {
return m.StackFrames
}
return nil
}
func (m *Breakpoint) GetEvaluatedExpressions() []*Variable {
if m != nil {
return m.EvaluatedExpressions
}
return nil
}
func (m *Breakpoint) GetVariableTable() []*Variable {
if m != nil {
return m.VariableTable
}
return nil
}
func (m *Breakpoint) GetLabels() map[string]string {
if m != nil {
return m.Labels
}
return nil
}
// Represents the debugged application. The application may include one or more
// replicated processes executing the same code. Each of these processes is
// attached with a debugger agent, carrying out the debugging commands.
// Agents attached to the same debuggee identify themselves as such by using
// exactly the same Debuggee message value when registering.
type Debuggee struct {
// Unique identifier for the debuggee generated by the controller service.
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// Project the debuggee is associated with.
// Use project number or id when registering a Google Cloud Platform project.
Project string `protobuf:"bytes,2,opt,name=project" json:"project,omitempty"`
// Uniquifier to further distiguish the application.
// It is possible that different applications might have identical values in
// the debuggee message, thus, incorrectly identified as a single application
// by the Controller service. This field adds salt to further distiguish the
// application. Agents should consider seeding this field with value that
// identifies the code, binary, configuration and environment.
Uniquifier string `protobuf:"bytes,3,opt,name=uniquifier" json:"uniquifier,omitempty"`
// Human readable description of the debuggee.
// Including a human-readable project name, environment name and version
// information is recommended.
Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
// If set to `true`, indicates that Controller service does not detect any
// activity from the debuggee agents and the application is possibly stopped.
IsInactive bool `protobuf:"varint,5,opt,name=is_inactive,json=isInactive" json:"is_inactive,omitempty"`
// Version ID of the agent.
// Schema: `domain/language-platform/vmajor.minor` (for example
// `google.com/java-gcp/v1.1`).
AgentVersion string `protobuf:"bytes,6,opt,name=agent_version,json=agentVersion" json:"agent_version,omitempty"`
// If set to `true`, indicates that the agent should disable itself and
// detach from the debuggee.
IsDisabled bool `protobuf:"varint,7,opt,name=is_disabled,json=isDisabled" json:"is_disabled,omitempty"`
// Human readable message to be displayed to the user about this debuggee.
// Absence of this field indicates no status. The message can be either
// informational or an error status.
Status *StatusMessage `protobuf:"bytes,8,opt,name=status" json:"status,omitempty"`
// References to the locations and revisions of the source code used in the
// deployed application.
SourceContexts []*google_devtools_source_v1.SourceContext `protobuf:"bytes,9,rep,name=source_contexts,json=sourceContexts" json:"source_contexts,omitempty"`
// References to the locations and revisions of the source code used in the
// deployed application.
//
// NOTE: this field is experimental and can be ignored.
ExtSourceContexts []*google_devtools_source_v1.ExtendedSourceContext `protobuf:"bytes,13,rep,name=ext_source_contexts,json=extSourceContexts" json:"ext_source_contexts,omitempty"`
// A set of custom debuggee properties, populated by the agent, to be
// displayed to the user.
Labels map[string]string `protobuf:"bytes,11,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *Debuggee) Reset() { *m = Debuggee{} }
func (m *Debuggee) String() string { return proto.CompactTextString(m) }
func (*Debuggee) ProtoMessage() {}
func (*Debuggee) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
func (m *Debuggee) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Debuggee) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *Debuggee) GetUniquifier() string {
if m != nil {
return m.Uniquifier
}
return ""
}
func (m *Debuggee) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Debuggee) GetIsInactive() bool {
if m != nil {
return m.IsInactive
}
return false
}
func (m *Debuggee) GetAgentVersion() string {
if m != nil {
return m.AgentVersion
}
return ""
}
func (m *Debuggee) GetIsDisabled() bool {
if m != nil {
return m.IsDisabled
}
return false
}
func (m *Debuggee) GetStatus() *StatusMessage {
if m != nil {
return m.Status
}
return nil
}
func (m *Debuggee) GetSourceContexts() []*google_devtools_source_v1.SourceContext {
if m != nil {
return m.SourceContexts
}
return nil
}
func (m *Debuggee) GetExtSourceContexts() []*google_devtools_source_v1.ExtendedSourceContext {
if m != nil {
return m.ExtSourceContexts
}
return nil
}
func (m *Debuggee) GetLabels() map[string]string {
if m != nil {
return m.Labels
}
return nil
}
func init() {
proto.RegisterType((*FormatMessage)(nil), "google.devtools.clouddebugger.v2.FormatMessage")
proto.RegisterType((*StatusMessage)(nil), "google.devtools.clouddebugger.v2.StatusMessage")
proto.RegisterType((*SourceLocation)(nil), "google.devtools.clouddebugger.v2.SourceLocation")
proto.RegisterType((*Variable)(nil), "google.devtools.clouddebugger.v2.Variable")
proto.RegisterType((*StackFrame)(nil), "google.devtools.clouddebugger.v2.StackFrame")
proto.RegisterType((*Breakpoint)(nil), "google.devtools.clouddebugger.v2.Breakpoint")
proto.RegisterType((*Debuggee)(nil), "google.devtools.clouddebugger.v2.Debuggee")
proto.RegisterEnum("google.devtools.clouddebugger.v2.StatusMessage_Reference", StatusMessage_Reference_name, StatusMessage_Reference_value)
proto.RegisterEnum("google.devtools.clouddebugger.v2.Breakpoint_Action", Breakpoint_Action_name, Breakpoint_Action_value)
proto.RegisterEnum("google.devtools.clouddebugger.v2.Breakpoint_LogLevel", Breakpoint_LogLevel_name, Breakpoint_LogLevel_value)
}
func init() { proto.RegisterFile("google/devtools/clouddebugger/v2/data.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 1251 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0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