1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/devtools/clouderrorreporting/v1beta1/common.proto
5 Package clouderrorreporting is a generated protocol buffer package.
7 It 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
13 It has these top-level messages:
24 ListGroupStatsResponse
33 ReportErrorEventRequest
34 ReportErrorEventResponse
37 package clouderrorreporting
39 import proto "github.com/golang/protobuf/proto"
42 import _ "google.golang.org/genproto/googleapis/api/annotations"
43 import _ "google.golang.org/genproto/googleapis/api/monitoredres"
44 import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
46 // Reference imports to suppress errors if they are not otherwise used.
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.
55 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
57 // Description of a group of similar error events.
58 type 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"`
69 func (m *ErrorGroup) Reset() { *m = ErrorGroup{} }
70 func (m *ErrorGroup) String() string { return proto.CompactTextString(m) }
71 func (*ErrorGroup) ProtoMessage() {}
72 func (*ErrorGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
74 func (m *ErrorGroup) GetName() string {
81 func (m *ErrorGroup) GetGroupId() string {
88 func (m *ErrorGroup) GetTrackingIssues() []*TrackingIssue {
90 return m.TrackingIssues
95 // Information related to tracking the progress on resolving the error.
96 type 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"`
102 func (m *TrackingIssue) Reset() { *m = TrackingIssue{} }
103 func (m *TrackingIssue) String() string { return proto.CompactTextString(m) }
104 func (*TrackingIssue) ProtoMessage() {}
105 func (*TrackingIssue) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
107 func (m *TrackingIssue) GetUrl() string {
114 // An error event which is returned by the Error Reporting system.
115 type 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"`
128 func (m *ErrorEvent) Reset() { *m = ErrorEvent{} }
129 func (m *ErrorEvent) String() string { return proto.CompactTextString(m) }
130 func (*ErrorEvent) ProtoMessage() {}
131 func (*ErrorEvent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
133 func (m *ErrorEvent) GetEventTime() *google_protobuf1.Timestamp {
140 func (m *ErrorEvent) GetServiceContext() *ServiceContext {
142 return m.ServiceContext
147 func (m *ErrorEvent) GetMessage() string {
154 func (m *ErrorEvent) GetContext() *ErrorContext {
161 // Describes a running service that sends errors.
162 // Its version changes over time and multiple versions can run in parallel.
163 type 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.
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
178 // Value is set automatically for incoming errors and must not be set when
180 ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
183 func (m *ServiceContext) Reset() { *m = ServiceContext{} }
184 func (m *ServiceContext) String() string { return proto.CompactTextString(m) }
185 func (*ServiceContext) ProtoMessage() {}
186 func (*ServiceContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
188 func (m *ServiceContext) GetService() string {
195 func (m *ServiceContext) GetVersion() string {
202 func (m *ServiceContext) GetResourceType() string {
204 return m.ResourceType
209 // A description of the context in which an error occurred.
210 // This data should be provided by the application when reporting an error,
212 // error report has been generated automatically from Google App Engine logs.
213 type ErrorContext struct {
214 // The HTTP request which was processed when the error was
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"`
235 func (m *ErrorContext) Reset() { *m = ErrorContext{} }
236 func (m *ErrorContext) String() string { return proto.CompactTextString(m) }
237 func (*ErrorContext) ProtoMessage() {}
238 func (*ErrorContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
240 func (m *ErrorContext) GetHttpRequest() *HttpRequestContext {
247 func (m *ErrorContext) GetUser() string {
254 func (m *ErrorContext) GetReportLocation() *SourceLocation {
256 return m.ReportLocation
261 // HTTP request data that is related to a reported error.
262 // This data should be provided by the application when reporting an error,
264 // error report has been generated automatically from Google App Engine logs.
265 type 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"`
283 func (m *HttpRequestContext) Reset() { *m = HttpRequestContext{} }
284 func (m *HttpRequestContext) String() string { return proto.CompactTextString(m) }
285 func (*HttpRequestContext) ProtoMessage() {}
286 func (*HttpRequestContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
288 func (m *HttpRequestContext) GetMethod() string {
295 func (m *HttpRequestContext) GetUrl() string {
302 func (m *HttpRequestContext) GetUserAgent() string {
309 func (m *HttpRequestContext) GetReferrer() string {
316 func (m *HttpRequestContext) GetResponseStatusCode() int32 {
318 return m.ResponseStatusCode
323 func (m *HttpRequestContext) GetRemoteIp() string {
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.
335 type 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"`
347 func (m *SourceLocation) Reset() { *m = SourceLocation{} }
348 func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
349 func (*SourceLocation) ProtoMessage() {}
350 func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
352 func (m *SourceLocation) GetFilePath() string {
359 func (m *SourceLocation) GetLineNumber() int32 {
366 func (m *SourceLocation) GetFunctionName() string {
368 return m.FunctionName
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")
384 proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor0)
387 var 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, 0x13, 0x58, 0x0f, 0x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