1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package debuggerpb
23
24 import (
25 context "context"
26 reflect "reflect"
27 sync "sync"
28
29 _ "google.golang.org/genproto/googleapis/api/annotations"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44
45 type RegisterDebuggeeRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50
51
52
53 Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
54 }
55
56 func (x *RegisterDebuggeeRequest) Reset() {
57 *x = RegisterDebuggeeRequest{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *RegisterDebuggeeRequest) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*RegisterDebuggeeRequest) ProtoMessage() {}
70
71 func (x *RegisterDebuggeeRequest) ProtoReflect() protoreflect.Message {
72 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83
84 func (*RegisterDebuggeeRequest) Descriptor() ([]byte, []int) {
85 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *RegisterDebuggeeRequest) GetDebuggee() *Debuggee {
89 if x != nil {
90 return x.Debuggee
91 }
92 return nil
93 }
94
95
96 type RegisterDebuggeeResponse struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101
102
103
104
105
106 Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
107 }
108
109 func (x *RegisterDebuggeeResponse) Reset() {
110 *x = RegisterDebuggeeResponse{}
111 if protoimpl.UnsafeEnabled {
112 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[1]
113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
114 ms.StoreMessageInfo(mi)
115 }
116 }
117
118 func (x *RegisterDebuggeeResponse) String() string {
119 return protoimpl.X.MessageStringOf(x)
120 }
121
122 func (*RegisterDebuggeeResponse) ProtoMessage() {}
123
124 func (x *RegisterDebuggeeResponse) ProtoReflect() protoreflect.Message {
125 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[1]
126 if protoimpl.UnsafeEnabled && x != nil {
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 if ms.LoadMessageInfo() == nil {
129 ms.StoreMessageInfo(mi)
130 }
131 return ms
132 }
133 return mi.MessageOf(x)
134 }
135
136
137 func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int) {
138 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP(), []int{1}
139 }
140
141 func (x *RegisterDebuggeeResponse) GetDebuggee() *Debuggee {
142 if x != nil {
143 return x.Debuggee
144 }
145 return nil
146 }
147
148
149 type ListActiveBreakpointsRequest struct {
150 state protoimpl.MessageState
151 sizeCache protoimpl.SizeCache
152 unknownFields protoimpl.UnknownFields
153
154
155 DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
156
157
158
159
160 WaitToken string `protobuf:"bytes,2,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"`
161
162
163
164
165
166
167 SuccessOnTimeout bool `protobuf:"varint,3,opt,name=success_on_timeout,json=successOnTimeout,proto3" json:"success_on_timeout,omitempty"`
168 }
169
170 func (x *ListActiveBreakpointsRequest) Reset() {
171 *x = ListActiveBreakpointsRequest{}
172 if protoimpl.UnsafeEnabled {
173 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[2]
174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175 ms.StoreMessageInfo(mi)
176 }
177 }
178
179 func (x *ListActiveBreakpointsRequest) String() string {
180 return protoimpl.X.MessageStringOf(x)
181 }
182
183 func (*ListActiveBreakpointsRequest) ProtoMessage() {}
184
185 func (x *ListActiveBreakpointsRequest) ProtoReflect() protoreflect.Message {
186 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[2]
187 if protoimpl.UnsafeEnabled && x != nil {
188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189 if ms.LoadMessageInfo() == nil {
190 ms.StoreMessageInfo(mi)
191 }
192 return ms
193 }
194 return mi.MessageOf(x)
195 }
196
197
198 func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int) {
199 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP(), []int{2}
200 }
201
202 func (x *ListActiveBreakpointsRequest) GetDebuggeeId() string {
203 if x != nil {
204 return x.DebuggeeId
205 }
206 return ""
207 }
208
209 func (x *ListActiveBreakpointsRequest) GetWaitToken() string {
210 if x != nil {
211 return x.WaitToken
212 }
213 return ""
214 }
215
216 func (x *ListActiveBreakpointsRequest) GetSuccessOnTimeout() bool {
217 if x != nil {
218 return x.SuccessOnTimeout
219 }
220 return false
221 }
222
223
224 type ListActiveBreakpointsResponse struct {
225 state protoimpl.MessageState
226 sizeCache protoimpl.SizeCache
227 unknownFields protoimpl.UnknownFields
228
229
230
231 Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"`
232
233
234 NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"`
235
236
237
238 WaitExpired bool `protobuf:"varint,3,opt,name=wait_expired,json=waitExpired,proto3" json:"wait_expired,omitempty"`
239 }
240
241 func (x *ListActiveBreakpointsResponse) Reset() {
242 *x = ListActiveBreakpointsResponse{}
243 if protoimpl.UnsafeEnabled {
244 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[3]
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 ms.StoreMessageInfo(mi)
247 }
248 }
249
250 func (x *ListActiveBreakpointsResponse) String() string {
251 return protoimpl.X.MessageStringOf(x)
252 }
253
254 func (*ListActiveBreakpointsResponse) ProtoMessage() {}
255
256 func (x *ListActiveBreakpointsResponse) ProtoReflect() protoreflect.Message {
257 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[3]
258 if protoimpl.UnsafeEnabled && x != nil {
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 if ms.LoadMessageInfo() == nil {
261 ms.StoreMessageInfo(mi)
262 }
263 return ms
264 }
265 return mi.MessageOf(x)
266 }
267
268
269 func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int) {
270 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP(), []int{3}
271 }
272
273 func (x *ListActiveBreakpointsResponse) GetBreakpoints() []*Breakpoint {
274 if x != nil {
275 return x.Breakpoints
276 }
277 return nil
278 }
279
280 func (x *ListActiveBreakpointsResponse) GetNextWaitToken() string {
281 if x != nil {
282 return x.NextWaitToken
283 }
284 return ""
285 }
286
287 func (x *ListActiveBreakpointsResponse) GetWaitExpired() bool {
288 if x != nil {
289 return x.WaitExpired
290 }
291 return false
292 }
293
294
295 type UpdateActiveBreakpointRequest struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300
301 DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
302
303
304
305 Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
306 }
307
308 func (x *UpdateActiveBreakpointRequest) Reset() {
309 *x = UpdateActiveBreakpointRequest{}
310 if protoimpl.UnsafeEnabled {
311 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[4]
312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313 ms.StoreMessageInfo(mi)
314 }
315 }
316
317 func (x *UpdateActiveBreakpointRequest) String() string {
318 return protoimpl.X.MessageStringOf(x)
319 }
320
321 func (*UpdateActiveBreakpointRequest) ProtoMessage() {}
322
323 func (x *UpdateActiveBreakpointRequest) ProtoReflect() protoreflect.Message {
324 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[4]
325 if protoimpl.UnsafeEnabled && x != nil {
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 if ms.LoadMessageInfo() == nil {
328 ms.StoreMessageInfo(mi)
329 }
330 return ms
331 }
332 return mi.MessageOf(x)
333 }
334
335
336 func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int) {
337 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP(), []int{4}
338 }
339
340 func (x *UpdateActiveBreakpointRequest) GetDebuggeeId() string {
341 if x != nil {
342 return x.DebuggeeId
343 }
344 return ""
345 }
346
347 func (x *UpdateActiveBreakpointRequest) GetBreakpoint() *Breakpoint {
348 if x != nil {
349 return x.Breakpoint
350 }
351 return nil
352 }
353
354
355
356 type UpdateActiveBreakpointResponse struct {
357 state protoimpl.MessageState
358 sizeCache protoimpl.SizeCache
359 unknownFields protoimpl.UnknownFields
360 }
361
362 func (x *UpdateActiveBreakpointResponse) Reset() {
363 *x = UpdateActiveBreakpointResponse{}
364 if protoimpl.UnsafeEnabled {
365 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[5]
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 ms.StoreMessageInfo(mi)
368 }
369 }
370
371 func (x *UpdateActiveBreakpointResponse) String() string {
372 return protoimpl.X.MessageStringOf(x)
373 }
374
375 func (*UpdateActiveBreakpointResponse) ProtoMessage() {}
376
377 func (x *UpdateActiveBreakpointResponse) ProtoReflect() protoreflect.Message {
378 mi := &file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[5]
379 if protoimpl.UnsafeEnabled && x != nil {
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 if ms.LoadMessageInfo() == nil {
382 ms.StoreMessageInfo(mi)
383 }
384 return ms
385 }
386 return mi.MessageOf(x)
387 }
388
389
390 func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int) {
391 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP(), []int{5}
392 }
393
394 var File_google_devtools_clouddebugger_v2_controller_proto protoreflect.FileDescriptor
395
396 var file_google_devtools_clouddebugger_v2_controller_proto_rawDesc = []byte{
397 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
398 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2f,
399 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72,
400 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
401 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67,
402 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
403 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
404 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
405 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
406 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
407 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67,
408 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63,
409 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f,
410 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x17, 0x52, 0x65,
411 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x52, 0x65,
412 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x08, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65,
413 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
414 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64,
415 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67,
416 0x67, 0x65, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67,
417 0x65, 0x65, 0x22, 0x62, 0x0a, 0x18, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65,
418 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46,
419 0x0a, 0x08, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
420 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
421 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72,
422 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x52, 0x08, 0x64, 0x65,
423 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x41,
424 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
425 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67,
426 0x67, 0x65, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
427 0x02, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a,
428 0x0a, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
429 0x09, 0x52, 0x09, 0x77, 0x61, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x12,
430 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f,
431 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
432 0x73, 0x4f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x1d, 0x4c,
433 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f,
434 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0b,
435 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
436 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
437 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65,
438 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52,
439 0x0b, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f,
440 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
441 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x57, 0x61, 0x69, 0x74, 0x54,
442 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65, 0x78, 0x70,
443 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74,
444 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61,
445 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69,
446 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x64, 0x65, 0x62,
447 0x75, 0x67, 0x67, 0x65, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
448 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x49, 0x64, 0x12,
449 0x51, 0x0a, 0x0a, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20,
450 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
451 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67,
452 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e,
453 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69,
454 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69,
455 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
456 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbe, 0x06, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
457 0x6c, 0x65, 0x72, 0x32, 0x12, 0xc2, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
458 0x72, 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
459 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
460 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x67,
461 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x52, 0x65, 0x71,
462 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
463 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75,
464 0x67, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72,
465 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
466 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f,
467 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65,
468 0x65, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0xda, 0x41,
469 0x08, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x12, 0xe2, 0x01, 0x0a, 0x15, 0x4c, 0x69,
470 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69,
471 0x6e, 0x74, 0x73, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
472 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67,
473 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76,
474 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
475 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
476 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67,
477 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76,
478 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
479 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76,
480 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x64, 0x65, 0x62,
481 0x75, 0x67, 0x67, 0x65, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65,
482 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
483 0xda, 0x41, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x83,
484 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42,
485 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
486 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
487 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64,
488 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70, 0x6f,
489 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x67, 0x6f, 0x6f,
490 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f,
491 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70,
492 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x70,
493 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x66, 0x82, 0xd3,
494 0xe4, 0x93, 0x02, 0x47, 0x1a, 0x42, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
495 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x73, 0x2f, 0x7b,
496 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x62, 0x72, 0x65,
497 0x61, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70,
498 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x69, 0x64, 0x7d, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x16, 0x64, 0x65,
499 0x62, 0x75, 0x67, 0x67, 0x65, 0x65, 0x5f, 0x69, 0x64, 0x2c, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x70,
500 0x6f, 0x69, 0x6e, 0x74, 0x1a, 0x7f, 0xca, 0x41, 0x1c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65,
501 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
502 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5d, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
503 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
504 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
505 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
506 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
507 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x64, 0x65, 0x62,
508 0x75, 0x67, 0x67, 0x65, 0x72, 0x42, 0xdc, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
509 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c,
510 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x0f,
511 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
512 0x01, 0x5a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
513 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
514 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
515 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2f,
516 0x76, 0x32, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72,
517 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
518 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x18, 0x47, 0x6f,
519 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x65, 0x62, 0x75, 0x67,
520 0x67, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
521 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x67, 0x65, 0x72,
522 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
523 }
524
525 var (
526 file_google_devtools_clouddebugger_v2_controller_proto_rawDescOnce sync.Once
527 file_google_devtools_clouddebugger_v2_controller_proto_rawDescData = file_google_devtools_clouddebugger_v2_controller_proto_rawDesc
528 )
529
530 func file_google_devtools_clouddebugger_v2_controller_proto_rawDescGZIP() []byte {
531 file_google_devtools_clouddebugger_v2_controller_proto_rawDescOnce.Do(func() {
532 file_google_devtools_clouddebugger_v2_controller_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_clouddebugger_v2_controller_proto_rawDescData)
533 })
534 return file_google_devtools_clouddebugger_v2_controller_proto_rawDescData
535 }
536
537 var file_google_devtools_clouddebugger_v2_controller_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
538 var file_google_devtools_clouddebugger_v2_controller_proto_goTypes = []interface{}{
539 (*RegisterDebuggeeRequest)(nil),
540 (*RegisterDebuggeeResponse)(nil),
541 (*ListActiveBreakpointsRequest)(nil),
542 (*ListActiveBreakpointsResponse)(nil),
543 (*UpdateActiveBreakpointRequest)(nil),
544 (*UpdateActiveBreakpointResponse)(nil),
545 (*Debuggee)(nil),
546 (*Breakpoint)(nil),
547 }
548 var file_google_devtools_clouddebugger_v2_controller_proto_depIdxs = []int32{
549 6,
550 6,
551 7,
552 7,
553 0,
554 2,
555 4,
556 1,
557 3,
558 5,
559 7,
560 4,
561 4,
562 4,
563 0,
564 }
565
566 func init() { file_google_devtools_clouddebugger_v2_controller_proto_init() }
567 func file_google_devtools_clouddebugger_v2_controller_proto_init() {
568 if File_google_devtools_clouddebugger_v2_controller_proto != nil {
569 return
570 }
571 file_google_devtools_clouddebugger_v2_data_proto_init()
572 if !protoimpl.UnsafeEnabled {
573 file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
574 switch v := v.(*RegisterDebuggeeRequest); i {
575 case 0:
576 return &v.state
577 case 1:
578 return &v.sizeCache
579 case 2:
580 return &v.unknownFields
581 default:
582 return nil
583 }
584 }
585 file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
586 switch v := v.(*RegisterDebuggeeResponse); i {
587 case 0:
588 return &v.state
589 case 1:
590 return &v.sizeCache
591 case 2:
592 return &v.unknownFields
593 default:
594 return nil
595 }
596 }
597 file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
598 switch v := v.(*ListActiveBreakpointsRequest); i {
599 case 0:
600 return &v.state
601 case 1:
602 return &v.sizeCache
603 case 2:
604 return &v.unknownFields
605 default:
606 return nil
607 }
608 }
609 file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
610 switch v := v.(*ListActiveBreakpointsResponse); i {
611 case 0:
612 return &v.state
613 case 1:
614 return &v.sizeCache
615 case 2:
616 return &v.unknownFields
617 default:
618 return nil
619 }
620 }
621 file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
622 switch v := v.(*UpdateActiveBreakpointRequest); i {
623 case 0:
624 return &v.state
625 case 1:
626 return &v.sizeCache
627 case 2:
628 return &v.unknownFields
629 default:
630 return nil
631 }
632 }
633 file_google_devtools_clouddebugger_v2_controller_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
634 switch v := v.(*UpdateActiveBreakpointResponse); i {
635 case 0:
636 return &v.state
637 case 1:
638 return &v.sizeCache
639 case 2:
640 return &v.unknownFields
641 default:
642 return nil
643 }
644 }
645 }
646 type x struct{}
647 out := protoimpl.TypeBuilder{
648 File: protoimpl.DescBuilder{
649 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
650 RawDescriptor: file_google_devtools_clouddebugger_v2_controller_proto_rawDesc,
651 NumEnums: 0,
652 NumMessages: 6,
653 NumExtensions: 0,
654 NumServices: 1,
655 },
656 GoTypes: file_google_devtools_clouddebugger_v2_controller_proto_goTypes,
657 DependencyIndexes: file_google_devtools_clouddebugger_v2_controller_proto_depIdxs,
658 MessageInfos: file_google_devtools_clouddebugger_v2_controller_proto_msgTypes,
659 }.Build()
660 File_google_devtools_clouddebugger_v2_controller_proto = out.File
661 file_google_devtools_clouddebugger_v2_controller_proto_rawDesc = nil
662 file_google_devtools_clouddebugger_v2_controller_proto_goTypes = nil
663 file_google_devtools_clouddebugger_v2_controller_proto_depIdxs = nil
664 }
665
666
667 var _ context.Context
668 var _ grpc.ClientConnInterface
669
670
671
672 const _ = grpc.SupportPackageIsVersion6
673
674
675
676
677 type Controller2Client interface {
678
679
680
681
682
683
684
685
686
687
688 RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error)
689
690
691
692
693
694
695
696
697
698
699
700
701
702 ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error)
703
704
705
706
707
708
709
710
711 UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error)
712 }
713
714 type controller2Client struct {
715 cc grpc.ClientConnInterface
716 }
717
718 func NewController2Client(cc grpc.ClientConnInterface) Controller2Client {
719 return &controller2Client{cc}
720 }
721
722 func (c *controller2Client) RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error) {
723 out := new(RegisterDebuggeeResponse)
724 err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee", in, out, opts...)
725 if err != nil {
726 return nil, err
727 }
728 return out, nil
729 }
730
731 func (c *controller2Client) ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error) {
732 out := new(ListActiveBreakpointsResponse)
733 err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints", in, out, opts...)
734 if err != nil {
735 return nil, err
736 }
737 return out, nil
738 }
739
740 func (c *controller2Client) UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error) {
741 out := new(UpdateActiveBreakpointResponse)
742 err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint", in, out, opts...)
743 if err != nil {
744 return nil, err
745 }
746 return out, nil
747 }
748
749
750 type Controller2Server interface {
751
752
753
754
755
756
757
758
759
760
761 RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error)
762
763
764
765
766
767
768
769
770
771
772
773
774
775 ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error)
776
777
778
779
780
781
782
783
784 UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error)
785 }
786
787
788 type UnimplementedController2Server struct {
789 }
790
791 func (*UnimplementedController2Server) RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error) {
792 return nil, status.Errorf(codes.Unimplemented, "method RegisterDebuggee not implemented")
793 }
794 func (*UnimplementedController2Server) ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error) {
795 return nil, status.Errorf(codes.Unimplemented, "method ListActiveBreakpoints not implemented")
796 }
797 func (*UnimplementedController2Server) UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error) {
798 return nil, status.Errorf(codes.Unimplemented, "method UpdateActiveBreakpoint not implemented")
799 }
800
801 func RegisterController2Server(s *grpc.Server, srv Controller2Server) {
802 s.RegisterService(&_Controller2_serviceDesc, srv)
803 }
804
805 func _Controller2_RegisterDebuggee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
806 in := new(RegisterDebuggeeRequest)
807 if err := dec(in); err != nil {
808 return nil, err
809 }
810 if interceptor == nil {
811 return srv.(Controller2Server).RegisterDebuggee(ctx, in)
812 }
813 info := &grpc.UnaryServerInfo{
814 Server: srv,
815 FullMethod: "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee",
816 }
817 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
818 return srv.(Controller2Server).RegisterDebuggee(ctx, req.(*RegisterDebuggeeRequest))
819 }
820 return interceptor(ctx, in, info, handler)
821 }
822
823 func _Controller2_ListActiveBreakpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
824 in := new(ListActiveBreakpointsRequest)
825 if err := dec(in); err != nil {
826 return nil, err
827 }
828 if interceptor == nil {
829 return srv.(Controller2Server).ListActiveBreakpoints(ctx, in)
830 }
831 info := &grpc.UnaryServerInfo{
832 Server: srv,
833 FullMethod: "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints",
834 }
835 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
836 return srv.(Controller2Server).ListActiveBreakpoints(ctx, req.(*ListActiveBreakpointsRequest))
837 }
838 return interceptor(ctx, in, info, handler)
839 }
840
841 func _Controller2_UpdateActiveBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
842 in := new(UpdateActiveBreakpointRequest)
843 if err := dec(in); err != nil {
844 return nil, err
845 }
846 if interceptor == nil {
847 return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, in)
848 }
849 info := &grpc.UnaryServerInfo{
850 Server: srv,
851 FullMethod: "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint",
852 }
853 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
854 return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, req.(*UpdateActiveBreakpointRequest))
855 }
856 return interceptor(ctx, in, info, handler)
857 }
858
859 var _Controller2_serviceDesc = grpc.ServiceDesc{
860 ServiceName: "google.devtools.clouddebugger.v2.Controller2",
861 HandlerType: (*Controller2Server)(nil),
862 Methods: []grpc.MethodDesc{
863 {
864 MethodName: "RegisterDebuggee",
865 Handler: _Controller2_RegisterDebuggee_Handler,
866 },
867 {
868 MethodName: "ListActiveBreakpoints",
869 Handler: _Controller2_ListActiveBreakpoints_Handler,
870 },
871 {
872 MethodName: "UpdateActiveBreakpoint",
873 Handler: _Controller2_UpdateActiveBreakpoint_Handler,
874 },
875 },
876 Streams: []grpc.StreamDesc{},
877 Metadata: "google/devtools/clouddebugger/v2/controller.proto",
878 }
879
View as plain text