1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 status "google.golang.org/genproto/googleapis/rpc/status"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 structpb "google.golang.org/protobuf/types/known/structpb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41 type ServiceContext struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47
48 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
49 }
50
51 func (x *ServiceContext) Reset() {
52 *x = ServiceContext{}
53 if protoimpl.UnsafeEnabled {
54 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[0]
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 ms.StoreMessageInfo(mi)
57 }
58 }
59
60 func (x *ServiceContext) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*ServiceContext) ProtoMessage() {}
65
66 func (x *ServiceContext) ProtoReflect() protoreflect.Message {
67 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[0]
68 if protoimpl.UnsafeEnabled && x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78
79 func (*ServiceContext) Descriptor() ([]byte, []int) {
80 return file_google_cloud_retail_logging_error_log_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *ServiceContext) GetService() string {
84 if x != nil {
85 return x.Service
86 }
87 return ""
88 }
89
90
91 type HttpRequestContext struct {
92 state protoimpl.MessageState
93 sizeCache protoimpl.SizeCache
94 unknownFields protoimpl.UnknownFields
95
96
97 ResponseStatusCode int32 `protobuf:"varint,1,opt,name=response_status_code,json=responseStatusCode,proto3" json:"response_status_code,omitempty"`
98 }
99
100 func (x *HttpRequestContext) Reset() {
101 *x = HttpRequestContext{}
102 if protoimpl.UnsafeEnabled {
103 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[1]
104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
105 ms.StoreMessageInfo(mi)
106 }
107 }
108
109 func (x *HttpRequestContext) String() string {
110 return protoimpl.X.MessageStringOf(x)
111 }
112
113 func (*HttpRequestContext) ProtoMessage() {}
114
115 func (x *HttpRequestContext) ProtoReflect() protoreflect.Message {
116 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[1]
117 if protoimpl.UnsafeEnabled && x != nil {
118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119 if ms.LoadMessageInfo() == nil {
120 ms.StoreMessageInfo(mi)
121 }
122 return ms
123 }
124 return mi.MessageOf(x)
125 }
126
127
128 func (*HttpRequestContext) Descriptor() ([]byte, []int) {
129 return file_google_cloud_retail_logging_error_log_proto_rawDescGZIP(), []int{1}
130 }
131
132 func (x *HttpRequestContext) GetResponseStatusCode() int32 {
133 if x != nil {
134 return x.ResponseStatusCode
135 }
136 return 0
137 }
138
139
140
141 type SourceLocation struct {
142 state protoimpl.MessageState
143 sizeCache protoimpl.SizeCache
144 unknownFields protoimpl.UnknownFields
145
146
147
148 FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
149 }
150
151 func (x *SourceLocation) Reset() {
152 *x = SourceLocation{}
153 if protoimpl.UnsafeEnabled {
154 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[2]
155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
156 ms.StoreMessageInfo(mi)
157 }
158 }
159
160 func (x *SourceLocation) String() string {
161 return protoimpl.X.MessageStringOf(x)
162 }
163
164 func (*SourceLocation) ProtoMessage() {}
165
166 func (x *SourceLocation) ProtoReflect() protoreflect.Message {
167 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[2]
168 if protoimpl.UnsafeEnabled && x != nil {
169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170 if ms.LoadMessageInfo() == nil {
171 ms.StoreMessageInfo(mi)
172 }
173 return ms
174 }
175 return mi.MessageOf(x)
176 }
177
178
179 func (*SourceLocation) Descriptor() ([]byte, []int) {
180 return file_google_cloud_retail_logging_error_log_proto_rawDescGZIP(), []int{2}
181 }
182
183 func (x *SourceLocation) GetFunctionName() string {
184 if x != nil {
185 return x.FunctionName
186 }
187 return ""
188 }
189
190
191 type ErrorContext struct {
192 state protoimpl.MessageState
193 sizeCache protoimpl.SizeCache
194 unknownFields protoimpl.UnknownFields
195
196
197 HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"`
198
199
200 ReportLocation *SourceLocation `protobuf:"bytes,2,opt,name=report_location,json=reportLocation,proto3" json:"report_location,omitempty"`
201 }
202
203 func (x *ErrorContext) Reset() {
204 *x = ErrorContext{}
205 if protoimpl.UnsafeEnabled {
206 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[3]
207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
208 ms.StoreMessageInfo(mi)
209 }
210 }
211
212 func (x *ErrorContext) String() string {
213 return protoimpl.X.MessageStringOf(x)
214 }
215
216 func (*ErrorContext) ProtoMessage() {}
217
218 func (x *ErrorContext) ProtoReflect() protoreflect.Message {
219 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[3]
220 if protoimpl.UnsafeEnabled && x != nil {
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 if ms.LoadMessageInfo() == nil {
223 ms.StoreMessageInfo(mi)
224 }
225 return ms
226 }
227 return mi.MessageOf(x)
228 }
229
230
231 func (*ErrorContext) Descriptor() ([]byte, []int) {
232 return file_google_cloud_retail_logging_error_log_proto_rawDescGZIP(), []int{3}
233 }
234
235 func (x *ErrorContext) GetHttpRequest() *HttpRequestContext {
236 if x != nil {
237 return x.HttpRequest
238 }
239 return nil
240 }
241
242 func (x *ErrorContext) GetReportLocation() *SourceLocation {
243 if x != nil {
244 return x.ReportLocation
245 }
246 return nil
247 }
248
249
250
251
252
253 type ImportErrorContext struct {
254 state protoimpl.MessageState
255 sizeCache protoimpl.SizeCache
256 unknownFields protoimpl.UnknownFields
257
258
259 OperationName string `protobuf:"bytes,1,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
260
261
262 GcsPath string `protobuf:"bytes,2,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
263
264
265 LineNumber string `protobuf:"bytes,3,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
266
267
268
269
270
271
272
273
274 LineContent isImportErrorContext_LineContent `protobuf_oneof:"line_content"`
275 }
276
277 func (x *ImportErrorContext) Reset() {
278 *x = ImportErrorContext{}
279 if protoimpl.UnsafeEnabled {
280 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[4]
281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282 ms.StoreMessageInfo(mi)
283 }
284 }
285
286 func (x *ImportErrorContext) String() string {
287 return protoimpl.X.MessageStringOf(x)
288 }
289
290 func (*ImportErrorContext) ProtoMessage() {}
291
292 func (x *ImportErrorContext) ProtoReflect() protoreflect.Message {
293 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[4]
294 if protoimpl.UnsafeEnabled && x != nil {
295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296 if ms.LoadMessageInfo() == nil {
297 ms.StoreMessageInfo(mi)
298 }
299 return ms
300 }
301 return mi.MessageOf(x)
302 }
303
304
305 func (*ImportErrorContext) Descriptor() ([]byte, []int) {
306 return file_google_cloud_retail_logging_error_log_proto_rawDescGZIP(), []int{4}
307 }
308
309 func (x *ImportErrorContext) GetOperationName() string {
310 if x != nil {
311 return x.OperationName
312 }
313 return ""
314 }
315
316 func (x *ImportErrorContext) GetGcsPath() string {
317 if x != nil {
318 return x.GcsPath
319 }
320 return ""
321 }
322
323 func (x *ImportErrorContext) GetLineNumber() string {
324 if x != nil {
325 return x.LineNumber
326 }
327 return ""
328 }
329
330 func (m *ImportErrorContext) GetLineContent() isImportErrorContext_LineContent {
331 if m != nil {
332 return m.LineContent
333 }
334 return nil
335 }
336
337 func (x *ImportErrorContext) GetCatalogItem() string {
338 if x, ok := x.GetLineContent().(*ImportErrorContext_CatalogItem); ok {
339 return x.CatalogItem
340 }
341 return ""
342 }
343
344 func (x *ImportErrorContext) GetProduct() string {
345 if x, ok := x.GetLineContent().(*ImportErrorContext_Product); ok {
346 return x.Product
347 }
348 return ""
349 }
350
351 func (x *ImportErrorContext) GetUserEvent() string {
352 if x, ok := x.GetLineContent().(*ImportErrorContext_UserEvent); ok {
353 return x.UserEvent
354 }
355 return ""
356 }
357
358 type isImportErrorContext_LineContent interface {
359 isImportErrorContext_LineContent()
360 }
361
362 type ImportErrorContext_CatalogItem struct {
363
364 CatalogItem string `protobuf:"bytes,4,opt,name=catalog_item,json=catalogItem,proto3,oneof"`
365 }
366
367 type ImportErrorContext_Product struct {
368
369 Product string `protobuf:"bytes,5,opt,name=product,proto3,oneof"`
370 }
371
372 type ImportErrorContext_UserEvent struct {
373
374 UserEvent string `protobuf:"bytes,6,opt,name=user_event,json=userEvent,proto3,oneof"`
375 }
376
377 func (*ImportErrorContext_CatalogItem) isImportErrorContext_LineContent() {}
378
379 func (*ImportErrorContext_Product) isImportErrorContext_LineContent() {}
380
381 func (*ImportErrorContext_UserEvent) isImportErrorContext_LineContent() {}
382
383
384
385
386 type ErrorLog struct {
387 state protoimpl.MessageState
388 sizeCache protoimpl.SizeCache
389 unknownFields protoimpl.UnknownFields
390
391
392 ServiceContext *ServiceContext `protobuf:"bytes,1,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"`
393
394 Context *ErrorContext `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
395
396 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
397
398 Status *status.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
399
400
401
402
403
404
405 RequestPayload *structpb.Struct `protobuf:"bytes,5,opt,name=request_payload,json=requestPayload,proto3" json:"request_payload,omitempty"`
406
407
408
409
410
411
412
413
414
415
416 ResponsePayload *structpb.Struct `protobuf:"bytes,6,opt,name=response_payload,json=responsePayload,proto3" json:"response_payload,omitempty"`
417
418 ImportPayload *ImportErrorContext `protobuf:"bytes,7,opt,name=import_payload,json=importPayload,proto3" json:"import_payload,omitempty"`
419 }
420
421 func (x *ErrorLog) Reset() {
422 *x = ErrorLog{}
423 if protoimpl.UnsafeEnabled {
424 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[5]
425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
426 ms.StoreMessageInfo(mi)
427 }
428 }
429
430 func (x *ErrorLog) String() string {
431 return protoimpl.X.MessageStringOf(x)
432 }
433
434 func (*ErrorLog) ProtoMessage() {}
435
436 func (x *ErrorLog) ProtoReflect() protoreflect.Message {
437 mi := &file_google_cloud_retail_logging_error_log_proto_msgTypes[5]
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
449 func (*ErrorLog) Descriptor() ([]byte, []int) {
450 return file_google_cloud_retail_logging_error_log_proto_rawDescGZIP(), []int{5}
451 }
452
453 func (x *ErrorLog) GetServiceContext() *ServiceContext {
454 if x != nil {
455 return x.ServiceContext
456 }
457 return nil
458 }
459
460 func (x *ErrorLog) GetContext() *ErrorContext {
461 if x != nil {
462 return x.Context
463 }
464 return nil
465 }
466
467 func (x *ErrorLog) GetMessage() string {
468 if x != nil {
469 return x.Message
470 }
471 return ""
472 }
473
474 func (x *ErrorLog) GetStatus() *status.Status {
475 if x != nil {
476 return x.Status
477 }
478 return nil
479 }
480
481 func (x *ErrorLog) GetRequestPayload() *structpb.Struct {
482 if x != nil {
483 return x.RequestPayload
484 }
485 return nil
486 }
487
488 func (x *ErrorLog) GetResponsePayload() *structpb.Struct {
489 if x != nil {
490 return x.ResponsePayload
491 }
492 return nil
493 }
494
495 func (x *ErrorLog) GetImportPayload() *ImportErrorContext {
496 if x != nil {
497 return x.ImportPayload
498 }
499 return nil
500 }
501
502 var File_google_cloud_retail_logging_error_log_proto protoreflect.FileDescriptor
503
504 var file_google_cloud_retail_logging_error_log_proto_rawDesc = []byte{
505 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
506 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x65, 0x72,
507 0x72, 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67,
508 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
509 0x69, 0x6c, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
510 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75,
511 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
512 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
513 0x6f, 0x22, 0x2a, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74,
514 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01,
515 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x46, 0x0a,
516 0x12, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74,
517 0x65, 0x78, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f,
518 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
519 0x05, 0x52, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
520 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x35, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c,
521 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74,
522 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
523 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb8, 0x01, 0x0a,
524 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x52, 0x0a,
525 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20,
526 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
527 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
528 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e,
529 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
530 0x74, 0x12, 0x54, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61,
531 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f,
532 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
533 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c,
534 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c,
535 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe9, 0x01, 0x0a, 0x12, 0x49, 0x6d, 0x70, 0x6f,
536 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x25,
537 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
538 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
539 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x63, 0x73, 0x5f, 0x70, 0x61, 0x74,
540 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x63, 0x73, 0x50, 0x61, 0x74, 0x68,
541 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
542 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65,
543 0x72, 0x12, 0x23, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x74, 0x65,
544 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c,
545 0x6f, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
546 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75,
547 0x63, 0x74, 0x12, 0x1f, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74,
548 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x76,
549 0x65, 0x6e, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
550 0x65, 0x6e, 0x74, 0x22, 0xc9, 0x03, 0x0a, 0x08, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67,
551 0x12, 0x54, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
552 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
553 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e,
554 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43,
555 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43,
556 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x43, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
557 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
558 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x6c, 0x6f,
559 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65,
560 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d,
561 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
562 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
563 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72,
564 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
565 0x73, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79,
566 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f,
567 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
568 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6c,
569 0x6f, 0x61, 0x64, 0x12, 0x42, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f,
570 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
571 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
572 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
573 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x56, 0x0a, 0x0e, 0x69, 0x6d, 0x70, 0x6f, 0x72,
574 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
575 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
576 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x49, 0x6d,
577 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
578 0x52, 0x0d, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42,
579 0xdc, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
580 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
581 0x69, 0x6e, 0x67, 0x42, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f,
582 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
583 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
584 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
585 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
586 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49,
587 0x4c, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
588 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xca,
589 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52,
590 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xea, 0x02, 0x1e,
591 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52,
592 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06,
593 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
594 }
595
596 var (
597 file_google_cloud_retail_logging_error_log_proto_rawDescOnce sync.Once
598 file_google_cloud_retail_logging_error_log_proto_rawDescData = file_google_cloud_retail_logging_error_log_proto_rawDesc
599 )
600
601 func file_google_cloud_retail_logging_error_log_proto_rawDescGZIP() []byte {
602 file_google_cloud_retail_logging_error_log_proto_rawDescOnce.Do(func() {
603 file_google_cloud_retail_logging_error_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_logging_error_log_proto_rawDescData)
604 })
605 return file_google_cloud_retail_logging_error_log_proto_rawDescData
606 }
607
608 var file_google_cloud_retail_logging_error_log_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
609 var file_google_cloud_retail_logging_error_log_proto_goTypes = []interface{}{
610 (*ServiceContext)(nil),
611 (*HttpRequestContext)(nil),
612 (*SourceLocation)(nil),
613 (*ErrorContext)(nil),
614 (*ImportErrorContext)(nil),
615 (*ErrorLog)(nil),
616 (*status.Status)(nil),
617 (*structpb.Struct)(nil),
618 }
619 var file_google_cloud_retail_logging_error_log_proto_depIdxs = []int32{
620 1,
621 2,
622 0,
623 3,
624 6,
625 7,
626 7,
627 4,
628 8,
629 8,
630 8,
631 8,
632 0,
633 }
634
635 func init() { file_google_cloud_retail_logging_error_log_proto_init() }
636 func file_google_cloud_retail_logging_error_log_proto_init() {
637 if File_google_cloud_retail_logging_error_log_proto != nil {
638 return
639 }
640 if !protoimpl.UnsafeEnabled {
641 file_google_cloud_retail_logging_error_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
642 switch v := v.(*ServiceContext); i {
643 case 0:
644 return &v.state
645 case 1:
646 return &v.sizeCache
647 case 2:
648 return &v.unknownFields
649 default:
650 return nil
651 }
652 }
653 file_google_cloud_retail_logging_error_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
654 switch v := v.(*HttpRequestContext); i {
655 case 0:
656 return &v.state
657 case 1:
658 return &v.sizeCache
659 case 2:
660 return &v.unknownFields
661 default:
662 return nil
663 }
664 }
665 file_google_cloud_retail_logging_error_log_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
666 switch v := v.(*SourceLocation); i {
667 case 0:
668 return &v.state
669 case 1:
670 return &v.sizeCache
671 case 2:
672 return &v.unknownFields
673 default:
674 return nil
675 }
676 }
677 file_google_cloud_retail_logging_error_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
678 switch v := v.(*ErrorContext); i {
679 case 0:
680 return &v.state
681 case 1:
682 return &v.sizeCache
683 case 2:
684 return &v.unknownFields
685 default:
686 return nil
687 }
688 }
689 file_google_cloud_retail_logging_error_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
690 switch v := v.(*ImportErrorContext); i {
691 case 0:
692 return &v.state
693 case 1:
694 return &v.sizeCache
695 case 2:
696 return &v.unknownFields
697 default:
698 return nil
699 }
700 }
701 file_google_cloud_retail_logging_error_log_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
702 switch v := v.(*ErrorLog); i {
703 case 0:
704 return &v.state
705 case 1:
706 return &v.sizeCache
707 case 2:
708 return &v.unknownFields
709 default:
710 return nil
711 }
712 }
713 }
714 file_google_cloud_retail_logging_error_log_proto_msgTypes[4].OneofWrappers = []interface{}{
715 (*ImportErrorContext_CatalogItem)(nil),
716 (*ImportErrorContext_Product)(nil),
717 (*ImportErrorContext_UserEvent)(nil),
718 }
719 type x struct{}
720 out := protoimpl.TypeBuilder{
721 File: protoimpl.DescBuilder{
722 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
723 RawDescriptor: file_google_cloud_retail_logging_error_log_proto_rawDesc,
724 NumEnums: 0,
725 NumMessages: 6,
726 NumExtensions: 0,
727 NumServices: 0,
728 },
729 GoTypes: file_google_cloud_retail_logging_error_log_proto_goTypes,
730 DependencyIndexes: file_google_cloud_retail_logging_error_log_proto_depIdxs,
731 MessageInfos: file_google_cloud_retail_logging_error_log_proto_msgTypes,
732 }.Build()
733 File_google_cloud_retail_logging_error_log_proto = out.File
734 file_google_cloud_retail_logging_error_log_proto_rawDesc = nil
735 file_google_cloud_retail_logging_error_log_proto_goTypes = nil
736 file_google_cloud_retail_logging_error_log_proto_depIdxs = nil
737 }
738
View as plain text