OSDN Git Service

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