github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/proto/debug/debug.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: debug/debug.proto 3 4 package debug 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 grpc "google.golang.org/grpc" 11 math "math" 12 ) 13 14 // Reference imports to suppress errors if they are not otherwise used. 15 var _ = proto.Marshal 16 var _ = fmt.Errorf 17 var _ = math.Inf 18 19 // This is a compile-time assertion to ensure that this generated file 20 // is compatible with the proto package it is being compiled against. 21 // A compilation error at this line likely means your copy of the 22 // proto package needs to be updated. 23 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 24 25 type SpanType int32 26 27 const ( 28 SpanType_INBOUND SpanType = 0 29 SpanType_OUTBOUND SpanType = 1 30 ) 31 32 var SpanType_name = map[int32]string{ 33 0: "INBOUND", 34 1: "OUTBOUND", 35 } 36 37 var SpanType_value = map[string]int32{ 38 "INBOUND": 0, 39 "OUTBOUND": 1, 40 } 41 42 func (x SpanType) String() string { 43 return proto.EnumName(SpanType_name, int32(x)) 44 } 45 46 func (SpanType) EnumDescriptor() ([]byte, []int) { 47 return fileDescriptor_5ae24eab94cb53d5, []int{0} 48 } 49 50 type HealthRequest struct { 51 XXX_NoUnkeyedLiteral struct{} `json:"-"` 52 XXX_unrecognized []byte `json:"-"` 53 XXX_sizecache int32 `json:"-"` 54 } 55 56 func (m *HealthRequest) Reset() { *m = HealthRequest{} } 57 func (m *HealthRequest) String() string { return proto.CompactTextString(m) } 58 func (*HealthRequest) ProtoMessage() {} 59 func (*HealthRequest) Descriptor() ([]byte, []int) { 60 return fileDescriptor_5ae24eab94cb53d5, []int{0} 61 } 62 63 func (m *HealthRequest) XXX_Unmarshal(b []byte) error { 64 return xxx_messageInfo_HealthRequest.Unmarshal(m, b) 65 } 66 func (m *HealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 67 return xxx_messageInfo_HealthRequest.Marshal(b, m, deterministic) 68 } 69 func (m *HealthRequest) XXX_Merge(src proto.Message) { 70 xxx_messageInfo_HealthRequest.Merge(m, src) 71 } 72 func (m *HealthRequest) XXX_Size() int { 73 return xxx_messageInfo_HealthRequest.Size(m) 74 } 75 func (m *HealthRequest) XXX_DiscardUnknown() { 76 xxx_messageInfo_HealthRequest.DiscardUnknown(m) 77 } 78 79 var xxx_messageInfo_HealthRequest proto.InternalMessageInfo 80 81 type HealthResponse struct { 82 // default: ok 83 Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` 84 XXX_NoUnkeyedLiteral struct{} `json:"-"` 85 XXX_unrecognized []byte `json:"-"` 86 XXX_sizecache int32 `json:"-"` 87 } 88 89 func (m *HealthResponse) Reset() { *m = HealthResponse{} } 90 func (m *HealthResponse) String() string { return proto.CompactTextString(m) } 91 func (*HealthResponse) ProtoMessage() {} 92 func (*HealthResponse) Descriptor() ([]byte, []int) { 93 return fileDescriptor_5ae24eab94cb53d5, []int{1} 94 } 95 96 func (m *HealthResponse) XXX_Unmarshal(b []byte) error { 97 return xxx_messageInfo_HealthResponse.Unmarshal(m, b) 98 } 99 func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 100 return xxx_messageInfo_HealthResponse.Marshal(b, m, deterministic) 101 } 102 func (m *HealthResponse) XXX_Merge(src proto.Message) { 103 xxx_messageInfo_HealthResponse.Merge(m, src) 104 } 105 func (m *HealthResponse) XXX_Size() int { 106 return xxx_messageInfo_HealthResponse.Size(m) 107 } 108 func (m *HealthResponse) XXX_DiscardUnknown() { 109 xxx_messageInfo_HealthResponse.DiscardUnknown(m) 110 } 111 112 var xxx_messageInfo_HealthResponse proto.InternalMessageInfo 113 114 func (m *HealthResponse) GetStatus() string { 115 if m != nil { 116 return m.Status 117 } 118 return "" 119 } 120 121 type StatsRequest struct { 122 XXX_NoUnkeyedLiteral struct{} `json:"-"` 123 XXX_unrecognized []byte `json:"-"` 124 XXX_sizecache int32 `json:"-"` 125 } 126 127 func (m *StatsRequest) Reset() { *m = StatsRequest{} } 128 func (m *StatsRequest) String() string { return proto.CompactTextString(m) } 129 func (*StatsRequest) ProtoMessage() {} 130 func (*StatsRequest) Descriptor() ([]byte, []int) { 131 return fileDescriptor_5ae24eab94cb53d5, []int{2} 132 } 133 134 func (m *StatsRequest) XXX_Unmarshal(b []byte) error { 135 return xxx_messageInfo_StatsRequest.Unmarshal(m, b) 136 } 137 func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 138 return xxx_messageInfo_StatsRequest.Marshal(b, m, deterministic) 139 } 140 func (m *StatsRequest) XXX_Merge(src proto.Message) { 141 xxx_messageInfo_StatsRequest.Merge(m, src) 142 } 143 func (m *StatsRequest) XXX_Size() int { 144 return xxx_messageInfo_StatsRequest.Size(m) 145 } 146 func (m *StatsRequest) XXX_DiscardUnknown() { 147 xxx_messageInfo_StatsRequest.DiscardUnknown(m) 148 } 149 150 var xxx_messageInfo_StatsRequest proto.InternalMessageInfo 151 152 type StatsResponse struct { 153 // timestamp of recording 154 Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 155 // unix timestamp 156 Started uint64 `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"` 157 // in seconds 158 Uptime uint64 `protobuf:"varint,3,opt,name=uptime,proto3" json:"uptime,omitempty"` 159 // in bytes 160 Memory uint64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"` 161 // num threads 162 Threads uint64 `protobuf:"varint,5,opt,name=threads,proto3" json:"threads,omitempty"` 163 // total gc in nanoseconds 164 Gc uint64 `protobuf:"varint,6,opt,name=gc,proto3" json:"gc,omitempty"` 165 // total number of requests 166 Requests uint64 `protobuf:"varint,7,opt,name=requests,proto3" json:"requests,omitempty"` 167 // total number of errors 168 Errors uint64 `protobuf:"varint,8,opt,name=errors,proto3" json:"errors,omitempty"` 169 XXX_NoUnkeyedLiteral struct{} `json:"-"` 170 XXX_unrecognized []byte `json:"-"` 171 XXX_sizecache int32 `json:"-"` 172 } 173 174 func (m *StatsResponse) Reset() { *m = StatsResponse{} } 175 func (m *StatsResponse) String() string { return proto.CompactTextString(m) } 176 func (*StatsResponse) ProtoMessage() {} 177 func (*StatsResponse) Descriptor() ([]byte, []int) { 178 return fileDescriptor_5ae24eab94cb53d5, []int{3} 179 } 180 181 func (m *StatsResponse) XXX_Unmarshal(b []byte) error { 182 return xxx_messageInfo_StatsResponse.Unmarshal(m, b) 183 } 184 func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 185 return xxx_messageInfo_StatsResponse.Marshal(b, m, deterministic) 186 } 187 func (m *StatsResponse) XXX_Merge(src proto.Message) { 188 xxx_messageInfo_StatsResponse.Merge(m, src) 189 } 190 func (m *StatsResponse) XXX_Size() int { 191 return xxx_messageInfo_StatsResponse.Size(m) 192 } 193 func (m *StatsResponse) XXX_DiscardUnknown() { 194 xxx_messageInfo_StatsResponse.DiscardUnknown(m) 195 } 196 197 var xxx_messageInfo_StatsResponse proto.InternalMessageInfo 198 199 func (m *StatsResponse) GetTimestamp() uint64 { 200 if m != nil { 201 return m.Timestamp 202 } 203 return 0 204 } 205 206 func (m *StatsResponse) GetStarted() uint64 { 207 if m != nil { 208 return m.Started 209 } 210 return 0 211 } 212 213 func (m *StatsResponse) GetUptime() uint64 { 214 if m != nil { 215 return m.Uptime 216 } 217 return 0 218 } 219 220 func (m *StatsResponse) GetMemory() uint64 { 221 if m != nil { 222 return m.Memory 223 } 224 return 0 225 } 226 227 func (m *StatsResponse) GetThreads() uint64 { 228 if m != nil { 229 return m.Threads 230 } 231 return 0 232 } 233 234 func (m *StatsResponse) GetGc() uint64 { 235 if m != nil { 236 return m.Gc 237 } 238 return 0 239 } 240 241 func (m *StatsResponse) GetRequests() uint64 { 242 if m != nil { 243 return m.Requests 244 } 245 return 0 246 } 247 248 func (m *StatsResponse) GetErrors() uint64 { 249 if m != nil { 250 return m.Errors 251 } 252 return 0 253 } 254 255 // LogRequest requests service logs 256 type LogRequest struct { 257 // count of records to request 258 Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` 259 // relative time in seconds 260 // before the current time 261 // from which to show logs 262 Since int64 `protobuf:"varint,2,opt,name=since,proto3" json:"since,omitempty"` 263 XXX_NoUnkeyedLiteral struct{} `json:"-"` 264 XXX_unrecognized []byte `json:"-"` 265 XXX_sizecache int32 `json:"-"` 266 } 267 268 func (m *LogRequest) Reset() { *m = LogRequest{} } 269 func (m *LogRequest) String() string { return proto.CompactTextString(m) } 270 func (*LogRequest) ProtoMessage() {} 271 func (*LogRequest) Descriptor() ([]byte, []int) { 272 return fileDescriptor_5ae24eab94cb53d5, []int{4} 273 } 274 275 func (m *LogRequest) XXX_Unmarshal(b []byte) error { 276 return xxx_messageInfo_LogRequest.Unmarshal(m, b) 277 } 278 func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 279 return xxx_messageInfo_LogRequest.Marshal(b, m, deterministic) 280 } 281 func (m *LogRequest) XXX_Merge(src proto.Message) { 282 xxx_messageInfo_LogRequest.Merge(m, src) 283 } 284 func (m *LogRequest) XXX_Size() int { 285 return xxx_messageInfo_LogRequest.Size(m) 286 } 287 func (m *LogRequest) XXX_DiscardUnknown() { 288 xxx_messageInfo_LogRequest.DiscardUnknown(m) 289 } 290 291 var xxx_messageInfo_LogRequest proto.InternalMessageInfo 292 293 func (m *LogRequest) GetCount() int64 { 294 if m != nil { 295 return m.Count 296 } 297 return 0 298 } 299 300 func (m *LogRequest) GetSince() int64 { 301 if m != nil { 302 return m.Since 303 } 304 return 0 305 } 306 307 // LogResponse returns a list of logs 308 type LogResponse struct { 309 Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` 310 XXX_NoUnkeyedLiteral struct{} `json:"-"` 311 XXX_unrecognized []byte `json:"-"` 312 XXX_sizecache int32 `json:"-"` 313 } 314 315 func (m *LogResponse) Reset() { *m = LogResponse{} } 316 func (m *LogResponse) String() string { return proto.CompactTextString(m) } 317 func (*LogResponse) ProtoMessage() {} 318 func (*LogResponse) Descriptor() ([]byte, []int) { 319 return fileDescriptor_5ae24eab94cb53d5, []int{5} 320 } 321 322 func (m *LogResponse) XXX_Unmarshal(b []byte) error { 323 return xxx_messageInfo_LogResponse.Unmarshal(m, b) 324 } 325 func (m *LogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 326 return xxx_messageInfo_LogResponse.Marshal(b, m, deterministic) 327 } 328 func (m *LogResponse) XXX_Merge(src proto.Message) { 329 xxx_messageInfo_LogResponse.Merge(m, src) 330 } 331 func (m *LogResponse) XXX_Size() int { 332 return xxx_messageInfo_LogResponse.Size(m) 333 } 334 func (m *LogResponse) XXX_DiscardUnknown() { 335 xxx_messageInfo_LogResponse.DiscardUnknown(m) 336 } 337 338 var xxx_messageInfo_LogResponse proto.InternalMessageInfo 339 340 func (m *LogResponse) GetRecords() []*Record { 341 if m != nil { 342 return m.Records 343 } 344 return nil 345 } 346 347 // Record is service log record 348 type Record struct { 349 // timestamp of log record 350 Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 351 // record metadata 352 Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 353 // message 354 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` 355 XXX_NoUnkeyedLiteral struct{} `json:"-"` 356 XXX_unrecognized []byte `json:"-"` 357 XXX_sizecache int32 `json:"-"` 358 } 359 360 func (m *Record) Reset() { *m = Record{} } 361 func (m *Record) String() string { return proto.CompactTextString(m) } 362 func (*Record) ProtoMessage() {} 363 func (*Record) Descriptor() ([]byte, []int) { 364 return fileDescriptor_5ae24eab94cb53d5, []int{6} 365 } 366 367 func (m *Record) XXX_Unmarshal(b []byte) error { 368 return xxx_messageInfo_Record.Unmarshal(m, b) 369 } 370 func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 371 return xxx_messageInfo_Record.Marshal(b, m, deterministic) 372 } 373 func (m *Record) XXX_Merge(src proto.Message) { 374 xxx_messageInfo_Record.Merge(m, src) 375 } 376 func (m *Record) XXX_Size() int { 377 return xxx_messageInfo_Record.Size(m) 378 } 379 func (m *Record) XXX_DiscardUnknown() { 380 xxx_messageInfo_Record.DiscardUnknown(m) 381 } 382 383 var xxx_messageInfo_Record proto.InternalMessageInfo 384 385 func (m *Record) GetTimestamp() int64 { 386 if m != nil { 387 return m.Timestamp 388 } 389 return 0 390 } 391 392 func (m *Record) GetMetadata() map[string]string { 393 if m != nil { 394 return m.Metadata 395 } 396 return nil 397 } 398 399 func (m *Record) GetMessage() string { 400 if m != nil { 401 return m.Message 402 } 403 return "" 404 } 405 406 type TraceRequest struct { 407 // trace id to retrieve 408 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 409 XXX_NoUnkeyedLiteral struct{} `json:"-"` 410 XXX_unrecognized []byte `json:"-"` 411 XXX_sizecache int32 `json:"-"` 412 } 413 414 func (m *TraceRequest) Reset() { *m = TraceRequest{} } 415 func (m *TraceRequest) String() string { return proto.CompactTextString(m) } 416 func (*TraceRequest) ProtoMessage() {} 417 func (*TraceRequest) Descriptor() ([]byte, []int) { 418 return fileDescriptor_5ae24eab94cb53d5, []int{7} 419 } 420 421 func (m *TraceRequest) XXX_Unmarshal(b []byte) error { 422 return xxx_messageInfo_TraceRequest.Unmarshal(m, b) 423 } 424 func (m *TraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 425 return xxx_messageInfo_TraceRequest.Marshal(b, m, deterministic) 426 } 427 func (m *TraceRequest) XXX_Merge(src proto.Message) { 428 xxx_messageInfo_TraceRequest.Merge(m, src) 429 } 430 func (m *TraceRequest) XXX_Size() int { 431 return xxx_messageInfo_TraceRequest.Size(m) 432 } 433 func (m *TraceRequest) XXX_DiscardUnknown() { 434 xxx_messageInfo_TraceRequest.DiscardUnknown(m) 435 } 436 437 var xxx_messageInfo_TraceRequest proto.InternalMessageInfo 438 439 func (m *TraceRequest) GetId() string { 440 if m != nil { 441 return m.Id 442 } 443 return "" 444 } 445 446 type TraceResponse struct { 447 Spans []*Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans,omitempty"` 448 XXX_NoUnkeyedLiteral struct{} `json:"-"` 449 XXX_unrecognized []byte `json:"-"` 450 XXX_sizecache int32 `json:"-"` 451 } 452 453 func (m *TraceResponse) Reset() { *m = TraceResponse{} } 454 func (m *TraceResponse) String() string { return proto.CompactTextString(m) } 455 func (*TraceResponse) ProtoMessage() {} 456 func (*TraceResponse) Descriptor() ([]byte, []int) { 457 return fileDescriptor_5ae24eab94cb53d5, []int{8} 458 } 459 460 func (m *TraceResponse) XXX_Unmarshal(b []byte) error { 461 return xxx_messageInfo_TraceResponse.Unmarshal(m, b) 462 } 463 func (m *TraceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 464 return xxx_messageInfo_TraceResponse.Marshal(b, m, deterministic) 465 } 466 func (m *TraceResponse) XXX_Merge(src proto.Message) { 467 xxx_messageInfo_TraceResponse.Merge(m, src) 468 } 469 func (m *TraceResponse) XXX_Size() int { 470 return xxx_messageInfo_TraceResponse.Size(m) 471 } 472 func (m *TraceResponse) XXX_DiscardUnknown() { 473 xxx_messageInfo_TraceResponse.DiscardUnknown(m) 474 } 475 476 var xxx_messageInfo_TraceResponse proto.InternalMessageInfo 477 478 func (m *TraceResponse) GetSpans() []*Span { 479 if m != nil { 480 return m.Spans 481 } 482 return nil 483 } 484 485 type Span struct { 486 // the trace id 487 Trace string `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"` 488 // id of the span 489 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 490 // parent span 491 Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` 492 // name of the resource 493 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 494 // time of start in nanoseconds 495 Started uint64 `protobuf:"varint,5,opt,name=started,proto3" json:"started,omitempty"` 496 // duration of the execution in nanoseconds 497 Duration uint64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` 498 // associated metadata 499 Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 500 Type SpanType `protobuf:"varint,8,opt,name=type,proto3,enum=debug.SpanType" json:"type,omitempty"` 501 XXX_NoUnkeyedLiteral struct{} `json:"-"` 502 XXX_unrecognized []byte `json:"-"` 503 XXX_sizecache int32 `json:"-"` 504 } 505 506 func (m *Span) Reset() { *m = Span{} } 507 func (m *Span) String() string { return proto.CompactTextString(m) } 508 func (*Span) ProtoMessage() {} 509 func (*Span) Descriptor() ([]byte, []int) { 510 return fileDescriptor_5ae24eab94cb53d5, []int{9} 511 } 512 513 func (m *Span) XXX_Unmarshal(b []byte) error { 514 return xxx_messageInfo_Span.Unmarshal(m, b) 515 } 516 func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 517 return xxx_messageInfo_Span.Marshal(b, m, deterministic) 518 } 519 func (m *Span) XXX_Merge(src proto.Message) { 520 xxx_messageInfo_Span.Merge(m, src) 521 } 522 func (m *Span) XXX_Size() int { 523 return xxx_messageInfo_Span.Size(m) 524 } 525 func (m *Span) XXX_DiscardUnknown() { 526 xxx_messageInfo_Span.DiscardUnknown(m) 527 } 528 529 var xxx_messageInfo_Span proto.InternalMessageInfo 530 531 func (m *Span) GetTrace() string { 532 if m != nil { 533 return m.Trace 534 } 535 return "" 536 } 537 538 func (m *Span) GetId() string { 539 if m != nil { 540 return m.Id 541 } 542 return "" 543 } 544 545 func (m *Span) GetParent() string { 546 if m != nil { 547 return m.Parent 548 } 549 return "" 550 } 551 552 func (m *Span) GetName() string { 553 if m != nil { 554 return m.Name 555 } 556 return "" 557 } 558 559 func (m *Span) GetStarted() uint64 { 560 if m != nil { 561 return m.Started 562 } 563 return 0 564 } 565 566 func (m *Span) GetDuration() uint64 { 567 if m != nil { 568 return m.Duration 569 } 570 return 0 571 } 572 573 func (m *Span) GetMetadata() map[string]string { 574 if m != nil { 575 return m.Metadata 576 } 577 return nil 578 } 579 580 func (m *Span) GetType() SpanType { 581 if m != nil { 582 return m.Type 583 } 584 return SpanType_INBOUND 585 } 586 587 func init() { 588 proto.RegisterEnum("debug.SpanType", SpanType_name, SpanType_value) 589 proto.RegisterType((*HealthRequest)(nil), "debug.HealthRequest") 590 proto.RegisterType((*HealthResponse)(nil), "debug.HealthResponse") 591 proto.RegisterType((*StatsRequest)(nil), "debug.StatsRequest") 592 proto.RegisterType((*StatsResponse)(nil), "debug.StatsResponse") 593 proto.RegisterType((*LogRequest)(nil), "debug.LogRequest") 594 proto.RegisterType((*LogResponse)(nil), "debug.LogResponse") 595 proto.RegisterType((*Record)(nil), "debug.Record") 596 proto.RegisterMapType((map[string]string)(nil), "debug.Record.MetadataEntry") 597 proto.RegisterType((*TraceRequest)(nil), "debug.TraceRequest") 598 proto.RegisterType((*TraceResponse)(nil), "debug.TraceResponse") 599 proto.RegisterType((*Span)(nil), "debug.Span") 600 proto.RegisterMapType((map[string]string)(nil), "debug.Span.MetadataEntry") 601 } 602 603 func init() { proto.RegisterFile("debug/debug.proto", fileDescriptor_5ae24eab94cb53d5) } 604 605 var fileDescriptor_5ae24eab94cb53d5 = []byte{ 606 // 623 bytes of a gzipped FileDescriptorProto 607 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xdd, 0x6e, 0xd3, 0x4c, 608 0x10, 0xad, 0xed, 0x38, 0x71, 0x26, 0x4d, 0xda, 0xee, 0xd7, 0x0f, 0x19, 0x83, 0x10, 0x18, 0x21, 609 0x2a, 0x10, 0xa9, 0x94, 0x02, 0xad, 0xe8, 0x5d, 0x55, 0x24, 0x90, 0x4a, 0x2b, 0x6d, 0xdb, 0x1b, 610 0xee, 0x36, 0xf6, 0xca, 0xb1, 0xa8, 0xbd, 0x66, 0x77, 0x5d, 0x29, 0x4f, 0xc4, 0x1b, 0xf0, 0x26, 611 0xdc, 0xf1, 0x30, 0x68, 0x7f, 0xec, 0xda, 0x20, 0xae, 0xb8, 0xb1, 0xf6, 0x9c, 0xf1, 0x99, 0x9d, 612 0x39, 0x3b, 0x1a, 0xd8, 0x49, 0xe9, 0xb2, 0xce, 0xf6, 0xf5, 0x77, 0x5e, 0x71, 0x26, 0x19, 0xf2, 613 0x35, 0x88, 0xb7, 0x60, 0xfa, 0x81, 0x92, 0x1b, 0xb9, 0xc2, 0xf4, 0x6b, 0x4d, 0x85, 0x8c, 0xf7, 614 0x60, 0xd6, 0x10, 0xa2, 0x62, 0xa5, 0xa0, 0xe8, 0x1e, 0x0c, 0x85, 0x24, 0xb2, 0x16, 0xa1, 0xf3, 615 0xd8, 0xd9, 0x1b, 0x63, 0x8b, 0xe2, 0x19, 0x6c, 0x5e, 0x4a, 0x22, 0x45, 0xa3, 0xfc, 0xe1, 0xc0, 616 0xd4, 0x12, 0x56, 0xf9, 0x10, 0xc6, 0x32, 0x2f, 0xa8, 0x90, 0xa4, 0xa8, 0xb4, 0x78, 0x80, 0xef, 617 0x08, 0x14, 0xc2, 0x48, 0x48, 0xc2, 0x25, 0x4d, 0x43, 0x57, 0xc7, 0x1a, 0xa8, 0x6e, 0xac, 0x2b, 618 0xf5, 0x63, 0xe8, 0xe9, 0x80, 0x45, 0x8a, 0x2f, 0x68, 0xc1, 0xf8, 0x3a, 0x1c, 0x18, 0xde, 0x20, 619 0x95, 0x49, 0xae, 0x38, 0x25, 0xa9, 0x08, 0x7d, 0x93, 0xc9, 0x42, 0x34, 0x03, 0x37, 0x4b, 0xc2, 620 0xa1, 0x26, 0xdd, 0x2c, 0x41, 0x11, 0x04, 0xdc, 0x94, 0x2b, 0xc2, 0x91, 0x66, 0x5b, 0xac, 0xb2, 621 0x53, 0xce, 0x19, 0x17, 0x61, 0x60, 0xb2, 0x1b, 0x14, 0x1f, 0x01, 0x9c, 0xb1, 0xcc, 0x76, 0x89, 622 0x76, 0xc1, 0x4f, 0x58, 0x5d, 0x4a, 0xdd, 0x8f, 0x87, 0x0d, 0x50, 0xac, 0xc8, 0xcb, 0x84, 0xea, 623 0x4e, 0x3c, 0x6c, 0x40, 0xfc, 0x16, 0x26, 0x5a, 0x69, 0xed, 0x78, 0x0e, 0x23, 0x4e, 0x13, 0xc6, 624 0x53, 0xe5, 0xa4, 0xb7, 0x37, 0x59, 0x4c, 0xe7, 0xe6, 0x45, 0xb0, 0x66, 0x71, 0x13, 0x8d, 0xbf, 625 0x3b, 0x30, 0x34, 0xdc, 0x9f, 0x16, 0x7a, 0x5d, 0x0b, 0x0f, 0x21, 0x28, 0xa8, 0x24, 0x29, 0x91, 626 0x24, 0x74, 0x75, 0xca, 0x07, 0xbd, 0x94, 0xf3, 0x4f, 0x36, 0xfa, 0xbe, 0x94, 0x7c, 0x8d, 0xdb, 627 0x9f, 0x95, 0x63, 0x05, 0x15, 0x82, 0x64, 0xc6, 0xe2, 0x31, 0x6e, 0x60, 0x74, 0x0c, 0xd3, 0x9e, 628 0x08, 0x6d, 0x83, 0xf7, 0x85, 0xae, 0xed, 0xdb, 0xab, 0xa3, 0x6a, 0xf6, 0x96, 0xdc, 0xd4, 0xa6, 629 0xd9, 0x31, 0x36, 0xe0, 0x9d, 0x7b, 0xe4, 0xc4, 0x8f, 0x60, 0xf3, 0x8a, 0x93, 0x84, 0x36, 0x66, 630 0xcd, 0xc0, 0xcd, 0x53, 0x2b, 0x75, 0xf3, 0x34, 0x5e, 0xc0, 0xd4, 0xc6, 0xad, 0x25, 0x4f, 0xc0, 631 0x17, 0x15, 0x29, 0x1b, 0x43, 0x26, 0xb6, 0xfa, 0xcb, 0x8a, 0x94, 0xd8, 0x44, 0xe2, 0x6f, 0x2e, 632 0x0c, 0x14, 0x56, 0xd7, 0x4a, 0x25, 0xb6, 0xf9, 0x0c, 0xb0, 0x57, 0xb8, 0xcd, 0x15, 0xea, 0x15, 633 0x2b, 0xc2, 0x69, 0x29, 0x6d, 0x63, 0x16, 0x21, 0x04, 0x83, 0x92, 0x14, 0x54, 0x4f, 0xce, 0x18, 634 0xeb, 0x73, 0x77, 0x02, 0xfd, 0xfe, 0x04, 0x46, 0x10, 0xa4, 0x35, 0x27, 0x32, 0x67, 0xa5, 0x9d, 635 0x9e, 0x16, 0xa3, 0x37, 0x1d, 0xd3, 0x47, 0xba, 0xec, 0xfb, 0x9d, 0xb2, 0xff, 0x6a, 0xf9, 0x53, 636 0x18, 0xc8, 0x75, 0x45, 0xf5, 0x70, 0xcd, 0x16, 0x5b, 0x1d, 0xc9, 0xd5, 0xba, 0xa2, 0x58, 0x07, 637 0xff, 0xc9, 0xfd, 0x17, 0xcf, 0x20, 0x68, 0xd2, 0xa1, 0x09, 0x8c, 0x3e, 0x9e, 0x9f, 0x5c, 0x5c, 638 0x9f, 0x9f, 0x6e, 0x6f, 0xa0, 0x4d, 0x08, 0x2e, 0xae, 0xaf, 0x0c, 0x72, 0x16, 0x3f, 0x1d, 0xf0, 639 0x4f, 0xd5, 0xe5, 0x68, 0x0e, 0xde, 0x19, 0xcb, 0xd0, 0x8e, 0xad, 0xe5, 0x6e, 0xca, 0x23, 0xd4, 640 0xa5, 0xcc, 0x5b, 0xc5, 0x1b, 0xe8, 0x10, 0x86, 0x66, 0x37, 0xa0, 0x5d, 0x1b, 0xef, 0xed, 0x8e, 641 0xe8, 0xff, 0xdf, 0xd8, 0x56, 0xf8, 0x1a, 0x7c, 0xbd, 0x19, 0xd0, 0x7f, 0x4d, 0xdb, 0x9d, 0xc5, 642 0x11, 0xed, 0xf6, 0xc9, 0xae, 0x4a, 0x4f, 0x4b, 0xab, 0xea, 0xce, 0x56, 0xab, 0xea, 0x0d, 0x54, 643 0xbc, 0x71, 0xf2, 0xea, 0xf3, 0xcb, 0x2c, 0x97, 0xab, 0x7a, 0x39, 0x4f, 0x58, 0xb1, 0x5f, 0xe4, 644 0x09, 0x67, 0xf6, 0x7b, 0x7b, 0x60, 0x36, 0xe0, 0xbe, 0xde, 0x80, 0xc7, 0xfa, 0xbc, 0x1c, 0x6a, 645 0x70, 0xf0, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x59, 0x82, 0x51, 0x15, 0x23, 0x05, 0x00, 0x00, 646 } 647 648 // Reference imports to suppress errors if they are not otherwise used. 649 var _ context.Context 650 var _ grpc.ClientConn 651 652 // This is a compile-time assertion to ensure that this generated file 653 // is compatible with the grpc package it is being compiled against. 654 const _ = grpc.SupportPackageIsVersion4 655 656 // DebugClient is the client API for Debug service. 657 // 658 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 659 type DebugClient interface { 660 Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*LogResponse, error) 661 Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error) 662 Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) 663 Trace(ctx context.Context, in *TraceRequest, opts ...grpc.CallOption) (*TraceResponse, error) 664 } 665 666 type debugClient struct { 667 cc *grpc.ClientConn 668 } 669 670 func NewDebugClient(cc *grpc.ClientConn) DebugClient { 671 return &debugClient{cc} 672 } 673 674 func (c *debugClient) Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*LogResponse, error) { 675 out := new(LogResponse) 676 err := c.cc.Invoke(ctx, "/debug.Debug/Log", in, out, opts...) 677 if err != nil { 678 return nil, err 679 } 680 return out, nil 681 } 682 683 func (c *debugClient) Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error) { 684 out := new(HealthResponse) 685 err := c.cc.Invoke(ctx, "/debug.Debug/Health", in, out, opts...) 686 if err != nil { 687 return nil, err 688 } 689 return out, nil 690 } 691 692 func (c *debugClient) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) { 693 out := new(StatsResponse) 694 err := c.cc.Invoke(ctx, "/debug.Debug/Stats", in, out, opts...) 695 if err != nil { 696 return nil, err 697 } 698 return out, nil 699 } 700 701 func (c *debugClient) Trace(ctx context.Context, in *TraceRequest, opts ...grpc.CallOption) (*TraceResponse, error) { 702 out := new(TraceResponse) 703 err := c.cc.Invoke(ctx, "/debug.Debug/Trace", in, out, opts...) 704 if err != nil { 705 return nil, err 706 } 707 return out, nil 708 } 709 710 // DebugServer is the server API for Debug service. 711 type DebugServer interface { 712 Log(context.Context, *LogRequest) (*LogResponse, error) 713 Health(context.Context, *HealthRequest) (*HealthResponse, error) 714 Stats(context.Context, *StatsRequest) (*StatsResponse, error) 715 Trace(context.Context, *TraceRequest) (*TraceResponse, error) 716 } 717 718 func RegisterDebugServer(s *grpc.Server, srv DebugServer) { 719 s.RegisterService(&_Debug_serviceDesc, srv) 720 } 721 722 func _Debug_Log_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 723 in := new(LogRequest) 724 if err := dec(in); err != nil { 725 return nil, err 726 } 727 if interceptor == nil { 728 return srv.(DebugServer).Log(ctx, in) 729 } 730 info := &grpc.UnaryServerInfo{ 731 Server: srv, 732 FullMethod: "/debug.Debug/Log", 733 } 734 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 735 return srv.(DebugServer).Log(ctx, req.(*LogRequest)) 736 } 737 return interceptor(ctx, in, info, handler) 738 } 739 740 func _Debug_Health_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 741 in := new(HealthRequest) 742 if err := dec(in); err != nil { 743 return nil, err 744 } 745 if interceptor == nil { 746 return srv.(DebugServer).Health(ctx, in) 747 } 748 info := &grpc.UnaryServerInfo{ 749 Server: srv, 750 FullMethod: "/debug.Debug/Health", 751 } 752 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 753 return srv.(DebugServer).Health(ctx, req.(*HealthRequest)) 754 } 755 return interceptor(ctx, in, info, handler) 756 } 757 758 func _Debug_Stats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 759 in := new(StatsRequest) 760 if err := dec(in); err != nil { 761 return nil, err 762 } 763 if interceptor == nil { 764 return srv.(DebugServer).Stats(ctx, in) 765 } 766 info := &grpc.UnaryServerInfo{ 767 Server: srv, 768 FullMethod: "/debug.Debug/Stats", 769 } 770 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 771 return srv.(DebugServer).Stats(ctx, req.(*StatsRequest)) 772 } 773 return interceptor(ctx, in, info, handler) 774 } 775 776 func _Debug_Trace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 777 in := new(TraceRequest) 778 if err := dec(in); err != nil { 779 return nil, err 780 } 781 if interceptor == nil { 782 return srv.(DebugServer).Trace(ctx, in) 783 } 784 info := &grpc.UnaryServerInfo{ 785 Server: srv, 786 FullMethod: "/debug.Debug/Trace", 787 } 788 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 789 return srv.(DebugServer).Trace(ctx, req.(*TraceRequest)) 790 } 791 return interceptor(ctx, in, info, handler) 792 } 793 794 var _Debug_serviceDesc = grpc.ServiceDesc{ 795 ServiceName: "debug.Debug", 796 HandlerType: (*DebugServer)(nil), 797 Methods: []grpc.MethodDesc{ 798 { 799 MethodName: "Log", 800 Handler: _Debug_Log_Handler, 801 }, 802 { 803 MethodName: "Health", 804 Handler: _Debug_Health_Handler, 805 }, 806 { 807 MethodName: "Stats", 808 Handler: _Debug_Stats_Handler, 809 }, 810 { 811 MethodName: "Trace", 812 Handler: _Debug_Trace_Handler, 813 }, 814 }, 815 Streams: []grpc.StreamDesc{}, 816 Metadata: "debug/debug.proto", 817 }