|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/devtools/clouddebugger/v2/controller.proto
-
- package clouddebugger // import "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/golang/protobuf/ptypes/empty"
- import _ "google.golang.org/genproto/googleapis/api/annotations"
-
- import (
- context "golang.org/x/net/context"
- grpc "google.golang.org/grpc"
- )
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Request to register a debuggee.
- type RegisterDebuggeeRequest struct {
- // Debuggee information to register.
- // The fields `project`, `uniquifier`, `description` and `agent_version`
- // of the debuggee must be set.
- Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *RegisterDebuggeeRequest) Reset() { *m = RegisterDebuggeeRequest{} }
- func (m *RegisterDebuggeeRequest) String() string { return proto.CompactTextString(m) }
- func (*RegisterDebuggeeRequest) ProtoMessage() {}
- func (*RegisterDebuggeeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_controller_6b454e426974140a, []int{0}
- }
- func (m *RegisterDebuggeeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RegisterDebuggeeRequest.Unmarshal(m, b)
- }
- func (m *RegisterDebuggeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RegisterDebuggeeRequest.Marshal(b, m, deterministic)
- }
- func (dst *RegisterDebuggeeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RegisterDebuggeeRequest.Merge(dst, src)
- }
- func (m *RegisterDebuggeeRequest) XXX_Size() int {
- return xxx_messageInfo_RegisterDebuggeeRequest.Size(m)
- }
- func (m *RegisterDebuggeeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RegisterDebuggeeRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_RegisterDebuggeeRequest proto.InternalMessageInfo
-
- func (m *RegisterDebuggeeRequest) GetDebuggee() *Debuggee {
- if m != nil {
- return m.Debuggee
- }
- return nil
- }
-
- // Response for registering a debuggee.
- type RegisterDebuggeeResponse struct {
- // Debuggee resource.
- // The field `id` is guaranteed to be set (in addition to the echoed fields).
- // If the field `is_disabled` is set to `true`, the agent should disable
- // itself by removing all breakpoints and detaching from the application.
- // It should however continue to poll `RegisterDebuggee` until reenabled.
- Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *RegisterDebuggeeResponse) Reset() { *m = RegisterDebuggeeResponse{} }
- func (m *RegisterDebuggeeResponse) String() string { return proto.CompactTextString(m) }
- func (*RegisterDebuggeeResponse) ProtoMessage() {}
- func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_controller_6b454e426974140a, []int{1}
- }
- func (m *RegisterDebuggeeResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RegisterDebuggeeResponse.Unmarshal(m, b)
- }
- func (m *RegisterDebuggeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RegisterDebuggeeResponse.Marshal(b, m, deterministic)
- }
- func (dst *RegisterDebuggeeResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RegisterDebuggeeResponse.Merge(dst, src)
- }
- func (m *RegisterDebuggeeResponse) XXX_Size() int {
- return xxx_messageInfo_RegisterDebuggeeResponse.Size(m)
- }
- func (m *RegisterDebuggeeResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_RegisterDebuggeeResponse.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_RegisterDebuggeeResponse proto.InternalMessageInfo
-
- func (m *RegisterDebuggeeResponse) GetDebuggee() *Debuggee {
- if m != nil {
- return m.Debuggee
- }
- return nil
- }
-
- // Request to list active breakpoints.
- type ListActiveBreakpointsRequest struct {
- // Identifies the debuggee.
- DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
- // A token that, if specified, blocks the method call until the list
- // of active breakpoints has changed, or a server-selected timeout has
- // expired. The value should be set from the `next_wait_token` field in
- // the last response. The initial value should be set to `"init"`.
- WaitToken string `protobuf:"bytes,2,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"`
- // If set to `true` (recommended), returns `google.rpc.Code.OK` status and
- // sets the `wait_expired` response field to `true` when the server-selected
- // timeout has expired.
- //
- // If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
- // when the server-selected timeout has expired.
- SuccessOnTimeout bool `protobuf:"varint,3,opt,name=success_on_timeout,json=successOnTimeout,proto3" json:"success_on_timeout,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *ListActiveBreakpointsRequest) Reset() { *m = ListActiveBreakpointsRequest{} }
- func (m *ListActiveBreakpointsRequest) String() string { return proto.CompactTextString(m) }
- func (*ListActiveBreakpointsRequest) ProtoMessage() {}
- func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_controller_6b454e426974140a, []int{2}
- }
- func (m *ListActiveBreakpointsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListActiveBreakpointsRequest.Unmarshal(m, b)
- }
- func (m *ListActiveBreakpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListActiveBreakpointsRequest.Marshal(b, m, deterministic)
- }
- func (dst *ListActiveBreakpointsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListActiveBreakpointsRequest.Merge(dst, src)
- }
- func (m *ListActiveBreakpointsRequest) XXX_Size() int {
- return xxx_messageInfo_ListActiveBreakpointsRequest.Size(m)
- }
- func (m *ListActiveBreakpointsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListActiveBreakpointsRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ListActiveBreakpointsRequest proto.InternalMessageInfo
-
- func (m *ListActiveBreakpointsRequest) GetDebuggeeId() string {
- if m != nil {
- return m.DebuggeeId
- }
- return ""
- }
-
- func (m *ListActiveBreakpointsRequest) GetWaitToken() string {
- if m != nil {
- return m.WaitToken
- }
- return ""
- }
-
- func (m *ListActiveBreakpointsRequest) GetSuccessOnTimeout() bool {
- if m != nil {
- return m.SuccessOnTimeout
- }
- return false
- }
-
- // Response for listing active breakpoints.
- type ListActiveBreakpointsResponse struct {
- // List of all active breakpoints.
- // The fields `id` and `location` are guaranteed to be set on each breakpoint.
- Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"`
- // A token that can be used in the next method call to block until
- // the list of breakpoints changes.
- NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"`
- // If set to `true`, indicates that there is no change to the
- // list of active breakpoints and the server-selected timeout has expired.
- // The `breakpoints` field would be empty and should be ignored.
- WaitExpired bool `protobuf:"varint,3,opt,name=wait_expired,json=waitExpired,proto3" json:"wait_expired,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *ListActiveBreakpointsResponse) Reset() { *m = ListActiveBreakpointsResponse{} }
- func (m *ListActiveBreakpointsResponse) String() string { return proto.CompactTextString(m) }
- func (*ListActiveBreakpointsResponse) ProtoMessage() {}
- func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_controller_6b454e426974140a, []int{3}
- }
- func (m *ListActiveBreakpointsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListActiveBreakpointsResponse.Unmarshal(m, b)
- }
- func (m *ListActiveBreakpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListActiveBreakpointsResponse.Marshal(b, m, deterministic)
- }
- func (dst *ListActiveBreakpointsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListActiveBreakpointsResponse.Merge(dst, src)
- }
- func (m *ListActiveBreakpointsResponse) XXX_Size() int {
- return xxx_messageInfo_ListActiveBreakpointsResponse.Size(m)
- }
- func (m *ListActiveBreakpointsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListActiveBreakpointsResponse.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ListActiveBreakpointsResponse proto.InternalMessageInfo
-
- func (m *ListActiveBreakpointsResponse) GetBreakpoints() []*Breakpoint {
- if m != nil {
- return m.Breakpoints
- }
- return nil
- }
-
- func (m *ListActiveBreakpointsResponse) GetNextWaitToken() string {
- if m != nil {
- return m.NextWaitToken
- }
- return ""
- }
-
- func (m *ListActiveBreakpointsResponse) GetWaitExpired() bool {
- if m != nil {
- return m.WaitExpired
- }
- return false
- }
-
- // Request to update an active breakpoint.
- type UpdateActiveBreakpointRequest struct {
- // Identifies the debuggee being debugged.
- DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
- // Updated breakpoint information.
- // The field `id` must be set.
- // The agent must echo all Breakpoint specification fields in the update.
- Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *UpdateActiveBreakpointRequest) Reset() { *m = UpdateActiveBreakpointRequest{} }
- func (m *UpdateActiveBreakpointRequest) String() string { return proto.CompactTextString(m) }
- func (*UpdateActiveBreakpointRequest) ProtoMessage() {}
- func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_controller_6b454e426974140a, []int{4}
- }
- func (m *UpdateActiveBreakpointRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateActiveBreakpointRequest.Unmarshal(m, b)
- }
- func (m *UpdateActiveBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateActiveBreakpointRequest.Marshal(b, m, deterministic)
- }
- func (dst *UpdateActiveBreakpointRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateActiveBreakpointRequest.Merge(dst, src)
- }
- func (m *UpdateActiveBreakpointRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateActiveBreakpointRequest.Size(m)
- }
- func (m *UpdateActiveBreakpointRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateActiveBreakpointRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_UpdateActiveBreakpointRequest proto.InternalMessageInfo
-
- func (m *UpdateActiveBreakpointRequest) GetDebuggeeId() string {
- if m != nil {
- return m.DebuggeeId
- }
- return ""
- }
-
- func (m *UpdateActiveBreakpointRequest) GetBreakpoint() *Breakpoint {
- if m != nil {
- return m.Breakpoint
- }
- return nil
- }
-
- // Response for updating an active breakpoint.
- // The message is defined to allow future extensions.
- type UpdateActiveBreakpointResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *UpdateActiveBreakpointResponse) Reset() { *m = UpdateActiveBreakpointResponse{} }
- func (m *UpdateActiveBreakpointResponse) String() string { return proto.CompactTextString(m) }
- func (*UpdateActiveBreakpointResponse) ProtoMessage() {}
- func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_controller_6b454e426974140a, []int{5}
- }
- func (m *UpdateActiveBreakpointResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateActiveBreakpointResponse.Unmarshal(m, b)
- }
- func (m *UpdateActiveBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateActiveBreakpointResponse.Marshal(b, m, deterministic)
- }
- func (dst *UpdateActiveBreakpointResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateActiveBreakpointResponse.Merge(dst, src)
- }
- func (m *UpdateActiveBreakpointResponse) XXX_Size() int {
- return xxx_messageInfo_UpdateActiveBreakpointResponse.Size(m)
- }
- func (m *UpdateActiveBreakpointResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateActiveBreakpointResponse.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_UpdateActiveBreakpointResponse proto.InternalMessageInfo
-
- func init() {
- proto.RegisterType((*RegisterDebuggeeRequest)(nil), "google.devtools.clouddebugger.v2.RegisterDebuggeeRequest")
- proto.RegisterType((*RegisterDebuggeeResponse)(nil), "google.devtools.clouddebugger.v2.RegisterDebuggeeResponse")
- proto.RegisterType((*ListActiveBreakpointsRequest)(nil), "google.devtools.clouddebugger.v2.ListActiveBreakpointsRequest")
- proto.RegisterType((*ListActiveBreakpointsResponse)(nil), "google.devtools.clouddebugger.v2.ListActiveBreakpointsResponse")
- proto.RegisterType((*UpdateActiveBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.UpdateActiveBreakpointRequest")
- proto.RegisterType((*UpdateActiveBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.UpdateActiveBreakpointResponse")
- }
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
-
- // Controller2Client is the client API for Controller2 service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type Controller2Client interface {
- // Registers the debuggee with the controller service.
- //
- // All agents attached to the same application must call this method with
- // exactly the same request content to get back the same stable `debuggee_id`.
- // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
- // is returned from any controller method.
- //
- // This protocol allows the controller service to disable debuggees, recover
- // from data loss, or change the `debuggee_id` format. Agents must handle
- // `debuggee_id` value changing upon re-registration.
- RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error)
- // Returns the list of all active breakpoints for the debuggee.
- //
- // The breakpoint specification (`location`, `condition`, and `expressions`
- // fields) is semantically immutable, although the field values may
- // change. For example, an agent may update the location line number
- // to reflect the actual line where the breakpoint was set, but this
- // doesn't change the breakpoint semantics.
- //
- // This means that an agent does not need to check if a breakpoint has changed
- // when it encounters the same breakpoint on a successive call.
- // Moreover, an agent should remember the breakpoints that are completed
- // until the controller removes them from the active list to avoid
- // setting those breakpoints again.
- ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error)
- // Updates the breakpoint state or mutable fields.
- // The entire Breakpoint message must be sent back to the controller service.
- //
- // Updates to active breakpoint fields are only allowed if the new value
- // does not change the breakpoint specification. Updates to the `location`,
- // `condition` and `expressions` fields should not alter the breakpoint
- // semantics. These may only make changes such as canonicalizing a value
- // or snapping the location to the correct line of code.
- UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error)
- }
-
- type controller2Client struct {
- cc *grpc.ClientConn
- }
-
- func NewController2Client(cc *grpc.ClientConn) Controller2Client {
- return &controller2Client{cc}
- }
-
- func (c *controller2Client) RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error) {
- out := new(RegisterDebuggeeResponse)
- err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *controller2Client) ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error) {
- out := new(ListActiveBreakpointsResponse)
- err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *controller2Client) UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error) {
- out := new(UpdateActiveBreakpointResponse)
- err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- // Controller2Server is the server API for Controller2 service.
- type Controller2Server interface {
- // Registers the debuggee with the controller service.
- //
- // All agents attached to the same application must call this method with
- // exactly the same request content to get back the same stable `debuggee_id`.
- // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
- // is returned from any controller method.
- //
- // This protocol allows the controller service to disable debuggees, recover
- // from data loss, or change the `debuggee_id` format. Agents must handle
- // `debuggee_id` value changing upon re-registration.
- RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error)
- // Returns the list of all active breakpoints for the debuggee.
- //
- // The breakpoint specification (`location`, `condition`, and `expressions`
- // fields) is semantically immutable, although the field values may
- // change. For example, an agent may update the location line number
- // to reflect the actual line where the breakpoint was set, but this
- // doesn't change the breakpoint semantics.
- //
- // This means that an agent does not need to check if a breakpoint has changed
- // when it encounters the same breakpoint on a successive call.
- // Moreover, an agent should remember the breakpoints that are completed
- // until the controller removes them from the active list to avoid
- // setting those breakpoints again.
- ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error)
- // Updates the breakpoint state or mutable fields.
- // The entire Breakpoint message must be sent back to the controller service.
- //
- // Updates to active breakpoint fields are only allowed if the new value
- // does not change the breakpoint specification. Updates to the `location`,
- // `condition` and `expressions` fields should not alter the breakpoint
- // semantics. These may only make changes such as canonicalizing a value
- // or snapping the location to the correct line of code.
- UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error)
- }
-
- func RegisterController2Server(s *grpc.Server, srv Controller2Server) {
- s.RegisterService(&_Controller2_serviceDesc, srv)
- }
-
- func _Controller2_RegisterDebuggee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RegisterDebuggeeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(Controller2Server).RegisterDebuggee(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(Controller2Server).RegisterDebuggee(ctx, req.(*RegisterDebuggeeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _Controller2_ListActiveBreakpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListActiveBreakpointsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(Controller2Server).ListActiveBreakpoints(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(Controller2Server).ListActiveBreakpoints(ctx, req.(*ListActiveBreakpointsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _Controller2_UpdateActiveBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateActiveBreakpointRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, req.(*UpdateActiveBreakpointRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- var _Controller2_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.devtools.clouddebugger.v2.Controller2",
- HandlerType: (*Controller2Server)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "RegisterDebuggee",
- Handler: _Controller2_RegisterDebuggee_Handler,
- },
- {
- MethodName: "ListActiveBreakpoints",
- Handler: _Controller2_ListActiveBreakpoints_Handler,
- },
- {
- MethodName: "UpdateActiveBreakpoint",
- Handler: _Controller2_UpdateActiveBreakpoint_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/devtools/clouddebugger/v2/controller.proto",
- }
-
- func init() {
- proto.RegisterFile("google/devtools/clouddebugger/v2/controller.proto", fileDescriptor_controller_6b454e426974140a)
- }
-
- var fileDescriptor_controller_6b454e426974140a = []byte{
- // 602 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x6a, 0xd4, 0x40,
- 0x14, 0x66, 0x5a, 0x94, 0x76, 0xa2, 0xb4, 0x0c, 0xa8, 0x21, 0xb6, 0xba, 0x0d, 0x52, 0x96, 0x75,
- 0xc9, 0x60, 0xf4, 0xc6, 0x15, 0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