| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/devtools/clouddebugger/v2/debugger.proto |
| |
| package clouddebugger |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| empty "github.com/golang/protobuf/ptypes/empty" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| ) |
| |
| // 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.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Request to set a breakpoint |
| type SetBreakpointRequest struct { |
| // Required. ID of the debuggee where the breakpoint is to be set. |
| DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` |
| // Required. Breakpoint specification to set. |
| // The field `location` of the breakpoint must be set. |
| Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` |
| // Required. The client version making the call. |
| // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SetBreakpointRequest) Reset() { *m = SetBreakpointRequest{} } |
| func (m *SetBreakpointRequest) String() string { return proto.CompactTextString(m) } |
| func (*SetBreakpointRequest) ProtoMessage() {} |
| func (*SetBreakpointRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{0} |
| } |
| |
| func (m *SetBreakpointRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SetBreakpointRequest.Unmarshal(m, b) |
| } |
| func (m *SetBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SetBreakpointRequest.Marshal(b, m, deterministic) |
| } |
| func (m *SetBreakpointRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SetBreakpointRequest.Merge(m, src) |
| } |
| func (m *SetBreakpointRequest) XXX_Size() int { |
| return xxx_messageInfo_SetBreakpointRequest.Size(m) |
| } |
| func (m *SetBreakpointRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_SetBreakpointRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SetBreakpointRequest proto.InternalMessageInfo |
| |
| func (m *SetBreakpointRequest) GetDebuggeeId() string { |
| if m != nil { |
| return m.DebuggeeId |
| } |
| return "" |
| } |
| |
| func (m *SetBreakpointRequest) GetBreakpoint() *Breakpoint { |
| if m != nil { |
| return m.Breakpoint |
| } |
| return nil |
| } |
| |
| func (m *SetBreakpointRequest) GetClientVersion() string { |
| if m != nil { |
| return m.ClientVersion |
| } |
| return "" |
| } |
| |
| // Response for setting a breakpoint. |
| type SetBreakpointResponse struct { |
| // Breakpoint resource. |
| // The field `id` is guaranteed to be set (in addition to the echoed fileds). |
| Breakpoint *Breakpoint `protobuf:"bytes,1,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SetBreakpointResponse) Reset() { *m = SetBreakpointResponse{} } |
| func (m *SetBreakpointResponse) String() string { return proto.CompactTextString(m) } |
| func (*SetBreakpointResponse) ProtoMessage() {} |
| func (*SetBreakpointResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{1} |
| } |
| |
| func (m *SetBreakpointResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SetBreakpointResponse.Unmarshal(m, b) |
| } |
| func (m *SetBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SetBreakpointResponse.Marshal(b, m, deterministic) |
| } |
| func (m *SetBreakpointResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SetBreakpointResponse.Merge(m, src) |
| } |
| func (m *SetBreakpointResponse) XXX_Size() int { |
| return xxx_messageInfo_SetBreakpointResponse.Size(m) |
| } |
| func (m *SetBreakpointResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_SetBreakpointResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SetBreakpointResponse proto.InternalMessageInfo |
| |
| func (m *SetBreakpointResponse) GetBreakpoint() *Breakpoint { |
| if m != nil { |
| return m.Breakpoint |
| } |
| return nil |
| } |
| |
| // Request to get breakpoint information. |
| type GetBreakpointRequest struct { |
| // Required. ID of the debuggee whose breakpoint to get. |
| DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` |
| // Required. ID of the breakpoint to get. |
| BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId,proto3" json:"breakpoint_id,omitempty"` |
| // Required. The client version making the call. |
| // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetBreakpointRequest) Reset() { *m = GetBreakpointRequest{} } |
| func (m *GetBreakpointRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetBreakpointRequest) ProtoMessage() {} |
| func (*GetBreakpointRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{2} |
| } |
| |
| func (m *GetBreakpointRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetBreakpointRequest.Unmarshal(m, b) |
| } |
| func (m *GetBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetBreakpointRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetBreakpointRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetBreakpointRequest.Merge(m, src) |
| } |
| func (m *GetBreakpointRequest) XXX_Size() int { |
| return xxx_messageInfo_GetBreakpointRequest.Size(m) |
| } |
| func (m *GetBreakpointRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetBreakpointRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetBreakpointRequest proto.InternalMessageInfo |
| |
| func (m *GetBreakpointRequest) GetDebuggeeId() string { |
| if m != nil { |
| return m.DebuggeeId |
| } |
| return "" |
| } |
| |
| func (m *GetBreakpointRequest) GetBreakpointId() string { |
| if m != nil { |
| return m.BreakpointId |
| } |
| return "" |
| } |
| |
| func (m *GetBreakpointRequest) GetClientVersion() string { |
| if m != nil { |
| return m.ClientVersion |
| } |
| return "" |
| } |
| |
| // Response for getting breakpoint information. |
| type GetBreakpointResponse struct { |
| // Complete breakpoint state. |
| // The fields `id` and `location` are guaranteed to be set. |
| Breakpoint *Breakpoint `protobuf:"bytes,1,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetBreakpointResponse) Reset() { *m = GetBreakpointResponse{} } |
| func (m *GetBreakpointResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetBreakpointResponse) ProtoMessage() {} |
| func (*GetBreakpointResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{3} |
| } |
| |
| func (m *GetBreakpointResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetBreakpointResponse.Unmarshal(m, b) |
| } |
| func (m *GetBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetBreakpointResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetBreakpointResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetBreakpointResponse.Merge(m, src) |
| } |
| func (m *GetBreakpointResponse) XXX_Size() int { |
| return xxx_messageInfo_GetBreakpointResponse.Size(m) |
| } |
| func (m *GetBreakpointResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetBreakpointResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetBreakpointResponse proto.InternalMessageInfo |
| |
| func (m *GetBreakpointResponse) GetBreakpoint() *Breakpoint { |
| if m != nil { |
| return m.Breakpoint |
| } |
| return nil |
| } |
| |
| // Request to delete a breakpoint. |
| type DeleteBreakpointRequest struct { |
| // Required. ID of the debuggee whose breakpoint to delete. |
| DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` |
| // Required. ID of the breakpoint to delete. |
| BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId,proto3" json:"breakpoint_id,omitempty"` |
| // Required. The client version making the call. |
| // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| ClientVersion string `protobuf:"bytes,3,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteBreakpointRequest) Reset() { *m = DeleteBreakpointRequest{} } |
| func (m *DeleteBreakpointRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeleteBreakpointRequest) ProtoMessage() {} |
| func (*DeleteBreakpointRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{4} |
| } |
| |
| func (m *DeleteBreakpointRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteBreakpointRequest.Unmarshal(m, b) |
| } |
| func (m *DeleteBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteBreakpointRequest.Marshal(b, m, deterministic) |
| } |
| func (m *DeleteBreakpointRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteBreakpointRequest.Merge(m, src) |
| } |
| func (m *DeleteBreakpointRequest) XXX_Size() int { |
| return xxx_messageInfo_DeleteBreakpointRequest.Size(m) |
| } |
| func (m *DeleteBreakpointRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteBreakpointRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteBreakpointRequest proto.InternalMessageInfo |
| |
| func (m *DeleteBreakpointRequest) GetDebuggeeId() string { |
| if m != nil { |
| return m.DebuggeeId |
| } |
| return "" |
| } |
| |
| func (m *DeleteBreakpointRequest) GetBreakpointId() string { |
| if m != nil { |
| return m.BreakpointId |
| } |
| return "" |
| } |
| |
| func (m *DeleteBreakpointRequest) GetClientVersion() string { |
| if m != nil { |
| return m.ClientVersion |
| } |
| return "" |
| } |
| |
| // Request to list breakpoints. |
| type ListBreakpointsRequest struct { |
| // Required. ID of the debuggee whose breakpoints to list. |
| DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` |
| // When set to `true`, the response includes the list of breakpoints set by |
| // any user. Otherwise, it includes only breakpoints set by the caller. |
| IncludeAllUsers bool `protobuf:"varint,2,opt,name=include_all_users,json=includeAllUsers,proto3" json:"include_all_users,omitempty"` |
| // When set to `true`, the response includes active and inactive |
| // breakpoints. Otherwise, it includes only active breakpoints. |
| IncludeInactive bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` |
| // When set, the response includes only breakpoints with the specified action. |
| Action *ListBreakpointsRequest_BreakpointActionValue `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` |
| // This field is deprecated. The following fields are always stripped out of |
| // the result: `stack_frames`, `evaluated_expressions` and `variable_table`. |
| StripResults bool `protobuf:"varint,5,opt,name=strip_results,json=stripResults,proto3" json:"strip_results,omitempty"` // Deprecated: Do not use. |
| // A wait token that, if specified, blocks the call until the breakpoints |
| // list has changed, or a server selected timeout has expired. The value |
| // should be set from the last response. The error code |
| // `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which |
| // should be called again with the same `wait_token`. |
| WaitToken string `protobuf:"bytes,6,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"` |
| // Required. The client version making the call. |
| // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListBreakpointsRequest) Reset() { *m = ListBreakpointsRequest{} } |
| func (m *ListBreakpointsRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListBreakpointsRequest) ProtoMessage() {} |
| func (*ListBreakpointsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{5} |
| } |
| |
| func (m *ListBreakpointsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListBreakpointsRequest.Unmarshal(m, b) |
| } |
| func (m *ListBreakpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListBreakpointsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListBreakpointsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListBreakpointsRequest.Merge(m, src) |
| } |
| func (m *ListBreakpointsRequest) XXX_Size() int { |
| return xxx_messageInfo_ListBreakpointsRequest.Size(m) |
| } |
| func (m *ListBreakpointsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListBreakpointsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListBreakpointsRequest proto.InternalMessageInfo |
| |
| func (m *ListBreakpointsRequest) GetDebuggeeId() string { |
| if m != nil { |
| return m.DebuggeeId |
| } |
| return "" |
| } |
| |
| func (m *ListBreakpointsRequest) GetIncludeAllUsers() bool { |
| if m != nil { |
| return m.IncludeAllUsers |
| } |
| return false |
| } |
| |
| func (m *ListBreakpointsRequest) GetIncludeInactive() bool { |
| if m != nil { |
| return m.IncludeInactive |
| } |
| return false |
| } |
| |
| func (m *ListBreakpointsRequest) GetAction() *ListBreakpointsRequest_BreakpointActionValue { |
| if m != nil { |
| return m.Action |
| } |
| return nil |
| } |
| |
| // Deprecated: Do not use. |
| func (m *ListBreakpointsRequest) GetStripResults() bool { |
| if m != nil { |
| return m.StripResults |
| } |
| return false |
| } |
| |
| func (m *ListBreakpointsRequest) GetWaitToken() string { |
| if m != nil { |
| return m.WaitToken |
| } |
| return "" |
| } |
| |
| func (m *ListBreakpointsRequest) GetClientVersion() string { |
| if m != nil { |
| return m.ClientVersion |
| } |
| return "" |
| } |
| |
| // Wrapper message for `Breakpoint.Action`. Defines a filter on the action |
| // field of breakpoints. |
| type ListBreakpointsRequest_BreakpointActionValue struct { |
| // Only breakpoints with the specified action will pass the filter. |
| Value Breakpoint_Action `protobuf:"varint,1,opt,name=value,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"value,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListBreakpointsRequest_BreakpointActionValue) Reset() { |
| *m = ListBreakpointsRequest_BreakpointActionValue{} |
| } |
| func (m *ListBreakpointsRequest_BreakpointActionValue) String() string { |
| return proto.CompactTextString(m) |
| } |
| func (*ListBreakpointsRequest_BreakpointActionValue) ProtoMessage() {} |
| func (*ListBreakpointsRequest_BreakpointActionValue) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{5, 0} |
| } |
| |
| func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Unmarshal(m, b) |
| } |
| func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Marshal(b, m, deterministic) |
| } |
| func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Merge(m, src) |
| } |
| func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Size() int { |
| return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Size(m) |
| } |
| func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue proto.InternalMessageInfo |
| |
| func (m *ListBreakpointsRequest_BreakpointActionValue) GetValue() Breakpoint_Action { |
| if m != nil { |
| return m.Value |
| } |
| return Breakpoint_CAPTURE |
| } |
| |
| // Response for listing breakpoints. |
| type ListBreakpointsResponse struct { |
| // List of breakpoints matching the request. |
| // The fields `id` and `location` are guaranteed to be set on each breakpoint. |
| // The fields: `stack_frames`, `evaluated_expressions` and `variable_table` |
| // are cleared on each breakpoint regardless of its status. |
| Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"` |
| // A wait token that can be used in the next call to `list` (REST) or |
| // `ListBreakpoints` (RPC) to block until the list of breakpoints has changes. |
| NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListBreakpointsResponse) Reset() { *m = ListBreakpointsResponse{} } |
| func (m *ListBreakpointsResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListBreakpointsResponse) ProtoMessage() {} |
| func (*ListBreakpointsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{6} |
| } |
| |
| func (m *ListBreakpointsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListBreakpointsResponse.Unmarshal(m, b) |
| } |
| func (m *ListBreakpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListBreakpointsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListBreakpointsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListBreakpointsResponse.Merge(m, src) |
| } |
| func (m *ListBreakpointsResponse) XXX_Size() int { |
| return xxx_messageInfo_ListBreakpointsResponse.Size(m) |
| } |
| func (m *ListBreakpointsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListBreakpointsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListBreakpointsResponse proto.InternalMessageInfo |
| |
| func (m *ListBreakpointsResponse) GetBreakpoints() []*Breakpoint { |
| if m != nil { |
| return m.Breakpoints |
| } |
| return nil |
| } |
| |
| func (m *ListBreakpointsResponse) GetNextWaitToken() string { |
| if m != nil { |
| return m.NextWaitToken |
| } |
| return "" |
| } |
| |
| // Request to list debuggees. |
| type ListDebuggeesRequest struct { |
| // Required. Project number of a Google Cloud project whose debuggees to list. |
| Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| // When set to `true`, the result includes all debuggees. Otherwise, the |
| // result includes only debuggees that are active. |
| IncludeInactive bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` |
| // Required. The client version making the call. |
| // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListDebuggeesRequest) Reset() { *m = ListDebuggeesRequest{} } |
| func (m *ListDebuggeesRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListDebuggeesRequest) ProtoMessage() {} |
| func (*ListDebuggeesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{7} |
| } |
| |
| func (m *ListDebuggeesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListDebuggeesRequest.Unmarshal(m, b) |
| } |
| func (m *ListDebuggeesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListDebuggeesRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListDebuggeesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListDebuggeesRequest.Merge(m, src) |
| } |
| func (m *ListDebuggeesRequest) XXX_Size() int { |
| return xxx_messageInfo_ListDebuggeesRequest.Size(m) |
| } |
| func (m *ListDebuggeesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListDebuggeesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListDebuggeesRequest proto.InternalMessageInfo |
| |
| func (m *ListDebuggeesRequest) GetProject() string { |
| if m != nil { |
| return m.Project |
| } |
| return "" |
| } |
| |
| func (m *ListDebuggeesRequest) GetIncludeInactive() bool { |
| if m != nil { |
| return m.IncludeInactive |
| } |
| return false |
| } |
| |
| func (m *ListDebuggeesRequest) GetClientVersion() string { |
| if m != nil { |
| return m.ClientVersion |
| } |
| return "" |
| } |
| |
| // Response for listing debuggees. |
| type ListDebuggeesResponse struct { |
| // List of debuggees accessible to the calling user. |
| // The fields `debuggee.id` and `description` are guaranteed to be set. |
| // The `description` field is a human readable field provided by agents and |
| // can be displayed to users. |
| Debuggees []*Debuggee `protobuf:"bytes,1,rep,name=debuggees,proto3" json:"debuggees,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListDebuggeesResponse) Reset() { *m = ListDebuggeesResponse{} } |
| func (m *ListDebuggeesResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListDebuggeesResponse) ProtoMessage() {} |
| func (*ListDebuggeesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_682c945d4794189b, []int{8} |
| } |
| |
| func (m *ListDebuggeesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListDebuggeesResponse.Unmarshal(m, b) |
| } |
| func (m *ListDebuggeesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListDebuggeesResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListDebuggeesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListDebuggeesResponse.Merge(m, src) |
| } |
| func (m *ListDebuggeesResponse) XXX_Size() int { |
| return xxx_messageInfo_ListDebuggeesResponse.Size(m) |
| } |
| func (m *ListDebuggeesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListDebuggeesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListDebuggeesResponse proto.InternalMessageInfo |
| |
| func (m *ListDebuggeesResponse) GetDebuggees() []*Debuggee { |
| if m != nil { |
| return m.Debuggees |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*SetBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.SetBreakpointRequest") |
| proto.RegisterType((*SetBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.SetBreakpointResponse") |
| proto.RegisterType((*GetBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.GetBreakpointRequest") |
| proto.RegisterType((*GetBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.GetBreakpointResponse") |
| proto.RegisterType((*DeleteBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.DeleteBreakpointRequest") |
| proto.RegisterType((*ListBreakpointsRequest)(nil), "google.devtools.clouddebugger.v2.ListBreakpointsRequest") |
| proto.RegisterType((*ListBreakpointsRequest_BreakpointActionValue)(nil), "google.devtools.clouddebugger.v2.ListBreakpointsRequest.BreakpointActionValue") |
| proto.RegisterType((*ListBreakpointsResponse)(nil), "google.devtools.clouddebugger.v2.ListBreakpointsResponse") |
| proto.RegisterType((*ListDebuggeesRequest)(nil), "google.devtools.clouddebugger.v2.ListDebuggeesRequest") |
| proto.RegisterType((*ListDebuggeesResponse)(nil), "google.devtools.clouddebugger.v2.ListDebuggeesResponse") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/devtools/clouddebugger/v2/debugger.proto", fileDescriptor_682c945d4794189b) |
| } |
| |
| var fileDescriptor_682c945d4794189b = []byte{ |
| // 922 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdd, 0x6e, 0xdc, 0x44, |
| 0x14, 0xd6, 0x6c, 0x68, 0xe8, 0x9e, 0x74, 0x9b, 0x32, 0xca, 0x8f, 0x65, 0x5a, 0x11, 0x59, 0x05, |
| 0x42, 0x08, 0x36, 0x72, 0x11, 0xa5, 0xe5, 0x06, 0x2f, 0x45, 0x4b, 0xa4, 0x52, 0x15, 0x43, 0x83, |
| 0x84, 0x82, 0xac, 0xd9, 0xdd, 0xc9, 0xc6, 0xd4, 0xf1, 0x18, 0xcf, 0x78, 0x03, 0xaa, 0x2a, 0x24, |
| 0xae, 0xb9, 0x01, 0xc4, 0x4b, 0xf0, 0x06, 0x08, 0x9e, 0xa0, 0x97, 0x20, 0x6e, 0x56, 0x42, 0xe2, |
| 0x82, 0x27, 0x88, 0xc4, 0x3d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0x5c, 0xad, 0xf6, 0xc8, 0x27, 0x20, 0x91, 0xcf, 0xcd, 0x01, |
| 0x3b, 0xfe, 0xc5, 0xf9, 0xe4, 0x48, 0x88, 0x88, 0xdf, 0xb6, 0xac, 0x93, 0x93, 0x93, 0xa9, 0xa4, |
| 0x45, 0x12, 0x71, 0x94, 0x5f, 0x92, 0x5f, 0x89, 0x02, 0x22, 0x0e, 0x59, 0x7c, 0xbc, 0x3b, 0xd7, |
| 0x71, 0x4f, 0xb5, 0xeb, 0xfe, 0x8c, 0xe0, 0xfa, 0x80, 0x1d, 0xcf, 0x24, 0xde, 0xed, 0xa8, 0xd5, |
| 0x78, 0x3f, 0xb5, 0xf4, 0x7d, 0xf4, 0xf1, 0x7b, 0xb2, 0x64, 0xc4, 0x02, 0x12, 0x8e, 0x4c, 0x16, |
| 0x8f, 0xac, 0x11, 0x0d, 0x33, 0xc3, 0x5b, 0x45, 0xe3, 0xf3, 0x2f, 0xf3, 0x6f, 0x56, 0x02, 0x3f, |
| 0xb4, 0xb4, 0x5e, 0x8e, 0xf7, 0x76, 0x1a, 0x56, 0x0b, 0x3a, 0x36, 0xf7, 0xed, 0x27, 0x2a, 0x75, |
| 0x90, 0xa5, 0x0e, 0x54, 0xea, 0x60, 0xdf, 0xee, 0x2f, 0x67, 0xfd, 0x6e, 0xfc, 0x1d, 0x00, 0x00, |
| 0xff, 0xff, 0x6e, 0xd6, 0x58, 0xf7, 0xc8, 0x0c, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConnInterface |
| |
| // 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.SupportPackageIsVersion6 |
| |
| // Debugger2Client is the client API for Debugger2 service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type Debugger2Client interface { |
| // Sets the breakpoint to the debuggee. |
| SetBreakpoint(ctx context.Context, in *SetBreakpointRequest, opts ...grpc.CallOption) (*SetBreakpointResponse, error) |
| // Gets breakpoint information. |
| GetBreakpoint(ctx context.Context, in *GetBreakpointRequest, opts ...grpc.CallOption) (*GetBreakpointResponse, error) |
| // Deletes the breakpoint from the debuggee. |
| DeleteBreakpoint(ctx context.Context, in *DeleteBreakpointRequest, opts ...grpc.CallOption) (*empty.Empty, error) |
| // Lists all breakpoints for the debuggee. |
| ListBreakpoints(ctx context.Context, in *ListBreakpointsRequest, opts ...grpc.CallOption) (*ListBreakpointsResponse, error) |
| // Lists all the debuggees that the user has access to. |
| ListDebuggees(ctx context.Context, in *ListDebuggeesRequest, opts ...grpc.CallOption) (*ListDebuggeesResponse, error) |
| } |
| |
| type debugger2Client struct { |
| cc grpc.ClientConnInterface |
| } |
| |
| func NewDebugger2Client(cc grpc.ClientConnInterface) Debugger2Client { |
| return &debugger2Client{cc} |
| } |
| |
| func (c *debugger2Client) SetBreakpoint(ctx context.Context, in *SetBreakpointRequest, opts ...grpc.CallOption) (*SetBreakpointResponse, error) { |
| out := new(SetBreakpointResponse) |
| err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/SetBreakpoint", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *debugger2Client) GetBreakpoint(ctx context.Context, in *GetBreakpointRequest, opts ...grpc.CallOption) (*GetBreakpointResponse, error) { |
| out := new(GetBreakpointResponse) |
| err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/GetBreakpoint", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *debugger2Client) DeleteBreakpoint(ctx context.Context, in *DeleteBreakpointRequest, opts ...grpc.CallOption) (*empty.Empty, error) { |
| out := new(empty.Empty) |
| err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/DeleteBreakpoint", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *debugger2Client) ListBreakpoints(ctx context.Context, in *ListBreakpointsRequest, opts ...grpc.CallOption) (*ListBreakpointsResponse, error) { |
| out := new(ListBreakpointsResponse) |
| err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/ListBreakpoints", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *debugger2Client) ListDebuggees(ctx context.Context, in *ListDebuggeesRequest, opts ...grpc.CallOption) (*ListDebuggeesResponse, error) { |
| out := new(ListDebuggeesResponse) |
| err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/ListDebuggees", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // Debugger2Server is the server API for Debugger2 service. |
| type Debugger2Server interface { |
| // Sets the breakpoint to the debuggee. |
| SetBreakpoint(context.Context, *SetBreakpointRequest) (*SetBreakpointResponse, error) |
| // Gets breakpoint information. |
| GetBreakpoint(context.Context, *GetBreakpointRequest) (*GetBreakpointResponse, error) |
| // Deletes the breakpoint from the debuggee. |
| DeleteBreakpoint(context.Context, *DeleteBreakpointRequest) (*empty.Empty, error) |
| // Lists all breakpoints for the debuggee. |
| ListBreakpoints(context.Context, *ListBreakpointsRequest) (*ListBreakpointsResponse, error) |
| // Lists all the debuggees that the user has access to. |
| ListDebuggees(context.Context, *ListDebuggeesRequest) (*ListDebuggeesResponse, error) |
| } |
| |
| // UnimplementedDebugger2Server can be embedded to have forward compatible implementations. |
| type UnimplementedDebugger2Server struct { |
| } |
| |
| func (*UnimplementedDebugger2Server) SetBreakpoint(ctx context.Context, req *SetBreakpointRequest) (*SetBreakpointResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method SetBreakpoint not implemented") |
| } |
| func (*UnimplementedDebugger2Server) GetBreakpoint(ctx context.Context, req *GetBreakpointRequest) (*GetBreakpointResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetBreakpoint not implemented") |
| } |
| func (*UnimplementedDebugger2Server) DeleteBreakpoint(ctx context.Context, req *DeleteBreakpointRequest) (*empty.Empty, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method DeleteBreakpoint not implemented") |
| } |
| func (*UnimplementedDebugger2Server) ListBreakpoints(ctx context.Context, req *ListBreakpointsRequest) (*ListBreakpointsResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListBreakpoints not implemented") |
| } |
| func (*UnimplementedDebugger2Server) ListDebuggees(ctx context.Context, req *ListDebuggeesRequest) (*ListDebuggeesResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListDebuggees not implemented") |
| } |
| |
| func RegisterDebugger2Server(s *grpc.Server, srv Debugger2Server) { |
| s.RegisterService(&_Debugger2_serviceDesc, srv) |
| } |
| |
| func _Debugger2_SetBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(SetBreakpointRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(Debugger2Server).SetBreakpoint(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/SetBreakpoint", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(Debugger2Server).SetBreakpoint(ctx, req.(*SetBreakpointRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Debugger2_GetBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetBreakpointRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(Debugger2Server).GetBreakpoint(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/GetBreakpoint", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(Debugger2Server).GetBreakpoint(ctx, req.(*GetBreakpointRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Debugger2_DeleteBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeleteBreakpointRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(Debugger2Server).DeleteBreakpoint(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/DeleteBreakpoint", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(Debugger2Server).DeleteBreakpoint(ctx, req.(*DeleteBreakpointRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Debugger2_ListBreakpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListBreakpointsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(Debugger2Server).ListBreakpoints(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/ListBreakpoints", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(Debugger2Server).ListBreakpoints(ctx, req.(*ListBreakpointsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Debugger2_ListDebuggees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListDebuggeesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(Debugger2Server).ListDebuggees(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/ListDebuggees", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(Debugger2Server).ListDebuggees(ctx, req.(*ListDebuggeesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Debugger2_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.devtools.clouddebugger.v2.Debugger2", |
| HandlerType: (*Debugger2Server)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "SetBreakpoint", |
| Handler: _Debugger2_SetBreakpoint_Handler, |
| }, |
| { |
| MethodName: "GetBreakpoint", |
| Handler: _Debugger2_GetBreakpoint_Handler, |
| }, |
| { |
| MethodName: "DeleteBreakpoint", |
| Handler: _Debugger2_DeleteBreakpoint_Handler, |
| }, |
| { |
| MethodName: "ListBreakpoints", |
| Handler: _Debugger2_ListBreakpoints_Handler, |
| }, |
| { |
| MethodName: "ListDebuggees", |
| Handler: _Debugger2_ListDebuggees_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/devtools/clouddebugger/v2/debugger.proto", |
| } |