1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/devtools/clouderrorreporting/v1beta1/common.proto
3
4/*
5Package clouderrorreporting is a generated protocol buffer package.
6
7It is generated from these files:
8	google/devtools/clouderrorreporting/v1beta1/common.proto
9	google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
10	google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
11	google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
12
13It has these top-level messages:
14	ErrorGroup
15	TrackingIssue
16	ErrorEvent
17	ServiceContext
18	ErrorContext
19	HttpRequestContext
20	SourceLocation
21	GetGroupRequest
22	UpdateGroupRequest
23	ListGroupStatsRequest
24	ListGroupStatsResponse
25	ErrorGroupStats
26	TimedCount
27	ListEventsRequest
28	ListEventsResponse
29	QueryTimeRange
30	ServiceContextFilter
31	DeleteEventsRequest
32	DeleteEventsResponse
33	ReportErrorEventRequest
34	ReportErrorEventResponse
35	ReportedErrorEvent
36*/
37package clouderrorreporting
38
39import proto "github.com/golang/protobuf/proto"
40import fmt "fmt"
41import math "math"
42import _ "google.golang.org/genproto/googleapis/api/annotations"
43import _ "google.golang.org/genproto/googleapis/api/monitoredres"
44import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
45
46// Reference imports to suppress errors if they are not otherwise used.
47var _ = proto.Marshal
48var _ = fmt.Errorf
49var _ = math.Inf
50
51// This is a compile-time assertion to ensure that this generated file
52// is compatible with the proto package it is being compiled against.
53// A compilation error at this line likely means your copy of the
54// proto package needs to be updated.
55const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
56
57// Description of a group of similar error events.
58type ErrorGroup struct {
59	// The group resource name.
60	// Example: <code>projects/my-project-123/groups/my-groupid</code>
61	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
62	// Group IDs are unique for a given project. If the same kind of error
63	// occurs in different service contexts, it will receive the same group ID.
64	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
65	// Associated tracking issues.
66	TrackingIssues []*TrackingIssue `protobuf:"bytes,3,rep,name=tracking_issues,json=trackingIssues" json:"tracking_issues,omitempty"`
67}
68
69func (m *ErrorGroup) Reset()                    { *m = ErrorGroup{} }
70func (m *ErrorGroup) String() string            { return proto.CompactTextString(m) }
71func (*ErrorGroup) ProtoMessage()               {}
72func (*ErrorGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
73
74func (m *ErrorGroup) GetName() string {
75	if m != nil {
76		return m.Name
77	}
78	return ""
79}
80
81func (m *ErrorGroup) GetGroupId() string {
82	if m != nil {
83		return m.GroupId
84	}
85	return ""
86}
87
88func (m *ErrorGroup) GetTrackingIssues() []*TrackingIssue {
89	if m != nil {
90		return m.TrackingIssues
91	}
92	return nil
93}
94
95// Information related to tracking the progress on resolving the error.
96type TrackingIssue struct {
97	// A URL pointing to a related entry in an issue tracking system.
98	// Example: https://github.com/user/project/issues/4
99	Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
100}
101
102func (m *TrackingIssue) Reset()                    { *m = TrackingIssue{} }
103func (m *TrackingIssue) String() string            { return proto.CompactTextString(m) }
104func (*TrackingIssue) ProtoMessage()               {}
105func (*TrackingIssue) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
106
107func (m *TrackingIssue) GetUrl() string {
108	if m != nil {
109		return m.Url
110	}
111	return ""
112}
113
114// An error event which is returned by the Error Reporting system.
115type ErrorEvent struct {
116	// Time when the event occurred as provided in the error report.
117	// If the report did not contain a timestamp, the time the error was received
118	// by the Error Reporting system is used.
119	EventTime *google_protobuf1.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime" json:"event_time,omitempty"`
120	// The `ServiceContext` for which this error was reported.
121	ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext" json:"service_context,omitempty"`
122	// The stack trace that was reported or logged by the service.
123	Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
124	// Data about the context in which the error occurred.
125	Context *ErrorContext `protobuf:"bytes,5,opt,name=context" json:"context,omitempty"`
126}
127
128func (m *ErrorEvent) Reset()                    { *m = ErrorEvent{} }
129func (m *ErrorEvent) String() string            { return proto.CompactTextString(m) }
130func (*ErrorEvent) ProtoMessage()               {}
131func (*ErrorEvent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
132
133func (m *ErrorEvent) GetEventTime() *google_protobuf1.Timestamp {
134	if m != nil {
135		return m.EventTime
136	}
137	return nil
138}
139
140func (m *ErrorEvent) GetServiceContext() *ServiceContext {
141	if m != nil {
142		return m.ServiceContext
143	}
144	return nil
145}
146
147func (m *ErrorEvent) GetMessage() string {
148	if m != nil {
149		return m.Message
150	}
151	return ""
152}
153
154func (m *ErrorEvent) GetContext() *ErrorContext {
155	if m != nil {
156		return m.Context
157	}
158	return nil
159}
160
161// Describes a running service that sends errors.
162// Its version changes over time and multiple versions can run in parallel.
163type ServiceContext struct {
164	// An identifier of the service, such as the name of the
165	// executable, job, or Google App Engine service name. This field is expected
166	// to have a low number of values that are relatively stable over time, as
167	// opposed to `version`, which can be changed whenever new code is deployed.
168	//
169	// Contains the service name for error reports extracted from Google
170	// App Engine logs or `default` if the App Engine default service is used.
171	Service string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
172	// Represents the source code version that the developer provided,
173	// which could represent a version label or a Git SHA-1 hash, for example.
174	Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
175	// Type of the MonitoredResource. List of possible values:
176	// https://cloud.google.com/monitoring/api/resources
177	//
178	// Value is set automatically for incoming errors and must not be set when
179	// reporting errors.
180	ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
181}
182
183func (m *ServiceContext) Reset()                    { *m = ServiceContext{} }
184func (m *ServiceContext) String() string            { return proto.CompactTextString(m) }
185func (*ServiceContext) ProtoMessage()               {}
186func (*ServiceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
187
188func (m *ServiceContext) GetService() string {
189	if m != nil {
190		return m.Service
191	}
192	return ""
193}
194
195func (m *ServiceContext) GetVersion() string {
196	if m != nil {
197		return m.Version
198	}
199	return ""
200}
201
202func (m *ServiceContext) GetResourceType() string {
203	if m != nil {
204		return m.ResourceType
205	}
206	return ""
207}
208
209// A description of the context in which an error occurred.
210// This data should be provided by the application when reporting an error,
211// unless the
212// error report has been generated automatically from Google App Engine logs.
213type ErrorContext struct {
214	// The HTTP request which was processed when the error was
215	// triggered.
216	HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest" json:"http_request,omitempty"`
217	// The user who caused or was affected by the crash.
218	// This can be a user ID, an email address, or an arbitrary token that
219	// uniquely identifies the user.
220	// When sending an error report, leave this field empty if the user was not
221	// logged in. In this case the
222	// Error Reporting system will use other data, such as remote IP address, to
223	// distinguish affected users. See `affected_users_count` in
224	// `ErrorGroupStats`.
225	User string `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
226	// The location in the source code where the decision was made to
227	// report the error, usually the place where it was logged.
228	// For a logged exception this would be the source line where the
229	// exception is logged, usually close to the place where it was
230	// caught. This value is in contrast to `Exception.cause_location`,
231	// which describes the source line where the exception was thrown.
232	ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation" json:"report_location,omitempty"`
233}
234
235func (m *ErrorContext) Reset()                    { *m = ErrorContext{} }
236func (m *ErrorContext) String() string            { return proto.CompactTextString(m) }
237func (*ErrorContext) ProtoMessage()               {}
238func (*ErrorContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
239
240func (m *ErrorContext) GetHttpRequest() *HttpRequestContext {
241	if m != nil {
242		return m.HttpRequest
243	}
244	return nil
245}
246
247func (m *ErrorContext) GetUser() string {
248	if m != nil {
249		return m.User
250	}
251	return ""
252}
253
254func (m *ErrorContext) GetReportLocation() *SourceLocation {
255	if m != nil {
256		return m.ReportLocation
257	}
258	return nil
259}
260
261// HTTP request data that is related to a reported error.
262// This data should be provided by the application when reporting an error,
263// unless the
264// error report has been generated automatically from Google App Engine logs.
265type HttpRequestContext struct {
266	// The type of HTTP request, such as `GET`, `POST`, etc.
267	Method string `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
268	// The URL of the request.
269	Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
270	// The user agent information that is provided with the request.
271	UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
272	// The referrer information that is provided with the request.
273	Referrer string `protobuf:"bytes,4,opt,name=referrer" json:"referrer,omitempty"`
274	// The HTTP response status code for the request.
275	ResponseStatusCode int32 `protobuf:"varint,5,opt,name=response_status_code,json=responseStatusCode" json:"response_status_code,omitempty"`
276	// The IP address from which the request originated.
277	// This can be IPv4, IPv6, or a token which is derived from the
278	// IP address, depending on the data that has been provided
279	// in the error report.
280	RemoteIp string `protobuf:"bytes,6,opt,name=remote_ip,json=remoteIp" json:"remote_ip,omitempty"`
281}
282
283func (m *HttpRequestContext) Reset()                    { *m = HttpRequestContext{} }
284func (m *HttpRequestContext) String() string            { return proto.CompactTextString(m) }
285func (*HttpRequestContext) ProtoMessage()               {}
286func (*HttpRequestContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
287
288func (m *HttpRequestContext) GetMethod() string {
289	if m != nil {
290		return m.Method
291	}
292	return ""
293}
294
295func (m *HttpRequestContext) GetUrl() string {
296	if m != nil {
297		return m.Url
298	}
299	return ""
300}
301
302func (m *HttpRequestContext) GetUserAgent() string {
303	if m != nil {
304		return m.UserAgent
305	}
306	return ""
307}
308
309func (m *HttpRequestContext) GetReferrer() string {
310	if m != nil {
311		return m.Referrer
312	}
313	return ""
314}
315
316func (m *HttpRequestContext) GetResponseStatusCode() int32 {
317	if m != nil {
318		return m.ResponseStatusCode
319	}
320	return 0
321}
322
323func (m *HttpRequestContext) GetRemoteIp() string {
324	if m != nil {
325		return m.RemoteIp
326	}
327	return ""
328}
329
330// Indicates a location in the source code of the service for which
331// errors are reported.
332// This data should be provided by the application when reporting an error,
333// unless the error report has been generated automatically from Google App
334// Engine logs. All fields are optional.
335type SourceLocation struct {
336	// The source code filename, which can include a truncated relative
337	// path, or a full path from a production machine.
338	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"`
339	// 1-based. 0 indicates that the line number is unknown.
340	LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber" json:"line_number,omitempty"`
341	// Human-readable name of a function or method.
342	// The value can include optional context like the class or package name.
343	// For example, `my.package.MyClass.method` in case of Java.
344	FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName" json:"function_name,omitempty"`
345}
346
347func (m *SourceLocation) Reset()                    { *m = SourceLocation{} }
348func (m *SourceLocation) String() string            { return proto.CompactTextString(m) }
349func (*SourceLocation) ProtoMessage()               {}
350func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
351
352func (m *SourceLocation) GetFilePath() string {
353	if m != nil {
354		return m.FilePath
355	}
356	return ""
357}
358
359func (m *SourceLocation) GetLineNumber() int32 {
360	if m != nil {
361		return m.LineNumber
362	}
363	return 0
364}
365
366func (m *SourceLocation) GetFunctionName() string {
367	if m != nil {
368		return m.FunctionName
369	}
370	return ""
371}
372
373func init() {
374	proto.RegisterType((*ErrorGroup)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorGroup")
375	proto.RegisterType((*TrackingIssue)(nil), "google.devtools.clouderrorreporting.v1beta1.TrackingIssue")
376	proto.RegisterType((*ErrorEvent)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorEvent")
377	proto.RegisterType((*ServiceContext)(nil), "google.devtools.clouderrorreporting.v1beta1.ServiceContext")
378	proto.RegisterType((*ErrorContext)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorContext")
379	proto.RegisterType((*HttpRequestContext)(nil), "google.devtools.clouderrorreporting.v1beta1.HttpRequestContext")
380	proto.RegisterType((*SourceLocation)(nil), "google.devtools.clouderrorreporting.v1beta1.SourceLocation")
381}
382
383func init() {
384	proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor0)
385}
386
387var fileDescriptor0 = []byte{
388	// 693 bytes of a gzipped FileDescriptorProto
389	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0x13, 0x3b,
390	0x14, 0x56, 0x92, 0xfe, 0xe5, 0xa4, 0x4d, 0xaf, 0xac, 0xab, 0xab, 0xdc, 0x00, 0x6a, 0x49, 0x37,
391	0x95, 0x90, 0x66, 0x68, 0xd9, 0x50, 0xba, 0x40, 0x34, 0xaa, 0x4a, 0x25, 0x54, 0x55, 0x93, 0x8a,
392	0x05, 0x0b, 0x2c, 0x67, 0xe6, 0x64, 0x62, 0x31, 0x63, 0x0f, 0xb6, 0x27, 0xa2, 0xef, 0xc2, 0x82,
393	0x35, 0x0f, 0x82, 0x78, 0x18, 0x1e, 0x02, 0xd9, 0x63, 0x97, 0x56, 0xed, 0x82, 0xec, 0xfc, 0x9d,
394	0x9f, 0xef, 0x9c, 0xef, 0xf8, 0xd8, 0xf0, 0x32, 0x97, 0x32, 0x2f, 0x30, 0xce, 0x70, 0x61, 0xa4,
395	0x2c, 0x74, 0x9c, 0x16, 0xb2, 0xce, 0x50, 0x29, 0xa9, 0x14, 0x56, 0x52, 0x19, 0x2e, 0xf2, 0x78,
396	0x71, 0x30, 0x45, 0xc3, 0x0e, 0xe2, 0x54, 0x96, 0xa5, 0x14, 0x51, 0xa5, 0xa4, 0x91, 0xe4, 0x59,
397	0x93, 0x19, 0x85, 0xcc, 0xe8, 0x81, 0xcc, 0xc8, 0x67, 0x0e, 0x1f, 0xfb, 0x32, 0xac, 0xe2, 0x31,
398	0x13, 0x42, 0x1a, 0x66, 0xb8, 0x14, 0xba, 0xa1, 0x1a, 0xee, 0xdd, 0xf2, 0x96, 0x52, 0x70, 0x23,
399	0x15, 0x66, 0x54, 0xa1, 0x96, 0xb5, 0x4a, 0xd1, 0x07, 0xed, 0xf8, 0x20, 0x87, 0xa6, 0xf5, 0x2c,
400	0x36, 0xbc, 0x44, 0x6d, 0x58, 0x59, 0x35, 0x01, 0xa3, 0x6f, 0x2d, 0x80, 0x53, 0x5b, 0xfe, 0x4c,
401	0xc9, 0xba, 0x22, 0x04, 0x56, 0x04, 0x2b, 0x71, 0xd0, 0xda, 0x6d, 0xed, 0x77, 0x13, 0x77, 0x26,
402	0xff, 0xc3, 0x46, 0x6e, 0x9d, 0x94, 0x67, 0x83, 0xb6, 0xb3, 0xaf, 0x3b, 0x7c, 0x9e, 0x91, 0x14,
403	0xb6, 0x8d, 0x62, 0xe9, 0x27, 0x2e, 0x72, 0xca, 0xb5, 0xae, 0x51, 0x0f, 0x3a, 0xbb, 0x9d, 0xfd,
404	0xde, 0xe1, 0xab, 0x68, 0x09, 0xa1, 0xd1, 0x95, 0xe7, 0x38, 0xb7, 0x14, 0x49, 0xdf, 0xdc, 0x86,
405	0x7a, 0xf4, 0x14, 0xb6, 0xee, 0x04, 0x90, 0x7f, 0xa0, 0x53, 0xab, 0xc2, 0xf7, 0x68, 0x8f, 0xa3,
406	0xaf, 0x6d, 0xaf, 0xe2, 0x74, 0x81, 0xc2, 0x90, 0x23, 0x00, 0xb4, 0x07, 0x6a, 0xd5, 0xba, 0xb8,
407	0xde, 0xe1, 0x30, 0x74, 0x14, 0x46, 0x11, 0x5d, 0x85, 0x51, 0x24, 0x5d, 0x17, 0x6d, 0x31, 0xc9,
408	0x60, 0x5b, 0xa3, 0x5a, 0xf0, 0x14, 0x69, 0x2a, 0x85, 0xc1, 0x2f, 0xc6, 0x69, 0xee, 0x1d, 0x1e,
409	0x2f, 0xa5, 0x68, 0xd2, 0x70, 0x8c, 0x1b, 0x8a, 0xa4, 0xaf, 0xef, 0x60, 0x32, 0x80, 0xf5, 0x12,
410	0xb5, 0x66, 0x39, 0x0e, 0x3a, 0xcd, 0x44, 0x3d, 0x24,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36, 0xcc, 0xd4, 0x9a, 0xa6,
422	0x32, 0x43, 0xb7, 0x37, 0xab, 0x09, 0x09, 0xbe, 0x89, 0x73, 0x8d, 0x65, 0x86, 0xe4, 0x11, 0x74,
423	0x15, 0x96, 0xd2, 0x20, 0xe5, 0xd5, 0x60, 0x2d, 0xd0, 0x59, 0xc3, 0x79, 0x35, 0xd2, 0xd0, 0xbf,
424	0x2b, 0xd6, 0x86, 0xcf, 0x78, 0x81, 0xb4, 0x62, 0x66, 0xee, 0x85, 0x6c, 0x58, 0xc3, 0x25, 0x33,
425	0x73, 0xb2, 0x03, 0xbd, 0x82, 0x0b, 0xa4, 0xa2, 0x2e, 0xa7, 0x7e, 0xf4, 0xab, 0x09, 0x58, 0xd3,
426	0x85, 0xb3, 0xd8, 0x75, 0x99, 0xd5, 0x22, 0xb5, 0x4c, 0xd4, 0xfd, 0x29, 0x7e, 0x5d, 0x82, 0xf1,
427	0x82, 0x95, 0x78, 0xf2, 0xa3, 0x05, 0xf6, 0x83, 0x5c, 0xe6, 0x4a, 0x4e, 0x7a, 0x63, 0xf7, 0xa3,
428	0x5e, 0xda, 0x77, 0x7c, 0xd9, 0xfa, 0xf0, 0xd1, 0xe7, 0xe6, 0xb2, 0x60, 0x22, 0x8f, 0xa4, 0xca,
429	0xe3, 0x1c, 0x85, 0x7b, 0xe5, 0x71, 0xe3, 0x62, 0x15, 0xd7, 0x7f, 0xf5, 0x57, 0x1f, 0x3f, 0xe0,
430	0xfb, 0xde, 0xde, 0x3b, 0x6b, 0x0a, 0x8c, 0xad, 0xb3, 0x79, 0x61, 0xc9, 0x4d, 0x53, 0xef, 0x0f,
431	0x4e, 0x6c, 0xe6, 0x74, 0xcd, 0x15, 0x7c, 0xf1, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x6b, 0x08,
432	0x8d, 0x1b, 0x06, 0x00, 0x00,
433}
434