Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
This commit is contained in:
2049
vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go
generated
vendored
Normal file
2049
vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
471
vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go
generated
vendored
Normal file
471
vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go
generated
vendored
Normal file
@@ -0,0 +1,471 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouddebugger/v2/controller.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package clouddebugger is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/clouddebugger/v2/controller.proto
|
||||
google/devtools/clouddebugger/v2/data.proto
|
||||
google/devtools/clouddebugger/v2/debugger.proto
|
||||
|
||||
It has these top-level messages:
|
||||
RegisterDebuggeeRequest
|
||||
RegisterDebuggeeResponse
|
||||
ListActiveBreakpointsRequest
|
||||
ListActiveBreakpointsResponse
|
||||
UpdateActiveBreakpointRequest
|
||||
UpdateActiveBreakpointResponse
|
||||
FormatMessage
|
||||
StatusMessage
|
||||
SourceLocation
|
||||
Variable
|
||||
StackFrame
|
||||
Breakpoint
|
||||
Debuggee
|
||||
SetBreakpointRequest
|
||||
SetBreakpointResponse
|
||||
GetBreakpointRequest
|
||||
GetBreakpointResponse
|
||||
DeleteBreakpointRequest
|
||||
ListBreakpointsRequest
|
||||
ListBreakpointsResponse
|
||||
ListDebuggeesRequest
|
||||
ListDebuggeesResponse
|
||||
*/
|
||||
package clouddebugger
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
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" json:"debuggee,omitempty"`
|
||||
}
|
||||
|
||||
func (m *RegisterDebuggeeRequest) Reset() { *m = RegisterDebuggeeRequest{} }
|
||||
func (m *RegisterDebuggeeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*RegisterDebuggeeRequest) ProtoMessage() {}
|
||||
func (*RegisterDebuggeeRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
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 guranteed to be set (in addition to the echoed fields).
|
||||
Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee" json:"debuggee,omitempty"`
|
||||
}
|
||||
|
||||
func (m *RegisterDebuggeeResponse) Reset() { *m = RegisterDebuggeeResponse{} }
|
||||
func (m *RegisterDebuggeeResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*RegisterDebuggeeResponse) ProtoMessage() {}
|
||||
func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
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" json:"debuggee_id,omitempty"`
|
||||
// A wait 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 last returned response.
|
||||
WaitToken string `protobuf:"bytes,2,opt,name=wait_token,json=waitToken" json:"wait_token,omitempty"`
|
||||
// If set to `true`, returns `google.rpc.Code.OK` status and sets the
|
||||
// `wait_expired` response field to `true` when the server-selected timeout
|
||||
// has expired (recommended).
|
||||
//
|
||||
// If set to `false`, returns `google.rpc.Code.ABORTED` status when the
|
||||
// server-selected timeout has expired (deprecated).
|
||||
SuccessOnTimeout bool `protobuf:"varint,3,opt,name=success_on_timeout,json=successOnTimeout" json:"success_on_timeout,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListActiveBreakpointsRequest) Reset() { *m = ListActiveBreakpointsRequest{} }
|
||||
func (m *ListActiveBreakpointsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListActiveBreakpointsRequest) ProtoMessage() {}
|
||||
func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
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" json:"breakpoints,omitempty"`
|
||||
// A wait 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" json:"next_wait_token,omitempty"`
|
||||
// The `wait_expired` field is set to true by the server when the
|
||||
// request times out and the field `success_on_timeout` is set to true.
|
||||
WaitExpired bool `protobuf:"varint,3,opt,name=wait_expired,json=waitExpired" json:"wait_expired,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListActiveBreakpointsResponse) Reset() { *m = ListActiveBreakpointsResponse{} }
|
||||
func (m *ListActiveBreakpointsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListActiveBreakpointsResponse) ProtoMessage() {}
|
||||
func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
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" json:"debuggee_id,omitempty"`
|
||||
// Updated breakpoint information.
|
||||
// The field 'id' must be set.
|
||||
Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint" json:"breakpoint,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateActiveBreakpointRequest) Reset() { *m = UpdateActiveBreakpointRequest{} }
|
||||
func (m *UpdateActiveBreakpointRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateActiveBreakpointRequest) ProtoMessage() {}
|
||||
func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
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 {
|
||||
}
|
||||
|
||||
func (m *UpdateActiveBreakpointResponse) Reset() { *m = UpdateActiveBreakpointResponse{} }
|
||||
func (m *UpdateActiveBreakpointResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateActiveBreakpointResponse) ProtoMessage() {}
|
||||
func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
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
|
||||
|
||||
// Client API for Controller2 service
|
||||
|
||||
type Controller2Client interface {
|
||||
// Registers the debuggee with the controller service.
|
||||
//
|
||||
// All agents attached to the same application should call this method with
|
||||
// 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 allows the controller service to disable the agent or recover from any
|
||||
// data loss. If the debuggee is disabled by the server, the response will
|
||||
// have `is_disabled` set to `true`.
|
||||
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 expression
|
||||
// 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 `expression` 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 := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for Controller2 service
|
||||
|
||||
type Controller2Server interface {
|
||||
// Registers the debuggee with the controller service.
|
||||
//
|
||||
// All agents attached to the same application should call this method with
|
||||
// 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 allows the controller service to disable the agent or recover from any
|
||||
// data loss. If the debuggee is disabled by the server, the response will
|
||||
// have `is_disabled` set to `true`.
|
||||
RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error)
|
||||
// Returns the list of all active breakpoints for the debuggee.
|
||||
//
|
||||
// The breakpoint specification (location, condition, and expression
|
||||
// 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 `expression` 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", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 572 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, 0xf6, 0x44, 0x69, 0x19, 0x50, 0x97, 0xd8, 0xea, 0x36, 0x48, 0x29, 0xeb,
|
||||
0x92, 0xc1, 0xe8, 0x8d, 0x2b, 0xf8, 0xb3, 0xfe, 0x21, 0xb4, 0x5a, 0x96, 0x8a, 0xe0, 0xcd, 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, 0x06, 0x00, 0x00,
|
||||
}
|
892
vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go
generated
vendored
Normal file
892
vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go
generated
vendored
Normal file
@@ -0,0 +1,892 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouddebugger/v2/data.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package clouddebugger
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_devtools_source_v1 "google.golang.org/genproto/googleapis/devtools/source/v1"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/wrappers"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Enumerates references to which the message applies.
|
||||
type StatusMessage_Reference int32
|
||||
|
||||
const (
|
||||
// Status doesn't refer to any particular input.
|
||||
StatusMessage_UNSPECIFIED StatusMessage_Reference = 0
|
||||
// Status applies to the breakpoint and is related to its location.
|
||||
StatusMessage_BREAKPOINT_SOURCE_LOCATION StatusMessage_Reference = 3
|
||||
// Status applies to the breakpoint and is related to its condition.
|
||||
StatusMessage_BREAKPOINT_CONDITION StatusMessage_Reference = 4
|
||||
// Status applies to the breakpoint and is related to its expressions.
|
||||
StatusMessage_BREAKPOINT_EXPRESSION StatusMessage_Reference = 7
|
||||
// Status applies to the breakpoint and is related to its age.
|
||||
StatusMessage_BREAKPOINT_AGE StatusMessage_Reference = 8
|
||||
// Status applies to the entire variable.
|
||||
StatusMessage_VARIABLE_NAME StatusMessage_Reference = 5
|
||||
// Status applies to variable value (variable name is valid).
|
||||
StatusMessage_VARIABLE_VALUE StatusMessage_Reference = 6
|
||||
)
|
||||
|
||||
var StatusMessage_Reference_name = map[int32]string{
|
||||
0: "UNSPECIFIED",
|
||||
3: "BREAKPOINT_SOURCE_LOCATION",
|
||||
4: "BREAKPOINT_CONDITION",
|
||||
7: "BREAKPOINT_EXPRESSION",
|
||||
8: "BREAKPOINT_AGE",
|
||||
5: "VARIABLE_NAME",
|
||||
6: "VARIABLE_VALUE",
|
||||
}
|
||||
var StatusMessage_Reference_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"BREAKPOINT_SOURCE_LOCATION": 3,
|
||||
"BREAKPOINT_CONDITION": 4,
|
||||
"BREAKPOINT_EXPRESSION": 7,
|
||||
"BREAKPOINT_AGE": 8,
|
||||
"VARIABLE_NAME": 5,
|
||||
"VARIABLE_VALUE": 6,
|
||||
}
|
||||
|
||||
func (x StatusMessage_Reference) String() string {
|
||||
return proto.EnumName(StatusMessage_Reference_name, int32(x))
|
||||
}
|
||||
func (StatusMessage_Reference) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{1, 0} }
|
||||
|
||||
// Actions that can be taken when a breakpoint hits.
|
||||
// Agents should reject breakpoints with unsupported or unknown action values.
|
||||
type Breakpoint_Action int32
|
||||
|
||||
const (
|
||||
// Capture stack frame and variables and update the breakpoint.
|
||||
// The data is only captured once. After that the breakpoint is set
|
||||
// in a final state.
|
||||
Breakpoint_CAPTURE Breakpoint_Action = 0
|
||||
// Log each breakpoint hit. The breakpoint remains active until
|
||||
// deleted or expired.
|
||||
Breakpoint_LOG Breakpoint_Action = 1
|
||||
)
|
||||
|
||||
var Breakpoint_Action_name = map[int32]string{
|
||||
0: "CAPTURE",
|
||||
1: "LOG",
|
||||
}
|
||||
var Breakpoint_Action_value = map[string]int32{
|
||||
"CAPTURE": 0,
|
||||
"LOG": 1,
|
||||
}
|
||||
|
||||
func (x Breakpoint_Action) String() string {
|
||||
return proto.EnumName(Breakpoint_Action_name, int32(x))
|
||||
}
|
||||
func (Breakpoint_Action) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{5, 0} }
|
||||
|
||||
// Log severity levels.
|
||||
type Breakpoint_LogLevel int32
|
||||
|
||||
const (
|
||||
// Information log message.
|
||||
Breakpoint_INFO Breakpoint_LogLevel = 0
|
||||
// Warning log message.
|
||||
Breakpoint_WARNING Breakpoint_LogLevel = 1
|
||||
// Error log message.
|
||||
Breakpoint_ERROR Breakpoint_LogLevel = 2
|
||||
)
|
||||
|
||||
var Breakpoint_LogLevel_name = map[int32]string{
|
||||
0: "INFO",
|
||||
1: "WARNING",
|
||||
2: "ERROR",
|
||||
}
|
||||
var Breakpoint_LogLevel_value = map[string]int32{
|
||||
"INFO": 0,
|
||||
"WARNING": 1,
|
||||
"ERROR": 2,
|
||||
}
|
||||
|
||||
func (x Breakpoint_LogLevel) String() string {
|
||||
return proto.EnumName(Breakpoint_LogLevel_name, int32(x))
|
||||
}
|
||||
func (Breakpoint_LogLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{5, 1} }
|
||||
|
||||
// Represents a message with parameters.
|
||||
type FormatMessage struct {
|
||||
// Format template for the message. The `format` uses placeholders `$0`,
|
||||
// `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
|
||||
// character.
|
||||
//
|
||||
// Examples:
|
||||
//
|
||||
// * `Failed to load '$0' which helps debug $1 the first time it
|
||||
// is loaded. Again, $0 is very important.`
|
||||
// * `Please pay $$10 to use $0 instead of $1.`
|
||||
Format string `protobuf:"bytes,1,opt,name=format" json:"format,omitempty"`
|
||||
// Optional parameters to be embedded into the message.
|
||||
Parameters []string `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"`
|
||||
}
|
||||
|
||||
func (m *FormatMessage) Reset() { *m = FormatMessage{} }
|
||||
func (m *FormatMessage) String() string { return proto.CompactTextString(m) }
|
||||
func (*FormatMessage) ProtoMessage() {}
|
||||
func (*FormatMessage) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
func (m *FormatMessage) GetFormat() string {
|
||||
if m != nil {
|
||||
return m.Format
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *FormatMessage) GetParameters() []string {
|
||||
if m != nil {
|
||||
return m.Parameters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents a contextual status message.
|
||||
// The message can indicate an error or informational status, and refer to
|
||||
// specific parts of the containing object.
|
||||
// For example, the `Breakpoint.status` field can indicate an error referring
|
||||
// to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
||||
type StatusMessage struct {
|
||||
// Distinguishes errors from informational messages.
|
||||
IsError bool `protobuf:"varint,1,opt,name=is_error,json=isError" json:"is_error,omitempty"`
|
||||
// Reference to which the message applies.
|
||||
RefersTo StatusMessage_Reference `protobuf:"varint,2,opt,name=refers_to,json=refersTo,enum=google.devtools.clouddebugger.v2.StatusMessage_Reference" json:"refers_to,omitempty"`
|
||||
// Status message text.
|
||||
Description *FormatMessage `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StatusMessage) Reset() { *m = StatusMessage{} }
|
||||
func (m *StatusMessage) String() string { return proto.CompactTextString(m) }
|
||||
func (*StatusMessage) ProtoMessage() {}
|
||||
func (*StatusMessage) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
|
||||
func (m *StatusMessage) GetIsError() bool {
|
||||
if m != nil {
|
||||
return m.IsError
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *StatusMessage) GetRefersTo() StatusMessage_Reference {
|
||||
if m != nil {
|
||||
return m.RefersTo
|
||||
}
|
||||
return StatusMessage_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *StatusMessage) GetDescription() *FormatMessage {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents a location in the source code.
|
||||
type SourceLocation struct {
|
||||
// Path to the source file within the source context of the target binary.
|
||||
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
|
||||
// Line inside the file. The first line in the file has the value `1`.
|
||||
Line int32 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
|
||||
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceLocation) ProtoMessage() {}
|
||||
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
|
||||
|
||||
func (m *SourceLocation) GetPath() string {
|
||||
if m != nil {
|
||||
return m.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourceLocation) GetLine() int32 {
|
||||
if m != nil {
|
||||
return m.Line
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Represents a variable or an argument possibly of a compound object type.
|
||||
// Note how the following variables are represented:
|
||||
//
|
||||
// 1) A simple variable:
|
||||
//
|
||||
// int x = 5
|
||||
//
|
||||
// { name: "x", value: "5", type: "int" } // Captured variable
|
||||
//
|
||||
// 2) A compound object:
|
||||
//
|
||||
// struct T {
|
||||
// int m1;
|
||||
// int m2;
|
||||
// };
|
||||
// T x = { 3, 7 };
|
||||
//
|
||||
// { // Captured variable
|
||||
// name: "x",
|
||||
// type: "T",
|
||||
// members { name: "m1", value: "3", type: "int" },
|
||||
// members { name: "m2", value: "7", type: "int" }
|
||||
// }
|
||||
//
|
||||
// 3) A pointer where the pointee was captured:
|
||||
//
|
||||
// T x = { 3, 7 };
|
||||
// T* p = &x;
|
||||
//
|
||||
// { // Captured variable
|
||||
// name: "p",
|
||||
// type: "T*",
|
||||
// value: "0x00500500",
|
||||
// members { name: "m1", value: "3", type: "int" },
|
||||
// members { name: "m2", value: "7", type: "int" }
|
||||
// }
|
||||
//
|
||||
// 4) A pointer where the pointee was not captured:
|
||||
//
|
||||
// T* p = new T;
|
||||
//
|
||||
// { // Captured variable
|
||||
// name: "p",
|
||||
// type: "T*",
|
||||
// value: "0x00400400"
|
||||
// status { is_error: true, description { format: "unavailable" } }
|
||||
// }
|
||||
//
|
||||
// The status should describe the reason for the missing value,
|
||||
// such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.
|
||||
//
|
||||
// Note that a null pointer should not have members.
|
||||
//
|
||||
// 5) An unnamed value:
|
||||
//
|
||||
// int* p = new int(7);
|
||||
//
|
||||
// { // Captured variable
|
||||
// name: "p",
|
||||
// value: "0x00500500",
|
||||
// type: "int*",
|
||||
// members { value: "7", type: "int" } }
|
||||
//
|
||||
// 6) An unnamed pointer where the pointee was not captured:
|
||||
//
|
||||
// int* p = new int(7);
|
||||
// int** pp = &p;
|
||||
//
|
||||
// { // Captured variable
|
||||
// name: "pp",
|
||||
// value: "0x00500500",
|
||||
// type: "int**",
|
||||
// members {
|
||||
// value: "0x00400400",
|
||||
// type: "int*"
|
||||
// status {
|
||||
// is_error: true,
|
||||
// description: { format: "unavailable" } }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// To optimize computation, memory and network traffic, variables that
|
||||
// repeat in the output multiple times can be stored once in a shared
|
||||
// variable table and be referenced using the `var_table_index` field. The
|
||||
// variables stored in the shared table are nameless and are essentially
|
||||
// a partition of the complete variable. To reconstruct the complete
|
||||
// variable, merge the referencing variable with the referenced variable.
|
||||
//
|
||||
// When using the shared variable table, the following variables:
|
||||
//
|
||||
// T x = { 3, 7 };
|
||||
// T* p = &x;
|
||||
// T& r = x;
|
||||
//
|
||||
// { name: "x", var_table_index: 3, type: "T" } // Captured variables
|
||||
// { name: "p", value "0x00500500", type="T*", var_table_index: 3 }
|
||||
// { name: "r", type="T&", var_table_index: 3 }
|
||||
//
|
||||
// { // Shared variable table entry #3:
|
||||
// members { name: "m1", value: "3", type: "int" },
|
||||
// members { name: "m2", value: "7", type: "int" }
|
||||
// }
|
||||
//
|
||||
// Note that the pointer address is stored with the referencing variable
|
||||
// and not with the referenced variable. This allows the referenced variable
|
||||
// to be shared between pointers and references.
|
||||
//
|
||||
// The type field is optional. The debugger agent may or may not support it.
|
||||
type Variable struct {
|
||||
// Name of the variable, if any.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Simple value of the variable.
|
||||
Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
// Variable type (e.g. `MyClass`). If the variable is split with
|
||||
// `var_table_index`, `type` goes next to `value`. The interpretation of
|
||||
// a type is agent specific. It is recommended to include the dynamic type
|
||||
// rather than a static type of an object.
|
||||
Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"`
|
||||
// Members contained or pointed to by the variable.
|
||||
Members []*Variable `protobuf:"bytes,3,rep,name=members" json:"members,omitempty"`
|
||||
// Reference to a variable in the shared variable table. More than
|
||||
// one variable can reference the same variable in the table. The
|
||||
// `var_table_index` field is an index into `variable_table` in Breakpoint.
|
||||
VarTableIndex *google_protobuf2.Int32Value `protobuf:"bytes,4,opt,name=var_table_index,json=varTableIndex" json:"var_table_index,omitempty"`
|
||||
// Status associated with the variable. This field will usually stay
|
||||
// unset. A status of a single variable only applies to that variable or
|
||||
// expression. The rest of breakpoint data still remains valid. Variables
|
||||
// might be reported in error state even when breakpoint is not in final
|
||||
// state.
|
||||
//
|
||||
// The message may refer to variable name with `refers_to` set to
|
||||
// `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
|
||||
// In either case variable value and members will be unset.
|
||||
//
|
||||
// Example of error message applied to name: `Invalid expression syntax`.
|
||||
//
|
||||
// Example of information message applied to value: `Not captured`.
|
||||
//
|
||||
// Examples of error message applied to value:
|
||||
//
|
||||
// * `Malformed string`,
|
||||
// * `Field f not found in class C`
|
||||
// * `Null pointer dereference`
|
||||
Status *StatusMessage `protobuf:"bytes,5,opt,name=status" json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Variable) Reset() { *m = Variable{} }
|
||||
func (m *Variable) String() string { return proto.CompactTextString(m) }
|
||||
func (*Variable) ProtoMessage() {}
|
||||
func (*Variable) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
|
||||
|
||||
func (m *Variable) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Variable) GetValue() string {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Variable) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Variable) GetMembers() []*Variable {
|
||||
if m != nil {
|
||||
return m.Members
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Variable) GetVarTableIndex() *google_protobuf2.Int32Value {
|
||||
if m != nil {
|
||||
return m.VarTableIndex
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Variable) GetStatus() *StatusMessage {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents a stack frame context.
|
||||
type StackFrame struct {
|
||||
// Demangled function name at the call site.
|
||||
Function string `protobuf:"bytes,1,opt,name=function" json:"function,omitempty"`
|
||||
// Source location of the call site.
|
||||
Location *SourceLocation `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
|
||||
// Set of arguments passed to this function.
|
||||
// Note that this might not be populated for all stack frames.
|
||||
Arguments []*Variable `protobuf:"bytes,3,rep,name=arguments" json:"arguments,omitempty"`
|
||||
// Set of local variables at the stack frame location.
|
||||
// Note that this might not be populated for all stack frames.
|
||||
Locals []*Variable `protobuf:"bytes,4,rep,name=locals" json:"locals,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StackFrame) Reset() { *m = StackFrame{} }
|
||||
func (m *StackFrame) String() string { return proto.CompactTextString(m) }
|
||||
func (*StackFrame) ProtoMessage() {}
|
||||
func (*StackFrame) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
|
||||
|
||||
func (m *StackFrame) GetFunction() string {
|
||||
if m != nil {
|
||||
return m.Function
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StackFrame) GetLocation() *SourceLocation {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *StackFrame) GetArguments() []*Variable {
|
||||
if m != nil {
|
||||
return m.Arguments
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *StackFrame) GetLocals() []*Variable {
|
||||
if m != nil {
|
||||
return m.Locals
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents the breakpoint specification, status and results.
|
||||
type Breakpoint struct {
|
||||
// Breakpoint identifier, unique in the scope of the debuggee.
|
||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||
// Action that the agent should perform when the code at the
|
||||
// breakpoint location is hit.
|
||||
Action Breakpoint_Action `protobuf:"varint,13,opt,name=action,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"action,omitempty"`
|
||||
// Breakpoint source location.
|
||||
Location *SourceLocation `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
|
||||
// Condition that triggers the breakpoint.
|
||||
// The condition is a compound boolean expression composed using expressions
|
||||
// in a programming language at the source location.
|
||||
Condition string `protobuf:"bytes,3,opt,name=condition" json:"condition,omitempty"`
|
||||
// List of read-only expressions to evaluate at the breakpoint location.
|
||||
// The expressions are composed using expressions in the programming language
|
||||
// at the source location. If the breakpoint action is `LOG`, the evaluated
|
||||
// expressions are included in log statements.
|
||||
Expressions []string `protobuf:"bytes,4,rep,name=expressions" json:"expressions,omitempty"`
|
||||
// Only relevant when action is `LOG`. Defines the message to log when
|
||||
// the breakpoint hits. The message may include parameter placeholders `$0`,
|
||||
// `$1`, etc. These placeholders are replaced with the evaluated value
|
||||
// of the appropriate expression. Expressions not referenced in
|
||||
// `log_message_format` are not logged.
|
||||
//
|
||||
// Example: `Message received, id = $0, count = $1` with
|
||||
// `expressions` = `[ message.id, message.count ]`.
|
||||
LogMessageFormat string `protobuf:"bytes,14,opt,name=log_message_format,json=logMessageFormat" json:"log_message_format,omitempty"`
|
||||
// Indicates the severity of the log. Only relevant when action is `LOG`.
|
||||
LogLevel Breakpoint_LogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,enum=google.devtools.clouddebugger.v2.Breakpoint_LogLevel" json:"log_level,omitempty"`
|
||||
// When true, indicates that this is a final result and the
|
||||
// breakpoint state will not change from here on.
|
||||
IsFinalState bool `protobuf:"varint,5,opt,name=is_final_state,json=isFinalState" json:"is_final_state,omitempty"`
|
||||
// Time this breakpoint was created by the server in seconds resolution.
|
||||
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
|
||||
// Time this breakpoint was finalized as seen by the server in seconds
|
||||
// resolution.
|
||||
FinalTime *google_protobuf1.Timestamp `protobuf:"bytes,12,opt,name=final_time,json=finalTime" json:"final_time,omitempty"`
|
||||
// E-mail address of the user that created this breakpoint
|
||||
UserEmail string `protobuf:"bytes,16,opt,name=user_email,json=userEmail" json:"user_email,omitempty"`
|
||||
// Breakpoint status.
|
||||
//
|
||||
// The status includes an error flag and a human readable message.
|
||||
// This field is usually unset. The message can be either
|
||||
// informational or an error message. Regardless, clients should always
|
||||
// display the text message back to the user.
|
||||
//
|
||||
// Error status indicates complete failure of the breakpoint.
|
||||
//
|
||||
// Example (non-final state): `Still loading symbols...`
|
||||
//
|
||||
// Examples (final state):
|
||||
//
|
||||
// * `Invalid line number` referring to location
|
||||
// * `Field f not found in class C` referring to condition
|
||||
Status *StatusMessage `protobuf:"bytes,10,opt,name=status" json:"status,omitempty"`
|
||||
// The stack at breakpoint time.
|
||||
StackFrames []*StackFrame `protobuf:"bytes,7,rep,name=stack_frames,json=stackFrames" json:"stack_frames,omitempty"`
|
||||
// Values of evaluated expressions at breakpoint time.
|
||||
// The evaluated expressions appear in exactly the same order they
|
||||
// are listed in the `expressions` field.
|
||||
// The `name` field holds the original expression text, the `value` or
|
||||
// `members` field holds the result of the evaluated expression.
|
||||
// If the expression cannot be evaluated, the `status` inside the `Variable`
|
||||
// will indicate an error and contain the error text.
|
||||
EvaluatedExpressions []*Variable `protobuf:"bytes,8,rep,name=evaluated_expressions,json=evaluatedExpressions" json:"evaluated_expressions,omitempty"`
|
||||
// The `variable_table` exists to aid with computation, memory and network
|
||||
// traffic optimization. It enables storing a variable once and reference
|
||||
// it from multiple variables, including variables stored in the
|
||||
// `variable_table` itself.
|
||||
// For example, the same `this` object, which may appear at many levels of
|
||||
// the stack, can have all of its data stored once in this table. The
|
||||
// stack frame variables then would hold only a reference to it.
|
||||
//
|
||||
// The variable `var_table_index` field is an index into this repeated field.
|
||||
// The stored objects are nameless and get their name from the referencing
|
||||
// variable. The effective variable is a merge of the referencing variable
|
||||
// and the referenced variable.
|
||||
VariableTable []*Variable `protobuf:"bytes,9,rep,name=variable_table,json=variableTable" json:"variable_table,omitempty"`
|
||||
// A set of custom breakpoint properties, populated by the agent, to be
|
||||
// displayed to the user.
|
||||
Labels map[string]string `protobuf:"bytes,17,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *Breakpoint) Reset() { *m = Breakpoint{} }
|
||||
func (m *Breakpoint) String() string { return proto.CompactTextString(m) }
|
||||
func (*Breakpoint) ProtoMessage() {}
|
||||
func (*Breakpoint) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
|
||||
|
||||
func (m *Breakpoint) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetAction() Breakpoint_Action {
|
||||
if m != nil {
|
||||
return m.Action
|
||||
}
|
||||
return Breakpoint_CAPTURE
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetLocation() *SourceLocation {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetCondition() string {
|
||||
if m != nil {
|
||||
return m.Condition
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetExpressions() []string {
|
||||
if m != nil {
|
||||
return m.Expressions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetLogMessageFormat() string {
|
||||
if m != nil {
|
||||
return m.LogMessageFormat
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetLogLevel() Breakpoint_LogLevel {
|
||||
if m != nil {
|
||||
return m.LogLevel
|
||||
}
|
||||
return Breakpoint_INFO
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetIsFinalState() bool {
|
||||
if m != nil {
|
||||
return m.IsFinalState
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetCreateTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetFinalTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinalTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetUserEmail() string {
|
||||
if m != nil {
|
||||
return m.UserEmail
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetStatus() *StatusMessage {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetStackFrames() []*StackFrame {
|
||||
if m != nil {
|
||||
return m.StackFrames
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetEvaluatedExpressions() []*Variable {
|
||||
if m != nil {
|
||||
return m.EvaluatedExpressions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetVariableTable() []*Variable {
|
||||
if m != nil {
|
||||
return m.VariableTable
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Breakpoint) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents the application to debug. The application may include one or more
|
||||
// replicated processes executing the same code. Each of these processes is
|
||||
// attached with a debugger agent, carrying out the debugging commands.
|
||||
// The agents attached to the same debuggee are identified by using exactly the
|
||||
// same field values when registering.
|
||||
type Debuggee struct {
|
||||
// Unique identifier for the debuggee generated by the controller service.
|
||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||
// Project the debuggee is associated with.
|
||||
// Use the project number when registering a Google Cloud Platform project.
|
||||
Project string `protobuf:"bytes,2,opt,name=project" json:"project,omitempty"`
|
||||
// Debuggee uniquifier within the project.
|
||||
// Any string that identifies the application within the project can be used.
|
||||
// Including environment and version or build IDs is recommended.
|
||||
Uniquifier string `protobuf:"bytes,3,opt,name=uniquifier" json:"uniquifier,omitempty"`
|
||||
// Human readable description of the debuggee.
|
||||
// Including a human-readable project name, environment name and version
|
||||
// information is recommended.
|
||||
Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
|
||||
// If set to `true`, indicates that the debuggee is considered as inactive by
|
||||
// the Controller service.
|
||||
IsInactive bool `protobuf:"varint,5,opt,name=is_inactive,json=isInactive" json:"is_inactive,omitempty"`
|
||||
// Version ID of the agent release. The version ID is structured as
|
||||
// following: `domain/type/vmajor.minor` (for example
|
||||
// `google.com/gcp-java/v1.1`).
|
||||
AgentVersion string `protobuf:"bytes,6,opt,name=agent_version,json=agentVersion" json:"agent_version,omitempty"`
|
||||
// If set to `true`, indicates that the agent should disable itself and
|
||||
// detach from the debuggee.
|
||||
IsDisabled bool `protobuf:"varint,7,opt,name=is_disabled,json=isDisabled" json:"is_disabled,omitempty"`
|
||||
// Human readable message to be displayed to the user about this debuggee.
|
||||
// Absence of this field indicates no status. The message can be either
|
||||
// informational or an error status.
|
||||
Status *StatusMessage `protobuf:"bytes,8,opt,name=status" json:"status,omitempty"`
|
||||
// References to the locations and revisions of the source code used in the
|
||||
// deployed application.
|
||||
//
|
||||
// NOTE: This field is deprecated. Consumers should use
|
||||
// `ext_source_contexts` if it is not empty. Debug agents should populate
|
||||
// both this field and `ext_source_contexts`.
|
||||
SourceContexts []*google_devtools_source_v1.SourceContext `protobuf:"bytes,9,rep,name=source_contexts,json=sourceContexts" json:"source_contexts,omitempty"`
|
||||
// References to the locations and revisions of the source code used in the
|
||||
// deployed application.
|
||||
//
|
||||
// Contexts describing a remote repo related to the source code
|
||||
// have a `category` label of `remote_repo`. Source snapshot source
|
||||
// contexts have a `category` of `snapshot`.
|
||||
ExtSourceContexts []*google_devtools_source_v1.ExtendedSourceContext `protobuf:"bytes,13,rep,name=ext_source_contexts,json=extSourceContexts" json:"ext_source_contexts,omitempty"`
|
||||
// A set of custom debuggee properties, populated by the agent, to be
|
||||
// displayed to the user.
|
||||
Labels map[string]string `protobuf:"bytes,11,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *Debuggee) Reset() { *m = Debuggee{} }
|
||||
func (m *Debuggee) String() string { return proto.CompactTextString(m) }
|
||||
func (*Debuggee) ProtoMessage() {}
|
||||
func (*Debuggee) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
|
||||
|
||||
func (m *Debuggee) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetProject() string {
|
||||
if m != nil {
|
||||
return m.Project
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetUniquifier() string {
|
||||
if m != nil {
|
||||
return m.Uniquifier
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetIsInactive() bool {
|
||||
if m != nil {
|
||||
return m.IsInactive
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetAgentVersion() string {
|
||||
if m != nil {
|
||||
return m.AgentVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetIsDisabled() bool {
|
||||
if m != nil {
|
||||
return m.IsDisabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetStatus() *StatusMessage {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetSourceContexts() []*google_devtools_source_v1.SourceContext {
|
||||
if m != nil {
|
||||
return m.SourceContexts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetExtSourceContexts() []*google_devtools_source_v1.ExtendedSourceContext {
|
||||
if m != nil {
|
||||
return m.ExtSourceContexts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Debuggee) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*FormatMessage)(nil), "google.devtools.clouddebugger.v2.FormatMessage")
|
||||
proto.RegisterType((*StatusMessage)(nil), "google.devtools.clouddebugger.v2.StatusMessage")
|
||||
proto.RegisterType((*SourceLocation)(nil), "google.devtools.clouddebugger.v2.SourceLocation")
|
||||
proto.RegisterType((*Variable)(nil), "google.devtools.clouddebugger.v2.Variable")
|
||||
proto.RegisterType((*StackFrame)(nil), "google.devtools.clouddebugger.v2.StackFrame")
|
||||
proto.RegisterType((*Breakpoint)(nil), "google.devtools.clouddebugger.v2.Breakpoint")
|
||||
proto.RegisterType((*Debuggee)(nil), "google.devtools.clouddebugger.v2.Debuggee")
|
||||
proto.RegisterEnum("google.devtools.clouddebugger.v2.StatusMessage_Reference", StatusMessage_Reference_name, StatusMessage_Reference_value)
|
||||
proto.RegisterEnum("google.devtools.clouddebugger.v2.Breakpoint_Action", Breakpoint_Action_name, Breakpoint_Action_value)
|
||||
proto.RegisterEnum("google.devtools.clouddebugger.v2.Breakpoint_LogLevel", Breakpoint_LogLevel_name, Breakpoint_LogLevel_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/clouddebugger/v2/data.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 1239 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x5f, 0x73, 0xda, 0xc6,
|
||||
0x16, 0x0f, 0x7f, 0x0c, 0xd2, 0xc1, 0x60, 0x65, 0x6f, 0x72, 0x47, 0xf1, 0xcd, 0x75, 0x18, 0x6e,
|
||||
0x1e, 0x3c, 0xb7, 0x19, 0x48, 0xc8, 0xb4, 0x93, 0x34, 0x4f, 0x18, 0xcb, 0x2e, 0x13, 0x02, 0x64,
|
||||
0xb1, 0xdd, 0x4e, 0x5f, 0xd4, 0x35, 0x5a, 0x54, 0x35, 0x42, 0x52, 0x77, 0x17, 0xea, 0xbc, 0x76,
|
||||
0xf2, 0x31, 0xfa, 0x11, 0xfa, 0x9d, 0xfa, 0xd6, 0xcf, 0xd1, 0xd9, 0xd5, 0x8a, 0x88, 0xa4, 0x2d,
|
||||
0x71, 0x93, 0xb7, 0xb3, 0xbf, 0xfd, 0x9d, 0xdf, 0x8a, 0xb3, 0xbf, 0x73, 0x24, 0xe0, 0x33, 0x3f,
|
||||
0x8e, 0xfd, 0x90, 0x76, 0x3c, 0xba, 0x12, 0x71, 0x1c, 0xf2, 0xce, 0x2c, 0x8c, 0x97, 0x9e, 0x47,
|
||||
0x2f, 0x97, 0xbe, 0x4f, 0x59, 0x67, 0xd5, 0xed, 0x78, 0x44, 0x90, 0x76, 0xc2, 0x62, 0x11, 0xa3,
|
||||
0x66, 0x4a, 0x6e, 0x67, 0xe4, 0xf6, 0x06, 0xb9, 0xbd, 0xea, 0xee, 0xdf, 0xd5, 0x72, 0x24, 0x09,
|
||||
0x3a, 0x24, 0x8a, 0x62, 0x41, 0x44, 0x10, 0x47, 0x3c, 0xcd, 0xdf, 0x6f, 0xbf, 0x7b, 0x18, 0x8f,
|
||||
0x97, 0x6c, 0x46, 0x3b, 0xab, 0x47, 0x3a, 0x72, 0x67, 0x71, 0x24, 0xe8, 0x95, 0xd0, 0xfc, 0x7b,
|
||||
0x9a, 0xaf, 0x56, 0x97, 0xcb, 0x79, 0x47, 0x04, 0x0b, 0xca, 0x05, 0x59, 0x24, 0x9a, 0x70, 0xf0,
|
||||
0x2e, 0xe1, 0x27, 0x46, 0x92, 0x84, 0x32, 0x7d, 0x60, 0xeb, 0x14, 0xea, 0x27, 0x31, 0x5b, 0x10,
|
||||
0xf1, 0x82, 0x72, 0x4e, 0x7c, 0x8a, 0xfe, 0x0d, 0x95, 0xb9, 0x02, 0xec, 0x42, 0xb3, 0x70, 0x68,
|
||||
0x62, 0xbd, 0x42, 0x07, 0x00, 0x09, 0x61, 0x64, 0x41, 0x05, 0x65, 0xdc, 0x2e, 0x36, 0x4b, 0x87,
|
||||
0x26, 0xce, 0x21, 0xad, 0x37, 0x25, 0xa8, 0x4f, 0x05, 0x11, 0x4b, 0x9e, 0x29, 0xdd, 0x01, 0x23,
|
||||
0xe0, 0x2e, 0x65, 0x2c, 0x66, 0x4a, 0xcb, 0xc0, 0xd5, 0x80, 0x3b, 0x72, 0x89, 0x2e, 0xc0, 0x64,
|
||||
0x74, 0x4e, 0x19, 0x77, 0x45, 0x6c, 0x17, 0x9b, 0x85, 0xc3, 0x46, 0xf7, 0x69, 0x7b, 0x5b, 0xe9,
|
||||
0xda, 0x1b, 0xf2, 0x6d, 0x2c, 0x05, 0x68, 0x34, 0xa3, 0xd8, 0x48, 0xb5, 0xce, 0x62, 0xf4, 0x12,
|
||||
0x6a, 0x1e, 0xe5, 0x33, 0x16, 0x24, 0xb2, 0xa8, 0x76, 0xa9, 0x59, 0x38, 0xac, 0x75, 0x3b, 0xdb,
|
||||
0x95, 0x37, 0x4a, 0x80, 0xf3, 0x1a, 0xad, 0x5f, 0x0b, 0x60, 0xae, 0x8f, 0x42, 0x7b, 0x50, 0x3b,
|
||||
0x1f, 0x4d, 0x27, 0x4e, 0x7f, 0x70, 0x32, 0x70, 0x8e, 0xad, 0x1b, 0xe8, 0x00, 0xf6, 0x8f, 0xb0,
|
||||
0xd3, 0x7b, 0x3e, 0x19, 0x0f, 0x46, 0x67, 0xee, 0x74, 0x7c, 0x8e, 0xfb, 0x8e, 0x3b, 0x1c, 0xf7,
|
||||
0x7b, 0x67, 0x83, 0xf1, 0xc8, 0x2a, 0x21, 0x1b, 0x6e, 0xe5, 0xf6, 0xfb, 0xe3, 0xd1, 0xf1, 0x40,
|
||||
0xed, 0x94, 0xd1, 0x1d, 0xb8, 0x9d, 0xdb, 0x71, 0xbe, 0x99, 0x60, 0x67, 0x3a, 0x95, 0x5b, 0x55,
|
||||
0x84, 0xa0, 0x91, 0xdb, 0xea, 0x9d, 0x3a, 0x96, 0x81, 0x6e, 0x42, 0xfd, 0xa2, 0x87, 0x07, 0xbd,
|
||||
0xa3, 0xa1, 0xe3, 0x8e, 0x7a, 0x2f, 0x1c, 0x6b, 0x47, 0xd2, 0xd6, 0xd0, 0x45, 0x6f, 0x78, 0xee,
|
||||
0x58, 0x95, 0xd6, 0x13, 0x68, 0x4c, 0x95, 0x51, 0x86, 0xf1, 0x4c, 0x39, 0x0b, 0x21, 0x28, 0x27,
|
||||
0x44, 0x7c, 0xaf, 0xaf, 0x53, 0xc5, 0x12, 0x0b, 0x83, 0x88, 0xaa, 0xd2, 0xef, 0x60, 0x15, 0xb7,
|
||||
0x7e, 0x29, 0x82, 0x71, 0x41, 0x58, 0x40, 0x2e, 0x43, 0x2a, 0x09, 0x11, 0x59, 0xd0, 0x2c, 0x49,
|
||||
0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|
||||
0x06, 0x14, 0x03, 0x4f, 0x17, 0xa0, 0x18, 0x78, 0xe8, 0x39, 0x54, 0x48, 0x5a, 0x94, 0xba, 0xea,
|
||||
0xea, 0xc7, 0xdb, 0x8f, 0x78, 0xab, 0xd6, 0xee, 0xa9, 0x54, 0xac, 0x25, 0x3e, 0x71, 0x1d, 0xef,
|
||||
0x82, 0x39, 0x8b, 0x23, 0x2f, 0x58, 0x4f, 0x06, 0x13, 0xbf, 0x05, 0x50, 0x13, 0x6a, 0xf4, 0x2a,
|
||||
0x61, 0x94, 0x73, 0x39, 0x8d, 0x55, 0x81, 0x4c, 0x9c, 0x87, 0xd0, 0x03, 0x40, 0x61, 0xec, 0xbb,
|
||||
0x8b, 0xd4, 0x17, 0xae, 0x1e, 0x92, 0x0d, 0x25, 0x64, 0x85, 0xb1, 0xaf, 0x0d, 0x93, 0x8e, 0x12,
|
||||
0x84, 0xc1, 0x94, 0xec, 0x90, 0xae, 0x68, 0x68, 0xef, 0xa9, 0x5a, 0x7c, 0x7e, 0xad, 0x5a, 0x0c,
|
||||
0x63, 0x7f, 0x28, 0x93, 0xe5, 0x2f, 0x48, 0x23, 0x74, 0x1f, 0x1a, 0x01, 0x77, 0xe7, 0x41, 0x44,
|
||||
0x42, 0x57, 0xba, 0x92, 0x2a, 0x4f, 0x1b, 0x78, 0x37, 0xe0, 0x27, 0x12, 0x94, 0xc6, 0xa5, 0xe8,
|
||||
0x19, 0xd4, 0x66, 0x8c, 0x12, 0x41, 0x5d, 0xf9, 0x2e, 0xb0, 0x6b, 0xaa, 0x70, 0xfb, 0xef, 0xb5,
|
||||
0xcc, 0x59, 0xf6, 0xa2, 0xc0, 0x90, 0xd2, 0x25, 0x80, 0x9e, 0x02, 0xa4, 0xfa, 0x2a, 0x77, 0x77,
|
||||
0x6b, 0xae, 0xa9, 0xd8, 0x2a, 0xf5, 0xbf, 0x00, 0x4b, 0x4e, 0x99, 0x4b, 0x17, 0x24, 0x08, 0x6d,
|
||||
0x2b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 0x6c, 0x7d, 0x80, 0x23,
|
||||
0xf3, 0x98, 0x08, 0x32, 0x91, 0xc3, 0x6f, 0x52, 0xf8, 0xf6, 0x85, 0xa6, 0xfb, 0x71, 0x48, 0x22,
|
||||
0xbf, 0x1d, 0x33, 0xbf, 0xe3, 0xd3, 0x48, 0x8d, 0xc6, 0x4e, 0xba, 0x45, 0x92, 0x80, 0xff, 0xf5,
|
||||
0xbf, 0x85, 0x67, 0x1b, 0xc0, 0x65, 0x45, 0x65, 0x3e, 0xfe, 0x23, 0x00, 0x00, 0xff, 0xff, 0x00,
|
||||
0xbf, 0x9b, 0x7e, 0x66, 0x0c, 0x00, 0x00,
|
||||
}
|
648
vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go
generated
vendored
Normal file
648
vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go
generated
vendored
Normal file
@@ -0,0 +1,648 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouddebugger/v2/debugger.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package clouddebugger
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
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
|
||||
|
||||
// Request to set a breakpoint
|
||||
type SetBreakpointRequest struct {
|
||||
// ID of the debuggee where the breakpoint is to be set.
|
||||
DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId" json:"debuggee_id,omitempty"`
|
||||
// Breakpoint specification to set.
|
||||
// The field 'location' of the breakpoint must be set.
|
||||
Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint" json:"breakpoint,omitempty"`
|
||||
// The client version making the call.
|
||||
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
||||
ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion" json:"client_version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SetBreakpointRequest) Reset() { *m = SetBreakpointRequest{} }
|
||||
func (m *SetBreakpointRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SetBreakpointRequest) ProtoMessage() {}
|
||||
func (*SetBreakpointRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
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" json:"breakpoint,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SetBreakpointResponse) Reset() { *m = SetBreakpointResponse{} }
|
||||
func (m *SetBreakpointResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SetBreakpointResponse) ProtoMessage() {}
|
||||
func (*SetBreakpointResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
func (m *SetBreakpointResponse) GetBreakpoint() *Breakpoint {
|
||||
if m != nil {
|
||||
return m.Breakpoint
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request to get breakpoint information.
|
||||
type GetBreakpointRequest struct {
|
||||
// ID of the debuggee whose breakpoint to get.
|
||||
DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId" json:"debuggee_id,omitempty"`
|
||||
// ID of the breakpoint to get.
|
||||
BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId" json:"breakpoint_id,omitempty"`
|
||||
// The client version making the call.
|
||||
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
||||
ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion" json:"client_version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetBreakpointRequest) Reset() { *m = GetBreakpointRequest{} }
|
||||
func (m *GetBreakpointRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetBreakpointRequest) ProtoMessage() {}
|
||||
func (*GetBreakpointRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
|
||||
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" json:"breakpoint,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetBreakpointResponse) Reset() { *m = GetBreakpointResponse{} }
|
||||
func (m *GetBreakpointResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetBreakpointResponse) ProtoMessage() {}
|
||||
func (*GetBreakpointResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
|
||||
func (m *GetBreakpointResponse) GetBreakpoint() *Breakpoint {
|
||||
if m != nil {
|
||||
return m.Breakpoint
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request to delete a breakpoint.
|
||||
type DeleteBreakpointRequest struct {
|
||||
// ID of the debuggee whose breakpoint to delete.
|
||||
DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId" json:"debuggee_id,omitempty"`
|
||||
// ID of the breakpoint to delete.
|
||||
BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId" json:"breakpoint_id,omitempty"`
|
||||
// The client version making the call.
|
||||
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
||||
ClientVersion string `protobuf:"bytes,3,opt,name=client_version,json=clientVersion" json:"client_version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteBreakpointRequest) Reset() { *m = DeleteBreakpointRequest{} }
|
||||
func (m *DeleteBreakpointRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteBreakpointRequest) ProtoMessage() {}
|
||||
func (*DeleteBreakpointRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
|
||||
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 {
|
||||
// ID of the debuggee whose breakpoints to list.
|
||||
DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId" 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" 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" json:"include_inactive,omitempty"`
|
||||
// When set, the response includes only breakpoints with the specified action.
|
||||
Action *ListBreakpointsRequest_BreakpointActionValue `protobuf:"bytes,4,opt,name=action" 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" json:"strip_results,omitempty"`
|
||||
// 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" json:"wait_token,omitempty"`
|
||||
// The client version making the call.
|
||||
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
||||
ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion" json:"client_version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListBreakpointsRequest) Reset() { *m = ListBreakpointsRequest{} }
|
||||
func (m *ListBreakpointsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListBreakpointsRequest) ProtoMessage() {}
|
||||
func (*ListBreakpointsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
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 fileDescriptor2, []int{5, 0}
|
||||
}
|
||||
|
||||
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 it's status.
|
||||
Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints" 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" json:"next_wait_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListBreakpointsResponse) Reset() { *m = ListBreakpointsResponse{} }
|
||||
func (m *ListBreakpointsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListBreakpointsResponse) ProtoMessage() {}
|
||||
func (*ListBreakpointsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
|
||||
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 {
|
||||
// Project number of a Google Cloud project whose debuggees to list.
|
||||
Project string `protobuf:"bytes,2,opt,name=project" 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" json:"include_inactive,omitempty"`
|
||||
// The client version making the call.
|
||||
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
||||
ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion" json:"client_version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListDebuggeesRequest) Reset() { *m = ListDebuggeesRequest{} }
|
||||
func (m *ListDebuggeesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListDebuggeesRequest) ProtoMessage() {}
|
||||
func (*ListDebuggeesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
|
||||
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.
|
||||
// Note that the `description` field is the only human readable field
|
||||
// that should be displayed to the user.
|
||||
// The fields `debuggee.id` and `description` fields are guaranteed to be
|
||||
// set on each debuggee.
|
||||
Debuggees []*Debuggee `protobuf:"bytes,1,rep,name=debuggees" json:"debuggees,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListDebuggeesResponse) Reset() { *m = ListDebuggeesResponse{} }
|
||||
func (m *ListDebuggeesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListDebuggeesResponse) ProtoMessage() {}
|
||||
func (*ListDebuggeesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
|
||||
|
||||
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")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for Debugger2 service
|
||||
|
||||
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) (*google_protobuf3.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 can set breakpoints to.
|
||||
ListDebuggees(ctx context.Context, in *ListDebuggeesRequest, opts ...grpc.CallOption) (*ListDebuggeesResponse, error)
|
||||
}
|
||||
|
||||
type debugger2Client struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewDebugger2Client(cc *grpc.ClientConn) Debugger2Client {
|
||||
return &debugger2Client{cc}
|
||||
}
|
||||
|
||||
func (c *debugger2Client) SetBreakpoint(ctx context.Context, in *SetBreakpointRequest, opts ...grpc.CallOption) (*SetBreakpointResponse, error) {
|
||||
out := new(SetBreakpointResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/SetBreakpoint", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/GetBreakpoint", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *debugger2Client) DeleteBreakpoint(ctx context.Context, in *DeleteBreakpointRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) {
|
||||
out := new(google_protobuf3.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/DeleteBreakpoint", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/ListBreakpoints", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/ListDebuggees", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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) (*google_protobuf3.Empty, error)
|
||||
// Lists all breakpoints for the debuggee.
|
||||
ListBreakpoints(context.Context, *ListBreakpointsRequest) (*ListBreakpointsResponse, error)
|
||||
// Lists all the debuggees that the user can set breakpoints to.
|
||||
ListDebuggees(context.Context, *ListDebuggeesRequest) (*ListDebuggeesResponse, error)
|
||||
}
|
||||
|
||||
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",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/clouddebugger/v2/debugger.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 766 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcb, 0x6e, 0xd3, 0x4c,
|
||||
0x18, 0xd5, 0xb4, 0x7f, 0x2f, 0xf9, 0xd2, 0xb4, 0xfd, 0x47, 0xbd, 0x58, 0xe1, 0x16, 0x99, 0x8b,
|
||||
0x4a, 0x41, 0x36, 0x72, 0x11, 0xb4, 0xb0, 0xa1, 0x51, 0x51, 0x1a, 0xa9, 0x54, 0x55, 0x80, 0x22,
|
||||
0xb1, 0x89, 0x9c, 0x64, 0x6a, 0x99, 0xba, 0x1e, 0xe3, 0x19, 0x07, 0x50, 0xd5, 0x4d, 0x91, 0xba,
|
||||
0x47, 0xbc, 0x00, 0x0f, 0x80, 0xc4, 0x13, 0x20, 0xb1, 0x43, 0x62, 0xcb, 0x2b, 0xf0, 0x20, 0xc8,
|
||||
0xe3, 0x71, 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xa8, 0x12, 0x98, 0xef, 0x51, 0xcb, 0x3c, 0xea, 0x32, 0xd2, 0xa3, 0x06, 0x9d, 0x4d, 0x8d, 0xfa,
|
||||
0x1e, 0xc1, 0x5c, 0x65, 0xa8, 0x54, 0xae, 0x42, 0xa1, 0x53, 0x27, 0x1c, 0x32, 0x22, 0x86, 0x4c,
|
||||
0x75, 0xc0, 0x6a, 0x2b, 0x83, 0xd9, 0xca, 0x39, 0x98, 0x3d, 0x41, 0xb0, 0xb8, 0x41, 0x1c, 0xc2,
|
||||
0xc9, 0xf9, 0xf9, 0x1d, 0x4d, 0xf3, 0xfb, 0x7d, 0x14, 0x16, 0xb6, 0x6c, 0x96, 0x70, 0xcc, 0x06,
|
||||
0xd6, 0xb1, 0x0c, 0xff, 0xdb, 0x6e, 0xd3, 0x09, 0x5a, 0xa4, 0x6e, 0x3a, 0x4e, 0x3d, 0x60, 0xc4,
|
||||
0x67, 0x42, 0xcb, 0x64, 0x6d, 0x46, 0x7e, 0x58, 0x77, 0x9c, 0xe7, 0x21, 0x8c, 0x6f, 0xc2, 0x6c,
|
||||
0x3c, 0xd6, 0x76, 0xcd, 0x26, 0xb7, 0xdb, 0x44, 0x08, 0xea, 0x0c, 0xad, 0x4a, 0x18, 0xef, 0xc1,
|
||||
0x78, 0xf8, 0x24, 0x57, 0x28, 0x6f, 0x6c, 0xf7, 0x4f, 0x39, 0xdd, 0x41, 0x22, 0xfc, 0x75, 0x51,
|
||||
0x70, 0xd7, 0x74, 0x02, 0x52, 0x93, 0xd5, 0xc3, 0x18, 0x19, 0xf7, 0x6d, 0xaf, 0xee, 0x13, 0x16,
|
||||
0x38, 0x9c, 0x29, 0x63, 0x42, 0xcf, 0x94, 0x00, 0x6b, 0x11, 0x86, 0x2f, 0x01, 0xbc, 0x31, 0x6d,
|
||||
0x5e, 0xe7, 0x74, 0x9f, 0xb8, 0xca, 0xb8, 0xc8, 0x20, 0x17, 0x22, 0xcf, 0x42, 0x20, 0x25, 0xe5,
|
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c9, 0x6a, 0xa6,
|
||||
0x32, 0xa4, 0x99, 0xca, 0xbf, 0xcc, 0xe0, 0x47, 0x99, 0xcd, 0x1c, 0x76, 0x9d, 0x93, 0x47, 0xf8,
|
||||
0x0b, 0x82, 0xd9, 0xde, 0x63, 0x17, 0xaf, 0x0d, 0xb2, 0xe6, 0xa9, 0x47, 0x75, 0x71, 0x21, 0xa6,
|
||||
0xc6, 0xf7, 0xbc, 0xf6, 0x38, 0xbc, 0xe7, 0x63, 0xc5, 0xcb, 0x67, 0x57, 0xfc, 0x0d, 0xc1, 0x4c,
|
||||
0xcf, 0xae, 0xc6, 0xab, 0xc3, 0x1e, 0x88, 0xc5, 0xb5, 0x21, 0x98, 0x72, 0x11, 0x56, 0x85, 0x25,
|
||||
0x03, 0xdf, 0xc9, 0x6a, 0x09, 0x7f, 0x42, 0x50, 0xe8, 0xda, 0x80, 0x83, 0x74, 0x50, 0xda, 0xa9,
|
||||
0x31, 0x48, 0x07, 0xa5, 0xee, 0x74, 0xf5, 0xb2, 0x10, 0xaf, 0xe0, 0x85, 0x74, 0xf1, 0xe5, 0x13,
|
||||
0x04, 0xd7, 0x9a, 0xf4, 0xa0, 0x6f, 0xf9, 0x72, 0x21, 0xde, 0xe5, 0x3b, 0xe1, 0x82, 0xef, 0xa0,
|
||||
0x97, 0x4f, 0x24, 0xc5, 0xa2, 0x8e, 0xe9, 0x5a, 0x1a, 0xf5, 0x2d, 0xdd, 0x22, 0xae, 0x68, 0x07,
|
||||
0xf9, 0x87, 0x6a, 0x7a, 0x36, 0xfb, 0xfb, 0x4f, 0xe3, 0xc3, 0x2e, 0xa0, 0x31, 0x2e, 0x98, 0x2b,
|
||||
0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7f, 0x55, 0x66, 0x54, 0xde, 0x0a, 0x00, 0x00,
|
||||
}
|
434
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go
generated
vendored
Normal file
434
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go
generated
vendored
Normal file
@@ -0,0 +1,434 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouderrorreporting/v1beta1/common.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package clouderrorreporting is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/clouderrorreporting/v1beta1/common.proto
|
||||
google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
|
||||
google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
|
||||
google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ErrorGroup
|
||||
TrackingIssue
|
||||
ErrorEvent
|
||||
ServiceContext
|
||||
ErrorContext
|
||||
HttpRequestContext
|
||||
SourceLocation
|
||||
GetGroupRequest
|
||||
UpdateGroupRequest
|
||||
ListGroupStatsRequest
|
||||
ListGroupStatsResponse
|
||||
ErrorGroupStats
|
||||
TimedCount
|
||||
ListEventsRequest
|
||||
ListEventsResponse
|
||||
QueryTimeRange
|
||||
ServiceContextFilter
|
||||
DeleteEventsRequest
|
||||
DeleteEventsResponse
|
||||
ReportErrorEventRequest
|
||||
ReportErrorEventResponse
|
||||
ReportedErrorEvent
|
||||
*/
|
||||
package clouderrorreporting
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// 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
|
||||
|
||||
// Description of a group of similar error events.
|
||||
type ErrorGroup struct {
|
||||
// The group resource name.
|
||||
// Example: <code>projects/my-project-123/groups/my-groupid</code>
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Group IDs are unique for a given project. If the same kind of error
|
||||
// occurs in different service contexts, it will receive the same group ID.
|
||||
GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
|
||||
// Associated tracking issues.
|
||||
TrackingIssues []*TrackingIssue `protobuf:"bytes,3,rep,name=tracking_issues,json=trackingIssues" json:"tracking_issues,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ErrorGroup) Reset() { *m = ErrorGroup{} }
|
||||
func (m *ErrorGroup) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorGroup) ProtoMessage() {}
|
||||
func (*ErrorGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *ErrorGroup) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ErrorGroup) GetGroupId() string {
|
||||
if m != nil {
|
||||
return m.GroupId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ErrorGroup) GetTrackingIssues() []*TrackingIssue {
|
||||
if m != nil {
|
||||
return m.TrackingIssues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Information related to tracking the progress on resolving the error.
|
||||
type TrackingIssue struct {
|
||||
// A URL pointing to a related entry in an issue tracking system.
|
||||
// Example: https://github.com/user/project/issues/4
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TrackingIssue) Reset() { *m = TrackingIssue{} }
|
||||
func (m *TrackingIssue) String() string { return proto.CompactTextString(m) }
|
||||
func (*TrackingIssue) ProtoMessage() {}
|
||||
func (*TrackingIssue) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *TrackingIssue) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// An error event which is returned by the Error Reporting system.
|
||||
type ErrorEvent struct {
|
||||
// Time when the event occurred as provided in the error report.
|
||||
// If the report did not contain a timestamp, the time the error was received
|
||||
// by the Error Reporting system is used.
|
||||
EventTime *google_protobuf1.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime" json:"event_time,omitempty"`
|
||||
// The `ServiceContext` for which this error was reported.
|
||||
ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext" json:"service_context,omitempty"`
|
||||
// The stack trace that was reported or logged by the service.
|
||||
Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
|
||||
// Data about the context in which the error occurred.
|
||||
Context *ErrorContext `protobuf:"bytes,5,opt,name=context" json:"context,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ErrorEvent) Reset() { *m = ErrorEvent{} }
|
||||
func (m *ErrorEvent) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorEvent) ProtoMessage() {}
|
||||
func (*ErrorEvent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *ErrorEvent) GetEventTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.EventTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorEvent) GetServiceContext() *ServiceContext {
|
||||
if m != nil {
|
||||
return m.ServiceContext
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorEvent) GetMessage() string {
|
||||
if m != nil {
|
||||
return m.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ErrorEvent) GetContext() *ErrorContext {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Describes a running service that sends errors.
|
||||
// Its version changes over time and multiple versions can run in parallel.
|
||||
type ServiceContext struct {
|
||||
// An identifier of the service, such as the name of the
|
||||
// executable, job, or Google App Engine service name. This field is expected
|
||||
// to have a low number of values that are relatively stable over time, as
|
||||
// opposed to `version`, which can be changed whenever new code is deployed.
|
||||
//
|
||||
// Contains the service name for error reports extracted from Google
|
||||
// App Engine logs or `default` if the App Engine default service is used.
|
||||
Service string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
|
||||
// Represents the source code version that the developer provided,
|
||||
// which could represent a version label or a Git SHA-1 hash, for example.
|
||||
Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
|
||||
// Type of the MonitoredResource. List of possible values:
|
||||
// https://cloud.google.com/monitoring/api/resources
|
||||
//
|
||||
// Value is set automatically for incoming errors and must not be set when
|
||||
// reporting errors.
|
||||
ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ServiceContext) Reset() { *m = ServiceContext{} }
|
||||
func (m *ServiceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServiceContext) ProtoMessage() {}
|
||||
func (*ServiceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *ServiceContext) GetService() string {
|
||||
if m != nil {
|
||||
return m.Service
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ServiceContext) GetVersion() string {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ServiceContext) GetResourceType() string {
|
||||
if m != nil {
|
||||
return m.ResourceType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A description of the context in which an error occurred.
|
||||
// This data should be provided by the application when reporting an error,
|
||||
// unless the
|
||||
// error report has been generated automatically from Google App Engine logs.
|
||||
type ErrorContext struct {
|
||||
// The HTTP request which was processed when the error was
|
||||
// triggered.
|
||||
HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest" json:"http_request,omitempty"`
|
||||
// The user who caused or was affected by the crash.
|
||||
// This can be a user ID, an email address, or an arbitrary token that
|
||||
// uniquely identifies the user.
|
||||
// When sending an error report, leave this field empty if the user was not
|
||||
// logged in. In this case the
|
||||
// Error Reporting system will use other data, such as remote IP address, to
|
||||
// distinguish affected users. See `affected_users_count` in
|
||||
// `ErrorGroupStats`.
|
||||
User string `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
|
||||
// The location in the source code where the decision was made to
|
||||
// report the error, usually the place where it was logged.
|
||||
// For a logged exception this would be the source line where the
|
||||
// exception is logged, usually close to the place where it was
|
||||
// caught. This value is in contrast to `Exception.cause_location`,
|
||||
// which describes the source line where the exception was thrown.
|
||||
ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation" json:"report_location,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ErrorContext) Reset() { *m = ErrorContext{} }
|
||||
func (m *ErrorContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorContext) ProtoMessage() {}
|
||||
func (*ErrorContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *ErrorContext) GetHttpRequest() *HttpRequestContext {
|
||||
if m != nil {
|
||||
return m.HttpRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorContext) GetUser() string {
|
||||
if m != nil {
|
||||
return m.User
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ErrorContext) GetReportLocation() *SourceLocation {
|
||||
if m != nil {
|
||||
return m.ReportLocation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// HTTP request data that is related to a reported error.
|
||||
// This data should be provided by the application when reporting an error,
|
||||
// unless the
|
||||
// error report has been generated automatically from Google App Engine logs.
|
||||
type HttpRequestContext struct {
|
||||
// The type of HTTP request, such as `GET`, `POST`, etc.
|
||||
Method string `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
|
||||
// The URL of the request.
|
||||
Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
|
||||
// The user agent information that is provided with the request.
|
||||
UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
|
||||
// The referrer information that is provided with the request.
|
||||
Referrer string `protobuf:"bytes,4,opt,name=referrer" json:"referrer,omitempty"`
|
||||
// The HTTP response status code for the request.
|
||||
ResponseStatusCode int32 `protobuf:"varint,5,opt,name=response_status_code,json=responseStatusCode" json:"response_status_code,omitempty"`
|
||||
// The IP address from which the request originated.
|
||||
// This can be IPv4, IPv6, or a token which is derived from the
|
||||
// IP address, depending on the data that has been provided
|
||||
// in the error report.
|
||||
RemoteIp string `protobuf:"bytes,6,opt,name=remote_ip,json=remoteIp" json:"remote_ip,omitempty"`
|
||||
}
|
||||
|
||||
func (m *HttpRequestContext) Reset() { *m = HttpRequestContext{} }
|
||||
func (m *HttpRequestContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*HttpRequestContext) ProtoMessage() {}
|
||||
func (*HttpRequestContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *HttpRequestContext) GetMethod() string {
|
||||
if m != nil {
|
||||
return m.Method
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRequestContext) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRequestContext) GetUserAgent() string {
|
||||
if m != nil {
|
||||
return m.UserAgent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRequestContext) GetReferrer() string {
|
||||
if m != nil {
|
||||
return m.Referrer
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRequestContext) GetResponseStatusCode() int32 {
|
||||
if m != nil {
|
||||
return m.ResponseStatusCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *HttpRequestContext) GetRemoteIp() string {
|
||||
if m != nil {
|
||||
return m.RemoteIp
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Indicates a location in the source code of the service for which
|
||||
// errors are reported.
|
||||
// This data should be provided by the application when reporting an error,
|
||||
// unless the error report has been generated automatically from Google App
|
||||
// Engine logs. All fields are optional.
|
||||
type SourceLocation struct {
|
||||
// The source code filename, which can include a truncated relative
|
||||
// path, or a full path from a production machine.
|
||||
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"`
|
||||
// 1-based. 0 indicates that the line number is unknown.
|
||||
LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber" json:"line_number,omitempty"`
|
||||
// Human-readable name of a function or method.
|
||||
// The value can include optional context like the class or package name.
|
||||
// For example, `my.package.MyClass.method` in case of Java.
|
||||
FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName" json:"function_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
|
||||
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceLocation) ProtoMessage() {}
|
||||
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *SourceLocation) GetFilePath() string {
|
||||
if m != nil {
|
||||
return m.FilePath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourceLocation) GetLineNumber() int32 {
|
||||
if m != nil {
|
||||
return m.LineNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SourceLocation) GetFunctionName() string {
|
||||
if m != nil {
|
||||
return m.FunctionName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ErrorGroup)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorGroup")
|
||||
proto.RegisterType((*TrackingIssue)(nil), "google.devtools.clouderrorreporting.v1beta1.TrackingIssue")
|
||||
proto.RegisterType((*ErrorEvent)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorEvent")
|
||||
proto.RegisterType((*ServiceContext)(nil), "google.devtools.clouderrorreporting.v1beta1.ServiceContext")
|
||||
proto.RegisterType((*ErrorContext)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorContext")
|
||||
proto.RegisterType((*HttpRequestContext)(nil), "google.devtools.clouderrorreporting.v1beta1.HttpRequestContext")
|
||||
proto.RegisterType((*SourceLocation)(nil), "google.devtools.clouderrorreporting.v1beta1.SourceLocation")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor0)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 693 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0x13, 0x3b,
|
||||
0x14, 0x56, 0x92, 0xfe, 0xe5, 0xa4, 0x4d, 0xaf, 0xac, 0xab, 0xab, 0xdc, 0x00, 0x6a, 0x49, 0x37,
|
||||
0x95, 0x90, 0x66, 0x68, 0xd9, 0x50, 0xba, 0x40, 0x34, 0xaa, 0x4a, 0x25, 0x54, 0x55, 0x93, 0x8a,
|
||||
0x05, 0x0b, 0x2c, 0x67, 0xe6, 0x64, 0x62, 0x31, 0x63, 0x0f, 0xb6, 0x27, 0xa2, 0xef, 0xc2, 0x82,
|
||||
0x35, 0x0f, 0x82, 0x78, 0x18, 0x1e, 0x02, 0xd9, 0x63, 0x97, 0x56, 0xed, 0x82, 0xec, 0xfc, 0x9d,
|
||||
0x9f, 0xef, 0x9c, 0xef, 0xf8, 0xd8, 0xf0, 0x32, 0x97, 0x32, 0x2f, 0x30, 0xce, 0x70, 0x61, 0xa4,
|
||||
0x2c, 0x74, 0x9c, 0x16, 0xb2, 0xce, 0x50, 0x29, 0xa9, 0x14, 0x56, 0x52, 0x19, 0x2e, 0xf2, 0x78,
|
||||
0x71, 0x30, 0x45, 0xc3, 0x0e, 0xe2, 0x54, 0x96, 0xa5, 0x14, 0x51, 0xa5, 0xa4, 0x91, 0xe4, 0x59,
|
||||
0x93, 0x19, 0x85, 0xcc, 0xe8, 0x81, 0xcc, 0xc8, 0x67, 0x0e, 0x1f, 0xfb, 0x32, 0xac, 0xe2, 0x31,
|
||||
0x13, 0x42, 0x1a, 0x66, 0xb8, 0x14, 0xba, 0xa1, 0x1a, 0xee, 0xdd, 0xf2, 0x96, 0x52, 0x70, 0x23,
|
||||
0x15, 0x66, 0x54, 0xa1, 0x96, 0xb5, 0x4a, 0xd1, 0x07, 0xed, 0xf8, 0x20, 0x87, 0xa6, 0xf5, 0x2c,
|
||||
0x36, 0xbc, 0x44, 0x6d, 0x58, 0x59, 0x35, 0x01, 0xa3, 0x6f, 0x2d, 0x80, 0x53, 0x5b, 0xfe, 0x4c,
|
||||
0xc9, 0xba, 0x22, 0x04, 0x56, 0x04, 0x2b, 0x71, 0xd0, 0xda, 0x6d, 0xed, 0x77, 0x13, 0x77, 0x26,
|
||||
0xff, 0xc3, 0x46, 0x6e, 0x9d, 0x94, 0x67, 0x83, 0xb6, 0xb3, 0xaf, 0x3b, 0x7c, 0x9e, 0x91, 0x14,
|
||||
0xb6, 0x8d, 0x62, 0xe9, 0x27, 0x2e, 0x72, 0xca, 0xb5, 0xae, 0x51, 0x0f, 0x3a, 0xbb, 0x9d, 0xfd,
|
||||
0xde, 0xe1, 0xab, 0x68, 0x09, 0xa1, 0xd1, 0x95, 0xe7, 0x38, 0xb7, 0x14, 0x49, 0xdf, 0xdc, 0x86,
|
||||
0x7a, 0xf4, 0x14, 0xb6, 0xee, 0x04, 0x90, 0x7f, 0xa0, 0x53, 0xab, 0xc2, 0xf7, 0x68, 0x8f, 0xa3,
|
||||
0xaf, 0x6d, 0xaf, 0xe2, 0x74, 0x81, 0xc2, 0x90,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0xd9, 0xfa, 0xf0, 0xd1, 0xe7, 0xe6, 0xb2, 0x60, 0x22, 0x8f, 0xa4, 0xca,
|
||||
0xe3, 0x1c, 0x85, 0x7b, 0xe5, 0x71, 0xe3, 0x62, 0x15, 0xd7, 0x7f, 0xf5, 0x57, 0x1f, 0x3f, 0xe0,
|
||||
0xfb, 0xde, 0xde, 0x3b, 0x6b, 0x0a, 0x8c, 0xad, 0xb3, 0x79, 0x61, 0xc9, 0x4d, 0x53, 0xef, 0x0f,
|
||||
0x4e, 0x6c, 0xe6, 0x74, 0xcd, 0x15, 0x7c, 0xf1, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x6b, 0x08,
|
||||
0x8d, 0x1b, 0x06, 0x00, 0x00,
|
||||
}
|
211
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go
generated
vendored
Normal file
211
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,211 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package clouderrorreporting
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
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
|
||||
|
||||
// A request to return an individual group.
|
||||
type GetGroupRequest struct {
|
||||
// [Required] The group resource name. Written as
|
||||
// <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
|
||||
// Call
|
||||
// <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
|
||||
// <code>groupStats.list</code></a> to return a list of groups belonging to
|
||||
// this project.
|
||||
//
|
||||
// Example: <code>projects/my-project-123/groups/my-group</code>
|
||||
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName" json:"group_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetGroupRequest) Reset() { *m = GetGroupRequest{} }
|
||||
func (m *GetGroupRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetGroupRequest) ProtoMessage() {}
|
||||
func (*GetGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
func (m *GetGroupRequest) GetGroupName() string {
|
||||
if m != nil {
|
||||
return m.GroupName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A request to replace the existing data for the given group.
|
||||
type UpdateGroupRequest struct {
|
||||
// [Required] The group which replaces the resource on the server.
|
||||
Group *ErrorGroup `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateGroupRequest) Reset() { *m = UpdateGroupRequest{} }
|
||||
func (m *UpdateGroupRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateGroupRequest) ProtoMessage() {}
|
||||
func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
|
||||
func (m *UpdateGroupRequest) GetGroup() *ErrorGroup {
|
||||
if m != nil {
|
||||
return m.Group
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*GetGroupRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.GetGroupRequest")
|
||||
proto.RegisterType((*UpdateGroupRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for ErrorGroupService service
|
||||
|
||||
type ErrorGroupServiceClient interface {
|
||||
// Get the specified group.
|
||||
GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error)
|
||||
// Replace the data for the specified group.
|
||||
// Fails if the group does not exist.
|
||||
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error)
|
||||
}
|
||||
|
||||
type errorGroupServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewErrorGroupServiceClient(cc *grpc.ClientConn) ErrorGroupServiceClient {
|
||||
return &errorGroupServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *errorGroupServiceClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) {
|
||||
out := new(ErrorGroup)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/GetGroup", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *errorGroupServiceClient) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) {
|
||||
out := new(ErrorGroup)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/UpdateGroup", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ErrorGroupService service
|
||||
|
||||
type ErrorGroupServiceServer interface {
|
||||
// Get the specified group.
|
||||
GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error)
|
||||
// Replace the data for the specified group.
|
||||
// Fails if the group does not exist.
|
||||
UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error)
|
||||
}
|
||||
|
||||
func RegisterErrorGroupServiceServer(s *grpc.Server, srv ErrorGroupServiceServer) {
|
||||
s.RegisterService(&_ErrorGroupService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ErrorGroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetGroupRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ErrorGroupServiceServer).GetGroup(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/GetGroup",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ErrorGroupServiceServer).GetGroup(ctx, req.(*GetGroupRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ErrorGroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateGroupRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ErrorGroupServiceServer).UpdateGroup(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/UpdateGroup",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ErrorGroupServiceServer).UpdateGroup(ctx, req.(*UpdateGroupRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ErrorGroupService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService",
|
||||
HandlerType: (*ErrorGroupServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "GetGroup",
|
||||
Handler: _ErrorGroupService_GetGroup_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateGroup",
|
||||
Handler: _ErrorGroupService_UpdateGroup_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/devtools/clouderrorreporting/v1beta1/error_group_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_group_service.proto", fileDescriptor1)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 381 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x4a, 0x03, 0x31,
|
||||
0x18, 0xc5, 0x99, 0x8a, 0x62, 0xd3, 0x85, 0x98, 0x85, 0xc8, 0xa0, 0x20, 0x75, 0xa3, 0x2d, 0x24,
|
||||
0x4e, 0x5d, 0x58, 0xfc, 0x83, 0x50, 0x29, 0x5d, 0x29, 0xa5, 0xa2, 0x0b, 0x17, 0x96, 0x74, 0x1a,
|
||||
0xc2, 0xc8, 0x4c, 0xbe, 0x31, 0x93, 0x76, 0x23, 0x6e, 0x3c, 0x80, 0x1b, 0x6f, 0xe1, 0xda, 0x0b,
|
||||
0x78, 0x04, 0xf1, 0x0a, 0x1e, 0x44, 0x26, 0xe9, 0x1f, 0x6d, 0x2b, 0x38, 0xdd, 0xbe, 0xe4, 0x7b,
|
||||
0xef, 0x97, 0x97, 0x0f, 0xd5, 0x05, 0x80, 0x08, 0x39, 0xed, 0xf2, 0xbe, 0x06, 0x08, 0x13, 0xea,
|
||||
0x87, 0xd0, 0xeb, 0x72, 0xa5, 0x40, 0x29, 0x1e, 0x83, 0xd2, 0x81, 0x14, 0xb4, 0xef, 0x75, 0xb8,
|
||||
0x66, 0x1e, 0x35, 0x72, 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0x1f, 0xbe, 0x6a, 0xe0, 0x2b, 0xee, 0x24, 0x3c, 0xf9, 0x13, 0xfe, 0xd0, 0x7e, 0x48, 0xed,
|
||||
0xc3, 0x41, 0xe9, 0xe2, 0x64, 0x09, 0xae, 0xad, 0x4d, 0xfd, 0x60, 0x33, 0xdd, 0xb9, 0xa6, 0x73,
|
||||
0x73, 0x3b, 0xb0, 0x11, 0x10, 0x32, 0x29, 0x08, 0x28, 0x41, 0x05, 0x97, 0x66, 0x23, 0xa9, 0x3d,
|
||||
0x62, 0x71, 0x90, 0xfc, 0x6b, 0x9d, 0x8f, 0x66, 0x9c, 0xbd, 0xe6, 0xb6, 0x1b, 0x36, 0xe0, 0x2c,
|
||||
0x3d, 0xb4, 0x0d, 0xb4, 0x46, 0x7c, 0xd7, 0x5e, 0x2d, 0x9d, 0xec, 0x2c, 0x99, 0xc0, 0xfd, 0xef,
|
||||
0x00, 0x00, 0x00, 0xff, 0xff, 0x9c, 0xb7, 0x37, 0x79, 0xd0, 0x03, 0x00, 0x00,
|
||||
}
|
910
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go
generated
vendored
Normal file
910
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,910 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package clouderrorreporting
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
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
|
||||
|
||||
// Specifies how the time periods of error group counts are aligned.
|
||||
type TimedCountAlignment int32
|
||||
|
||||
const (
|
||||
// No alignment specified.
|
||||
TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED TimedCountAlignment = 0
|
||||
// The time periods shall be consecutive, have width equal to the
|
||||
// requested duration, and be aligned at the `alignment_time` provided in
|
||||
// the request.
|
||||
// The `alignment_time` does not have to be inside the query period but
|
||||
// even if it is outside, only time periods are returned which overlap
|
||||
// with the query period.
|
||||
// A rounded alignment will typically result in a
|
||||
// different size of the first or the last time period.
|
||||
TimedCountAlignment_ALIGNMENT_EQUAL_ROUNDED TimedCountAlignment = 1
|
||||
// The time periods shall be consecutive, have width equal to the
|
||||
// requested duration, and be aligned at the end of the requested time
|
||||
// period. This can result in a different size of the
|
||||
// first time period.
|
||||
TimedCountAlignment_ALIGNMENT_EQUAL_AT_END TimedCountAlignment = 2
|
||||
)
|
||||
|
||||
var TimedCountAlignment_name = map[int32]string{
|
||||
0: "ERROR_COUNT_ALIGNMENT_UNSPECIFIED",
|
||||
1: "ALIGNMENT_EQUAL_ROUNDED",
|
||||
2: "ALIGNMENT_EQUAL_AT_END",
|
||||
}
|
||||
var TimedCountAlignment_value = map[string]int32{
|
||||
"ERROR_COUNT_ALIGNMENT_UNSPECIFIED": 0,
|
||||
"ALIGNMENT_EQUAL_ROUNDED": 1,
|
||||
"ALIGNMENT_EQUAL_AT_END": 2,
|
||||
}
|
||||
|
||||
func (x TimedCountAlignment) String() string {
|
||||
return proto.EnumName(TimedCountAlignment_name, int32(x))
|
||||
}
|
||||
func (TimedCountAlignment) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
// A sorting order of error groups.
|
||||
type ErrorGroupOrder int32
|
||||
|
||||
const (
|
||||
// No group order specified.
|
||||
ErrorGroupOrder_GROUP_ORDER_UNSPECIFIED ErrorGroupOrder = 0
|
||||
// Total count of errors in the given time window in descending order.
|
||||
ErrorGroupOrder_COUNT_DESC ErrorGroupOrder = 1
|
||||
// Timestamp when the group was last seen in the given time window
|
||||
// in descending order.
|
||||
ErrorGroupOrder_LAST_SEEN_DESC ErrorGroupOrder = 2
|
||||
// Timestamp when the group was created in descending order.
|
||||
ErrorGroupOrder_CREATED_DESC ErrorGroupOrder = 3
|
||||
// Number of affected users in the given time window in descending order.
|
||||
ErrorGroupOrder_AFFECTED_USERS_DESC ErrorGroupOrder = 4
|
||||
)
|
||||
|
||||
var ErrorGroupOrder_name = map[int32]string{
|
||||
0: "GROUP_ORDER_UNSPECIFIED",
|
||||
1: "COUNT_DESC",
|
||||
2: "LAST_SEEN_DESC",
|
||||
3: "CREATED_DESC",
|
||||
4: "AFFECTED_USERS_DESC",
|
||||
}
|
||||
var ErrorGroupOrder_value = map[string]int32{
|
||||
"GROUP_ORDER_UNSPECIFIED": 0,
|
||||
"COUNT_DESC": 1,
|
||||
"LAST_SEEN_DESC": 2,
|
||||
"CREATED_DESC": 3,
|
||||
"AFFECTED_USERS_DESC": 4,
|
||||
}
|
||||
|
||||
func (x ErrorGroupOrder) String() string {
|
||||
return proto.EnumName(ErrorGroupOrder_name, int32(x))
|
||||
}
|
||||
func (ErrorGroupOrder) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
// The supported time ranges.
|
||||
type QueryTimeRange_Period int32
|
||||
|
||||
const (
|
||||
// Do not use.
|
||||
QueryTimeRange_PERIOD_UNSPECIFIED QueryTimeRange_Period = 0
|
||||
// Retrieve data for the last hour.
|
||||
// Recommended minimum timed count duration: 1 min.
|
||||
QueryTimeRange_PERIOD_1_HOUR QueryTimeRange_Period = 1
|
||||
// Retrieve data for the last 6 hours.
|
||||
// Recommended minimum timed count duration: 10 min.
|
||||
QueryTimeRange_PERIOD_6_HOURS QueryTimeRange_Period = 2
|
||||
// Retrieve data for the last day.
|
||||
// Recommended minimum timed count duration: 1 hour.
|
||||
QueryTimeRange_PERIOD_1_DAY QueryTimeRange_Period = 3
|
||||
// Retrieve data for the last week.
|
||||
// Recommended minimum timed count duration: 6 hours.
|
||||
QueryTimeRange_PERIOD_1_WEEK QueryTimeRange_Period = 4
|
||||
// Retrieve data for the last 30 days.
|
||||
// Recommended minimum timed count duration: 1 day.
|
||||
QueryTimeRange_PERIOD_30_DAYS QueryTimeRange_Period = 5
|
||||
)
|
||||
|
||||
var QueryTimeRange_Period_name = map[int32]string{
|
||||
0: "PERIOD_UNSPECIFIED",
|
||||
1: "PERIOD_1_HOUR",
|
||||
2: "PERIOD_6_HOURS",
|
||||
3: "PERIOD_1_DAY",
|
||||
4: "PERIOD_1_WEEK",
|
||||
5: "PERIOD_30_DAYS",
|
||||
}
|
||||
var QueryTimeRange_Period_value = map[string]int32{
|
||||
"PERIOD_UNSPECIFIED": 0,
|
||||
"PERIOD_1_HOUR": 1,
|
||||
"PERIOD_6_HOURS": 2,
|
||||
"PERIOD_1_DAY": 3,
|
||||
"PERIOD_1_WEEK": 4,
|
||||
"PERIOD_30_DAYS": 5,
|
||||
}
|
||||
|
||||
func (x QueryTimeRange_Period) String() string {
|
||||
return proto.EnumName(QueryTimeRange_Period_name, int32(x))
|
||||
}
|
||||
func (QueryTimeRange_Period) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{6, 0} }
|
||||
|
||||
// Specifies a set of `ErrorGroupStats` to return.
|
||||
type ListGroupStatsRequest struct {
|
||||
// [Required] The resource name of the Google Cloud Platform project. Written
|
||||
// as <code>projects/</code> plus the
|
||||
// <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
|
||||
// Platform project ID</a>.
|
||||
//
|
||||
// Example: <code>projects/my-project-123</code>.
|
||||
ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
|
||||
// [Optional] List all <code>ErrorGroupStats</code> with these IDs.
|
||||
GroupId []string `protobuf:"bytes,2,rep,name=group_id,json=groupId" json:"group_id,omitempty"`
|
||||
// [Optional] List only <code>ErrorGroupStats</code> which belong to a service
|
||||
// context that matches the filter.
|
||||
// Data for all service contexts is returned if this field is not specified.
|
||||
ServiceFilter *ServiceContextFilter `protobuf:"bytes,3,opt,name=service_filter,json=serviceFilter" json:"service_filter,omitempty"`
|
||||
// [Optional] List data for the given time range.
|
||||
// If not set a default time range is used. The field time_range_begin
|
||||
// in the response will specify the beginning of this time range.
|
||||
// Only <code>ErrorGroupStats</code> with a non-zero count in the given time
|
||||
// range are returned, unless the request contains an explicit group_id list.
|
||||
// If a group_id list is given, also <code>ErrorGroupStats</code> with zero
|
||||
// occurrences are returned.
|
||||
TimeRange *QueryTimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
|
||||
// [Optional] The preferred duration for a single returned `TimedCount`.
|
||||
// If not set, no timed counts are returned.
|
||||
TimedCountDuration *google_protobuf2.Duration `protobuf:"bytes,6,opt,name=timed_count_duration,json=timedCountDuration" json:"timed_count_duration,omitempty"`
|
||||
// [Optional] The alignment of the timed counts to be returned.
|
||||
// Default is `ALIGNMENT_EQUAL_AT_END`.
|
||||
Alignment TimedCountAlignment `protobuf:"varint,7,opt,name=alignment,enum=google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment" json:"alignment,omitempty"`
|
||||
// [Optional] Time where the timed counts shall be aligned if rounded
|
||||
// alignment is chosen. Default is 00:00 UTC.
|
||||
AlignmentTime *google_protobuf1.Timestamp `protobuf:"bytes,8,opt,name=alignment_time,json=alignmentTime" json:"alignment_time,omitempty"`
|
||||
// [Optional] The sort order in which the results are returned.
|
||||
// Default is `COUNT_DESC`.
|
||||
Order ErrorGroupOrder `protobuf:"varint,9,opt,name=order,enum=google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder" json:"order,omitempty"`
|
||||
// [Optional] The maximum number of results to return per response.
|
||||
// Default is 20.
|
||||
PageSize int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
// [Optional] A `next_page_token` provided by a previous response. To view
|
||||
// additional results, pass this token along with the identical query
|
||||
// parameters as the first request.
|
||||
PageToken string `protobuf:"bytes,12,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) Reset() { *m = ListGroupStatsRequest{} }
|
||||
func (m *ListGroupStatsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListGroupStatsRequest) ProtoMessage() {}
|
||||
func (*ListGroupStatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *ListGroupStatsRequest) GetProjectName() string {
|
||||
if m != nil {
|
||||
return m.ProjectName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetGroupId() []string {
|
||||
if m != nil {
|
||||
return m.GroupId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetServiceFilter() *ServiceContextFilter {
|
||||
if m != nil {
|
||||
return m.ServiceFilter
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetTimeRange() *QueryTimeRange {
|
||||
if m != nil {
|
||||
return m.TimeRange
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetTimedCountDuration() *google_protobuf2.Duration {
|
||||
if m != nil {
|
||||
return m.TimedCountDuration
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetAlignment() TimedCountAlignment {
|
||||
if m != nil {
|
||||
return m.Alignment
|
||||
}
|
||||
return TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetAlignmentTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.AlignmentTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetOrder() ErrorGroupOrder {
|
||||
if m != nil {
|
||||
return m.Order
|
||||
}
|
||||
return ErrorGroupOrder_GROUP_ORDER_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Contains a set of requested error group stats.
|
||||
type ListGroupStatsResponse struct {
|
||||
// The error group stats which match the given request.
|
||||
ErrorGroupStats []*ErrorGroupStats `protobuf:"bytes,1,rep,name=error_group_stats,json=errorGroupStats" json:"error_group_stats,omitempty"`
|
||||
// If non-empty, more results are available.
|
||||
// Pass this token, along with the same query parameters as the first
|
||||
// request, to view the next page of results.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
// The timestamp specifies the start time to which the request was restricted.
|
||||
// The start time is set based on the requested time range. It may be adjusted
|
||||
// to a later time if a project has exceeded the storage quota and older data
|
||||
// has been deleted.
|
||||
TimeRangeBegin *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin" json:"time_range_begin,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsResponse) Reset() { *m = ListGroupStatsResponse{} }
|
||||
func (m *ListGroupStatsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListGroupStatsResponse) ProtoMessage() {}
|
||||
func (*ListGroupStatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
func (m *ListGroupStatsResponse) GetErrorGroupStats() []*ErrorGroupStats {
|
||||
if m != nil {
|
||||
return m.ErrorGroupStats
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListGroupStatsResponse) GetTimeRangeBegin() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.TimeRangeBegin
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Data extracted for a specific group based on certain filter criteria,
|
||||
// such as a given time period and/or service filter.
|
||||
type ErrorGroupStats struct {
|
||||
// Group data that is independent of the filter criteria.
|
||||
Group *ErrorGroup `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
|
||||
// Approximate total number of events in the given group that match
|
||||
// the filter criteria.
|
||||
Count int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
|
||||
// Approximate number of affected users in the given group that
|
||||
// match the filter criteria.
|
||||
// Users are distinguished by data in the `ErrorContext` of the
|
||||
// individual error events, such as their login name or their remote
|
||||
// IP address in case of HTTP requests.
|
||||
// The number of affected users can be zero even if the number of
|
||||
// errors is non-zero if no data was provided from which the
|
||||
// affected user could be deduced.
|
||||
// Users are counted based on data in the request
|
||||
// context that was provided in the error report. If more users are
|
||||
// implicitly affected, such as due to a crash of the whole service,
|
||||
// this is not reflected here.
|
||||
AffectedUsersCount int64 `protobuf:"varint,3,opt,name=affected_users_count,json=affectedUsersCount" json:"affected_users_count,omitempty"`
|
||||
// Approximate number of occurrences over time.
|
||||
// Timed counts returned by ListGroups are guaranteed to be:
|
||||
//
|
||||
// - Inside the requested time interval
|
||||
// - Non-overlapping, and
|
||||
// - Ordered by ascending time.
|
||||
TimedCounts []*TimedCount `protobuf:"bytes,4,rep,name=timed_counts,json=timedCounts" json:"timed_counts,omitempty"`
|
||||
// Approximate first occurrence that was ever seen for this group
|
||||
// and which matches the given filter criteria, ignoring the
|
||||
// time_range that was specified in the request.
|
||||
FirstSeenTime *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=first_seen_time,json=firstSeenTime" json:"first_seen_time,omitempty"`
|
||||
// Approximate last occurrence that was ever seen for this group and
|
||||
// which matches the given filter criteria, ignoring the time_range
|
||||
// that was specified in the request.
|
||||
LastSeenTime *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=last_seen_time,json=lastSeenTime" json:"last_seen_time,omitempty"`
|
||||
// Service contexts with a non-zero error count for the given filter
|
||||
// criteria. This list can be truncated if multiple services are affected.
|
||||
// Refer to `num_affected_services` for the total count.
|
||||
AffectedServices []*ServiceContext `protobuf:"bytes,7,rep,name=affected_services,json=affectedServices" json:"affected_services,omitempty"`
|
||||
// The total number of services with a non-zero error count for the given
|
||||
// filter criteria.
|
||||
NumAffectedServices int32 `protobuf:"varint,8,opt,name=num_affected_services,json=numAffectedServices" json:"num_affected_services,omitempty"`
|
||||
// An arbitrary event that is chosen as representative for the whole group.
|
||||
// The representative event is intended to be used as a quick preview for
|
||||
// the whole group. Events in the group are usually sufficiently similar
|
||||
// to each other such that showing an arbitrary representative provides
|
||||
// insight into the characteristics of the group as a whole.
|
||||
Representative *ErrorEvent `protobuf:"bytes,9,opt,name=representative" json:"representative,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) Reset() { *m = ErrorGroupStats{} }
|
||||
func (m *ErrorGroupStats) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorGroupStats) ProtoMessage() {}
|
||||
func (*ErrorGroupStats) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
|
||||
func (m *ErrorGroupStats) GetGroup() *ErrorGroup {
|
||||
if m != nil {
|
||||
return m.Group
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetCount() int64 {
|
||||
if m != nil {
|
||||
return m.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetAffectedUsersCount() int64 {
|
||||
if m != nil {
|
||||
return m.AffectedUsersCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetTimedCounts() []*TimedCount {
|
||||
if m != nil {
|
||||
return m.TimedCounts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetFirstSeenTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.FirstSeenTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetLastSeenTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.LastSeenTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetAffectedServices() []*ServiceContext {
|
||||
if m != nil {
|
||||
return m.AffectedServices
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetNumAffectedServices() int32 {
|
||||
if m != nil {
|
||||
return m.NumAffectedServices
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ErrorGroupStats) GetRepresentative() *ErrorEvent {
|
||||
if m != nil {
|
||||
return m.Representative
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The number of errors in a given time period.
|
||||
// All numbers are approximate since the error events are sampled
|
||||
// before counting them.
|
||||
type TimedCount struct {
|
||||
// Approximate number of occurrences in the given time period.
|
||||
Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
|
||||
// Start of the time period to which `count` refers (included).
|
||||
StartTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
// End of the time period to which `count` refers (excluded).
|
||||
EndTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TimedCount) Reset() { *m = TimedCount{} }
|
||||
func (m *TimedCount) String() string { return proto.CompactTextString(m) }
|
||||
func (*TimedCount) ProtoMessage() {}
|
||||
func (*TimedCount) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
|
||||
func (m *TimedCount) GetCount() int64 {
|
||||
if m != nil {
|
||||
return m.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TimedCount) GetStartTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TimedCount) GetEndTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Specifies a set of error events to return.
|
||||
type ListEventsRequest struct {
|
||||
// [Required] The resource name of the Google Cloud Platform project. Written
|
||||
// as `projects/` plus the
|
||||
// [Google Cloud Platform project
|
||||
// ID](https://support.google.com/cloud/answer/6158840).
|
||||
// Example: `projects/my-project-123`.
|
||||
ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
|
||||
// [Required] The group for which events shall be returned.
|
||||
GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
|
||||
// [Optional] List only ErrorGroups which belong to a service context that
|
||||
// matches the filter.
|
||||
// Data for all service contexts is returned if this field is not specified.
|
||||
ServiceFilter *ServiceContextFilter `protobuf:"bytes,3,opt,name=service_filter,json=serviceFilter" json:"service_filter,omitempty"`
|
||||
// [Optional] List only data for the given time range.
|
||||
// If not set a default time range is used. The field time_range_begin
|
||||
// in the response will specify the beginning of this time range.
|
||||
TimeRange *QueryTimeRange `protobuf:"bytes,4,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
|
||||
// [Optional] The maximum number of results to return per response.
|
||||
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
// [Optional] A `next_page_token` provided by a previous response.
|
||||
PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListEventsRequest) Reset() { *m = ListEventsRequest{} }
|
||||
func (m *ListEventsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListEventsRequest) ProtoMessage() {}
|
||||
func (*ListEventsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
|
||||
func (m *ListEventsRequest) GetProjectName() string {
|
||||
if m != nil {
|
||||
return m.ProjectName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListEventsRequest) GetGroupId() string {
|
||||
if m != nil {
|
||||
return m.GroupId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListEventsRequest) GetServiceFilter() *ServiceContextFilter {
|
||||
if m != nil {
|
||||
return m.ServiceFilter
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListEventsRequest) GetTimeRange() *QueryTimeRange {
|
||||
if m != nil {
|
||||
return m.TimeRange
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListEventsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListEventsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Contains a set of requested error events.
|
||||
type ListEventsResponse struct {
|
||||
// The error events which match the given request.
|
||||
ErrorEvents []*ErrorEvent `protobuf:"bytes,1,rep,name=error_events,json=errorEvents" json:"error_events,omitempty"`
|
||||
// If non-empty, more results are available.
|
||||
// Pass this token, along with the same query parameters as the first
|
||||
// request, to view the next page of results.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
// The timestamp specifies the start time to which the request was restricted.
|
||||
TimeRangeBegin *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin" json:"time_range_begin,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListEventsResponse) Reset() { *m = ListEventsResponse{} }
|
||||
func (m *ListEventsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListEventsResponse) ProtoMessage() {}
|
||||
func (*ListEventsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
|
||||
func (m *ListEventsResponse) GetErrorEvents() []*ErrorEvent {
|
||||
if m != nil {
|
||||
return m.ErrorEvents
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListEventsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListEventsResponse) GetTimeRangeBegin() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.TimeRangeBegin
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Requests might be rejected or the resulting timed count durations might be
|
||||
// adjusted for lower durations.
|
||||
type QueryTimeRange struct {
|
||||
// Restricts the query to the specified time range.
|
||||
Period QueryTimeRange_Period `protobuf:"varint,1,opt,name=period,enum=google.devtools.clouderrorreporting.v1beta1.QueryTimeRange_Period" json:"period,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryTimeRange) Reset() { *m = QueryTimeRange{} }
|
||||
func (m *QueryTimeRange) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryTimeRange) ProtoMessage() {}
|
||||
func (*QueryTimeRange) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
|
||||
func (m *QueryTimeRange) GetPeriod() QueryTimeRange_Period {
|
||||
if m != nil {
|
||||
return m.Period
|
||||
}
|
||||
return QueryTimeRange_PERIOD_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Specifies criteria for filtering a subset of service contexts.
|
||||
// The fields in the filter correspond to the fields in `ServiceContext`.
|
||||
// Only exact, case-sensitive matches are supported.
|
||||
// If a field is unset or empty, it matches arbitrary values.
|
||||
type ServiceContextFilter struct {
|
||||
// [Optional] The exact value to match against
|
||||
// [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
|
||||
Service string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
|
||||
// [Optional] The exact value to match against
|
||||
// [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
|
||||
Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
|
||||
// [Optional] The exact value to match against
|
||||
// [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
|
||||
ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ServiceContextFilter) Reset() { *m = ServiceContextFilter{} }
|
||||
func (m *ServiceContextFilter) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServiceContextFilter) ProtoMessage() {}
|
||||
func (*ServiceContextFilter) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
|
||||
func (m *ServiceContextFilter) GetService() string {
|
||||
if m != nil {
|
||||
return m.Service
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ServiceContextFilter) GetVersion() string {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ServiceContextFilter) GetResourceType() string {
|
||||
if m != nil {
|
||||
return m.ResourceType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Deletes all events in the project.
|
||||
type DeleteEventsRequest struct {
|
||||
// [Required] The resource name of the Google Cloud Platform project. Written
|
||||
// as `projects/` plus the
|
||||
// [Google Cloud Platform project
|
||||
// ID](https://support.google.com/cloud/answer/6158840).
|
||||
// Example: `projects/my-project-123`.
|
||||
ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteEventsRequest) Reset() { *m = DeleteEventsRequest{} }
|
||||
func (m *DeleteEventsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteEventsRequest) ProtoMessage() {}
|
||||
func (*DeleteEventsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
|
||||
|
||||
func (m *DeleteEventsRequest) GetProjectName() string {
|
||||
if m != nil {
|
||||
return m.ProjectName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response message for deleting error events.
|
||||
type DeleteEventsResponse struct {
|
||||
}
|
||||
|
||||
func (m *DeleteEventsResponse) Reset() { *m = DeleteEventsResponse{} }
|
||||
func (m *DeleteEventsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteEventsResponse) ProtoMessage() {}
|
||||
func (*DeleteEventsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} }
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ListGroupStatsRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest")
|
||||
proto.RegisterType((*ListGroupStatsResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse")
|
||||
proto.RegisterType((*ErrorGroupStats)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats")
|
||||
proto.RegisterType((*TimedCount)(nil), "google.devtools.clouderrorreporting.v1beta1.TimedCount")
|
||||
proto.RegisterType((*ListEventsRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.ListEventsRequest")
|
||||
proto.RegisterType((*ListEventsResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.ListEventsResponse")
|
||||
proto.RegisterType((*QueryTimeRange)(nil), "google.devtools.clouderrorreporting.v1beta1.QueryTimeRange")
|
||||
proto.RegisterType((*ServiceContextFilter)(nil), "google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter")
|
||||
proto.RegisterType((*DeleteEventsRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest")
|
||||
proto.RegisterType((*DeleteEventsResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse")
|
||||
proto.RegisterEnum("google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment", TimedCountAlignment_name, TimedCountAlignment_value)
|
||||
proto.RegisterEnum("google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder", ErrorGroupOrder_name, ErrorGroupOrder_value)
|
||||
proto.RegisterEnum("google.devtools.clouderrorreporting.v1beta1.QueryTimeRange_Period", QueryTimeRange_Period_name, QueryTimeRange_Period_value)
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for ErrorStatsService service
|
||||
|
||||
type ErrorStatsServiceClient interface {
|
||||
// Lists the specified groups.
|
||||
ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error)
|
||||
// Lists the specified events.
|
||||
ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
|
||||
// Deletes all error events of a given project.
|
||||
DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, error)
|
||||
}
|
||||
|
||||
type errorStatsServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewErrorStatsServiceClient(cc *grpc.ClientConn) ErrorStatsServiceClient {
|
||||
return &errorStatsServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *errorStatsServiceClient) ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error) {
|
||||
out := new(ListGroupStatsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListGroupStats", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *errorStatsServiceClient) ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) {
|
||||
out := new(ListEventsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListEvents", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *errorStatsServiceClient) DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, error) {
|
||||
out := new(DeleteEventsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/DeleteEvents", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ErrorStatsService service
|
||||
|
||||
type ErrorStatsServiceServer interface {
|
||||
// Lists the specified groups.
|
||||
ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error)
|
||||
// Lists the specified events.
|
||||
ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
|
||||
// Deletes all error events of a given project.
|
||||
DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error)
|
||||
}
|
||||
|
||||
func RegisterErrorStatsServiceServer(s *grpc.Server, srv ErrorStatsServiceServer) {
|
||||
s.RegisterService(&_ErrorStatsService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ErrorStatsService_ListGroupStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListGroupStatsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ErrorStatsServiceServer).ListGroupStats(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListGroupStats",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ErrorStatsServiceServer).ListGroupStats(ctx, req.(*ListGroupStatsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ErrorStatsService_ListEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListEventsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ErrorStatsServiceServer).ListEvents(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListEvents",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ErrorStatsServiceServer).ListEvents(ctx, req.(*ListEventsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ErrorStatsService_DeleteEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteEventsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ErrorStatsServiceServer).DeleteEvents(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/DeleteEvents",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ErrorStatsServiceServer).DeleteEvents(ctx, req.(*DeleteEventsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ErrorStatsService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService",
|
||||
HandlerType: (*ErrorStatsServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListGroupStats",
|
||||
Handler: _ErrorStatsService_ListGroupStats_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListEvents",
|
||||
Handler: _ErrorStatsService_ListEvents_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteEvents",
|
||||
Handler: _ErrorStatsService_DeleteEvents_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto", fileDescriptor2)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 1312 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4b, 0x6f, 0x1b, 0x55,
|
||||
0x14, 0x66, 0xec, 0x38, 0x89, 0x4f, 0x1c, 0xc7, 0xb9, 0x49, 0xd3, 0xa9, 0xcb, 0x23, 0x75, 0x05,
|
||||
0x0a, 0xa9, 0xb0, 0x9b, 0x54, 0xa5, 0x45, 0xe5, 0x51, 0xc7, 0x9e, 0x84, 0xa8, 0xa9, 0xed, 0x5e,
|
||||
0xdb, 0x20, 0xb2, 0xe8, 0x68, 0x62, 0x9f, 0x4c, 0x07, 0xec, 0x99, 0x61, 0xe6, 0x3a, 0x6a, 0x8b,
|
||||
0x2a, 0x21, 0x76, 0xac, 0x61, 0xc7, 0x3f, 0xe0, 0x57, 0xb0, 0x62, 0x0d, 0xea, 0x9e, 0x15, 0x7b,
|
||||
0x10, 0xbf, 0x00, 0xdd, 0xc7, 0xf8, 0xd5, 0x88, 0xd4, 0x0e, 0x42, 0xec, 0xe6, 0x9e, 0x73, 0xcf,
|
||||
0x77, 0x1e, 0xf7, 0x3b, 0xe7, 0xde, 0x01, 0xc3, 0xf6, 0x3c, 0xbb, 0x83, 0x85, 0x36, 0x9e, 0x30,
|
||||
0xcf, 0xeb, 0x84, 0x85, 0x56, 0xc7, 0xeb, 0xb5, 0x31, 0x08, 0xbc, 0x20, 0x40, 0xdf, 0x0b, 0x98,
|
||||
0xe3, 0xda, 0x85, 0x93, 0xad, 0x23, 0x64, 0xd6, 0x56, 0x41, 0x88, 0xcd, 0x90, 0x59, 0x2c, 0x34,
|
||||
0x43, 0x0c, 0x4e, 0x9c, 0x16, 0xe6, 0xfd, 0xc0, 0x63, 0x1e, 0xb9, 0x26, 0x61, 0xf2, 0x11, 0x4c,
|
||||
0xfe, 0x14, 0x98, 0xbc, 0x82, 0xc9, 0xbe, 0xaa, 0x7c, 0x5a, 0xbe, 0x53, 0xb0, 0x5c, 0xd7, 0x63,
|
||||
0x16, 0x73, 0x3c, 0x37, 0x94, 0x50, 0xd9, 0xdb, 0x93, 0x44, 0xd4, 0xf2, 0xba, 0x5d, 0xcf, 0x55,
|
||||
0x96, 0xaf, 0x2b, 0x4b, 0xb1, 0x3a, 0xea, 0x1d, 0x17, 0xda, 0xbd, 0x40, 0x40, 0x2b, 0xfd, 0x1b,
|
||||
0xe3, 0x7a, 0xe6, 0x74, 0x31, 0x64, 0x56, 0xd7, 0x97, 0x1b, 0x72, 0x3f, 0x24, 0xe0, 0xc2, 0x81,
|
||||
0x13, 0xb2, 0xbd, 0xc0, 0xeb, 0xf9, 0x75, 0x9e, 0x26, 0xc5, 0x2f, 0x7b, 0x18, 0x32, 0x72, 0x05,
|
||||
0x52, 0x7e, 0xe0, 0x7d, 0x8e, 0x2d, 0x66, 0xba, 0x56, 0x17, 0x75, 0x6d, 0x5d, 0xdb, 0x48, 0xd2,
|
||||
0x05, 0x25, 0xab, 0x58, 0x5d, 0x24, 0x97, 0x60, 0xde, 0xe6, 0x76, 0xa6, 0xd3, 0xd6, 0x63, 0xeb,
|
||||
0xf1, 0x8d, 0x24, 0x9d, 0x13, 0xeb, 0xfd, 0x36, 0x79, 0x04, 0x69, 0x55, 0x2e, 0xf3, 0xd8, 0xe9,
|
||||
0x30, 0x0c, 0xf4, 0xf8, 0xba, 0xb6, 0xb1, 0xb0, 0x5d, 0xcc, 0x4f, 0x50, 0xb6, 0x7c, 0x5d, 0x42,
|
||||
0x94, 0x3c, 0x97, 0xe1, 0x63, 0xb6, 0x2b, 0x80, 0xe8, 0xa2, 0x02, 0x96, 0x4b, 0x72, 0x08, 0xc0,
|
||||
0x93, 0x32, 0x03, 0xcb, 0xb5, 0x51, 0x4f, 0x08, 0x2f, 0x77, 0x26, 0xf2, 0xf2, 0xa0, 0x87, 0xc1,
|
||||
0x93, 0x86, 0xd3, 0x45, 0xca, 0x21, 0x68, 0x92, 0x45, 0x9f, 0xe4, 0x1e, 0xac, 0xf2, 0x45, 0xdb,
|
||||
0x6c, 0x79, 0x3d, 0x97, 0x99, 0x51, 0x71, 0xf5, 0x59, 0xe1, 0xe5, 0x52, 0xe4, 0x25, 0xaa, 0x6e,
|
||||
0xbe, 0xac, 0x36, 0x50, 0x22, 0xcc, 0x4a, 0xdc, 0x2a, 0x92, 0x91, 0x87, 0x90, 0xb4, 0x3a, 0x8e,
|
||||
0xed, 0x76, 0xd1, 0x65, 0xfa, 0xdc, 0xba, 0xb6, 0x91, 0xde, 0xbe, 0x3b, 0x51, 0x9c, 0x8d, 0x3e,
|
||||
0x66, 0x31, 0xc2, 0xa1, 0x03, 0x48, 0x52, 0x84, 0x74, 0x7f, 0x61, 0x72, 0xff, 0xfa, 0xbc, 0x08,
|
||||
0x33, 0xfb, 0x42, 0x98, 0x8d, 0x88, 0x04, 0x74, 0xb1, 0x6f, 0xc1, 0x65, 0x84, 0x42, 0xc2, 0x0b,
|
||||
0xda, 0x18, 0xe8, 0x49, 0x11, 0xde, 0xfb, 0x13, 0x85, 0x67, 0x70, 0xb1, 0xe0, 0x51, 0x95, 0x63,
|
||||
0x50, 0x09, 0x45, 0x2e, 0x43, 0xd2, 0xb7, 0x6c, 0x34, 0x43, 0xe7, 0x29, 0xea, 0x0b, 0xeb, 0xda,
|
||||
0x46, 0x82, 0xce, 0x73, 0x41, 0xdd, 0x79, 0x8a, 0xe4, 0x35, 0x00, 0xa1, 0x64, 0xde, 0x17, 0xe8,
|
||||
0xea, 0x29, 0x41, 0x31, 0xb1, 0xbd, 0xc1, 0x05, 0xb9, 0x3f, 0x35, 0x58, 0x1b, 0x67, 0x67, 0xe8,
|
||||
0x7b, 0x6e, 0x88, 0xe4, 0x11, 0x2c, 0xcb, 0xde, 0x94, 0x0c, 0x14, 0x1d, 0xaa, 0x6b, 0xeb, 0xf1,
|
||||
0x8d, 0x85, 0xa9, 0xc3, 0x96, 0x0e, 0x96, 0x70, 0x54, 0x40, 0xde, 0x82, 0x25, 0x17, 0x1f, 0x33,
|
||||
0x73, 0x28, 0xd0, 0x98, 0x08, 0x74, 0x91, 0x8b, 0x6b, 0x51, 0xb0, 0xa4, 0x0c, 0x99, 0x01, 0x11,
|
||||
0xcd, 0x23, 0xb4, 0x1d, 0x57, 0x9f, 0x39, 0xf3, 0x04, 0xd2, 0x7d, 0xb6, 0xed, 0x70, 0x8b, 0xdc,
|
||||
0xb7, 0x09, 0x58, 0x1a, 0x0b, 0x89, 0xdc, 0x87, 0x84, 0xc8, 0x52, 0xf4, 0xe0, 0xc2, 0xf6, 0xad,
|
||||
0x29, 0xf3, 0xa3, 0x12, 0x85, 0xac, 0x42, 0x42, 0xf0, 0x59, 0xa4, 0x11, 0xa7, 0x72, 0x41, 0xae,
|
||||
0xc3, 0xaa, 0x75, 0x7c, 0x8c, 0x2d, 0x86, 0x6d, 0xb3, 0x17, 0x62, 0x10, 0x4a, 0xd2, 0x8b, 0xbe,
|
||||
0x8d, 0x53, 0x12, 0xe9, 0x9a, 0x5c, 0x25, 0x48, 0x48, 0x0e, 0x21, 0x35, 0xd4, 0x1d, 0xa1, 0x3e,
|
||||
0x23, 0xaa, 0x7f, 0x6b, 0x4a, 0x4e, 0xd3, 0x85, 0x41, 0xcf, 0x84, 0x64, 0x07, 0x96, 0x8e, 0x9d,
|
||||
0x20, 0x64, 0x66, 0x88, 0xe8, 0x4a, 0x36, 0x27, 0xce, 0x66, 0xb3, 0x30, 0xa9, 0x23, 0xba, 0x82,
|
||||
0xcd, 0x77, 0x21, 0xdd, 0xb1, 0x46, 0x20, 0x66, 0xcf, 0x84, 0x48, 0x71, 0x8b, 0x3e, 0xc2, 0x23,
|
||||
0x58, 0xee, 0xd7, 0x44, 0x4d, 0x9d, 0x50, 0x9f, 0x13, 0x69, 0xde, 0x39, 0xc7, 0x20, 0xa3, 0x99,
|
||||
0x08, 0x55, 0xc9, 0x43, 0xb2, 0x0d, 0x17, 0xdc, 0x5e, 0xd7, 0x7c, 0xd1, 0xdb, 0xbc, 0xe8, 0x98,
|
||||
0x15, 0xb7, 0xd7, 0x2d, 0x8e, 0xdb, 0x98, 0x90, 0x0e, 0xd0, 0x0f, 0x30, 0x44, 0x97, 0xdf, 0x27,
|
||||
0x27, 0x28, 0xda, 0x76, 0x2a, 0x7e, 0x18, 0x27, 0x7c, 0x98, 0x8c, 0xc1, 0xe5, 0xbe, 0xd7, 0x00,
|
||||
0x06, 0x07, 0x34, 0xe0, 0x8d, 0x36, 0xcc, 0x9b, 0xf7, 0x00, 0x42, 0x66, 0x05, 0x6a, 0xe4, 0xc4,
|
||||
0xce, 0xac, 0x70, 0x52, 0xec, 0x16, 0xe5, 0xbd, 0x09, 0xf3, 0xe8, 0xb6, 0xa5, 0x61, 0xfc, 0x4c,
|
||||
0xc3, 0x39, 0x74, 0xdb, 0x7c, 0x95, 0x7b, 0x1e, 0x83, 0x65, 0x3e, 0x15, 0x44, 0xd0, 0xd3, 0xdf,
|
||||
0x57, 0xda, 0xff, 0xe1, 0xbe, 0x9a, 0xf9, 0x57, 0xef, 0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8, 0x67, 0x4b, 0xe7, 0xc2, 0x90, 0xe7, 0x94, 0xbb, 0xf9, 0xcd,
|
||||
0xf3, 0xdf, 0xbf, 0x8b, 0x15, 0xc8, 0x3b, 0xfd, 0xff, 0x94, 0xaf, 0x86, 0x8f, 0xfc, 0x03, 0xb5,
|
||||
0x08, 0x0b, 0x9b, 0xcf, 0x0a, 0xf6, 0x20, 0xfe, 0x9f, 0x34, 0x80, 0xc1, 0xd0, 0x21, 0x1f, 0x4e,
|
||||
0x1c, 0xca, 0x08, 0xd1, 0xb2, 0x1f, 0x4d, 0x6d, 0xaf, 0xd2, 0xd8, 0x12, 0x69, 0x5c, 0x23, 0x6f,
|
||||
0xbf, 0x44, 0x1a, 0x72, 0x20, 0x92, 0x9f, 0x35, 0x48, 0x0d, 0x53, 0x97, 0x4c, 0xf6, 0xa8, 0x3f,
|
||||
0xa5, 0x5f, 0xb2, 0xc5, 0x73, 0x20, 0x8c, 0x26, 0xb2, 0xf9, 0xf2, 0x89, 0xec, 0xfc, 0xaa, 0x01,
|
||||
0xff, 0xb9, 0x9c, 0xc4, 0xf7, 0xce, 0xda, 0x0b, 0x2c, 0xad, 0xf1, 0x41, 0x5c, 0xd3, 0x0e, 0x1f,
|
||||
0x2a, 0x18, 0xdb, 0xeb, 0x58, 0xae, 0x9d, 0xf7, 0x02, 0xbb, 0x60, 0xa3, 0x2b, 0xc6, 0x74, 0x41,
|
||||
0xaa, 0x2c, 0xdf, 0x09, 0x5f, 0xea, 0x97, 0xf7, 0xce, 0x29, 0xba, 0x1f, 0x63, 0x57, 0xf7, 0xa4,
|
||||
0x83, 0x12, 0x57, 0xca, 0x2b, 0x86, 0xf6, 0xe3, 0xfb, 0x64, 0x6b, 0x87, 0x5b, 0x1e, 0xcd, 0x0a,
|
||||
0x87, 0x37, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x2a, 0x59, 0xfa, 0xf4, 0x0f, 0x00, 0x00,
|
||||
}
|
243
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go
generated
vendored
Normal file
243
vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,243 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package clouderrorreporting
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
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
|
||||
|
||||
// A request for reporting an individual error event.
|
||||
type ReportErrorEventRequest struct {
|
||||
// [Required] The resource name of the Google Cloud Platform project. Written
|
||||
// as `projects/` plus the
|
||||
// [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
|
||||
// Example: `projects/my-project-123`.
|
||||
ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
|
||||
// [Required] The error event to be reported.
|
||||
Event *ReportedErrorEvent `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ReportErrorEventRequest) Reset() { *m = ReportErrorEventRequest{} }
|
||||
func (m *ReportErrorEventRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportErrorEventRequest) ProtoMessage() {}
|
||||
func (*ReportErrorEventRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
func (m *ReportErrorEventRequest) GetProjectName() string {
|
||||
if m != nil {
|
||||
return m.ProjectName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReportErrorEventRequest) GetEvent() *ReportedErrorEvent {
|
||||
if m != nil {
|
||||
return m.Event
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Response for reporting an individual error event.
|
||||
// Data may be added to this message in the future.
|
||||
type ReportErrorEventResponse struct {
|
||||
}
|
||||
|
||||
func (m *ReportErrorEventResponse) Reset() { *m = ReportErrorEventResponse{} }
|
||||
func (m *ReportErrorEventResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportErrorEventResponse) ProtoMessage() {}
|
||||
func (*ReportErrorEventResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
|
||||
// An error event which is reported to the Error Reporting system.
|
||||
type ReportedErrorEvent struct {
|
||||
// [Optional] Time when the event occurred.
|
||||
// If not provided, the time when the event was received by the
|
||||
// Error Reporting system will be used.
|
||||
EventTime *google_protobuf1.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime" json:"event_time,omitempty"`
|
||||
// [Required] The service context in which this error has occurred.
|
||||
ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext" json:"service_context,omitempty"`
|
||||
// [Required] A message describing the error. The message can contain an
|
||||
// exception stack in one of the supported programming languages and formats.
|
||||
// In that case, the message is parsed and detailed exception information
|
||||
// is returned when retrieving the error event again.
|
||||
Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
|
||||
// [Optional] A description of the context in which the error occurred.
|
||||
Context *ErrorContext `protobuf:"bytes,4,opt,name=context" json:"context,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ReportedErrorEvent) Reset() { *m = ReportedErrorEvent{} }
|
||||
func (m *ReportedErrorEvent) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportedErrorEvent) ProtoMessage() {}
|
||||
func (*ReportedErrorEvent) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
|
||||
|
||||
func (m *ReportedErrorEvent) GetEventTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.EventTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReportedErrorEvent) GetServiceContext() *ServiceContext {
|
||||
if m != nil {
|
||||
return m.ServiceContext
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReportedErrorEvent) GetMessage() string {
|
||||
if m != nil {
|
||||
return m.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReportedErrorEvent) GetContext() *ErrorContext {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ReportErrorEventRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest")
|
||||
proto.RegisterType((*ReportErrorEventResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse")
|
||||
proto.RegisterType((*ReportedErrorEvent)(nil), "google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for ReportErrorsService service
|
||||
|
||||
type ReportErrorsServiceClient interface {
|
||||
// Report an individual error event.
|
||||
//
|
||||
// This endpoint accepts <strong>either</strong> an OAuth token,
|
||||
// <strong>or</strong> an
|
||||
// <a href="https://support.google.com/cloud/answer/6158862">API key</a>
|
||||
// for authentication. To use an API key, append it to the URL as the value of
|
||||
// a `key` parameter. For example:
|
||||
// <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
|
||||
ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error)
|
||||
}
|
||||
|
||||
type reportErrorsServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewReportErrorsServiceClient(cc *grpc.ClientConn) ReportErrorsServiceClient {
|
||||
return &reportErrorsServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *reportErrorsServiceClient) ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error) {
|
||||
out := new(ReportErrorEventResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ReportErrorsService/ReportErrorEvent", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ReportErrorsService service
|
||||
|
||||
type ReportErrorsServiceServer interface {
|
||||
// Report an individual error event.
|
||||
//
|
||||
// This endpoint accepts <strong>either</strong> an OAuth token,
|
||||
// <strong>or</strong> an
|
||||
// <a href="https://support.google.com/cloud/answer/6158862">API key</a>
|
||||
// for authentication. To use an API key, append it to the URL as the value of
|
||||
// a `key` parameter. For example:
|
||||
// <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
|
||||
ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error)
|
||||
}
|
||||
|
||||
func RegisterReportErrorsServiceServer(s *grpc.Server, srv ReportErrorsServiceServer) {
|
||||
s.RegisterService(&_ReportErrorsService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ReportErrorsService_ReportErrorEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ReportErrorEventRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ReportErrorsServiceServer).ReportErrorEvent(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ReportErrorsService/ReportErrorEvent",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ReportErrorsServiceServer).ReportErrorEvent(ctx, req.(*ReportErrorEventRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ReportErrorsService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService",
|
||||
HandlerType: (*ReportErrorsServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ReportErrorEvent",
|
||||
Handler: _ReportErrorsService_ReportErrorEvent_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto", fileDescriptor3)
|
||||
}
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 475 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xcd, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0xc7, 0xe5, 0xf0, 0x51, 0x75, 0x83, 0x00, 0x2d, 0x07, 0x2c, 0x0b, 0x89, 0x12, 0x2e, 0x15,
|
||||
0x48, 0x5e, 0x12, 0x2e, 0xa4, 0x15, 0xaa, 0x94, 0x12, 0xf5, 0x86, 0x2a, 0x17, 0x38, 0x70, 0xc0,
|
||||
0xda, 0x38, 0x83, 0x65, 0x14, 0xef, 0x98, 0xdd, 0x8d, 0x85, 0x84, 0xb8, 0xf0, 0x0a, 0x7d, 0x05,
|
||||
0x4e, 0xbc, 0x4e, 0x5f, 0x80, 0x03, 0x0f, 0xc1, 0x11, 0xed, 0x57, 0x14, 0x48, 0x0e, 0x98, 0x1e,
|
||||
0xc7, 0xe3, 0xf9, 0xfd, 0xff, 0xf3, 0xb1, 0xe4, 0xa4, 0x44, 0x2c, 0x17, 0xc0, 0xe6, 0xd0, 0x6a,
|
||||
0xc4, 0x85, 0x62, 0xc5, 0x02, 0x97, 0x73, 0x90, 0x12, 0xa5, 0x84, 0x06, 0xa5, 0xae, 0x44, 0xc9,
|
||||
0xda, 0xe1, 0x0c, 0x34, 0x1f, 0x32, 0xf7, 0x25, 0xb7, 0x59, 0x95, 0x2b, 0x90, 0x6d, 0x55, 0x40,
|
||||
0xda, 0x48, 0xd4, 0x48, 0x1f, 0x3b, 0x50, 0x1a, 0x40, 0xe9, 0x16, 0x50, 0xea, 0x41, 0xc9, 0x3d,
|
||||
0xaf, 0xca, 0x9b, 0x8a, 0x71, 0x21, 0x50, 0x73, 0x5d, 0xa1, 0x50, 0x0e, 0x95, 0x3c, 0xeb, 0xe2,
|
||||
0xa9, 0xc0, 0xba, 0x46, 0xe1, 0x2b, 0xef, 0xfb, 0x4a, 0x1b, 0xcd, 0x96, 0xef, 0x99, 0xae, 0x6a,
|
||||
0x50, 0x9a, 0xd7, 0x8d, 0xfb, 0x61, 0x70, 0x1e, 0x91, 0xbb, 0x99, 0x65, 0x4c, 0x0d, 0x6e, 0xda,
|
||||
0x82, 0xd0, 0x19, 0x7c, 0x5c, 0x82, 0xd2, 0xf4, 0x01, 0xb9, 0xd1, 0x48, 0xfc, 0x00, 0x85, 0xce,
|
||||
0x05, 0xaf, 0x21, 0x8e, 0xf6, 0xa2, 0xfd, 0xdd, 0xac, 0xef, 0xbf, 0xbd, 0xe4, 0x35, 0xd0, 0xd7,
|
||||
0xe4, 0x1a, 0x98, 0x92, 0xb8, 0xb7, 0x17, 0xed, 0xf7, 0x47, 0x47, 0x69, 0x87, 0xa6, 0x53, 0xa7,
|
||||
0x0b, 0xf3, 0x35, 0x65, 0x47, 0x1b, 0x24, 0x24, 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2, 0x64, 0x25, 0x08, 0x7b, 0x53, 0xcc, 0xa5, 0x78, 0x53,
|
||||
0xa9, 0x7f, 0x7a, 0x9d, 0x87, 0x5b, 0x72, 0xdf, 0x7b, 0x0f, 0x4f, 0x9c, 0xc0, 0xb1, 0x49, 0xba,
|
||||
0x7d, 0x66, 0x2b, 0x87, 0x6f, 0x86, 0x13, 0x53, 0x39, 0xbb, 0x6e, 0x05, 0x9f, 0xfe, 0x0e, 0x00,
|
||||
0x00, 0xff, 0xff, 0x9d, 0xe5, 0xc6, 0x91, 0xa1, 0x04, 0x00, 0x00,
|
||||
}
|
662
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go
generated
vendored
Normal file
662
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go
generated
vendored
Normal file
@@ -0,0 +1,662 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/cloudtrace/v1/trace.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package cloudtrace is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/cloudtrace/v1/trace.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Trace
|
||||
Traces
|
||||
TraceSpan
|
||||
ListTracesRequest
|
||||
ListTracesResponse
|
||||
GetTraceRequest
|
||||
PatchTracesRequest
|
||||
*/
|
||||
package cloudtrace
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
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
|
||||
|
||||
// Type of span. Can be used to specify additional relationships between spans
|
||||
// in addition to a parent/child relationship.
|
||||
type TraceSpan_SpanKind int32
|
||||
|
||||
const (
|
||||
// Unspecified.
|
||||
TraceSpan_SPAN_KIND_UNSPECIFIED TraceSpan_SpanKind = 0
|
||||
// Indicates that the span covers server-side handling of an RPC or other
|
||||
// remote network request.
|
||||
TraceSpan_RPC_SERVER TraceSpan_SpanKind = 1
|
||||
// Indicates that the span covers the client-side wrapper around an RPC or
|
||||
// other remote request.
|
||||
TraceSpan_RPC_CLIENT TraceSpan_SpanKind = 2
|
||||
)
|
||||
|
||||
var TraceSpan_SpanKind_name = map[int32]string{
|
||||
0: "SPAN_KIND_UNSPECIFIED",
|
||||
1: "RPC_SERVER",
|
||||
2: "RPC_CLIENT",
|
||||
}
|
||||
var TraceSpan_SpanKind_value = map[string]int32{
|
||||
"SPAN_KIND_UNSPECIFIED": 0,
|
||||
"RPC_SERVER": 1,
|
||||
"RPC_CLIENT": 2,
|
||||
}
|
||||
|
||||
func (x TraceSpan_SpanKind) String() string {
|
||||
return proto.EnumName(TraceSpan_SpanKind_name, int32(x))
|
||||
}
|
||||
func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
|
||||
// Type of data returned for traces in the list.
|
||||
type ListTracesRequest_ViewType int32
|
||||
|
||||
const (
|
||||
// Default is `MINIMAL` if unspecified.
|
||||
ListTracesRequest_VIEW_TYPE_UNSPECIFIED ListTracesRequest_ViewType = 0
|
||||
// Minimal view of the trace record that contains only the project
|
||||
// and trace IDs.
|
||||
ListTracesRequest_MINIMAL ListTracesRequest_ViewType = 1
|
||||
// Root span view of the trace record that returns the root spans along
|
||||
// with the minimal trace data.
|
||||
ListTracesRequest_ROOTSPAN ListTracesRequest_ViewType = 2
|
||||
// Complete view of the trace record that contains the actual trace data.
|
||||
// This is equivalent to calling the REST `get` or RPC `GetTrace` method
|
||||
// using the ID of each listed trace.
|
||||
ListTracesRequest_COMPLETE ListTracesRequest_ViewType = 3
|
||||
)
|
||||
|
||||
var ListTracesRequest_ViewType_name = map[int32]string{
|
||||
0: "VIEW_TYPE_UNSPECIFIED",
|
||||
1: "MINIMAL",
|
||||
2: "ROOTSPAN",
|
||||
3: "COMPLETE",
|
||||
}
|
||||
var ListTracesRequest_ViewType_value = map[string]int32{
|
||||
"VIEW_TYPE_UNSPECIFIED": 0,
|
||||
"MINIMAL": 1,
|
||||
"ROOTSPAN": 2,
|
||||
"COMPLETE": 3,
|
||||
}
|
||||
|
||||
func (x ListTracesRequest_ViewType) String() string {
|
||||
return proto.EnumName(ListTracesRequest_ViewType_name, int32(x))
|
||||
}
|
||||
func (ListTracesRequest_ViewType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{3, 0}
|
||||
}
|
||||
|
||||
// A trace describes how long it takes for an application to perform an
|
||||
// operation. It consists of a set of spans, each of which represent a single
|
||||
// timed event within the operation.
|
||||
type Trace struct {
|
||||
// Project ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
// Globally unique identifier for the trace. This identifier is a 128-bit
|
||||
// numeric value formatted as a 32-byte hex string.
|
||||
TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
|
||||
// Collection of spans in the trace.
|
||||
Spans []*TraceSpan `protobuf:"bytes,3,rep,name=spans" json:"spans,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Trace) Reset() { *m = Trace{} }
|
||||
func (m *Trace) String() string { return proto.CompactTextString(m) }
|
||||
func (*Trace) ProtoMessage() {}
|
||||
func (*Trace) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *Trace) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Trace) GetTraceId() string {
|
||||
if m != nil {
|
||||
return m.TraceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Trace) GetSpans() []*TraceSpan {
|
||||
if m != nil {
|
||||
return m.Spans
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// List of new or updated traces.
|
||||
type Traces struct {
|
||||
// List of traces.
|
||||
Traces []*Trace `protobuf:"bytes,1,rep,name=traces" json:"traces,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Traces) Reset() { *m = Traces{} }
|
||||
func (m *Traces) String() string { return proto.CompactTextString(m) }
|
||||
func (*Traces) ProtoMessage() {}
|
||||
func (*Traces) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *Traces) GetTraces() []*Trace {
|
||||
if m != nil {
|
||||
return m.Traces
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A span represents a single timed event within a trace. Spans can be nested
|
||||
// and form a trace tree. Often, a trace contains a root span that describes the
|
||||
// end-to-end latency of an operation and, optionally, one or more subspans for
|
||||
// its suboperations. Spans do not need to be contiguous. There may be gaps
|
||||
// between spans in a trace.
|
||||
type TraceSpan struct {
|
||||
// Identifier for the span. Must be a 64-bit integer other than 0 and
|
||||
// unique within a trace.
|
||||
SpanId uint64 `protobuf:"fixed64,1,opt,name=span_id,json=spanId" json:"span_id,omitempty"`
|
||||
// Distinguishes between spans generated in a particular context. For example,
|
||||
// two spans with the same name may be distinguished using `RPC_CLIENT`
|
||||
// and `RPC_SERVER` to identify queueing latency associated with the span.
|
||||
Kind TraceSpan_SpanKind `protobuf:"varint,2,opt,name=kind,enum=google.devtools.cloudtrace.v1.TraceSpan_SpanKind" json:"kind,omitempty"`
|
||||
// Name of the trace. The trace name is sanitized and displayed in the
|
||||
// Stackdriver Trace tool in the Google Developers Console.
|
||||
// The name may be a method name or some other per-call site name.
|
||||
// For the same executable and the same call point, a best practice is
|
||||
// to use a consistent name, which makes it easier to correlate
|
||||
// cross-trace spans.
|
||||
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
|
||||
// Start time of the span in nanoseconds from the UNIX epoch.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
// End time of the span in nanoseconds from the UNIX epoch.
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
// ID of the parent span, if any. Optional.
|
||||
ParentSpanId uint64 `protobuf:"fixed64,6,opt,name=parent_span_id,json=parentSpanId" json:"parent_span_id,omitempty"`
|
||||
// Collection of labels associated with the span.
|
||||
Labels map[string]string `protobuf:"bytes,7,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *TraceSpan) Reset() { *m = TraceSpan{} }
|
||||
func (m *TraceSpan) String() string { return proto.CompactTextString(m) }
|
||||
func (*TraceSpan) ProtoMessage() {}
|
||||
func (*TraceSpan) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *TraceSpan) GetSpanId() uint64 {
|
||||
if m != nil {
|
||||
return m.SpanId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetKind() TraceSpan_SpanKind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return TraceSpan_SPAN_KIND_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetStartTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetEndTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetParentSpanId() uint64 {
|
||||
if m != nil {
|
||||
return m.ParentSpanId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for the `ListTraces` method. All fields are required
|
||||
// unless specified.
|
||||
type ListTracesRequest struct {
|
||||
// ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
// Type of data returned for traces in the list. Optional. Default is
|
||||
// `MINIMAL`.
|
||||
View ListTracesRequest_ViewType `protobuf:"varint,2,opt,name=view,enum=google.devtools.cloudtrace.v1.ListTracesRequest_ViewType" json:"view,omitempty"`
|
||||
// Maximum number of traces to return. If not specified or <= 0, the
|
||||
// implementation selects a reasonable value. The implementation may
|
||||
// return fewer traces than the requested page size. Optional.
|
||||
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
// Token identifying the page of results to return. If provided, use the
|
||||
// value of the `next_page_token` field from a previous request. Optional.
|
||||
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
// End of the time interval (inclusive) during which the trace data was
|
||||
// collected from the application.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
// Start of the time interval (inclusive) during which the trace data was
|
||||
// collected from the application.
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
// An optional filter for the request.
|
||||
Filter string `protobuf:"bytes,7,opt,name=filter" json:"filter,omitempty"`
|
||||
// Field used to sort the returned traces. Optional.
|
||||
// Can be one of the following:
|
||||
//
|
||||
// * `trace_id`
|
||||
// * `name` (`name` field of root span in the trace)
|
||||
// * `duration` (difference between `end_time` and `start_time` fields of
|
||||
// the root span)
|
||||
// * `start` (`start_time` field of the root span)
|
||||
//
|
||||
// Descending order can be specified by appending `desc` to the sort field
|
||||
// (for example, `name desc`).
|
||||
//
|
||||
// Only one sort field is permitted.
|
||||
OrderBy string `protobuf:"bytes,8,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) Reset() { *m = ListTracesRequest{} }
|
||||
func (m *ListTracesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTracesRequest) ProtoMessage() {}
|
||||
func (*ListTracesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *ListTracesRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetView() ListTracesRequest_ViewType {
|
||||
if m != nil {
|
||||
return m.View
|
||||
}
|
||||
return ListTracesRequest_VIEW_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetStartTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetEndTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetFilter() string {
|
||||
if m != nil {
|
||||
return m.Filter
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetOrderBy() string {
|
||||
if m != nil {
|
||||
return m.OrderBy
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The response message for the `ListTraces` method.
|
||||
type ListTracesResponse struct {
|
||||
// List of trace records returned.
|
||||
Traces []*Trace `protobuf:"bytes,1,rep,name=traces" json:"traces,omitempty"`
|
||||
// If defined, indicates that there are more traces that match the request
|
||||
// and that this value should be passed to the next request to continue
|
||||
// retrieving additional traces.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListTracesResponse) Reset() { *m = ListTracesResponse{} }
|
||||
func (m *ListTracesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTracesResponse) ProtoMessage() {}
|
||||
func (*ListTracesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *ListTracesResponse) GetTraces() []*Trace {
|
||||
if m != nil {
|
||||
return m.Traces
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListTracesResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for the `GetTrace` method.
|
||||
type GetTraceRequest struct {
|
||||
// ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
// ID of the trace to return.
|
||||
TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetTraceRequest) Reset() { *m = GetTraceRequest{} }
|
||||
func (m *GetTraceRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetTraceRequest) ProtoMessage() {}
|
||||
func (*GetTraceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *GetTraceRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetTraceRequest) GetTraceId() string {
|
||||
if m != nil {
|
||||
return m.TraceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for the `PatchTraces` method.
|
||||
type PatchTracesRequest struct {
|
||||
// ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
// The body of the message.
|
||||
Traces *Traces `protobuf:"bytes,2,opt,name=traces" json:"traces,omitempty"`
|
||||
}
|
||||
|
||||
func (m *PatchTracesRequest) Reset() { *m = PatchTracesRequest{} }
|
||||
func (m *PatchTracesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PatchTracesRequest) ProtoMessage() {}
|
||||
func (*PatchTracesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *PatchTracesRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PatchTracesRequest) GetTraces() *Traces {
|
||||
if m != nil {
|
||||
return m.Traces
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Trace)(nil), "google.devtools.cloudtrace.v1.Trace")
|
||||
proto.RegisterType((*Traces)(nil), "google.devtools.cloudtrace.v1.Traces")
|
||||
proto.RegisterType((*TraceSpan)(nil), "google.devtools.cloudtrace.v1.TraceSpan")
|
||||
proto.RegisterType((*ListTracesRequest)(nil), "google.devtools.cloudtrace.v1.ListTracesRequest")
|
||||
proto.RegisterType((*ListTracesResponse)(nil), "google.devtools.cloudtrace.v1.ListTracesResponse")
|
||||
proto.RegisterType((*GetTraceRequest)(nil), "google.devtools.cloudtrace.v1.GetTraceRequest")
|
||||
proto.RegisterType((*PatchTracesRequest)(nil), "google.devtools.cloudtrace.v1.PatchTracesRequest")
|
||||
proto.RegisterEnum("google.devtools.cloudtrace.v1.TraceSpan_SpanKind", TraceSpan_SpanKind_name, TraceSpan_SpanKind_value)
|
||||
proto.RegisterEnum("google.devtools.cloudtrace.v1.ListTracesRequest_ViewType", ListTracesRequest_ViewType_name, ListTracesRequest_ViewType_value)
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for TraceService service
|
||||
|
||||
type TraceServiceClient interface {
|
||||
// Returns of a list of traces that match the specified filter conditions.
|
||||
ListTraces(ctx context.Context, in *ListTracesRequest, opts ...grpc.CallOption) (*ListTracesResponse, error)
|
||||
// Gets a single trace by its ID.
|
||||
GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*Trace, error)
|
||||
// Sends new traces to Stackdriver Trace or updates existing traces. If the ID
|
||||
// of a trace that you send matches that of an existing trace, any fields
|
||||
// in the existing trace and its spans are overwritten by the provided values,
|
||||
// and any new fields provided are merged with the existing trace data. If the
|
||||
// ID does not match, a new trace is created.
|
||||
PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
|
||||
}
|
||||
|
||||
type traceServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient {
|
||||
return &traceServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *traceServiceClient) ListTraces(ctx context.Context, in *ListTracesRequest, opts ...grpc.CallOption) (*ListTracesResponse, error) {
|
||||
out := new(ListTracesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/ListTraces", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *traceServiceClient) GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*Trace, error) {
|
||||
out := new(Trace)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/GetTrace", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *traceServiceClient) PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
|
||||
out := new(google_protobuf1.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/PatchTraces", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for TraceService service
|
||||
|
||||
type TraceServiceServer interface {
|
||||
// Returns of a list of traces that match the specified filter conditions.
|
||||
ListTraces(context.Context, *ListTracesRequest) (*ListTracesResponse, error)
|
||||
// Gets a single trace by its ID.
|
||||
GetTrace(context.Context, *GetTraceRequest) (*Trace, error)
|
||||
// Sends new traces to Stackdriver Trace or updates existing traces. If the ID
|
||||
// of a trace that you send matches that of an existing trace, any fields
|
||||
// in the existing trace and its spans are overwritten by the provided values,
|
||||
// and any new fields provided are merged with the existing trace data. If the
|
||||
// ID does not match, a new trace is created.
|
||||
PatchTraces(context.Context, *PatchTracesRequest) (*google_protobuf1.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) {
|
||||
s.RegisterService(&_TraceService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _TraceService_ListTraces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListTracesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(TraceServiceServer).ListTraces(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.cloudtrace.v1.TraceService/ListTraces",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TraceServiceServer).ListTraces(ctx, req.(*ListTracesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _TraceService_GetTrace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetTraceRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(TraceServiceServer).GetTrace(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.cloudtrace.v1.TraceService/GetTrace",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TraceServiceServer).GetTrace(ctx, req.(*GetTraceRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _TraceService_PatchTraces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PatchTracesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(TraceServiceServer).PatchTraces(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.cloudtrace.v1.TraceService/PatchTraces",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TraceServiceServer).PatchTraces(ctx, req.(*PatchTracesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _TraceService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.devtools.cloudtrace.v1.TraceService",
|
||||
HandlerType: (*TraceServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListTraces",
|
||||
Handler: _TraceService_ListTraces_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetTrace",
|
||||
Handler: _TraceService_GetTrace_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "PatchTraces",
|
||||
Handler: _TraceService_PatchTraces_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/devtools/cloudtrace/v1/trace.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/cloudtrace/v1/trace.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 886 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
|
||||
0x14, 0x66, 0xed, 0x78, 0x6d, 0x1f, 0x87, 0xd4, 0x8c, 0x68, 0x71, 0x5d, 0x2a, 0xc2, 0xaa, 0x20,
|
||||
0x03, 0x62, 0xb7, 0x76, 0x41, 0x22, 0xe5, 0x47, 0x6a, 0xdc, 0x6d, 0xb4, 0x8a, 0xe3, 0xac, 0xd6,
|
||||
0x26, 0x08, 0x6e, 0x56, 0x13, 0xef, 0xd4, 0x2c, 0x59, 0xcf, 0x2c, 0x3b, 0x13, 0x17, 0xa7, 0xea,
|
||||
0x05, 0x5c, 0x72, 0x09, 0xe2, 0x8a, 0x37, 0xe0, 0x92, 0x37, 0x41, 0xbc, 0x02, 0x12, 0xaf, 0x81,
|
||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0xbc, 0x65,
|
||||
0xa8, 0x52, 0x77, 0x56, 0x29, 0x15, 0xe4, 0x39, 0xd6, 0xbf, 0x65, 0xa8, 0x3f, 0x2f, 0x8e, 0xde,
|
||||
0x80, 0xaa, 0x2c, 0x5f, 0x2c, 0x63, 0x06, 0xa6, 0x34, 0xbd, 0x08, 0xb9, 0xb0, 0x76, 0x14, 0x53,
|
||||
0xbd, 0xc5, 0x46, 0xaf, 0xbb, 0xea, 0xb4, 0xb6, 0xfc, 0xb3, 0x1b, 0xd3, 0x28, 0x50, 0xe9, 0x08,
|
||||
0xc1, 0x1a, 0xc5, 0x33, 0xd2, 0x2a, 0x2b, 0x30, 0xd4, 0x19, 0x6d, 0x01, 0x70, 0x81, 0x33, 0x11,
|
||||
0x4a, 0x98, 0x5b, 0x6b, 0x9b, 0x46, 0xa7, 0xd1, 0x6b, 0x17, 0x0d, 0x0a, 0x0e, 0xec, 0x71, 0xc1,
|
||||
0x41, 0x50, 0x57, 0xd1, 0xd2, 0x46, 0x1f, 0x43, 0x8d, 0xd0, 0x48, 0x27, 0x56, 0x96, 0x26, 0x56,
|
||||
0x09, 0x8d, 0x54, 0xda, 0x1d, 0xd8, 0x48, 0x71, 0x46, 0xa8, 0x08, 0x8b, 0x65, 0x4d, 0xb5, 0xec,
|
||||
0xba, 0xf6, 0x8e, 0xf4, 0xca, 0x03, 0x30, 0x13, 0x7c, 0x48, 0x12, 0xde, 0xaa, 0x2a, 0x5c, 0x3f,
|
||||
0x5a, 0x79, 0xe9, 0x81, 0x4a, 0x73, 0xa9, 0xc8, 0x16, 0x41, 0x5e, 0xa3, 0xbd, 0x05, 0x8d, 0x33,
|
||||
0x6e, 0xd4, 0x84, 0xf2, 0x11, 0x59, 0xe4, 0x8a, 0x91, 0x47, 0xf4, 0x3a, 0x54, 0xe6, 0x38, 0x39,
|
||||
0x26, 0xb9, 0x50, 0xb4, 0x71, 0xbf, 0xf4, 0x89, 0x61, 0xb9, 0x50, 0x2b, 0x60, 0x44,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a1, 0x9f, 0x0d, 0x68, 0x9c, 0xe1,
|
||||
0x0e, 0x2d, 0x03, 0xe1, 0x22, 0xcf, 0xed, 0x1b, 0x17, 0x9e, 0x9b, 0x2b, 0x3f, 0xb8, 0xd6, 0x5d,
|
||||
0x35, 0xcf, 0xfb, 0xbd, 0xa5, 0xe0, 0xdc, 0xcf, 0x39, 0xdd, 0xfe, 0xc5, 0x80, 0xb7, 0x27, 0x6c,
|
||||
0x76, 0xf9, 0x08, 0xdb, 0xa0, 0xda, 0xfb, 0xb2, 0x99, 0x6f, 0x7c, 0xb3, 0x93, 0x07, 0x4f, 0x59,
|
||||
0x82, 0xe9, 0xd4, 0x66, 0xd9, 0xd4, 0x99, 0x12, 0xaa, 0x46, 0x71, 0xf4, 0x15, 0x4e, 0x63, 0xfe,
|
||||
0x82, 0x1f, 0x1d, 0x9f, 0x9e, 0x5a, 0x7f, 0x94, 0xae, 0xef, 0xe8, 0x4a, 0x7d, 0xe9, 0xd3, 0x98,
|
||||
0xda, 0x07, 0xdd, 0x43, 0x53, 0xd5, 0xba, 0xf7, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xd5,
|
||||
0x26, 0xa6, 0xbf, 0x08, 0x00, 0x00,
|
||||
}
|
945
vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go
generated
vendored
Normal file
945
vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go
generated
vendored
Normal file
@@ -0,0 +1,945 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/source/v1/source_context.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package source is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/source/v1/source_context.proto
|
||||
|
||||
It has these top-level messages:
|
||||
SourceContext
|
||||
ExtendedSourceContext
|
||||
AliasContext
|
||||
CloudRepoSourceContext
|
||||
CloudWorkspaceSourceContext
|
||||
GerritSourceContext
|
||||
GitSourceContext
|
||||
RepoId
|
||||
ProjectRepoId
|
||||
CloudWorkspaceId
|
||||
*/
|
||||
package source
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// The type of an Alias.
|
||||
type AliasContext_Kind int32
|
||||
|
||||
const (
|
||||
// Do not use.
|
||||
AliasContext_ANY AliasContext_Kind = 0
|
||||
// Git tag
|
||||
AliasContext_FIXED AliasContext_Kind = 1
|
||||
// Git branch
|
||||
AliasContext_MOVABLE AliasContext_Kind = 2
|
||||
// OTHER is used to specify non-standard aliases, those not of the kinds
|
||||
// above. For example, if a Git repo has a ref named "refs/foo/bar", it
|
||||
// is considered to be of kind OTHER.
|
||||
AliasContext_OTHER AliasContext_Kind = 4
|
||||
)
|
||||
|
||||
var AliasContext_Kind_name = map[int32]string{
|
||||
0: "ANY",
|
||||
1: "FIXED",
|
||||
2: "MOVABLE",
|
||||
4: "OTHER",
|
||||
}
|
||||
var AliasContext_Kind_value = map[string]int32{
|
||||
"ANY": 0,
|
||||
"FIXED": 1,
|
||||
"MOVABLE": 2,
|
||||
"OTHER": 4,
|
||||
}
|
||||
|
||||
func (x AliasContext_Kind) String() string {
|
||||
return proto.EnumName(AliasContext_Kind_name, int32(x))
|
||||
}
|
||||
func (AliasContext_Kind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
|
||||
// A SourceContext is a reference to a tree of files. A SourceContext together
|
||||
// with a path point to a unique revision of a single file or directory.
|
||||
type SourceContext struct {
|
||||
// A SourceContext can refer any one of the following types of repositories.
|
||||
//
|
||||
// Types that are valid to be assigned to Context:
|
||||
// *SourceContext_CloudRepo
|
||||
// *SourceContext_CloudWorkspace
|
||||
// *SourceContext_Gerrit
|
||||
// *SourceContext_Git
|
||||
Context isSourceContext_Context `protobuf_oneof:"context"`
|
||||
}
|
||||
|
||||
func (m *SourceContext) Reset() { *m = SourceContext{} }
|
||||
func (m *SourceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceContext) ProtoMessage() {}
|
||||
func (*SourceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
type isSourceContext_Context interface {
|
||||
isSourceContext_Context()
|
||||
}
|
||||
|
||||
type SourceContext_CloudRepo struct {
|
||||
CloudRepo *CloudRepoSourceContext `protobuf:"bytes,1,opt,name=cloud_repo,json=cloudRepo,oneof"`
|
||||
}
|
||||
type SourceContext_CloudWorkspace struct {
|
||||
CloudWorkspace *CloudWorkspaceSourceContext `protobuf:"bytes,2,opt,name=cloud_workspace,json=cloudWorkspace,oneof"`
|
||||
}
|
||||
type SourceContext_Gerrit struct {
|
||||
Gerrit *GerritSourceContext `protobuf:"bytes,3,opt,name=gerrit,oneof"`
|
||||
}
|
||||
type SourceContext_Git struct {
|
||||
Git *GitSourceContext `protobuf:"bytes,6,opt,name=git,oneof"`
|
||||
}
|
||||
|
||||
func (*SourceContext_CloudRepo) isSourceContext_Context() {}
|
||||
func (*SourceContext_CloudWorkspace) isSourceContext_Context() {}
|
||||
func (*SourceContext_Gerrit) isSourceContext_Context() {}
|
||||
func (*SourceContext_Git) isSourceContext_Context() {}
|
||||
|
||||
func (m *SourceContext) GetContext() isSourceContext_Context {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SourceContext) GetCloudRepo() *CloudRepoSourceContext {
|
||||
if x, ok := m.GetContext().(*SourceContext_CloudRepo); ok {
|
||||
return x.CloudRepo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SourceContext) GetCloudWorkspace() *CloudWorkspaceSourceContext {
|
||||
if x, ok := m.GetContext().(*SourceContext_CloudWorkspace); ok {
|
||||
return x.CloudWorkspace
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SourceContext) GetGerrit() *GerritSourceContext {
|
||||
if x, ok := m.GetContext().(*SourceContext_Gerrit); ok {
|
||||
return x.Gerrit
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SourceContext) GetGit() *GitSourceContext {
|
||||
if x, ok := m.GetContext().(*SourceContext_Git); ok {
|
||||
return x.Git
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*SourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _SourceContext_OneofMarshaler, _SourceContext_OneofUnmarshaler, _SourceContext_OneofSizer, []interface{}{
|
||||
(*SourceContext_CloudRepo)(nil),
|
||||
(*SourceContext_CloudWorkspace)(nil),
|
||||
(*SourceContext_Gerrit)(nil),
|
||||
(*SourceContext_Git)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _SourceContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*SourceContext)
|
||||
// context
|
||||
switch x := m.Context.(type) {
|
||||
case *SourceContext_CloudRepo:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.CloudRepo); err != nil {
|
||||
return err
|
||||
}
|
||||
case *SourceContext_CloudWorkspace:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.CloudWorkspace); err != nil {
|
||||
return err
|
||||
}
|
||||
case *SourceContext_Gerrit:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Gerrit); err != nil {
|
||||
return err
|
||||
}
|
||||
case *SourceContext_Git:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Git); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("SourceContext.Context has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _SourceContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*SourceContext)
|
||||
switch tag {
|
||||
case 1: // context.cloud_repo
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CloudRepoSourceContext)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Context = &SourceContext_CloudRepo{msg}
|
||||
return true, err
|
||||
case 2: // context.cloud_workspace
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CloudWorkspaceSourceContext)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Context = &SourceContext_CloudWorkspace{msg}
|
||||
return true, err
|
||||
case 3: // context.gerrit
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GerritSourceContext)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Context = &SourceContext_Gerrit{msg}
|
||||
return true, err
|
||||
case 6: // context.git
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GitSourceContext)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Context = &SourceContext_Git{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _SourceContext_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*SourceContext)
|
||||
// context
|
||||
switch x := m.Context.(type) {
|
||||
case *SourceContext_CloudRepo:
|
||||
s := proto.Size(x.CloudRepo)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *SourceContext_CloudWorkspace:
|
||||
s := proto.Size(x.CloudWorkspace)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *SourceContext_Gerrit:
|
||||
s := proto.Size(x.Gerrit)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *SourceContext_Git:
|
||||
s := proto.Size(x.Git)
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// An ExtendedSourceContext is a SourceContext combined with additional
|
||||
// details describing the context.
|
||||
type ExtendedSourceContext struct {
|
||||
// Any source context.
|
||||
Context *SourceContext `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"`
|
||||
// Labels with user defined metadata.
|
||||
Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *ExtendedSourceContext) Reset() { *m = ExtendedSourceContext{} }
|
||||
func (m *ExtendedSourceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExtendedSourceContext) ProtoMessage() {}
|
||||
func (*ExtendedSourceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *ExtendedSourceContext) GetContext() *SourceContext {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExtendedSourceContext) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An alias to a repo revision.
|
||||
type AliasContext struct {
|
||||
// The alias kind.
|
||||
Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,enum=google.devtools.source.v1.AliasContext_Kind" json:"kind,omitempty"`
|
||||
// The alias name.
|
||||
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *AliasContext) Reset() { *m = AliasContext{} }
|
||||
func (m *AliasContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*AliasContext) ProtoMessage() {}
|
||||
func (*AliasContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *AliasContext) GetKind() AliasContext_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return AliasContext_ANY
|
||||
}
|
||||
|
||||
func (m *AliasContext) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A CloudRepoSourceContext denotes a particular revision in a cloud
|
||||
// repo (a repo hosted by the Google Cloud Platform).
|
||||
type CloudRepoSourceContext struct {
|
||||
// The ID of the repo.
|
||||
RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId" json:"repo_id,omitempty"`
|
||||
// A revision in a cloud repository can be identified by either its revision
|
||||
// ID or its Alias.
|
||||
//
|
||||
// Types that are valid to be assigned to Revision:
|
||||
// *CloudRepoSourceContext_RevisionId
|
||||
// *CloudRepoSourceContext_AliasName
|
||||
// *CloudRepoSourceContext_AliasContext
|
||||
Revision isCloudRepoSourceContext_Revision `protobuf_oneof:"revision"`
|
||||
}
|
||||
|
||||
func (m *CloudRepoSourceContext) Reset() { *m = CloudRepoSourceContext{} }
|
||||
func (m *CloudRepoSourceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*CloudRepoSourceContext) ProtoMessage() {}
|
||||
func (*CloudRepoSourceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
type isCloudRepoSourceContext_Revision interface {
|
||||
isCloudRepoSourceContext_Revision()
|
||||
}
|
||||
|
||||
type CloudRepoSourceContext_RevisionId struct {
|
||||
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,oneof"`
|
||||
}
|
||||
type CloudRepoSourceContext_AliasName struct {
|
||||
AliasName string `protobuf:"bytes,3,opt,name=alias_name,json=aliasName,oneof"`
|
||||
}
|
||||
type CloudRepoSourceContext_AliasContext struct {
|
||||
AliasContext *AliasContext `protobuf:"bytes,4,opt,name=alias_context,json=aliasContext,oneof"`
|
||||
}
|
||||
|
||||
func (*CloudRepoSourceContext_RevisionId) isCloudRepoSourceContext_Revision() {}
|
||||
func (*CloudRepoSourceContext_AliasName) isCloudRepoSourceContext_Revision() {}
|
||||
func (*CloudRepoSourceContext_AliasContext) isCloudRepoSourceContext_Revision() {}
|
||||
|
||||
func (m *CloudRepoSourceContext) GetRevision() isCloudRepoSourceContext_Revision {
|
||||
if m != nil {
|
||||
return m.Revision
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CloudRepoSourceContext) GetRepoId() *RepoId {
|
||||
if m != nil {
|
||||
return m.RepoId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CloudRepoSourceContext) GetRevisionId() string {
|
||||
if x, ok := m.GetRevision().(*CloudRepoSourceContext_RevisionId); ok {
|
||||
return x.RevisionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CloudRepoSourceContext) GetAliasName() string {
|
||||
if x, ok := m.GetRevision().(*CloudRepoSourceContext_AliasName); ok {
|
||||
return x.AliasName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext {
|
||||
if x, ok := m.GetRevision().(*CloudRepoSourceContext_AliasContext); ok {
|
||||
return x.AliasContext
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*CloudRepoSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _CloudRepoSourceContext_OneofMarshaler, _CloudRepoSourceContext_OneofUnmarshaler, _CloudRepoSourceContext_OneofSizer, []interface{}{
|
||||
(*CloudRepoSourceContext_RevisionId)(nil),
|
||||
(*CloudRepoSourceContext_AliasName)(nil),
|
||||
(*CloudRepoSourceContext_AliasContext)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _CloudRepoSourceContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*CloudRepoSourceContext)
|
||||
// revision
|
||||
switch x := m.Revision.(type) {
|
||||
case *CloudRepoSourceContext_RevisionId:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.RevisionId)
|
||||
case *CloudRepoSourceContext_AliasName:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.AliasName)
|
||||
case *CloudRepoSourceContext_AliasContext:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.AliasContext); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("CloudRepoSourceContext.Revision has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _CloudRepoSourceContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*CloudRepoSourceContext)
|
||||
switch tag {
|
||||
case 2: // revision.revision_id
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Revision = &CloudRepoSourceContext_RevisionId{x}
|
||||
return true, err
|
||||
case 3: // revision.alias_name
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Revision = &CloudRepoSourceContext_AliasName{x}
|
||||
return true, err
|
||||
case 4: // revision.alias_context
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(AliasContext)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Revision = &CloudRepoSourceContext_AliasContext{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _CloudRepoSourceContext_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*CloudRepoSourceContext)
|
||||
// revision
|
||||
switch x := m.Revision.(type) {
|
||||
case *CloudRepoSourceContext_RevisionId:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.RevisionId)))
|
||||
n += len(x.RevisionId)
|
||||
case *CloudRepoSourceContext_AliasName:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.AliasName)))
|
||||
n += len(x.AliasName)
|
||||
case *CloudRepoSourceContext_AliasContext:
|
||||
s := proto.Size(x.AliasContext)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
|
||||
type CloudWorkspaceSourceContext struct {
|
||||
// The ID of the workspace.
|
||||
WorkspaceId *CloudWorkspaceId `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId" json:"workspace_id,omitempty"`
|
||||
// The ID of the snapshot.
|
||||
// An empty snapshot_id refers to the most recent snapshot.
|
||||
SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CloudWorkspaceSourceContext) Reset() { *m = CloudWorkspaceSourceContext{} }
|
||||
func (m *CloudWorkspaceSourceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*CloudWorkspaceSourceContext) ProtoMessage() {}
|
||||
func (*CloudWorkspaceSourceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *CloudWorkspaceSourceContext) GetWorkspaceId() *CloudWorkspaceId {
|
||||
if m != nil {
|
||||
return m.WorkspaceId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CloudWorkspaceSourceContext) GetSnapshotId() string {
|
||||
if m != nil {
|
||||
return m.SnapshotId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A SourceContext referring to a Gerrit project.
|
||||
type GerritSourceContext struct {
|
||||
// The URI of a running Gerrit instance.
|
||||
HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri" json:"host_uri,omitempty"`
|
||||
// The full project name within the host. Projects may be nested, so
|
||||
// "project/subproject" is a valid project name.
|
||||
// The "repo name" is hostURI/project.
|
||||
GerritProject string `protobuf:"bytes,2,opt,name=gerrit_project,json=gerritProject" json:"gerrit_project,omitempty"`
|
||||
// A revision in a Gerrit project can be identified by either its revision ID
|
||||
// or its alias.
|
||||
//
|
||||
// Types that are valid to be assigned to Revision:
|
||||
// *GerritSourceContext_RevisionId
|
||||
// *GerritSourceContext_AliasName
|
||||
// *GerritSourceContext_AliasContext
|
||||
Revision isGerritSourceContext_Revision `protobuf_oneof:"revision"`
|
||||
}
|
||||
|
||||
func (m *GerritSourceContext) Reset() { *m = GerritSourceContext{} }
|
||||
func (m *GerritSourceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*GerritSourceContext) ProtoMessage() {}
|
||||
func (*GerritSourceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
type isGerritSourceContext_Revision interface {
|
||||
isGerritSourceContext_Revision()
|
||||
}
|
||||
|
||||
type GerritSourceContext_RevisionId struct {
|
||||
RevisionId string `protobuf:"bytes,3,opt,name=revision_id,json=revisionId,oneof"`
|
||||
}
|
||||
type GerritSourceContext_AliasName struct {
|
||||
AliasName string `protobuf:"bytes,4,opt,name=alias_name,json=aliasName,oneof"`
|
||||
}
|
||||
type GerritSourceContext_AliasContext struct {
|
||||
AliasContext *AliasContext `protobuf:"bytes,5,opt,name=alias_context,json=aliasContext,oneof"`
|
||||
}
|
||||
|
||||
func (*GerritSourceContext_RevisionId) isGerritSourceContext_Revision() {}
|
||||
func (*GerritSourceContext_AliasName) isGerritSourceContext_Revision() {}
|
||||
func (*GerritSourceContext_AliasContext) isGerritSourceContext_Revision() {}
|
||||
|
||||
func (m *GerritSourceContext) GetRevision() isGerritSourceContext_Revision {
|
||||
if m != nil {
|
||||
return m.Revision
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GerritSourceContext) GetHostUri() string {
|
||||
if m != nil {
|
||||
return m.HostUri
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GerritSourceContext) GetGerritProject() string {
|
||||
if m != nil {
|
||||
return m.GerritProject
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GerritSourceContext) GetRevisionId() string {
|
||||
if x, ok := m.GetRevision().(*GerritSourceContext_RevisionId); ok {
|
||||
return x.RevisionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GerritSourceContext) GetAliasName() string {
|
||||
if x, ok := m.GetRevision().(*GerritSourceContext_AliasName); ok {
|
||||
return x.AliasName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GerritSourceContext) GetAliasContext() *AliasContext {
|
||||
if x, ok := m.GetRevision().(*GerritSourceContext_AliasContext); ok {
|
||||
return x.AliasContext
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*GerritSourceContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _GerritSourceContext_OneofMarshaler, _GerritSourceContext_OneofUnmarshaler, _GerritSourceContext_OneofSizer, []interface{}{
|
||||
(*GerritSourceContext_RevisionId)(nil),
|
||||
(*GerritSourceContext_AliasName)(nil),
|
||||
(*GerritSourceContext_AliasContext)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _GerritSourceContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*GerritSourceContext)
|
||||
// revision
|
||||
switch x := m.Revision.(type) {
|
||||
case *GerritSourceContext_RevisionId:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.RevisionId)
|
||||
case *GerritSourceContext_AliasName:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.AliasName)
|
||||
case *GerritSourceContext_AliasContext:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.AliasContext); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("GerritSourceContext.Revision has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _GerritSourceContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*GerritSourceContext)
|
||||
switch tag {
|
||||
case 3: // revision.revision_id
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Revision = &GerritSourceContext_RevisionId{x}
|
||||
return true, err
|
||||
case 4: // revision.alias_name
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Revision = &GerritSourceContext_AliasName{x}
|
||||
return true, err
|
||||
case 5: // revision.alias_context
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(AliasContext)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Revision = &GerritSourceContext_AliasContext{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _GerritSourceContext_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*GerritSourceContext)
|
||||
// revision
|
||||
switch x := m.Revision.(type) {
|
||||
case *GerritSourceContext_RevisionId:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.RevisionId)))
|
||||
n += len(x.RevisionId)
|
||||
case *GerritSourceContext_AliasName:
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.AliasName)))
|
||||
n += len(x.AliasName)
|
||||
case *GerritSourceContext_AliasContext:
|
||||
s := proto.Size(x.AliasContext)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A GitSourceContext denotes a particular revision in a third party Git
|
||||
// repository (e.g. GitHub).
|
||||
type GitSourceContext struct {
|
||||
// Git repository URL.
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
// Git commit hash.
|
||||
// required.
|
||||
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId" json:"revision_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GitSourceContext) Reset() { *m = GitSourceContext{} }
|
||||
func (m *GitSourceContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*GitSourceContext) ProtoMessage() {}
|
||||
func (*GitSourceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *GitSourceContext) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GitSourceContext) GetRevisionId() string {
|
||||
if m != nil {
|
||||
return m.RevisionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A unique identifier for a cloud repo.
|
||||
type RepoId struct {
|
||||
// A cloud repository can be identified by either its project ID and
|
||||
// repository name combination, or its globally unique identifier.
|
||||
//
|
||||
// Types that are valid to be assigned to Id:
|
||||
// *RepoId_ProjectRepoId
|
||||
// *RepoId_Uid
|
||||
Id isRepoId_Id `protobuf_oneof:"id"`
|
||||
}
|
||||
|
||||
func (m *RepoId) Reset() { *m = RepoId{} }
|
||||
func (m *RepoId) String() string { return proto.CompactTextString(m) }
|
||||
func (*RepoId) ProtoMessage() {}
|
||||
func (*RepoId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
type isRepoId_Id interface {
|
||||
isRepoId_Id()
|
||||
}
|
||||
|
||||
type RepoId_ProjectRepoId struct {
|
||||
ProjectRepoId *ProjectRepoId `protobuf:"bytes,1,opt,name=project_repo_id,json=projectRepoId,oneof"`
|
||||
}
|
||||
type RepoId_Uid struct {
|
||||
Uid string `protobuf:"bytes,2,opt,name=uid,oneof"`
|
||||
}
|
||||
|
||||
func (*RepoId_ProjectRepoId) isRepoId_Id() {}
|
||||
func (*RepoId_Uid) isRepoId_Id() {}
|
||||
|
||||
func (m *RepoId) GetId() isRepoId_Id {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RepoId) GetProjectRepoId() *ProjectRepoId {
|
||||
if x, ok := m.GetId().(*RepoId_ProjectRepoId); ok {
|
||||
return x.ProjectRepoId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RepoId) GetUid() string {
|
||||
if x, ok := m.GetId().(*RepoId_Uid); ok {
|
||||
return x.Uid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*RepoId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _RepoId_OneofMarshaler, _RepoId_OneofUnmarshaler, _RepoId_OneofSizer, []interface{}{
|
||||
(*RepoId_ProjectRepoId)(nil),
|
||||
(*RepoId_Uid)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _RepoId_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*RepoId)
|
||||
// id
|
||||
switch x := m.Id.(type) {
|
||||
case *RepoId_ProjectRepoId:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ProjectRepoId); err != nil {
|
||||
return err
|
||||
}
|
||||
case *RepoId_Uid:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Uid)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("RepoId.Id has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _RepoId_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*RepoId)
|
||||
switch tag {
|
||||
case 1: // id.project_repo_id
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ProjectRepoId)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Id = &RepoId_ProjectRepoId{msg}
|
||||
return true, err
|
||||
case 2: // id.uid
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Id = &RepoId_Uid{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _RepoId_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*RepoId)
|
||||
// id
|
||||
switch x := m.Id.(type) {
|
||||
case *RepoId_ProjectRepoId:
|
||||
s := proto.Size(x.ProjectRepoId)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *RepoId_Uid:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.Uid)))
|
||||
n += len(x.Uid)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Selects a repo using a Google Cloud Platform project ID
|
||||
// (e.g. winged-cargo-31) and a repo name within that project.
|
||||
type ProjectRepoId struct {
|
||||
// The ID of the project.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
// The name of the repo. Leave empty for the default repo.
|
||||
RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName" json:"repo_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ProjectRepoId) Reset() { *m = ProjectRepoId{} }
|
||||
func (m *ProjectRepoId) String() string { return proto.CompactTextString(m) }
|
||||
func (*ProjectRepoId) ProtoMessage() {}
|
||||
func (*ProjectRepoId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
|
||||
func (m *ProjectRepoId) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ProjectRepoId) GetRepoName() string {
|
||||
if m != nil {
|
||||
return m.RepoName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A CloudWorkspaceId is a unique identifier for a cloud workspace.
|
||||
// A cloud workspace is a place associated with a repo where modified files
|
||||
// can be stored before they are committed.
|
||||
type CloudWorkspaceId struct {
|
||||
// The ID of the repo containing the workspace.
|
||||
RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId" json:"repo_id,omitempty"`
|
||||
// The unique name of the workspace within the repo. This is the name
|
||||
// chosen by the client in the Source API's CreateWorkspace method.
|
||||
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CloudWorkspaceId) Reset() { *m = CloudWorkspaceId{} }
|
||||
func (m *CloudWorkspaceId) String() string { return proto.CompactTextString(m) }
|
||||
func (*CloudWorkspaceId) ProtoMessage() {}
|
||||
func (*CloudWorkspaceId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||
|
||||
func (m *CloudWorkspaceId) GetRepoId() *RepoId {
|
||||
if m != nil {
|
||||
return m.RepoId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CloudWorkspaceId) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SourceContext)(nil), "google.devtools.source.v1.SourceContext")
|
||||
proto.RegisterType((*ExtendedSourceContext)(nil), "google.devtools.source.v1.ExtendedSourceContext")
|
||||
proto.RegisterType((*AliasContext)(nil), "google.devtools.source.v1.AliasContext")
|
||||
proto.RegisterType((*CloudRepoSourceContext)(nil), "google.devtools.source.v1.CloudRepoSourceContext")
|
||||
proto.RegisterType((*CloudWorkspaceSourceContext)(nil), "google.devtools.source.v1.CloudWorkspaceSourceContext")
|
||||
proto.RegisterType((*GerritSourceContext)(nil), "google.devtools.source.v1.GerritSourceContext")
|
||||
proto.RegisterType((*GitSourceContext)(nil), "google.devtools.source.v1.GitSourceContext")
|
||||
proto.RegisterType((*RepoId)(nil), "google.devtools.source.v1.RepoId")
|
||||
proto.RegisterType((*ProjectRepoId)(nil), "google.devtools.source.v1.ProjectRepoId")
|
||||
proto.RegisterType((*CloudWorkspaceId)(nil), "google.devtools.source.v1.CloudWorkspaceId")
|
||||
proto.RegisterEnum("google.devtools.source.v1.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/source/v1/source_context.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 758 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x4e, 0xdb, 0x4c,
|
||||
0x14, 0x8e, 0xe3, 0x90, 0xe0, 0x13, 0x02, 0xd1, 0xfc, 0x17, 0x05, 0x28, 0x02, 0x2c, 0x55, 0x45,
|
||||
0xa2, 0x72, 0x44, 0x2a, 0x55, 0x2d, 0xad, 0x44, 0x09, 0x4d, 0x9b, 0x08, 0x1a, 0xd0, 0x94, 0x5e,
|
||||
0x37, 0x91, 0xb1, 0x47, 0xc6, 0xc5, 0x78, 0xac, 0xb1, 0x13, 0xe0, 0x25, 0xba, 0xee, 0xc3, 0xf5,
|
||||
0x11, 0xba, 0xac, 0xd4, 0x6d, 0x35, 0x17, 0x43, 0x12, 0x82, 0x41, 0x6a, 0x57, 0x9e, 0x39, 0xfe,
|
||||
0xbe, 0xef, 0x9c, 0x39, 0x97, 0x19, 0xb0, 0x3c, 0x4a, 0xbd, 0x80, 0xd4, 0x5d, 0x32, 0x48, 0x28,
|
||||
0x0d, 0xe2, 0x7a, 0x4c, 0xfb, 0xcc, 0x21, 0xf5, 0xc1, 0x86, 0x5a, 0xf5, 0x1c, 0x1a, 0x26, 0xe4,
|
||||
0x3c, 0xb1, 0x22, 0x46, 0x13, 0x8a, 0xe6, 0x25, 0xde, 0x4a, 0xf1, 0x96, 0x44, 0x59, 0x83, 0x8d,
|
||||
0x85,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, 0x02, 0xe4, 0x7d, 0xd7,
|
||||
0xdc, 0x85, 0xca, 0x08, 0x17, 0x2d, 0x01, 0xa4, 0xee, 0x95, 0x67, 0x03, 0x1b, 0xca, 0xd2, 0x71,
|
||||
0xd1, 0x22, 0x18, 0x22, 0xaa, 0xa1, 0xe9, 0x9d, 0xe6, 0x06, 0x9e, 0x67, 0xf3, 0x08, 0xaa, 0xe3,
|
||||
0x7d, 0xf4, 0x47, 0x63, 0x38, 0xe1, 0x96, 0x68, 0x0e, 0x60, 0xc9, 0xa1, 0xa7, 0x37, 0x6b, 0x34,
|
||||
0xd1, 0x48, 0x2d, 0x0e, 0xf8, 0x7b, 0x78, 0xa0, 0x7d, 0xde, 0x52, 0x04, 0x8f, 0x06, 0x76, 0xe8,
|
||||
0x59, 0x94, 0x79, 0x75, 0x8f, 0x84, 0xe2, 0xb5, 0xac, 0xcb, 0x5f, 0x76, 0xe4, 0xc7, 0x13, 0x5e,
|
||||
0xe6, 0x67, 0x72, 0x75, 0x54, 0x14, 0xd8, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xee,
|
||||
0x6b, 0xa8, 0xc4, 0x07, 0x00, 0x00,
|
||||
}
|
Reference in New Issue
Block a user