You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

579 lines
26 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/clouddebugger/v2/controller.proto
  3. package clouddebugger // import "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/golang/protobuf/ptypes/empty"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import (
  10. context "golang.org/x/net/context"
  11. grpc "google.golang.org/grpc"
  12. )
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  22. // Request to register a debuggee.
  23. type RegisterDebuggeeRequest struct {
  24. // Debuggee information to register.
  25. // The fields `project`, `uniquifier`, `description` and `agent_version`
  26. // of the debuggee must be set.
  27. Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
  28. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  29. XXX_unrecognized []byte `json:"-"`
  30. XXX_sizecache int32 `json:"-"`
  31. }
  32. func (m *RegisterDebuggeeRequest) Reset() { *m = RegisterDebuggeeRequest{} }
  33. func (m *RegisterDebuggeeRequest) String() string { return proto.CompactTextString(m) }
  34. func (*RegisterDebuggeeRequest) ProtoMessage() {}
  35. func (*RegisterDebuggeeRequest) Descriptor() ([]byte, []int) {
  36. return fileDescriptor_controller_6b454e426974140a, []int{0}
  37. }
  38. func (m *RegisterDebuggeeRequest) XXX_Unmarshal(b []byte) error {
  39. return xxx_messageInfo_RegisterDebuggeeRequest.Unmarshal(m, b)
  40. }
  41. func (m *RegisterDebuggeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  42. return xxx_messageInfo_RegisterDebuggeeRequest.Marshal(b, m, deterministic)
  43. }
  44. func (dst *RegisterDebuggeeRequest) XXX_Merge(src proto.Message) {
  45. xxx_messageInfo_RegisterDebuggeeRequest.Merge(dst, src)
  46. }
  47. func (m *RegisterDebuggeeRequest) XXX_Size() int {
  48. return xxx_messageInfo_RegisterDebuggeeRequest.Size(m)
  49. }
  50. func (m *RegisterDebuggeeRequest) XXX_DiscardUnknown() {
  51. xxx_messageInfo_RegisterDebuggeeRequest.DiscardUnknown(m)
  52. }
  53. var xxx_messageInfo_RegisterDebuggeeRequest proto.InternalMessageInfo
  54. func (m *RegisterDebuggeeRequest) GetDebuggee() *Debuggee {
  55. if m != nil {
  56. return m.Debuggee
  57. }
  58. return nil
  59. }
  60. // Response for registering a debuggee.
  61. type RegisterDebuggeeResponse struct {
  62. // Debuggee resource.
  63. // The field `id` is guaranteed to be set (in addition to the echoed fields).
  64. // If the field `is_disabled` is set to `true`, the agent should disable
  65. // itself by removing all breakpoints and detaching from the application.
  66. // It should however continue to poll `RegisterDebuggee` until reenabled.
  67. Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
  68. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  69. XXX_unrecognized []byte `json:"-"`
  70. XXX_sizecache int32 `json:"-"`
  71. }
  72. func (m *RegisterDebuggeeResponse) Reset() { *m = RegisterDebuggeeResponse{} }
  73. func (m *RegisterDebuggeeResponse) String() string { return proto.CompactTextString(m) }
  74. func (*RegisterDebuggeeResponse) ProtoMessage() {}
  75. func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int) {
  76. return fileDescriptor_controller_6b454e426974140a, []int{1}
  77. }
  78. func (m *RegisterDebuggeeResponse) XXX_Unmarshal(b []byte) error {
  79. return xxx_messageInfo_RegisterDebuggeeResponse.Unmarshal(m, b)
  80. }
  81. func (m *RegisterDebuggeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  82. return xxx_messageInfo_RegisterDebuggeeResponse.Marshal(b, m, deterministic)
  83. }
  84. func (dst *RegisterDebuggeeResponse) XXX_Merge(src proto.Message) {
  85. xxx_messageInfo_RegisterDebuggeeResponse.Merge(dst, src)
  86. }
  87. func (m *RegisterDebuggeeResponse) XXX_Size() int {
  88. return xxx_messageInfo_RegisterDebuggeeResponse.Size(m)
  89. }
  90. func (m *RegisterDebuggeeResponse) XXX_DiscardUnknown() {
  91. xxx_messageInfo_RegisterDebuggeeResponse.DiscardUnknown(m)
  92. }
  93. var xxx_messageInfo_RegisterDebuggeeResponse proto.InternalMessageInfo
  94. func (m *RegisterDebuggeeResponse) GetDebuggee() *Debuggee {
  95. if m != nil {
  96. return m.Debuggee
  97. }
  98. return nil
  99. }
  100. // Request to list active breakpoints.
  101. type ListActiveBreakpointsRequest struct {
  102. // Identifies the debuggee.
  103. DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
  104. // A token that, if specified, blocks the method call until the list
  105. // of active breakpoints has changed, or a server-selected timeout has
  106. // expired. The value should be set from the `next_wait_token` field in
  107. // the last response. The initial value should be set to `"init"`.
  108. WaitToken string `protobuf:"bytes,2,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"`
  109. // If set to `true` (recommended), returns `google.rpc.Code.OK` status and
  110. // sets the `wait_expired` response field to `true` when the server-selected
  111. // timeout has expired.
  112. //
  113. // If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
  114. // when the server-selected timeout has expired.
  115. SuccessOnTimeout bool `protobuf:"varint,3,opt,name=success_on_timeout,json=successOnTimeout,proto3" json:"success_on_timeout,omitempty"`
  116. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  117. XXX_unrecognized []byte `json:"-"`
  118. XXX_sizecache int32 `json:"-"`
  119. }
  120. func (m *ListActiveBreakpointsRequest) Reset() { *m = ListActiveBreakpointsRequest{} }
  121. func (m *ListActiveBreakpointsRequest) String() string { return proto.CompactTextString(m) }
  122. func (*ListActiveBreakpointsRequest) ProtoMessage() {}
  123. func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int) {
  124. return fileDescriptor_controller_6b454e426974140a, []int{2}
  125. }
  126. func (m *ListActiveBreakpointsRequest) XXX_Unmarshal(b []byte) error {
  127. return xxx_messageInfo_ListActiveBreakpointsRequest.Unmarshal(m, b)
  128. }
  129. func (m *ListActiveBreakpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  130. return xxx_messageInfo_ListActiveBreakpointsRequest.Marshal(b, m, deterministic)
  131. }
  132. func (dst *ListActiveBreakpointsRequest) XXX_Merge(src proto.Message) {
  133. xxx_messageInfo_ListActiveBreakpointsRequest.Merge(dst, src)
  134. }
  135. func (m *ListActiveBreakpointsRequest) XXX_Size() int {
  136. return xxx_messageInfo_ListActiveBreakpointsRequest.Size(m)
  137. }
  138. func (m *ListActiveBreakpointsRequest) XXX_DiscardUnknown() {
  139. xxx_messageInfo_ListActiveBreakpointsRequest.DiscardUnknown(m)
  140. }
  141. var xxx_messageInfo_ListActiveBreakpointsRequest proto.InternalMessageInfo
  142. func (m *ListActiveBreakpointsRequest) GetDebuggeeId() string {
  143. if m != nil {
  144. return m.DebuggeeId
  145. }
  146. return ""
  147. }
  148. func (m *ListActiveBreakpointsRequest) GetWaitToken() string {
  149. if m != nil {
  150. return m.WaitToken
  151. }
  152. return ""
  153. }
  154. func (m *ListActiveBreakpointsRequest) GetSuccessOnTimeout() bool {
  155. if m != nil {
  156. return m.SuccessOnTimeout
  157. }
  158. return false
  159. }
  160. // Response for listing active breakpoints.
  161. type ListActiveBreakpointsResponse struct {
  162. // List of all active breakpoints.
  163. // The fields `id` and `location` are guaranteed to be set on each breakpoint.
  164. Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"`
  165. // A token that can be used in the next method call to block until
  166. // the list of breakpoints changes.
  167. NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"`
  168. // If set to `true`, indicates that there is no change to the
  169. // list of active breakpoints and the server-selected timeout has expired.
  170. // The `breakpoints` field would be empty and should be ignored.
  171. WaitExpired bool `protobuf:"varint,3,opt,name=wait_expired,json=waitExpired,proto3" json:"wait_expired,omitempty"`
  172. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  173. XXX_unrecognized []byte `json:"-"`
  174. XXX_sizecache int32 `json:"-"`
  175. }
  176. func (m *ListActiveBreakpointsResponse) Reset() { *m = ListActiveBreakpointsResponse{} }
  177. func (m *ListActiveBreakpointsResponse) String() string { return proto.CompactTextString(m) }
  178. func (*ListActiveBreakpointsResponse) ProtoMessage() {}
  179. func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int) {
  180. return fileDescriptor_controller_6b454e426974140a, []int{3}
  181. }
  182. func (m *ListActiveBreakpointsResponse) XXX_Unmarshal(b []byte) error {
  183. return xxx_messageInfo_ListActiveBreakpointsResponse.Unmarshal(m, b)
  184. }
  185. func (m *ListActiveBreakpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  186. return xxx_messageInfo_ListActiveBreakpointsResponse.Marshal(b, m, deterministic)
  187. }
  188. func (dst *ListActiveBreakpointsResponse) XXX_Merge(src proto.Message) {
  189. xxx_messageInfo_ListActiveBreakpointsResponse.Merge(dst, src)
  190. }
  191. func (m *ListActiveBreakpointsResponse) XXX_Size() int {
  192. return xxx_messageInfo_ListActiveBreakpointsResponse.Size(m)
  193. }
  194. func (m *ListActiveBreakpointsResponse) XXX_DiscardUnknown() {
  195. xxx_messageInfo_ListActiveBreakpointsResponse.DiscardUnknown(m)
  196. }
  197. var xxx_messageInfo_ListActiveBreakpointsResponse proto.InternalMessageInfo
  198. func (m *ListActiveBreakpointsResponse) GetBreakpoints() []*Breakpoint {
  199. if m != nil {
  200. return m.Breakpoints
  201. }
  202. return nil
  203. }
  204. func (m *ListActiveBreakpointsResponse) GetNextWaitToken() string {
  205. if m != nil {
  206. return m.NextWaitToken
  207. }
  208. return ""
  209. }
  210. func (m *ListActiveBreakpointsResponse) GetWaitExpired() bool {
  211. if m != nil {
  212. return m.WaitExpired
  213. }
  214. return false
  215. }
  216. // Request to update an active breakpoint.
  217. type UpdateActiveBreakpointRequest struct {
  218. // Identifies the debuggee being debugged.
  219. DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
  220. // Updated breakpoint information.
  221. // The field `id` must be set.
  222. // The agent must echo all Breakpoint specification fields in the update.
  223. Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
  224. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  225. XXX_unrecognized []byte `json:"-"`
  226. XXX_sizecache int32 `json:"-"`
  227. }
  228. func (m *UpdateActiveBreakpointRequest) Reset() { *m = UpdateActiveBreakpointRequest{} }
  229. func (m *UpdateActiveBreakpointRequest) String() string { return proto.CompactTextString(m) }
  230. func (*UpdateActiveBreakpointRequest) ProtoMessage() {}
  231. func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int) {
  232. return fileDescriptor_controller_6b454e426974140a, []int{4}
  233. }
  234. func (m *UpdateActiveBreakpointRequest) XXX_Unmarshal(b []byte) error {
  235. return xxx_messageInfo_UpdateActiveBreakpointRequest.Unmarshal(m, b)
  236. }
  237. func (m *UpdateActiveBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  238. return xxx_messageInfo_UpdateActiveBreakpointRequest.Marshal(b, m, deterministic)
  239. }
  240. func (dst *UpdateActiveBreakpointRequest) XXX_Merge(src proto.Message) {
  241. xxx_messageInfo_UpdateActiveBreakpointRequest.Merge(dst, src)
  242. }
  243. func (m *UpdateActiveBreakpointRequest) XXX_Size() int {
  244. return xxx_messageInfo_UpdateActiveBreakpointRequest.Size(m)
  245. }
  246. func (m *UpdateActiveBreakpointRequest) XXX_DiscardUnknown() {
  247. xxx_messageInfo_UpdateActiveBreakpointRequest.DiscardUnknown(m)
  248. }
  249. var xxx_messageInfo_UpdateActiveBreakpointRequest proto.InternalMessageInfo
  250. func (m *UpdateActiveBreakpointRequest) GetDebuggeeId() string {
  251. if m != nil {
  252. return m.DebuggeeId
  253. }
  254. return ""
  255. }
  256. func (m *UpdateActiveBreakpointRequest) GetBreakpoint() *Breakpoint {
  257. if m != nil {
  258. return m.Breakpoint
  259. }
  260. return nil
  261. }
  262. // Response for updating an active breakpoint.
  263. // The message is defined to allow future extensions.
  264. type UpdateActiveBreakpointResponse struct {
  265. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  266. XXX_unrecognized []byte `json:"-"`
  267. XXX_sizecache int32 `json:"-"`
  268. }
  269. func (m *UpdateActiveBreakpointResponse) Reset() { *m = UpdateActiveBreakpointResponse{} }
  270. func (m *UpdateActiveBreakpointResponse) String() string { return proto.CompactTextString(m) }
  271. func (*UpdateActiveBreakpointResponse) ProtoMessage() {}
  272. func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int) {
  273. return fileDescriptor_controller_6b454e426974140a, []int{5}
  274. }
  275. func (m *UpdateActiveBreakpointResponse) XXX_Unmarshal(b []byte) error {
  276. return xxx_messageInfo_UpdateActiveBreakpointResponse.Unmarshal(m, b)
  277. }
  278. func (m *UpdateActiveBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  279. return xxx_messageInfo_UpdateActiveBreakpointResponse.Marshal(b, m, deterministic)
  280. }
  281. func (dst *UpdateActiveBreakpointResponse) XXX_Merge(src proto.Message) {
  282. xxx_messageInfo_UpdateActiveBreakpointResponse.Merge(dst, src)
  283. }
  284. func (m *UpdateActiveBreakpointResponse) XXX_Size() int {
  285. return xxx_messageInfo_UpdateActiveBreakpointResponse.Size(m)
  286. }
  287. func (m *UpdateActiveBreakpointResponse) XXX_DiscardUnknown() {
  288. xxx_messageInfo_UpdateActiveBreakpointResponse.DiscardUnknown(m)
  289. }
  290. var xxx_messageInfo_UpdateActiveBreakpointResponse proto.InternalMessageInfo
  291. func init() {
  292. proto.RegisterType((*RegisterDebuggeeRequest)(nil), "google.devtools.clouddebugger.v2.RegisterDebuggeeRequest")
  293. proto.RegisterType((*RegisterDebuggeeResponse)(nil), "google.devtools.clouddebugger.v2.RegisterDebuggeeResponse")
  294. proto.RegisterType((*ListActiveBreakpointsRequest)(nil), "google.devtools.clouddebugger.v2.ListActiveBreakpointsRequest")
  295. proto.RegisterType((*ListActiveBreakpointsResponse)(nil), "google.devtools.clouddebugger.v2.ListActiveBreakpointsResponse")
  296. proto.RegisterType((*UpdateActiveBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.UpdateActiveBreakpointRequest")
  297. proto.RegisterType((*UpdateActiveBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.UpdateActiveBreakpointResponse")
  298. }
  299. // Reference imports to suppress errors if they are not otherwise used.
  300. var _ context.Context
  301. var _ grpc.ClientConn
  302. // This is a compile-time assertion to ensure that this generated file
  303. // is compatible with the grpc package it is being compiled against.
  304. const _ = grpc.SupportPackageIsVersion4
  305. // Controller2Client is the client API for Controller2 service.
  306. //
  307. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  308. type Controller2Client interface {
  309. // Registers the debuggee with the controller service.
  310. //
  311. // All agents attached to the same application must call this method with
  312. // exactly the same request content to get back the same stable `debuggee_id`.
  313. // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
  314. // is returned from any controller method.
  315. //
  316. // This protocol allows the controller service to disable debuggees, recover
  317. // from data loss, or change the `debuggee_id` format. Agents must handle
  318. // `debuggee_id` value changing upon re-registration.
  319. RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error)
  320. // Returns the list of all active breakpoints for the debuggee.
  321. //
  322. // The breakpoint specification (`location`, `condition`, and `expressions`
  323. // fields) is semantically immutable, although the field values may
  324. // change. For example, an agent may update the location line number
  325. // to reflect the actual line where the breakpoint was set, but this
  326. // doesn't change the breakpoint semantics.
  327. //
  328. // This means that an agent does not need to check if a breakpoint has changed
  329. // when it encounters the same breakpoint on a successive call.
  330. // Moreover, an agent should remember the breakpoints that are completed
  331. // until the controller removes them from the active list to avoid
  332. // setting those breakpoints again.
  333. ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error)
  334. // Updates the breakpoint state or mutable fields.
  335. // The entire Breakpoint message must be sent back to the controller service.
  336. //
  337. // Updates to active breakpoint fields are only allowed if the new value
  338. // does not change the breakpoint specification. Updates to the `location`,
  339. // `condition` and `expressions` fields should not alter the breakpoint
  340. // semantics. These may only make changes such as canonicalizing a value
  341. // or snapping the location to the correct line of code.
  342. UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error)
  343. }
  344. type controller2Client struct {
  345. cc *grpc.ClientConn
  346. }
  347. func NewController2Client(cc *grpc.ClientConn) Controller2Client {
  348. return &controller2Client{cc}
  349. }
  350. func (c *controller2Client) RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error) {
  351. out := new(RegisterDebuggeeResponse)
  352. err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee", in, out, opts...)
  353. if err != nil {
  354. return nil, err
  355. }
  356. return out, nil
  357. }
  358. func (c *controller2Client) ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error) {
  359. out := new(ListActiveBreakpointsResponse)
  360. err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints", in, out, opts...)
  361. if err != nil {
  362. return nil, err
  363. }
  364. return out, nil
  365. }
  366. func (c *controller2Client) UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error) {
  367. out := new(UpdateActiveBreakpointResponse)
  368. err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint", in, out, opts...)
  369. if err != nil {
  370. return nil, err
  371. }
  372. return out, nil
  373. }
  374. // Controller2Server is the server API for Controller2 service.
  375. type Controller2Server interface {
  376. // Registers the debuggee with the controller service.
  377. //
  378. // All agents attached to the same application must call this method with
  379. // exactly the same request content to get back the same stable `debuggee_id`.
  380. // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
  381. // is returned from any controller method.
  382. //
  383. // This protocol allows the controller service to disable debuggees, recover
  384. // from data loss, or change the `debuggee_id` format. Agents must handle
  385. // `debuggee_id` value changing upon re-registration.
  386. RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error)
  387. // Returns the list of all active breakpoints for the debuggee.
  388. //
  389. // The breakpoint specification (`location`, `condition`, and `expressions`
  390. // fields) is semantically immutable, although the field values may
  391. // change. For example, an agent may update the location line number
  392. // to reflect the actual line where the breakpoint was set, but this
  393. // doesn't change the breakpoint semantics.
  394. //
  395. // This means that an agent does not need to check if a breakpoint has changed
  396. // when it encounters the same breakpoint on a successive call.
  397. // Moreover, an agent should remember the breakpoints that are completed
  398. // until the controller removes them from the active list to avoid
  399. // setting those breakpoints again.
  400. ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error)
  401. // Updates the breakpoint state or mutable fields.
  402. // The entire Breakpoint message must be sent back to the controller service.
  403. //
  404. // Updates to active breakpoint fields are only allowed if the new value
  405. // does not change the breakpoint specification. Updates to the `location`,
  406. // `condition` and `expressions` fields should not alter the breakpoint
  407. // semantics. These may only make changes such as canonicalizing a value
  408. // or snapping the location to the correct line of code.
  409. UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error)
  410. }
  411. func RegisterController2Server(s *grpc.Server, srv Controller2Server) {
  412. s.RegisterService(&_Controller2_serviceDesc, srv)
  413. }
  414. func _Controller2_RegisterDebuggee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  415. in := new(RegisterDebuggeeRequest)
  416. if err := dec(in); err != nil {
  417. return nil, err
  418. }
  419. if interceptor == nil {
  420. return srv.(Controller2Server).RegisterDebuggee(ctx, in)
  421. }
  422. info := &grpc.UnaryServerInfo{
  423. Server: srv,
  424. FullMethod: "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee",
  425. }
  426. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  427. return srv.(Controller2Server).RegisterDebuggee(ctx, req.(*RegisterDebuggeeRequest))
  428. }
  429. return interceptor(ctx, in, info, handler)
  430. }
  431. func _Controller2_ListActiveBreakpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  432. in := new(ListActiveBreakpointsRequest)
  433. if err := dec(in); err != nil {
  434. return nil, err
  435. }
  436. if interceptor == nil {
  437. return srv.(Controller2Server).ListActiveBreakpoints(ctx, in)
  438. }
  439. info := &grpc.UnaryServerInfo{
  440. Server: srv,
  441. FullMethod: "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints",
  442. }
  443. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  444. return srv.(Controller2Server).ListActiveBreakpoints(ctx, req.(*ListActiveBreakpointsRequest))
  445. }
  446. return interceptor(ctx, in, info, handler)
  447. }
  448. func _Controller2_UpdateActiveBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  449. in := new(UpdateActiveBreakpointRequest)
  450. if err := dec(in); err != nil {
  451. return nil, err
  452. }
  453. if interceptor == nil {
  454. return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, in)
  455. }
  456. info := &grpc.UnaryServerInfo{
  457. Server: srv,
  458. FullMethod: "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint",
  459. }
  460. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  461. return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, req.(*UpdateActiveBreakpointRequest))
  462. }
  463. return interceptor(ctx, in, info, handler)
  464. }
  465. var _Controller2_serviceDesc = grpc.ServiceDesc{
  466. ServiceName: "google.devtools.clouddebugger.v2.Controller2",
  467. HandlerType: (*Controller2Server)(nil),
  468. Methods: []grpc.MethodDesc{
  469. {
  470. MethodName: "RegisterDebuggee",
  471. Handler: _Controller2_RegisterDebuggee_Handler,
  472. },
  473. {
  474. MethodName: "ListActiveBreakpoints",
  475. Handler: _Controller2_ListActiveBreakpoints_Handler,
  476. },
  477. {
  478. MethodName: "UpdateActiveBreakpoint",
  479. Handler: _Controller2_UpdateActiveBreakpoint_Handler,
  480. },
  481. },
  482. Streams: []grpc.StreamDesc{},
  483. Metadata: "google/devtools/clouddebugger/v2/controller.proto",
  484. }
  485. func init() {
  486. proto.RegisterFile("google/devtools/clouddebugger/v2/controller.proto", fileDescriptor_controller_6b454e426974140a)
  487. }
  488. var fileDescriptor_controller_6b454e426974140a = []byte{
  489. // 602 bytes of a gzipped FileDescriptorProto
  490. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x6a, 0xd4, 0x40,
  491. 0x14, 0x66, 0x5a, 0x94, 0x76, 0xa2, 0xb4, 0x0c, 0xa8, 0x21, 0xb6, 0xba, 0x0d, 0x52, 0x96, 0x75,
  492. 0xc9, 0x60, 0xf4, 0xc6, 0x15, 0xfc, 0xd9, 0xaa, 0x45, 0x68, 0xb5, 0x2c, 0xb5, 0x82, 0x2c, 0x2c,
  493. 0xd9, 0xe4, 0x18, 0x86, 0x66, 0x67, 0x62, 0x66, 0xb2, 0x56, 0x4a, 0x6f, 0xbc, 0x55, 0xbc, 0xf1,
  494. 0x2d, 0x7c, 0x01, 0xc1, 0x0b, 0x1f, 0xc0, 0x5b, 0x7d, 0x04, 0xaf, 0x7c, 0x0a, 0xc9, 0xdf, 0xfe,
  495. 0xb4, 0xdd, 0xa6, 0x5d, 0xbc, 0xcc, 0x77, 0xe6, 0xfb, 0xce, 0xf7, 0x4d, 0xce, 0x1c, 0x7c, 0xcb,
  496. 0x17, 0xc2, 0x0f, 0x80, 0x7a, 0xd0, 0x57, 0x42, 0x04, 0x92, 0xba, 0x81, 0x88, 0x3d, 0x0f, 0xba,
  497. 0xb1, 0xef, 0x43, 0x44, 0xfb, 0x36, 0x75, 0x05, 0x57, 0x91, 0x08, 0x02, 0x88, 0xac, 0x30, 0x12,
  498. 0x4a, 0x90, 0x4a, 0x46, 0xb1, 0x0a, 0x8a, 0x35, 0x46, 0xb1, 0xfa, 0xb6, 0xb1, 0x94, 0x8b, 0x3a,
  499. 0x21, 0xa3, 0x0e, 0xe7, 0x42, 0x39, 0x8a, 0x09, 0x2e, 0x33, 0xbe, 0x71, 0xb3, 0xb4, 0xa5, 0xe7,
  500. 0x28, 0x27, 0x3f, 0x7c, 0x35, 0x3f, 0x9c, 0x7e, 0x75, 0xe3, 0x37, 0x14, 0x7a, 0xa1, 0x7a, 0x9f,
  501. 0x15, 0x4d, 0x07, 0x5f, 0x69, 0x81, 0xcf, 0xa4, 0x82, 0xe8, 0x71, 0x46, 0x87, 0x16, 0xbc, 0x8d,
  502. 0x41, 0x2a, 0xf2, 0x14, 0xcf, 0xe5, 0x8a, 0xa0, 0xa3, 0x0a, 0xaa, 0x6a, 0x76, 0xcd, 0x2a, 0xf3,
  503. 0x6d, 0x0d, 0x44, 0x06, 0x5c, 0xb3, 0x8b, 0xf5, 0xa3, 0x2d, 0x64, 0x28, 0xb8, 0x84, 0xff, 0xd6,
  504. 0xe3, 0x13, 0xc2, 0x4b, 0x1b, 0x4c, 0xaa, 0x47, 0xae, 0x62, 0x7d, 0x68, 0x46, 0xe0, 0xec, 0x86,
  505. 0x82, 0x71, 0x25, 0x8b, 0x30, 0xd7, 0xb1, 0x56, 0x1c, 0xee, 0x30, 0x2f, 0xed, 0x35, 0xdf, 0xc2,
  506. 0x05, 0xf4, 0xcc, 0x23, 0xcb, 0x18, 0xbf, 0x73, 0x98, 0xea, 0x28, 0xb1, 0x0b, 0x5c, 0x9f, 0x49,
  507. 0xeb, 0xf3, 0x09, 0xb2, 0x9d, 0x00, 0xa4, 0x8e, 0x89, 0x8c, 0x5d, 0x17, 0xa4, 0xec, 0x08, 0xde,
  508. 0x51, 0xac, 0x07, 0x22, 0x56, 0xfa, 0x6c, 0x05, 0x55, 0xe7, 0x5a, 0x8b, 0x79, 0xe5, 0x05, 0xdf,
  509. 0xce, 0x70, 0xf3, 0x3b, 0xc2, 0xcb, 0x13, 0xec, 0xe4, 0xc1, 0x9f, 0x63, 0xad, 0x3b, 0x84, 0x75,
  510. 0x54, 0x99, 0xad, 0x6a, 0x76, 0xbd, 0x3c, 0xfb, 0x50, 0xab, 0x35, 0x2a, 0x40, 0x56, 0xf1, 0x02,
  511. 0x87, 0x3d, 0xd5, 0x39, 0x92, 0xe1, 0x62, 0x02, 0xbf, 0x1a, 0xe4, 0x58, 0xc1, 0x17, 0xd2, 0x23,
  512. 0xb0, 0x17, 0xb2, 0x08, 0xbc, 0x3c, 0x81, 0x96, 0x60, 0x4f, 0x32, 0xc8, 0xfc, 0x8c, 0xf0, 0xf2,
  513. 0xcb, 0xd0, 0x73, 0x14, 0x1c, 0xb6, 0x7f, 0xea, 0xcb, 0xdc, 0xc0, 0x78, 0x68, 0x2e, 0x35, 0x72,
  514. 0xd6, 0x70, 0x23, 0x7c, 0xb3, 0x82, 0xaf, 0x4d, 0xf2, 0x93, 0xdd, 0xa6, 0xfd, 0xf1, 0x1c, 0xd6,
  515. 0xd6, 0x06, 0x8f, 0xcc, 0x26, 0xdf, 0x10, 0x5e, 0x3c, 0x3c, 0x73, 0xe4, 0x6e, 0xb9, 0x81, 0x09,
  516. 0x4f, 0xc1, 0x68, 0x4c, 0x43, 0xcd, 0xbc, 0x99, 0xf5, 0x0f, 0xbf, 0xfe, 0x7c, 0x99, 0x59, 0x35,
  517. 0x57, 0xc6, 0x37, 0x01, 0x2d, 0xae, 0x4b, 0xd2, 0x28, 0xa7, 0x36, 0x50, 0x8d, 0xfc, 0x46, 0xf8,
  518. 0xd2, 0xb1, 0x93, 0x43, 0xee, 0x97, 0x7b, 0x38, 0xe9, 0x05, 0x18, 0x0f, 0xa6, 0xe6, 0xe7, 0x41,
  519. 0x1a, 0x69, 0x90, 0x3b, 0xc4, 0x9e, 0x18, 0x64, 0x7f, 0x64, 0x2a, 0x0e, 0xe8, 0xe8, 0x78, 0xfe,
  520. 0x45, 0xf8, 0xf2, 0xf1, 0xff, 0x90, 0x9c, 0xc2, 0xd7, 0x89, 0xd3, 0x68, 0x3c, 0x9c, 0x5e, 0x20,
  521. 0x4f, 0xb6, 0x99, 0x26, 0x5b, 0x37, 0x9a, 0x67, 0x4f, 0x46, 0xf7, 0x87, 0x1f, 0x16, 0xf3, 0x0e,
  522. 0x1a, 0xa8, 0xd6, 0xfc, 0x81, 0xf0, 0x0d, 0x57, 0xf4, 0x4a, 0x6d, 0x35, 0x17, 0x86, 0x33, 0xbb,
  523. 0x95, 0x6c, 0xe3, 0x2d, 0xf4, 0x7a, 0x33, 0x27, 0xf9, 0x22, 0x70, 0xb8, 0x6f, 0x89, 0xc8, 0xa7,
  524. 0x3e, 0xf0, 0x74, 0x57, 0xd3, 0xac, 0xe4, 0x84, 0x4c, 0x4e, 0x5e, 0xfc, 0xf7, 0xc6, 0x80, 0xaf,
  525. 0x33, 0xfa, 0x7a, 0xa6, 0xb7, 0x96, 0xc0, 0xc5, 0xe6, 0x8c, 0xac, 0x1d, 0xfb, 0x67, 0x51, 0x6a,
  526. 0xa7, 0xa5, 0x76, 0x51, 0x6a, 0xef, 0xd8, 0xdd, 0xf3, 0x69, 0xbf, 0xdb, 0xff, 0x02, 0x00, 0x00,
  527. 0xff, 0xff, 0x54, 0xe1, 0x5c, 0x2a, 0xda, 0x06, 0x00, 0x00,
  528. }