1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
|
// Code generated by protoc-gen-go.
// source: google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.proto
// DO NOT EDIT!
/*
Package google_devtools_clouderrorreporting_v1beta1 is a generated protocol buffer package.
It is generated from these files:
google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.proto
google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.proto
google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
google.golang.org/genproto/googleapis/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 google_devtools_clouderrorreporting_v1beta1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
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"`
}
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 ""
}
// 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.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{
// 651 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0x13, 0x31,
0x10, 0x56, 0x9a, 0xfe, 0x65, 0xd2, 0xa6, 0xc8, 0x42, 0x68, 0x09, 0x42, 0x94, 0xe5, 0x52, 0x09,
0x69, 0x97, 0x96, 0x53, 0xe9, 0x01, 0x68, 0xa9, 0x20, 0x12, 0xaa, 0xaa, 0x4d, 0x25, 0x8e, 0x2b,
0x67, 0x77, 0xb2, 0xb1, 0xd8, 0xb5, 0x8d, 0xed, 0x8d, 0xe0, 0x5d, 0x38, 0xf0, 0x38, 0x3c, 0x0c,
0x0f, 0x81, 0xec, 0xb5, 0xfb, 0xa3, 0x72, 0x20, 0x37, 0x7f, 0xf3, 0xf3, 0xcd, 0x37, 0xe3, 0xb1,
0xe1, 0x4b, 0x25, 0x44, 0x55, 0x63, 0x52, 0x89, 0x9a, 0xf2, 0x2a, 0x11, 0xaa, 0x4a, 0x2b, 0xe4,
0x52, 0x09, 0x23, 0xd2, 0xce, 0x45, 0x25, 0xd3, 0x69, 0x89, 0x4b, 0x23, 0x44, 0xad, 0xd3, 0xa2,
0x16, 0x6d, 0x89, 0x4a, 0x09, 0xa5, 0x50, 0x0a, 0x65, 0x18, 0xaf, 0xd2, 0xe5, 0xe1, 0x0c, 0x0d,
0x3d, 0x4c, 0x0b, 0xd1, 0x34, 0x82, 0x27, 0x2e, 0x99, 0xbc, 0xf4, 0xc4, 0x21, 0x33, 0xf9, 0x47,
0x66, 0xe2, 0x33, 0xc7, 0x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