| 1 |
// Copyright 2021 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.21.9 |
| 19 |
// source: google/devtools/clouderrorreporting/v1beta1/common.proto |
| 20 |
|
| 21 |
package errorreportingpb |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// Resolution status of an error group. |
| 41 |
type ResolutionStatus int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Status is unknown. When left unspecified in requests, it is treated like |
| 45 |
// OPEN. |
| 46 |
ResolutionStatus_RESOLUTION_STATUS_UNSPECIFIED ResolutionStatus = 0 |
| 47 |
// The error group is not being addressed. This is the default for |
| 48 |
// new groups. It is also used for errors re-occurring after marked RESOLVED. |
| 49 |
ResolutionStatus_OPEN ResolutionStatus = 1 |
| 50 |
// Error Group manually acknowledged, it can have an issue link attached. |
| 51 |
ResolutionStatus_ACKNOWLEDGED ResolutionStatus = 2 |
| 52 |
// Error Group manually resolved, more events for this group are not expected |
| 53 |
// to occur. |
| 54 |
ResolutionStatus_RESOLVED ResolutionStatus = 3 |
| 55 |
// The error group is muted and excluded by default on group stats requests. |
| 56 |
ResolutionStatus_MUTED ResolutionStatus = 4 |
| 57 |
) |
| 58 |
|
| 59 |
// Enum value maps for ResolutionStatus. |
| 60 |
var ( |
| 61 |
ResolutionStatus_name = map[int32]string{ |
| 62 |
0: "RESOLUTION_STATUS_UNSPECIFIED", |
| 63 |
1: "OPEN", |
| 64 |
2: "ACKNOWLEDGED", |
| 65 |
3: "RESOLVED", |
| 66 |
4: "MUTED", |
| 67 |
} |
| 68 |
ResolutionStatus_value = map[string]int32{ |
| 69 |
"RESOLUTION_STATUS_UNSPECIFIED": 0, |
| 70 |
"OPEN": 1, |
| 71 |
"ACKNOWLEDGED": 2, |
| 72 |
"RESOLVED": 3, |
| 73 |
"MUTED": 4, |
| 74 |
} |
| 75 |
) |
| 76 |
|
| 77 |
func (x ResolutionStatus) Enum() *ResolutionStatus { |
| 78 |
p := new(ResolutionStatus) |
| 79 |
*p = x |
| 80 |
return p |
| 81 |
} |
| 82 |
|
| 83 |
func (x ResolutionStatus) String() string { |
| 84 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 85 |
} |
| 86 |
|
| 87 |
func (ResolutionStatus) Descriptor() protoreflect.EnumDescriptor { |
| 88 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_enumTypes[0].Descriptor() |
| 89 |
} |
| 90 |
|
| 91 |
func (ResolutionStatus) Type() protoreflect.EnumType { |
| 92 |
return &file_google_devtools_clouderrorreporting_v1beta1_common_proto_enumTypes[0] |
| 93 |
} |
| 94 |
|
| 95 |
func (x ResolutionStatus) Number() protoreflect.EnumNumber { |
| 96 |
return protoreflect.EnumNumber(x) |
| 97 |
} |
| 98 |
|
| 99 |
// Deprecated: Use ResolutionStatus.Descriptor instead. |
| 100 |
func (ResolutionStatus) EnumDescriptor() ([]byte, []int) { |
| 101 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{0} |
| 102 |
} |
| 103 |
|
| 104 |
// Description of a group of similar error events. |
| 105 |
type ErrorGroup struct { |
| 106 |
state protoimpl.MessageState |
| 107 |
sizeCache protoimpl.SizeCache |
| 108 |
unknownFields protoimpl.UnknownFields |
| 109 |
|
| 110 |
// The group resource name. |
| 111 |
// Example: <code>projects/my-project-123/groups/CNSgkpnppqKCUw</code> |
| 112 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 113 |
// Group IDs are unique for a given project. If the same kind of error |
| 114 |
// occurs in different service contexts, it will receive the same group ID. |
| 115 |
GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` |
| 116 |
// Associated tracking issues. |
| 117 |
TrackingIssues []*TrackingIssue `protobuf:"bytes,3,rep,name=tracking_issues,json=trackingIssues,proto3" json:"tracking_issues,omitempty"` |
| 118 |
// Error group's resolution status. |
| 119 |
// An unspecified resolution status will be interpreted as OPEN |
| 120 |
ResolutionStatus ResolutionStatus `protobuf:"varint,5,opt,name=resolution_status,json=resolutionStatus,proto3,enum=google.devtools.clouderrorreporting.v1beta1.ResolutionStatus" json:"resolution_status,omitempty"` |
| 121 |
} |
| 122 |
|
| 123 |
func (x *ErrorGroup) Reset() { |
| 124 |
*x = ErrorGroup{} |
| 125 |
if protoimpl.UnsafeEnabled { |
| 126 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[0] |
| 127 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 128 |
ms.StoreMessageInfo(mi) |
| 129 |
} |
| 130 |
} |
| 131 |
|
| 132 |
func (x *ErrorGroup) String() string { |
| 133 |
return protoimpl.X.MessageStringOf(x) |
| 134 |
} |
| 135 |
|
| 136 |
func (*ErrorGroup) ProtoMessage() {} |
| 137 |
|
| 138 |
func (x *ErrorGroup) ProtoReflect() protoreflect.Message { |
| 139 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[0] |
| 140 |
if protoimpl.UnsafeEnabled && x != nil { |
| 141 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 142 |
if ms.LoadMessageInfo() == nil { |
| 143 |
ms.StoreMessageInfo(mi) |
| 144 |
} |
| 145 |
return ms |
| 146 |
} |
| 147 |
return mi.MessageOf(x) |
| 148 |
} |
| 149 |
|
| 150 |
// Deprecated: Use ErrorGroup.ProtoReflect.Descriptor instead. |
| 151 |
func (*ErrorGroup) Descriptor() ([]byte, []int) { |
| 152 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{0} |
| 153 |
} |
| 154 |
|
| 155 |
func (x *ErrorGroup) GetName() string { |
| 156 |
if x != nil { |
| 157 |
return x.Name |
| 158 |
} |
| 159 |
return "" |
| 160 |
} |
| 161 |
|
| 162 |
func (x *ErrorGroup) GetGroupId() string { |
| 163 |
if x != nil { |
| 164 |
return x.GroupId |
| 165 |
} |
| 166 |
return "" |
| 167 |
} |
| 168 |
|
| 169 |
func (x *ErrorGroup) GetTrackingIssues() []*TrackingIssue { |
| 170 |
if x != nil { |
| 171 |
return x.TrackingIssues |
| 172 |
} |
| 173 |
return nil |
| 174 |
} |
| 175 |
|
| 176 |
func (x *ErrorGroup) GetResolutionStatus() ResolutionStatus { |
| 177 |
if x != nil { |
| 178 |
return x.ResolutionStatus |
| 179 |
} |
| 180 |
return ResolutionStatus_RESOLUTION_STATUS_UNSPECIFIED |
| 181 |
} |
| 182 |
|
| 183 |
// Information related to tracking the progress on resolving the error. |
| 184 |
type TrackingIssue struct { |
| 185 |
state protoimpl.MessageState |
| 186 |
sizeCache protoimpl.SizeCache |
| 187 |
unknownFields protoimpl.UnknownFields |
| 188 |
|
| 189 |
// A URL pointing to a related entry in an issue tracking system. |
| 190 |
// Example: `https://github.com/user/project/issues/4` |
| 191 |
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
| 192 |
} |
| 193 |
|
| 194 |
func (x *TrackingIssue) Reset() { |
| 195 |
*x = TrackingIssue{} |
| 196 |
if protoimpl.UnsafeEnabled { |
| 197 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[1] |
| 198 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 199 |
ms.StoreMessageInfo(mi) |
| 200 |
} |
| 201 |
} |
| 202 |
|
| 203 |
func (x *TrackingIssue) String() string { |
| 204 |
return protoimpl.X.MessageStringOf(x) |
| 205 |
} |
| 206 |
|
| 207 |
func (*TrackingIssue) ProtoMessage() {} |
| 208 |
|
| 209 |
func (x *TrackingIssue) ProtoReflect() protoreflect.Message { |
| 210 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[1] |
| 211 |
if protoimpl.UnsafeEnabled && x != nil { |
| 212 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 213 |
if ms.LoadMessageInfo() == nil { |
| 214 |
ms.StoreMessageInfo(mi) |
| 215 |
} |
| 216 |
return ms |
| 217 |
} |
| 218 |
return mi.MessageOf(x) |
| 219 |
} |
| 220 |
|
| 221 |
// Deprecated: Use TrackingIssue.ProtoReflect.Descriptor instead. |
| 222 |
func (*TrackingIssue) Descriptor() ([]byte, []int) { |
| 223 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{1} |
| 224 |
} |
| 225 |
|
| 226 |
func (x *TrackingIssue) GetUrl() string { |
| 227 |
if x != nil { |
| 228 |
return x.Url |
| 229 |
} |
| 230 |
return "" |
| 231 |
} |
| 232 |
|
| 233 |
// An error event which is returned by the Error Reporting system. |
| 234 |
type ErrorEvent struct { |
| 235 |
state protoimpl.MessageState |
| 236 |
sizeCache protoimpl.SizeCache |
| 237 |
unknownFields protoimpl.UnknownFields |
| 238 |
|
| 239 |
// Time when the event occurred as provided in the error report. |
| 240 |
// If the report did not contain a timestamp, the time the error was received |
| 241 |
// by the Error Reporting system is used. |
| 242 |
EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` |
| 243 |
// The `ServiceContext` for which this error was reported. |
| 244 |
ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"` |
| 245 |
// The stack trace that was reported or logged by the service. |
| 246 |
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` |
| 247 |
// Data about the context in which the error occurred. |
| 248 |
Context *ErrorContext `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"` |
| 249 |
} |
| 250 |
|
| 251 |
func (x *ErrorEvent) Reset() { |
| 252 |
*x = ErrorEvent{} |
| 253 |
if protoimpl.UnsafeEnabled { |
| 254 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[2] |
| 255 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 256 |
ms.StoreMessageInfo(mi) |
| 257 |
} |
| 258 |
} |
| 259 |
|
| 260 |
func (x *ErrorEvent) String() string { |
| 261 |
return protoimpl.X.MessageStringOf(x) |
| 262 |
} |
| 263 |
|
| 264 |
func (*ErrorEvent) ProtoMessage() {} |
| 265 |
|
| 266 |
func (x *ErrorEvent) ProtoReflect() protoreflect.Message { |
| 267 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[2] |
| 268 |
if protoimpl.UnsafeEnabled && x != nil { |
| 269 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 270 |
if ms.LoadMessageInfo() == nil { |
| 271 |
ms.StoreMessageInfo(mi) |
| 272 |
} |
| 273 |
return ms |
| 274 |
} |
| 275 |
return mi.MessageOf(x) |
| 276 |
} |
| 277 |
|
| 278 |
// Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead. |
| 279 |
func (*ErrorEvent) Descriptor() ([]byte, []int) { |
| 280 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{2} |
| 281 |
} |
| 282 |
|
| 283 |
func (x *ErrorEvent) GetEventTime() *timestamppb.Timestamp { |
| 284 |
if x != nil { |
| 285 |
return x.EventTime |
| 286 |
} |
| 287 |
return nil |
| 288 |
} |
| 289 |
|
| 290 |
func (x *ErrorEvent) GetServiceContext() *ServiceContext { |
| 291 |
if x != nil { |
| 292 |
return x.ServiceContext |
| 293 |
} |
| 294 |
return nil |
| 295 |
} |
| 296 |
|
| 297 |
func (x *ErrorEvent) GetMessage() string { |
| 298 |
if x != nil { |
| 299 |
return x.Message |
| 300 |
} |
| 301 |
return "" |
| 302 |
} |
| 303 |
|
| 304 |
func (x *ErrorEvent) GetContext() *ErrorContext { |
| 305 |
if x != nil { |
| 306 |
return x.Context |
| 307 |
} |
| 308 |
return nil |
| 309 |
} |
| 310 |
|
| 311 |
// Describes a running service that sends errors. |
| 312 |
// Its version changes over time and multiple versions can run in parallel. |
| 313 |
type ServiceContext struct { |
| 314 |
state protoimpl.MessageState |
| 315 |
sizeCache protoimpl.SizeCache |
| 316 |
unknownFields protoimpl.UnknownFields |
| 317 |
|
| 318 |
// An identifier of the service, such as the name of the |
| 319 |
// executable, job, or Google App Engine service name. This field is expected |
| 320 |
// to have a low number of values that are relatively stable over time, as |
| 321 |
// opposed to `version`, which can be changed whenever new code is deployed. |
| 322 |
// |
| 323 |
// Contains the service name for error reports extracted from Google |
| 324 |
// App Engine logs or `default` if the App Engine default service is used. |
| 325 |
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` |
| 326 |
// Represents the source code version that the developer provided, |
| 327 |
// which could represent a version label or a Git SHA-1 hash, for example. |
| 328 |
// For App Engine standard environment, the version is set to the version of |
| 329 |
// the app. |
| 330 |
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` |
| 331 |
// Type of the MonitoredResource. List of possible values: |
| 332 |
// https://cloud.google.com/monitoring/api/resources |
| 333 |
// |
| 334 |
// Value is set automatically for incoming errors and must not be set when |
| 335 |
// reporting errors. |
| 336 |
ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` |
| 337 |
} |
| 338 |
|
| 339 |
func (x *ServiceContext) Reset() { |
| 340 |
*x = ServiceContext{} |
| 341 |
if protoimpl.UnsafeEnabled { |
| 342 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[3] |
| 343 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 344 |
ms.StoreMessageInfo(mi) |
| 345 |
} |
| 346 |
} |
| 347 |
|
| 348 |
func (x *ServiceContext) String() string { |
| 349 |
return protoimpl.X.MessageStringOf(x) |
| 350 |
} |
| 351 |
|
| 352 |
func (*ServiceContext) ProtoMessage() {} |
| 353 |
|
| 354 |
func (x *ServiceContext) ProtoReflect() protoreflect.Message { |
| 355 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[3] |
| 356 |
if protoimpl.UnsafeEnabled && x != nil { |
| 357 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 358 |
if ms.LoadMessageInfo() == nil { |
| 359 |
ms.StoreMessageInfo(mi) |
| 360 |
} |
| 361 |
return ms |
| 362 |
} |
| 363 |
return mi.MessageOf(x) |
| 364 |
} |
| 365 |
|
| 366 |
// Deprecated: Use ServiceContext.ProtoReflect.Descriptor instead. |
| 367 |
func (*ServiceContext) Descriptor() ([]byte, []int) { |
| 368 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{3} |
| 369 |
} |
| 370 |
|
| 371 |
func (x *ServiceContext) GetService() string { |
| 372 |
if x != nil { |
| 373 |
return x.Service |
| 374 |
} |
| 375 |
return "" |
| 376 |
} |
| 377 |
|
| 378 |
func (x *ServiceContext) GetVersion() string { |
| 379 |
if x != nil { |
| 380 |
return x.Version |
| 381 |
} |
| 382 |
return "" |
| 383 |
} |
| 384 |
|
| 385 |
func (x *ServiceContext) GetResourceType() string { |
| 386 |
if x != nil { |
| 387 |
return x.ResourceType |
| 388 |
} |
| 389 |
return "" |
| 390 |
} |
| 391 |
|
| 392 |
// A description of the context in which an error occurred. |
| 393 |
// This data should be provided by the application when reporting an error, |
| 394 |
// unless the |
| 395 |
// error report has been generated automatically from Google App Engine logs. |
| 396 |
type ErrorContext struct { |
| 397 |
state protoimpl.MessageState |
| 398 |
sizeCache protoimpl.SizeCache |
| 399 |
unknownFields protoimpl.UnknownFields |
| 400 |
|
| 401 |
// The HTTP request which was processed when the error was |
| 402 |
// triggered. |
| 403 |
HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"` |
| 404 |
// The user who caused or was affected by the crash. |
| 405 |
// This can be a user ID, an email address, or an arbitrary token that |
| 406 |
// uniquely identifies the user. |
| 407 |
// When sending an error report, leave this field empty if the user was not |
| 408 |
// logged in. In this case the |
| 409 |
// Error Reporting system will use other data, such as remote IP address, to |
| 410 |
// distinguish affected users. See `affected_users_count` in |
| 411 |
// `ErrorGroupStats`. |
| 412 |
User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` |
| 413 |
// The location in the source code where the decision was made to |
| 414 |
// report the error, usually the place where it was logged. |
| 415 |
// For a logged exception this would be the source line where the |
| 416 |
// exception is logged, usually close to the place where it was |
| 417 |
// caught. |
| 418 |
ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation,proto3" json:"report_location,omitempty"` |
| 419 |
} |
| 420 |
|
| 421 |
func (x *ErrorContext) Reset() { |
| 422 |
*x = ErrorContext{} |
| 423 |
if protoimpl.UnsafeEnabled { |
| 424 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[4] |
| 425 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 426 |
ms.StoreMessageInfo(mi) |
| 427 |
} |
| 428 |
} |
| 429 |
|
| 430 |
func (x *ErrorContext) String() string { |
| 431 |
return protoimpl.X.MessageStringOf(x) |
| 432 |
} |
| 433 |
|
| 434 |
func (*ErrorContext) ProtoMessage() {} |
| 435 |
|
| 436 |
func (x *ErrorContext) ProtoReflect() protoreflect.Message { |
| 437 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[4] |
| 438 |
if protoimpl.UnsafeEnabled && x != nil { |
| 439 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 440 |
if ms.LoadMessageInfo() == nil { |
| 441 |
ms.StoreMessageInfo(mi) |
| 442 |
} |
| 443 |
return ms |
| 444 |
} |
| 445 |
return mi.MessageOf(x) |
| 446 |
} |
| 447 |
|
| 448 |
// Deprecated: Use ErrorContext.ProtoReflect.Descriptor instead. |
| 449 |
func (*ErrorContext) Descriptor() ([]byte, []int) { |
| 450 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{4} |
| 451 |
} |
| 452 |
|
| 453 |
func (x *ErrorContext) GetHttpRequest() *HttpRequestContext { |
| 454 |
if x != nil { |
| 455 |
return x.HttpRequest |
| 456 |
} |
| 457 |
return nil |
| 458 |
} |
| 459 |
|
| 460 |
func (x *ErrorContext) GetUser() string { |
| 461 |
if x != nil { |
| 462 |
return x.User |
| 463 |
} |
| 464 |
return "" |
| 465 |
} |
| 466 |
|
| 467 |
func (x *ErrorContext) GetReportLocation() *SourceLocation { |
| 468 |
if x != nil { |
| 469 |
return x.ReportLocation |
| 470 |
} |
| 471 |
return nil |
| 472 |
} |
| 473 |
|
| 474 |
// HTTP request data that is related to a reported error. |
| 475 |
// This data should be provided by the application when reporting an error, |
| 476 |
// unless the |
| 477 |
// error report has been generated automatically from Google App Engine logs. |
| 478 |
type HttpRequestContext struct { |
| 479 |
state protoimpl.MessageState |
| 480 |
sizeCache protoimpl.SizeCache |
| 481 |
unknownFields protoimpl.UnknownFields |
| 482 |
|
| 483 |
// The type of HTTP request, such as `GET`, `POST`, etc. |
| 484 |
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` |
| 485 |
// The URL of the request. |
| 486 |
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` |
| 487 |
// The user agent information that is provided with the request. |
| 488 |
UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` |
| 489 |
// The referrer information that is provided with the request. |
| 490 |
Referrer string `protobuf:"bytes,4,opt,name=referrer,proto3" json:"referrer,omitempty"` |
| 491 |
// The HTTP response status code for the request. |
| 492 |
ResponseStatusCode int32 `protobuf:"varint,5,opt,name=response_status_code,json=responseStatusCode,proto3" json:"response_status_code,omitempty"` |
| 493 |
// The IP address from which the request originated. |
| 494 |
// This can be IPv4, IPv6, or a token which is derived from the |
| 495 |
// IP address, depending on the data that has been provided |
| 496 |
// in the error report. |
| 497 |
RemoteIp string `protobuf:"bytes,6,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` |
| 498 |
} |
| 499 |
|
| 500 |
func (x *HttpRequestContext) Reset() { |
| 501 |
*x = HttpRequestContext{} |
| 502 |
if protoimpl.UnsafeEnabled { |
| 503 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[5] |
| 504 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 505 |
ms.StoreMessageInfo(mi) |
| 506 |
} |
| 507 |
} |
| 508 |
|
| 509 |
func (x *HttpRequestContext) String() string { |
| 510 |
return protoimpl.X.MessageStringOf(x) |
| 511 |
} |
| 512 |
|
| 513 |
func (*HttpRequestContext) ProtoMessage() {} |
| 514 |
|
| 515 |
func (x *HttpRequestContext) ProtoReflect() protoreflect.Message { |
| 516 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[5] |
| 517 |
if protoimpl.UnsafeEnabled && x != nil { |
| 518 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 519 |
if ms.LoadMessageInfo() == nil { |
| 520 |
ms.StoreMessageInfo(mi) |
| 521 |
} |
| 522 |
return ms |
| 523 |
} |
| 524 |
return mi.MessageOf(x) |
| 525 |
} |
| 526 |
|
| 527 |
// Deprecated: Use HttpRequestContext.ProtoReflect.Descriptor instead. |
| 528 |
func (*HttpRequestContext) Descriptor() ([]byte, []int) { |
| 529 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{5} |
| 530 |
} |
| 531 |
|
| 532 |
func (x *HttpRequestContext) GetMethod() string { |
| 533 |
if x != nil { |
| 534 |
return x.Method |
| 535 |
} |
| 536 |
return "" |
| 537 |
} |
| 538 |
|
| 539 |
func (x *HttpRequestContext) GetUrl() string { |
| 540 |
if x != nil { |
| 541 |
return x.Url |
| 542 |
} |
| 543 |
return "" |
| 544 |
} |
| 545 |
|
| 546 |
func (x *HttpRequestContext) GetUserAgent() string { |
| 547 |
if x != nil { |
| 548 |
return x.UserAgent |
| 549 |
} |
| 550 |
return "" |
| 551 |
} |
| 552 |
|
| 553 |
func (x *HttpRequestContext) GetReferrer() string { |
| 554 |
if x != nil { |
| 555 |
return x.Referrer |
| 556 |
} |
| 557 |
return "" |
| 558 |
} |
| 559 |
|
| 560 |
func (x *HttpRequestContext) GetResponseStatusCode() int32 { |
| 561 |
if x != nil { |
| 562 |
return x.ResponseStatusCode |
| 563 |
} |
| 564 |
return 0 |
| 565 |
} |
| 566 |
|
| 567 |
func (x *HttpRequestContext) GetRemoteIp() string { |
| 568 |
if x != nil { |
| 569 |
return x.RemoteIp |
| 570 |
} |
| 571 |
return "" |
| 572 |
} |
| 573 |
|
| 574 |
// Indicates a location in the source code of the service for which errors are |
| 575 |
// reported. `functionName` must be provided by the application when reporting |
| 576 |
// an error, unless the error report contains a `message` with a supported |
| 577 |
// exception stack trace. All fields are optional for the later case. |
| 578 |
type SourceLocation struct { |
| 579 |
state protoimpl.MessageState |
| 580 |
sizeCache protoimpl.SizeCache |
| 581 |
unknownFields protoimpl.UnknownFields |
| 582 |
|
| 583 |
// The source code filename, which can include a truncated relative |
| 584 |
// path, or a full path from a production machine. |
| 585 |
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` |
| 586 |
// 1-based. 0 indicates that the line number is unknown. |
| 587 |
LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"` |
| 588 |
// Human-readable name of a function or method. |
| 589 |
// The value can include optional context like the class or package name. |
| 590 |
// For example, `my.package.MyClass.method` in case of Java. |
| 591 |
FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` |
| 592 |
} |
| 593 |
|
| 594 |
func (x *SourceLocation) Reset() { |
| 595 |
*x = SourceLocation{} |
| 596 |
if protoimpl.UnsafeEnabled { |
| 597 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[6] |
| 598 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 599 |
ms.StoreMessageInfo(mi) |
| 600 |
} |
| 601 |
} |
| 602 |
|
| 603 |
func (x *SourceLocation) String() string { |
| 604 |
return protoimpl.X.MessageStringOf(x) |
| 605 |
} |
| 606 |
|
| 607 |
func (*SourceLocation) ProtoMessage() {} |
| 608 |
|
| 609 |
func (x *SourceLocation) ProtoReflect() protoreflect.Message { |
| 610 |
mi := &file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[6] |
| 611 |
if protoimpl.UnsafeEnabled && x != nil { |
| 612 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 613 |
if ms.LoadMessageInfo() == nil { |
| 614 |
ms.StoreMessageInfo(mi) |
| 615 |
} |
| 616 |
return ms |
| 617 |
} |
| 618 |
return mi.MessageOf(x) |
| 619 |
} |
| 620 |
|
| 621 |
// Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead. |
| 622 |
func (*SourceLocation) Descriptor() ([]byte, []int) { |
| 623 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP(), []int{6} |
| 624 |
} |
| 625 |
|
| 626 |
func (x *SourceLocation) GetFilePath() string { |
| 627 |
if x != nil { |
| 628 |
return x.FilePath |
| 629 |
} |
| 630 |
return "" |
| 631 |
} |
| 632 |
|
| 633 |
func (x *SourceLocation) GetLineNumber() int32 { |
| 634 |
if x != nil { |
| 635 |
return x.LineNumber |
| 636 |
} |
| 637 |
return 0 |
| 638 |
} |
| 639 |
|
| 640 |
func (x *SourceLocation) GetFunctionName() string { |
| 641 |
if x != nil { |
| 642 |
return x.FunctionName |
| 643 |
} |
| 644 |
return "" |
| 645 |
} |
| 646 |
|
| 647 |
var File_google_devtools_clouderrorreporting_v1beta1_common_proto protoreflect.FileDescriptor |
| 648 |
|
| 649 |
var file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDesc = []byte{ |
| 650 |
0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 651 |
0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, |
| 652 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, |
| 653 |
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x67, 0x6f, 0x6f, 0x67, |
| 654 |
0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 655 |
0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, |
| 656 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 657 |
0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 658 |
0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 659 |
0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, |
| 660 |
0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x02, 0x0a, 0x0a, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x47, 0x72, 0x6f, |
| 661 |
0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 662 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, |
| 663 |
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, |
| 664 |
0x64, 0x12, 0x63, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x73, |
| 665 |
0x73, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, |
| 666 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, |
| 667 |
0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, |
| 668 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, |
| 669 |
0x67, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, |
| 670 |
0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, |
| 671 |
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 672 |
0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, |
| 673 |
0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, |
| 674 |
0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, |
| 675 |
0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 676 |
0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, |
| 677 |
0x75, 0x73, 0x3a, 0x55, 0xea, 0x41, 0x52, 0x0a, 0x2d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, |
| 678 |
0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, |
| 679 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x72, 0x72, 0x6f, |
| 680 |
0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 681 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, |
| 682 |
0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x7d, 0x22, 0x21, 0x0a, 0x0d, 0x54, 0x72, 0x61, |
| 683 |
0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, |
| 684 |
0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x9c, 0x02, 0x0a, |
| 685 |
0x0a, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, |
| 686 |
0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 687 |
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 688 |
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, |
| 689 |
0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 690 |
0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 691 |
0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 692 |
0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, |
| 693 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, |
| 694 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x73, 0x65, |
| 695 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, |
| 696 |
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, |
| 697 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, |
| 698 |
0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 699 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, |
| 700 |
0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, |
| 701 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, |
| 702 |
0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x69, 0x0a, 0x0e, 0x53, |
| 703 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, |
| 704 |
0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| 705 |
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, |
| 706 |
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 707 |
0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, |
| 708 |
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 709 |
0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xec, 0x01, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, |
| 710 |
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x62, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, |
| 711 |
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, |
| 712 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, |
| 713 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 714 |
0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, |
| 715 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, |
| 716 |
0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, |
| 717 |
0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, |
| 718 |
0x64, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 719 |
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 720 |
0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 721 |
0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, |
| 722 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, |
| 723 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x6f, 0x63, |
| 724 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc8, 0x01, 0x0a, 0x12, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, |
| 725 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x16, 0x0a, 0x06, |
| 726 |
0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, |
| 727 |
0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 728 |
0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, |
| 729 |
0x67, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, |
| 730 |
0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, |
| 731 |
0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, |
| 732 |
0x72, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x74, |
| 733 |
0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 734 |
0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, |
| 735 |
0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x69, 0x70, |
| 736 |
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x70, |
| 737 |
0x22, 0x73, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 738 |
0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, |
| 739 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, |
| 740 |
0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, |
| 741 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, |
| 742 |
0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, |
| 743 |
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, |
| 744 |
0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0x6a, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, |
| 745 |
0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x53, |
| 746 |
0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, |
| 747 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, |
| 748 |
0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x43, 0x4b, 0x4e, 0x4f, 0x57, |
| 749 |
0x4c, 0x45, 0x44, 0x47, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x4f, |
| 750 |
0x4c, 0x56, 0x45, 0x44, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x54, 0x45, 0x44, 0x10, |
| 751 |
0x04, 0x42, 0x98, 0x02, 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 752 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, |
| 753 |
0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, |
| 754 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, |
| 755 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, |
| 756 |
0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 757 |
0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, |
| 758 |
0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, |
| 759 |
0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 760 |
0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x72, 0x65, 0x70, 0x6f, 0x72, |
| 761 |
0x74, 0x69, 0x6e, 0x67, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 762 |
0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6f, |
| 763 |
0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x23, |
| 764 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x72, 0x72, |
| 765 |
0x6f, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x62, 0x65, |
| 766 |
0x74, 0x61, 0x31, 0xea, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, |
| 767 |
0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 768 |
0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, |
| 769 |
0x6f, 0x74, 0x6f, 0x33, |
| 770 |
} |
| 771 |
|
| 772 |
var ( |
| 773 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescOnce sync.Once |
| 774 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescData = file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDesc |
| 775 |
) |
| 776 |
|
| 777 |
func file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescGZIP() []byte { |
| 778 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescOnce.Do(func() { |
| 779 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescData) |
| 780 |
}) |
| 781 |
return file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDescData |
| 782 |
} |
| 783 |
|
| 784 |
var file_google_devtools_clouderrorreporting_v1beta1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 785 |
var file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| 786 |
var file_google_devtools_clouderrorreporting_v1beta1_common_proto_goTypes = []interface{}{ |
| 787 |
(ResolutionStatus)(0), // 0: google.devtools.clouderrorreporting.v1beta1.ResolutionStatus |
| 788 |
(*ErrorGroup)(nil), // 1: google.devtools.clouderrorreporting.v1beta1.ErrorGroup |
| 789 |
(*TrackingIssue)(nil), // 2: google.devtools.clouderrorreporting.v1beta1.TrackingIssue |
| 790 |
(*ErrorEvent)(nil), // 3: google.devtools.clouderrorreporting.v1beta1.ErrorEvent |
| 791 |
(*ServiceContext)(nil), // 4: google.devtools.clouderrorreporting.v1beta1.ServiceContext |
| 792 |
(*ErrorContext)(nil), // 5: google.devtools.clouderrorreporting.v1beta1.ErrorContext |
| 793 |
(*HttpRequestContext)(nil), // 6: google.devtools.clouderrorreporting.v1beta1.HttpRequestContext |
| 794 |
(*SourceLocation)(nil), // 7: google.devtools.clouderrorreporting.v1beta1.SourceLocation |
| 795 |
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp |
| 796 |
} |
| 797 |
var file_google_devtools_clouderrorreporting_v1beta1_common_proto_depIdxs = []int32{ |
| 798 |
2, // 0: google.devtools.clouderrorreporting.v1beta1.ErrorGroup.tracking_issues:type_name -> google.devtools.clouderrorreporting.v1beta1.TrackingIssue |
| 799 |
0, // 1: google.devtools.clouderrorreporting.v1beta1.ErrorGroup.resolution_status:type_name -> google.devtools.clouderrorreporting.v1beta1.ResolutionStatus |
| 800 |
8, // 2: google.devtools.clouderrorreporting.v1beta1.ErrorEvent.event_time:type_name -> google.protobuf.Timestamp |
| 801 |
4, // 3: google.devtools.clouderrorreporting.v1beta1.ErrorEvent.service_context:type_name -> google.devtools.clouderrorreporting.v1beta1.ServiceContext |
| 802 |
5, // 4: google.devtools.clouderrorreporting.v1beta1.ErrorEvent.context:type_name -> google.devtools.clouderrorreporting.v1beta1.ErrorContext |
| 803 |
6, // 5: google.devtools.clouderrorreporting.v1beta1.ErrorContext.http_request:type_name -> google.devtools.clouderrorreporting.v1beta1.HttpRequestContext |
| 804 |
7, // 6: google.devtools.clouderrorreporting.v1beta1.ErrorContext.report_location:type_name -> google.devtools.clouderrorreporting.v1beta1.SourceLocation |
| 805 |
7, // [7:7] is the sub-list for method output_type |
| 806 |
7, // [7:7] is the sub-list for method input_type |
| 807 |
7, // [7:7] is the sub-list for extension type_name |
| 808 |
7, // [7:7] is the sub-list for extension extendee |
| 809 |
0, // [0:7] is the sub-list for field type_name |
| 810 |
} |
| 811 |
|
| 812 |
func init() { file_google_devtools_clouderrorreporting_v1beta1_common_proto_init() } |
| 813 |
func file_google_devtools_clouderrorreporting_v1beta1_common_proto_init() { |
| 814 |
if File_google_devtools_clouderrorreporting_v1beta1_common_proto != nil { |
| 815 |
return |
| 816 |
} |
| 817 |
if !protoimpl.UnsafeEnabled { |
| 818 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 819 |
switch v := v.(*ErrorGroup); i { |
| 820 |
case 0: |
| 821 |
return &v.state |
| 822 |
case 1: |
| 823 |
return &v.sizeCache |
| 824 |
case 2: |
| 825 |
return &v.unknownFields |
| 826 |
default: |
| 827 |
return nil |
| 828 |
} |
| 829 |
} |
| 830 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 831 |
switch v := v.(*TrackingIssue); i { |
| 832 |
case 0: |
| 833 |
return &v.state |
| 834 |
case 1: |
| 835 |
return &v.sizeCache |
| 836 |
case 2: |
| 837 |
return &v.unknownFields |
| 838 |
default: |
| 839 |
return nil |
| 840 |
} |
| 841 |
} |
| 842 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 843 |
switch v := v.(*ErrorEvent); i { |
| 844 |
case 0: |
| 845 |
return &v.state |
| 846 |
case 1: |
| 847 |
return &v.sizeCache |
| 848 |
case 2: |
| 849 |
return &v.unknownFields |
| 850 |
default: |
| 851 |
return nil |
| 852 |
} |
| 853 |
} |
| 854 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 855 |
switch v := v.(*ServiceContext); i { |
| 856 |
case 0: |
| 857 |
return &v.state |
| 858 |
case 1: |
| 859 |
return &v.sizeCache |
| 860 |
case 2: |
| 861 |
return &v.unknownFields |
| 862 |
default: |
| 863 |
return nil |
| 864 |
} |
| 865 |
} |
| 866 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 867 |
switch v := v.(*ErrorContext); i { |
| 868 |
case 0: |
| 869 |
return &v.state |
| 870 |
case 1: |
| 871 |
return &v.sizeCache |
| 872 |
case 2: |
| 873 |
return &v.unknownFields |
| 874 |
default: |
| 875 |
return nil |
| 876 |
} |
| 877 |
} |
| 878 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 879 |
switch v := v.(*HttpRequestContext); i { |
| 880 |
case 0: |
| 881 |
return &v.state |
| 882 |
case 1: |
| 883 |
return &v.sizeCache |
| 884 |
case 2: |
| 885 |
return &v.unknownFields |
| 886 |
default: |
| 887 |
return nil |
| 888 |
} |
| 889 |
} |
| 890 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 891 |
switch v := v.(*SourceLocation); i { |
| 892 |
case 0: |
| 893 |
return &v.state |
| 894 |
case 1: |
| 895 |
return &v.sizeCache |
| 896 |
case 2: |
| 897 |
return &v.unknownFields |
| 898 |
default: |
| 899 |
return nil |
| 900 |
} |
| 901 |
} |
| 902 |
} |
| 903 |
type x struct{} |
| 904 |
out := protoimpl.TypeBuilder{ |
| 905 |
File: protoimpl.DescBuilder{ |
| 906 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 907 |
RawDescriptor: file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDesc, |
| 908 |
NumEnums: 1, |
| 909 |
NumMessages: 7, |
| 910 |
NumExtensions: 0, |
| 911 |
NumServices: 0, |
| 912 |
}, |
| 913 |
GoTypes: file_google_devtools_clouderrorreporting_v1beta1_common_proto_goTypes, |
| 914 |
DependencyIndexes: file_google_devtools_clouderrorreporting_v1beta1_common_proto_depIdxs, |
| 915 |
EnumInfos: file_google_devtools_clouderrorreporting_v1beta1_common_proto_enumTypes, |
| 916 |
MessageInfos: file_google_devtools_clouderrorreporting_v1beta1_common_proto_msgTypes, |
| 917 |
}.Build() |
| 918 |
File_google_devtools_clouderrorreporting_v1beta1_common_proto = out.File |
| 919 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_rawDesc = nil |
| 920 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_goTypes = nil |
| 921 |
file_google_devtools_clouderrorreporting_v1beta1_common_proto_depIdxs = nil |
| 922 |
} |