github.com/shrimpyuk/bor@v0.2.15-0.20220224151350-fb4ec6020bae/internal/cli/server/proto/server.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.17.3 5 // source: command/server/proto/server.proto 6 7 package proto 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 emptypb "google.golang.org/protobuf/types/known/emptypb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 type PprofRequest_Type int32 30 31 const ( 32 PprofRequest_LOOKUP PprofRequest_Type = 0 33 PprofRequest_CPU PprofRequest_Type = 1 34 PprofRequest_TRACE PprofRequest_Type = 2 35 ) 36 37 // Enum value maps for PprofRequest_Type. 38 var ( 39 PprofRequest_Type_name = map[int32]string{ 40 0: "LOOKUP", 41 1: "CPU", 42 2: "TRACE", 43 } 44 PprofRequest_Type_value = map[string]int32{ 45 "LOOKUP": 0, 46 "CPU": 1, 47 "TRACE": 2, 48 } 49 ) 50 51 func (x PprofRequest_Type) Enum() *PprofRequest_Type { 52 p := new(PprofRequest_Type) 53 *p = x 54 return p 55 } 56 57 func (x PprofRequest_Type) String() string { 58 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 59 } 60 61 func (PprofRequest_Type) Descriptor() protoreflect.EnumDescriptor { 62 return file_command_server_proto_server_proto_enumTypes[0].Descriptor() 63 } 64 65 func (PprofRequest_Type) Type() protoreflect.EnumType { 66 return &file_command_server_proto_server_proto_enumTypes[0] 67 } 68 69 func (x PprofRequest_Type) Number() protoreflect.EnumNumber { 70 return protoreflect.EnumNumber(x) 71 } 72 73 // Deprecated: Use PprofRequest_Type.Descriptor instead. 74 func (PprofRequest_Type) EnumDescriptor() ([]byte, []int) { 75 return file_command_server_proto_server_proto_rawDescGZIP(), []int{16, 0} 76 } 77 78 type ChainWatchRequest struct { 79 state protoimpl.MessageState 80 sizeCache protoimpl.SizeCache 81 unknownFields protoimpl.UnknownFields 82 } 83 84 func (x *ChainWatchRequest) Reset() { 85 *x = ChainWatchRequest{} 86 if protoimpl.UnsafeEnabled { 87 mi := &file_command_server_proto_server_proto_msgTypes[0] 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 ms.StoreMessageInfo(mi) 90 } 91 } 92 93 func (x *ChainWatchRequest) String() string { 94 return protoimpl.X.MessageStringOf(x) 95 } 96 97 func (*ChainWatchRequest) ProtoMessage() {} 98 99 func (x *ChainWatchRequest) ProtoReflect() protoreflect.Message { 100 mi := &file_command_server_proto_server_proto_msgTypes[0] 101 if protoimpl.UnsafeEnabled && x != nil { 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 if ms.LoadMessageInfo() == nil { 104 ms.StoreMessageInfo(mi) 105 } 106 return ms 107 } 108 return mi.MessageOf(x) 109 } 110 111 // Deprecated: Use ChainWatchRequest.ProtoReflect.Descriptor instead. 112 func (*ChainWatchRequest) Descriptor() ([]byte, []int) { 113 return file_command_server_proto_server_proto_rawDescGZIP(), []int{0} 114 } 115 116 type ChainWatchResponse struct { 117 state protoimpl.MessageState 118 sizeCache protoimpl.SizeCache 119 unknownFields protoimpl.UnknownFields 120 121 Oldchain []*BlockStub `protobuf:"bytes,1,rep,name=oldchain,proto3" json:"oldchain,omitempty"` 122 Newchain []*BlockStub `protobuf:"bytes,2,rep,name=newchain,proto3" json:"newchain,omitempty"` 123 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` 124 } 125 126 func (x *ChainWatchResponse) Reset() { 127 *x = ChainWatchResponse{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_command_server_proto_server_proto_msgTypes[1] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *ChainWatchResponse) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*ChainWatchResponse) ProtoMessage() {} 140 141 func (x *ChainWatchResponse) ProtoReflect() protoreflect.Message { 142 mi := &file_command_server_proto_server_proto_msgTypes[1] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151 } 152 153 // Deprecated: Use ChainWatchResponse.ProtoReflect.Descriptor instead. 154 func (*ChainWatchResponse) Descriptor() ([]byte, []int) { 155 return file_command_server_proto_server_proto_rawDescGZIP(), []int{1} 156 } 157 158 func (x *ChainWatchResponse) GetOldchain() []*BlockStub { 159 if x != nil { 160 return x.Oldchain 161 } 162 return nil 163 } 164 165 func (x *ChainWatchResponse) GetNewchain() []*BlockStub { 166 if x != nil { 167 return x.Newchain 168 } 169 return nil 170 } 171 172 func (x *ChainWatchResponse) GetType() string { 173 if x != nil { 174 return x.Type 175 } 176 return "" 177 } 178 179 type BlockStub struct { 180 state protoimpl.MessageState 181 sizeCache protoimpl.SizeCache 182 unknownFields protoimpl.UnknownFields 183 184 Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 185 Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` 186 } 187 188 func (x *BlockStub) Reset() { 189 *x = BlockStub{} 190 if protoimpl.UnsafeEnabled { 191 mi := &file_command_server_proto_server_proto_msgTypes[2] 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 ms.StoreMessageInfo(mi) 194 } 195 } 196 197 func (x *BlockStub) String() string { 198 return protoimpl.X.MessageStringOf(x) 199 } 200 201 func (*BlockStub) ProtoMessage() {} 202 203 func (x *BlockStub) ProtoReflect() protoreflect.Message { 204 mi := &file_command_server_proto_server_proto_msgTypes[2] 205 if protoimpl.UnsafeEnabled && x != nil { 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 if ms.LoadMessageInfo() == nil { 208 ms.StoreMessageInfo(mi) 209 } 210 return ms 211 } 212 return mi.MessageOf(x) 213 } 214 215 // Deprecated: Use BlockStub.ProtoReflect.Descriptor instead. 216 func (*BlockStub) Descriptor() ([]byte, []int) { 217 return file_command_server_proto_server_proto_rawDescGZIP(), []int{2} 218 } 219 220 func (x *BlockStub) GetHash() string { 221 if x != nil { 222 return x.Hash 223 } 224 return "" 225 } 226 227 func (x *BlockStub) GetNumber() uint64 { 228 if x != nil { 229 return x.Number 230 } 231 return 0 232 } 233 234 type PeersAddRequest struct { 235 state protoimpl.MessageState 236 sizeCache protoimpl.SizeCache 237 unknownFields protoimpl.UnknownFields 238 239 Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` 240 Trusted bool `protobuf:"varint,2,opt,name=trusted,proto3" json:"trusted,omitempty"` 241 } 242 243 func (x *PeersAddRequest) Reset() { 244 *x = PeersAddRequest{} 245 if protoimpl.UnsafeEnabled { 246 mi := &file_command_server_proto_server_proto_msgTypes[3] 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 ms.StoreMessageInfo(mi) 249 } 250 } 251 252 func (x *PeersAddRequest) String() string { 253 return protoimpl.X.MessageStringOf(x) 254 } 255 256 func (*PeersAddRequest) ProtoMessage() {} 257 258 func (x *PeersAddRequest) ProtoReflect() protoreflect.Message { 259 mi := &file_command_server_proto_server_proto_msgTypes[3] 260 if protoimpl.UnsafeEnabled && x != nil { 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 if ms.LoadMessageInfo() == nil { 263 ms.StoreMessageInfo(mi) 264 } 265 return ms 266 } 267 return mi.MessageOf(x) 268 } 269 270 // Deprecated: Use PeersAddRequest.ProtoReflect.Descriptor instead. 271 func (*PeersAddRequest) Descriptor() ([]byte, []int) { 272 return file_command_server_proto_server_proto_rawDescGZIP(), []int{3} 273 } 274 275 func (x *PeersAddRequest) GetEnode() string { 276 if x != nil { 277 return x.Enode 278 } 279 return "" 280 } 281 282 func (x *PeersAddRequest) GetTrusted() bool { 283 if x != nil { 284 return x.Trusted 285 } 286 return false 287 } 288 289 type PeersAddResponse struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 } 294 295 func (x *PeersAddResponse) Reset() { 296 *x = PeersAddResponse{} 297 if protoimpl.UnsafeEnabled { 298 mi := &file_command_server_proto_server_proto_msgTypes[4] 299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 300 ms.StoreMessageInfo(mi) 301 } 302 } 303 304 func (x *PeersAddResponse) String() string { 305 return protoimpl.X.MessageStringOf(x) 306 } 307 308 func (*PeersAddResponse) ProtoMessage() {} 309 310 func (x *PeersAddResponse) ProtoReflect() protoreflect.Message { 311 mi := &file_command_server_proto_server_proto_msgTypes[4] 312 if protoimpl.UnsafeEnabled && x != nil { 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 if ms.LoadMessageInfo() == nil { 315 ms.StoreMessageInfo(mi) 316 } 317 return ms 318 } 319 return mi.MessageOf(x) 320 } 321 322 // Deprecated: Use PeersAddResponse.ProtoReflect.Descriptor instead. 323 func (*PeersAddResponse) Descriptor() ([]byte, []int) { 324 return file_command_server_proto_server_proto_rawDescGZIP(), []int{4} 325 } 326 327 type PeersRemoveRequest struct { 328 state protoimpl.MessageState 329 sizeCache protoimpl.SizeCache 330 unknownFields protoimpl.UnknownFields 331 332 Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` 333 Trusted bool `protobuf:"varint,2,opt,name=trusted,proto3" json:"trusted,omitempty"` 334 } 335 336 func (x *PeersRemoveRequest) Reset() { 337 *x = PeersRemoveRequest{} 338 if protoimpl.UnsafeEnabled { 339 mi := &file_command_server_proto_server_proto_msgTypes[5] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 } 344 345 func (x *PeersRemoveRequest) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*PeersRemoveRequest) ProtoMessage() {} 350 351 func (x *PeersRemoveRequest) ProtoReflect() protoreflect.Message { 352 mi := &file_command_server_proto_server_proto_msgTypes[5] 353 if protoimpl.UnsafeEnabled && x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use PeersRemoveRequest.ProtoReflect.Descriptor instead. 364 func (*PeersRemoveRequest) Descriptor() ([]byte, []int) { 365 return file_command_server_proto_server_proto_rawDescGZIP(), []int{5} 366 } 367 368 func (x *PeersRemoveRequest) GetEnode() string { 369 if x != nil { 370 return x.Enode 371 } 372 return "" 373 } 374 375 func (x *PeersRemoveRequest) GetTrusted() bool { 376 if x != nil { 377 return x.Trusted 378 } 379 return false 380 } 381 382 type PeersRemoveResponse struct { 383 state protoimpl.MessageState 384 sizeCache protoimpl.SizeCache 385 unknownFields protoimpl.UnknownFields 386 } 387 388 func (x *PeersRemoveResponse) Reset() { 389 *x = PeersRemoveResponse{} 390 if protoimpl.UnsafeEnabled { 391 mi := &file_command_server_proto_server_proto_msgTypes[6] 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 ms.StoreMessageInfo(mi) 394 } 395 } 396 397 func (x *PeersRemoveResponse) String() string { 398 return protoimpl.X.MessageStringOf(x) 399 } 400 401 func (*PeersRemoveResponse) ProtoMessage() {} 402 403 func (x *PeersRemoveResponse) ProtoReflect() protoreflect.Message { 404 mi := &file_command_server_proto_server_proto_msgTypes[6] 405 if protoimpl.UnsafeEnabled && x != nil { 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 if ms.LoadMessageInfo() == nil { 408 ms.StoreMessageInfo(mi) 409 } 410 return ms 411 } 412 return mi.MessageOf(x) 413 } 414 415 // Deprecated: Use PeersRemoveResponse.ProtoReflect.Descriptor instead. 416 func (*PeersRemoveResponse) Descriptor() ([]byte, []int) { 417 return file_command_server_proto_server_proto_rawDescGZIP(), []int{6} 418 } 419 420 type PeersListRequest struct { 421 state protoimpl.MessageState 422 sizeCache protoimpl.SizeCache 423 unknownFields protoimpl.UnknownFields 424 } 425 426 func (x *PeersListRequest) Reset() { 427 *x = PeersListRequest{} 428 if protoimpl.UnsafeEnabled { 429 mi := &file_command_server_proto_server_proto_msgTypes[7] 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 ms.StoreMessageInfo(mi) 432 } 433 } 434 435 func (x *PeersListRequest) String() string { 436 return protoimpl.X.MessageStringOf(x) 437 } 438 439 func (*PeersListRequest) ProtoMessage() {} 440 441 func (x *PeersListRequest) ProtoReflect() protoreflect.Message { 442 mi := &file_command_server_proto_server_proto_msgTypes[7] 443 if protoimpl.UnsafeEnabled && x != nil { 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 if ms.LoadMessageInfo() == nil { 446 ms.StoreMessageInfo(mi) 447 } 448 return ms 449 } 450 return mi.MessageOf(x) 451 } 452 453 // Deprecated: Use PeersListRequest.ProtoReflect.Descriptor instead. 454 func (*PeersListRequest) Descriptor() ([]byte, []int) { 455 return file_command_server_proto_server_proto_rawDescGZIP(), []int{7} 456 } 457 458 type PeersListResponse struct { 459 state protoimpl.MessageState 460 sizeCache protoimpl.SizeCache 461 unknownFields protoimpl.UnknownFields 462 463 Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` 464 } 465 466 func (x *PeersListResponse) Reset() { 467 *x = PeersListResponse{} 468 if protoimpl.UnsafeEnabled { 469 mi := &file_command_server_proto_server_proto_msgTypes[8] 470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 471 ms.StoreMessageInfo(mi) 472 } 473 } 474 475 func (x *PeersListResponse) String() string { 476 return protoimpl.X.MessageStringOf(x) 477 } 478 479 func (*PeersListResponse) ProtoMessage() {} 480 481 func (x *PeersListResponse) ProtoReflect() protoreflect.Message { 482 mi := &file_command_server_proto_server_proto_msgTypes[8] 483 if protoimpl.UnsafeEnabled && x != nil { 484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 485 if ms.LoadMessageInfo() == nil { 486 ms.StoreMessageInfo(mi) 487 } 488 return ms 489 } 490 return mi.MessageOf(x) 491 } 492 493 // Deprecated: Use PeersListResponse.ProtoReflect.Descriptor instead. 494 func (*PeersListResponse) Descriptor() ([]byte, []int) { 495 return file_command_server_proto_server_proto_rawDescGZIP(), []int{8} 496 } 497 498 func (x *PeersListResponse) GetPeers() []*Peer { 499 if x != nil { 500 return x.Peers 501 } 502 return nil 503 } 504 505 type PeersStatusRequest struct { 506 state protoimpl.MessageState 507 sizeCache protoimpl.SizeCache 508 unknownFields protoimpl.UnknownFields 509 510 Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` 511 } 512 513 func (x *PeersStatusRequest) Reset() { 514 *x = PeersStatusRequest{} 515 if protoimpl.UnsafeEnabled { 516 mi := &file_command_server_proto_server_proto_msgTypes[9] 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 ms.StoreMessageInfo(mi) 519 } 520 } 521 522 func (x *PeersStatusRequest) String() string { 523 return protoimpl.X.MessageStringOf(x) 524 } 525 526 func (*PeersStatusRequest) ProtoMessage() {} 527 528 func (x *PeersStatusRequest) ProtoReflect() protoreflect.Message { 529 mi := &file_command_server_proto_server_proto_msgTypes[9] 530 if protoimpl.UnsafeEnabled && x != nil { 531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 532 if ms.LoadMessageInfo() == nil { 533 ms.StoreMessageInfo(mi) 534 } 535 return ms 536 } 537 return mi.MessageOf(x) 538 } 539 540 // Deprecated: Use PeersStatusRequest.ProtoReflect.Descriptor instead. 541 func (*PeersStatusRequest) Descriptor() ([]byte, []int) { 542 return file_command_server_proto_server_proto_rawDescGZIP(), []int{9} 543 } 544 545 func (x *PeersStatusRequest) GetEnode() string { 546 if x != nil { 547 return x.Enode 548 } 549 return "" 550 } 551 552 type PeersStatusResponse struct { 553 state protoimpl.MessageState 554 sizeCache protoimpl.SizeCache 555 unknownFields protoimpl.UnknownFields 556 557 Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` 558 } 559 560 func (x *PeersStatusResponse) Reset() { 561 *x = PeersStatusResponse{} 562 if protoimpl.UnsafeEnabled { 563 mi := &file_command_server_proto_server_proto_msgTypes[10] 564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 565 ms.StoreMessageInfo(mi) 566 } 567 } 568 569 func (x *PeersStatusResponse) String() string { 570 return protoimpl.X.MessageStringOf(x) 571 } 572 573 func (*PeersStatusResponse) ProtoMessage() {} 574 575 func (x *PeersStatusResponse) ProtoReflect() protoreflect.Message { 576 mi := &file_command_server_proto_server_proto_msgTypes[10] 577 if protoimpl.UnsafeEnabled && x != nil { 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 if ms.LoadMessageInfo() == nil { 580 ms.StoreMessageInfo(mi) 581 } 582 return ms 583 } 584 return mi.MessageOf(x) 585 } 586 587 // Deprecated: Use PeersStatusResponse.ProtoReflect.Descriptor instead. 588 func (*PeersStatusResponse) Descriptor() ([]byte, []int) { 589 return file_command_server_proto_server_proto_rawDescGZIP(), []int{10} 590 } 591 592 func (x *PeersStatusResponse) GetPeer() *Peer { 593 if x != nil { 594 return x.Peer 595 } 596 return nil 597 } 598 599 type Peer struct { 600 state protoimpl.MessageState 601 sizeCache protoimpl.SizeCache 602 unknownFields protoimpl.UnknownFields 603 604 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 605 Enode string `protobuf:"bytes,2,opt,name=enode,proto3" json:"enode,omitempty"` 606 Enr string `protobuf:"bytes,3,opt,name=enr,proto3" json:"enr,omitempty"` 607 Caps []string `protobuf:"bytes,4,rep,name=caps,proto3" json:"caps,omitempty"` 608 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` 609 Trusted bool `protobuf:"varint,6,opt,name=trusted,proto3" json:"trusted,omitempty"` 610 Static bool `protobuf:"varint,7,opt,name=static,proto3" json:"static,omitempty"` 611 } 612 613 func (x *Peer) Reset() { 614 *x = Peer{} 615 if protoimpl.UnsafeEnabled { 616 mi := &file_command_server_proto_server_proto_msgTypes[11] 617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 618 ms.StoreMessageInfo(mi) 619 } 620 } 621 622 func (x *Peer) String() string { 623 return protoimpl.X.MessageStringOf(x) 624 } 625 626 func (*Peer) ProtoMessage() {} 627 628 func (x *Peer) ProtoReflect() protoreflect.Message { 629 mi := &file_command_server_proto_server_proto_msgTypes[11] 630 if protoimpl.UnsafeEnabled && x != nil { 631 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 632 if ms.LoadMessageInfo() == nil { 633 ms.StoreMessageInfo(mi) 634 } 635 return ms 636 } 637 return mi.MessageOf(x) 638 } 639 640 // Deprecated: Use Peer.ProtoReflect.Descriptor instead. 641 func (*Peer) Descriptor() ([]byte, []int) { 642 return file_command_server_proto_server_proto_rawDescGZIP(), []int{11} 643 } 644 645 func (x *Peer) GetId() string { 646 if x != nil { 647 return x.Id 648 } 649 return "" 650 } 651 652 func (x *Peer) GetEnode() string { 653 if x != nil { 654 return x.Enode 655 } 656 return "" 657 } 658 659 func (x *Peer) GetEnr() string { 660 if x != nil { 661 return x.Enr 662 } 663 return "" 664 } 665 666 func (x *Peer) GetCaps() []string { 667 if x != nil { 668 return x.Caps 669 } 670 return nil 671 } 672 673 func (x *Peer) GetName() string { 674 if x != nil { 675 return x.Name 676 } 677 return "" 678 } 679 680 func (x *Peer) GetTrusted() bool { 681 if x != nil { 682 return x.Trusted 683 } 684 return false 685 } 686 687 func (x *Peer) GetStatic() bool { 688 if x != nil { 689 return x.Static 690 } 691 return false 692 } 693 694 type ChainSetHeadRequest struct { 695 state protoimpl.MessageState 696 sizeCache protoimpl.SizeCache 697 unknownFields protoimpl.UnknownFields 698 699 Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 700 } 701 702 func (x *ChainSetHeadRequest) Reset() { 703 *x = ChainSetHeadRequest{} 704 if protoimpl.UnsafeEnabled { 705 mi := &file_command_server_proto_server_proto_msgTypes[12] 706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 707 ms.StoreMessageInfo(mi) 708 } 709 } 710 711 func (x *ChainSetHeadRequest) String() string { 712 return protoimpl.X.MessageStringOf(x) 713 } 714 715 func (*ChainSetHeadRequest) ProtoMessage() {} 716 717 func (x *ChainSetHeadRequest) ProtoReflect() protoreflect.Message { 718 mi := &file_command_server_proto_server_proto_msgTypes[12] 719 if protoimpl.UnsafeEnabled && x != nil { 720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 721 if ms.LoadMessageInfo() == nil { 722 ms.StoreMessageInfo(mi) 723 } 724 return ms 725 } 726 return mi.MessageOf(x) 727 } 728 729 // Deprecated: Use ChainSetHeadRequest.ProtoReflect.Descriptor instead. 730 func (*ChainSetHeadRequest) Descriptor() ([]byte, []int) { 731 return file_command_server_proto_server_proto_rawDescGZIP(), []int{12} 732 } 733 734 func (x *ChainSetHeadRequest) GetNumber() uint64 { 735 if x != nil { 736 return x.Number 737 } 738 return 0 739 } 740 741 type ChainSetHeadResponse struct { 742 state protoimpl.MessageState 743 sizeCache protoimpl.SizeCache 744 unknownFields protoimpl.UnknownFields 745 } 746 747 func (x *ChainSetHeadResponse) Reset() { 748 *x = ChainSetHeadResponse{} 749 if protoimpl.UnsafeEnabled { 750 mi := &file_command_server_proto_server_proto_msgTypes[13] 751 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 752 ms.StoreMessageInfo(mi) 753 } 754 } 755 756 func (x *ChainSetHeadResponse) String() string { 757 return protoimpl.X.MessageStringOf(x) 758 } 759 760 func (*ChainSetHeadResponse) ProtoMessage() {} 761 762 func (x *ChainSetHeadResponse) ProtoReflect() protoreflect.Message { 763 mi := &file_command_server_proto_server_proto_msgTypes[13] 764 if protoimpl.UnsafeEnabled && x != nil { 765 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 766 if ms.LoadMessageInfo() == nil { 767 ms.StoreMessageInfo(mi) 768 } 769 return ms 770 } 771 return mi.MessageOf(x) 772 } 773 774 // Deprecated: Use ChainSetHeadResponse.ProtoReflect.Descriptor instead. 775 func (*ChainSetHeadResponse) Descriptor() ([]byte, []int) { 776 return file_command_server_proto_server_proto_rawDescGZIP(), []int{13} 777 } 778 779 type StatusResponse struct { 780 state protoimpl.MessageState 781 sizeCache protoimpl.SizeCache 782 unknownFields protoimpl.UnknownFields 783 784 CurrentBlock *Header `protobuf:"bytes,1,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"` 785 CurrentHeader *Header `protobuf:"bytes,2,opt,name=currentHeader,proto3" json:"currentHeader,omitempty"` 786 NumPeers int64 `protobuf:"varint,3,opt,name=numPeers,proto3" json:"numPeers,omitempty"` 787 SyncMode string `protobuf:"bytes,4,opt,name=syncMode,proto3" json:"syncMode,omitempty"` 788 Syncing *StatusResponse_Syncing `protobuf:"bytes,5,opt,name=syncing,proto3" json:"syncing,omitempty"` 789 Forks []*StatusResponse_Fork `protobuf:"bytes,6,rep,name=forks,proto3" json:"forks,omitempty"` 790 } 791 792 func (x *StatusResponse) Reset() { 793 *x = StatusResponse{} 794 if protoimpl.UnsafeEnabled { 795 mi := &file_command_server_proto_server_proto_msgTypes[14] 796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 797 ms.StoreMessageInfo(mi) 798 } 799 } 800 801 func (x *StatusResponse) String() string { 802 return protoimpl.X.MessageStringOf(x) 803 } 804 805 func (*StatusResponse) ProtoMessage() {} 806 807 func (x *StatusResponse) ProtoReflect() protoreflect.Message { 808 mi := &file_command_server_proto_server_proto_msgTypes[14] 809 if protoimpl.UnsafeEnabled && x != nil { 810 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 811 if ms.LoadMessageInfo() == nil { 812 ms.StoreMessageInfo(mi) 813 } 814 return ms 815 } 816 return mi.MessageOf(x) 817 } 818 819 // Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead. 820 func (*StatusResponse) Descriptor() ([]byte, []int) { 821 return file_command_server_proto_server_proto_rawDescGZIP(), []int{14} 822 } 823 824 func (x *StatusResponse) GetCurrentBlock() *Header { 825 if x != nil { 826 return x.CurrentBlock 827 } 828 return nil 829 } 830 831 func (x *StatusResponse) GetCurrentHeader() *Header { 832 if x != nil { 833 return x.CurrentHeader 834 } 835 return nil 836 } 837 838 func (x *StatusResponse) GetNumPeers() int64 { 839 if x != nil { 840 return x.NumPeers 841 } 842 return 0 843 } 844 845 func (x *StatusResponse) GetSyncMode() string { 846 if x != nil { 847 return x.SyncMode 848 } 849 return "" 850 } 851 852 func (x *StatusResponse) GetSyncing() *StatusResponse_Syncing { 853 if x != nil { 854 return x.Syncing 855 } 856 return nil 857 } 858 859 func (x *StatusResponse) GetForks() []*StatusResponse_Fork { 860 if x != nil { 861 return x.Forks 862 } 863 return nil 864 } 865 866 type Header struct { 867 state protoimpl.MessageState 868 sizeCache protoimpl.SizeCache 869 unknownFields protoimpl.UnknownFields 870 871 Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 872 Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` 873 } 874 875 func (x *Header) Reset() { 876 *x = Header{} 877 if protoimpl.UnsafeEnabled { 878 mi := &file_command_server_proto_server_proto_msgTypes[15] 879 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 880 ms.StoreMessageInfo(mi) 881 } 882 } 883 884 func (x *Header) String() string { 885 return protoimpl.X.MessageStringOf(x) 886 } 887 888 func (*Header) ProtoMessage() {} 889 890 func (x *Header) ProtoReflect() protoreflect.Message { 891 mi := &file_command_server_proto_server_proto_msgTypes[15] 892 if protoimpl.UnsafeEnabled && x != nil { 893 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 894 if ms.LoadMessageInfo() == nil { 895 ms.StoreMessageInfo(mi) 896 } 897 return ms 898 } 899 return mi.MessageOf(x) 900 } 901 902 // Deprecated: Use Header.ProtoReflect.Descriptor instead. 903 func (*Header) Descriptor() ([]byte, []int) { 904 return file_command_server_proto_server_proto_rawDescGZIP(), []int{15} 905 } 906 907 func (x *Header) GetHash() string { 908 if x != nil { 909 return x.Hash 910 } 911 return "" 912 } 913 914 func (x *Header) GetNumber() uint64 { 915 if x != nil { 916 return x.Number 917 } 918 return 0 919 } 920 921 type PprofRequest struct { 922 state protoimpl.MessageState 923 sizeCache protoimpl.SizeCache 924 unknownFields protoimpl.UnknownFields 925 926 Type PprofRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=proto.PprofRequest_Type" json:"type,omitempty"` 927 Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` 928 Seconds int64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` 929 } 930 931 func (x *PprofRequest) Reset() { 932 *x = PprofRequest{} 933 if protoimpl.UnsafeEnabled { 934 mi := &file_command_server_proto_server_proto_msgTypes[16] 935 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 936 ms.StoreMessageInfo(mi) 937 } 938 } 939 940 func (x *PprofRequest) String() string { 941 return protoimpl.X.MessageStringOf(x) 942 } 943 944 func (*PprofRequest) ProtoMessage() {} 945 946 func (x *PprofRequest) ProtoReflect() protoreflect.Message { 947 mi := &file_command_server_proto_server_proto_msgTypes[16] 948 if protoimpl.UnsafeEnabled && x != nil { 949 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 950 if ms.LoadMessageInfo() == nil { 951 ms.StoreMessageInfo(mi) 952 } 953 return ms 954 } 955 return mi.MessageOf(x) 956 } 957 958 // Deprecated: Use PprofRequest.ProtoReflect.Descriptor instead. 959 func (*PprofRequest) Descriptor() ([]byte, []int) { 960 return file_command_server_proto_server_proto_rawDescGZIP(), []int{16} 961 } 962 963 func (x *PprofRequest) GetType() PprofRequest_Type { 964 if x != nil { 965 return x.Type 966 } 967 return PprofRequest_LOOKUP 968 } 969 970 func (x *PprofRequest) GetProfile() string { 971 if x != nil { 972 return x.Profile 973 } 974 return "" 975 } 976 977 func (x *PprofRequest) GetSeconds() int64 { 978 if x != nil { 979 return x.Seconds 980 } 981 return 0 982 } 983 984 type PprofResponse struct { 985 state protoimpl.MessageState 986 sizeCache protoimpl.SizeCache 987 unknownFields protoimpl.UnknownFields 988 989 // Types that are assignable to Event: 990 // *PprofResponse_Open_ 991 // *PprofResponse_Input_ 992 // *PprofResponse_Eof 993 Event isPprofResponse_Event `protobuf_oneof:"event"` 994 } 995 996 func (x *PprofResponse) Reset() { 997 *x = PprofResponse{} 998 if protoimpl.UnsafeEnabled { 999 mi := &file_command_server_proto_server_proto_msgTypes[17] 1000 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1001 ms.StoreMessageInfo(mi) 1002 } 1003 } 1004 1005 func (x *PprofResponse) String() string { 1006 return protoimpl.X.MessageStringOf(x) 1007 } 1008 1009 func (*PprofResponse) ProtoMessage() {} 1010 1011 func (x *PprofResponse) ProtoReflect() protoreflect.Message { 1012 mi := &file_command_server_proto_server_proto_msgTypes[17] 1013 if protoimpl.UnsafeEnabled && x != nil { 1014 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1015 if ms.LoadMessageInfo() == nil { 1016 ms.StoreMessageInfo(mi) 1017 } 1018 return ms 1019 } 1020 return mi.MessageOf(x) 1021 } 1022 1023 // Deprecated: Use PprofResponse.ProtoReflect.Descriptor instead. 1024 func (*PprofResponse) Descriptor() ([]byte, []int) { 1025 return file_command_server_proto_server_proto_rawDescGZIP(), []int{17} 1026 } 1027 1028 func (m *PprofResponse) GetEvent() isPprofResponse_Event { 1029 if m != nil { 1030 return m.Event 1031 } 1032 return nil 1033 } 1034 1035 func (x *PprofResponse) GetOpen() *PprofResponse_Open { 1036 if x, ok := x.GetEvent().(*PprofResponse_Open_); ok { 1037 return x.Open 1038 } 1039 return nil 1040 } 1041 1042 func (x *PprofResponse) GetInput() *PprofResponse_Input { 1043 if x, ok := x.GetEvent().(*PprofResponse_Input_); ok { 1044 return x.Input 1045 } 1046 return nil 1047 } 1048 1049 func (x *PprofResponse) GetEof() *emptypb.Empty { 1050 if x, ok := x.GetEvent().(*PprofResponse_Eof); ok { 1051 return x.Eof 1052 } 1053 return nil 1054 } 1055 1056 type isPprofResponse_Event interface { 1057 isPprofResponse_Event() 1058 } 1059 1060 type PprofResponse_Open_ struct { 1061 Open *PprofResponse_Open `protobuf:"bytes,1,opt,name=open,proto3,oneof"` 1062 } 1063 1064 type PprofResponse_Input_ struct { 1065 Input *PprofResponse_Input `protobuf:"bytes,2,opt,name=input,proto3,oneof"` 1066 } 1067 1068 type PprofResponse_Eof struct { 1069 Eof *emptypb.Empty `protobuf:"bytes,3,opt,name=eof,proto3,oneof"` 1070 } 1071 1072 func (*PprofResponse_Open_) isPprofResponse_Event() {} 1073 1074 func (*PprofResponse_Input_) isPprofResponse_Event() {} 1075 1076 func (*PprofResponse_Eof) isPprofResponse_Event() {} 1077 1078 type StatusResponse_Fork struct { 1079 state protoimpl.MessageState 1080 sizeCache protoimpl.SizeCache 1081 unknownFields protoimpl.UnknownFields 1082 1083 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1084 Block int64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` 1085 Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` 1086 } 1087 1088 func (x *StatusResponse_Fork) Reset() { 1089 *x = StatusResponse_Fork{} 1090 if protoimpl.UnsafeEnabled { 1091 mi := &file_command_server_proto_server_proto_msgTypes[18] 1092 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1093 ms.StoreMessageInfo(mi) 1094 } 1095 } 1096 1097 func (x *StatusResponse_Fork) String() string { 1098 return protoimpl.X.MessageStringOf(x) 1099 } 1100 1101 func (*StatusResponse_Fork) ProtoMessage() {} 1102 1103 func (x *StatusResponse_Fork) ProtoReflect() protoreflect.Message { 1104 mi := &file_command_server_proto_server_proto_msgTypes[18] 1105 if protoimpl.UnsafeEnabled && x != nil { 1106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1107 if ms.LoadMessageInfo() == nil { 1108 ms.StoreMessageInfo(mi) 1109 } 1110 return ms 1111 } 1112 return mi.MessageOf(x) 1113 } 1114 1115 // Deprecated: Use StatusResponse_Fork.ProtoReflect.Descriptor instead. 1116 func (*StatusResponse_Fork) Descriptor() ([]byte, []int) { 1117 return file_command_server_proto_server_proto_rawDescGZIP(), []int{14, 0} 1118 } 1119 1120 func (x *StatusResponse_Fork) GetName() string { 1121 if x != nil { 1122 return x.Name 1123 } 1124 return "" 1125 } 1126 1127 func (x *StatusResponse_Fork) GetBlock() int64 { 1128 if x != nil { 1129 return x.Block 1130 } 1131 return 0 1132 } 1133 1134 func (x *StatusResponse_Fork) GetDisabled() bool { 1135 if x != nil { 1136 return x.Disabled 1137 } 1138 return false 1139 } 1140 1141 type StatusResponse_Syncing struct { 1142 state protoimpl.MessageState 1143 sizeCache protoimpl.SizeCache 1144 unknownFields protoimpl.UnknownFields 1145 1146 StartingBlock int64 `protobuf:"varint,1,opt,name=startingBlock,proto3" json:"startingBlock,omitempty"` 1147 HighestBlock int64 `protobuf:"varint,2,opt,name=highestBlock,proto3" json:"highestBlock,omitempty"` 1148 CurrentBlock int64 `protobuf:"varint,3,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"` 1149 } 1150 1151 func (x *StatusResponse_Syncing) Reset() { 1152 *x = StatusResponse_Syncing{} 1153 if protoimpl.UnsafeEnabled { 1154 mi := &file_command_server_proto_server_proto_msgTypes[19] 1155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1156 ms.StoreMessageInfo(mi) 1157 } 1158 } 1159 1160 func (x *StatusResponse_Syncing) String() string { 1161 return protoimpl.X.MessageStringOf(x) 1162 } 1163 1164 func (*StatusResponse_Syncing) ProtoMessage() {} 1165 1166 func (x *StatusResponse_Syncing) ProtoReflect() protoreflect.Message { 1167 mi := &file_command_server_proto_server_proto_msgTypes[19] 1168 if protoimpl.UnsafeEnabled && x != nil { 1169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1170 if ms.LoadMessageInfo() == nil { 1171 ms.StoreMessageInfo(mi) 1172 } 1173 return ms 1174 } 1175 return mi.MessageOf(x) 1176 } 1177 1178 // Deprecated: Use StatusResponse_Syncing.ProtoReflect.Descriptor instead. 1179 func (*StatusResponse_Syncing) Descriptor() ([]byte, []int) { 1180 return file_command_server_proto_server_proto_rawDescGZIP(), []int{14, 1} 1181 } 1182 1183 func (x *StatusResponse_Syncing) GetStartingBlock() int64 { 1184 if x != nil { 1185 return x.StartingBlock 1186 } 1187 return 0 1188 } 1189 1190 func (x *StatusResponse_Syncing) GetHighestBlock() int64 { 1191 if x != nil { 1192 return x.HighestBlock 1193 } 1194 return 0 1195 } 1196 1197 func (x *StatusResponse_Syncing) GetCurrentBlock() int64 { 1198 if x != nil { 1199 return x.CurrentBlock 1200 } 1201 return 0 1202 } 1203 1204 type PprofResponse_Open struct { 1205 state protoimpl.MessageState 1206 sizeCache protoimpl.SizeCache 1207 unknownFields protoimpl.UnknownFields 1208 1209 Headers map[string]string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1210 Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` 1211 } 1212 1213 func (x *PprofResponse_Open) Reset() { 1214 *x = PprofResponse_Open{} 1215 if protoimpl.UnsafeEnabled { 1216 mi := &file_command_server_proto_server_proto_msgTypes[20] 1217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1218 ms.StoreMessageInfo(mi) 1219 } 1220 } 1221 1222 func (x *PprofResponse_Open) String() string { 1223 return protoimpl.X.MessageStringOf(x) 1224 } 1225 1226 func (*PprofResponse_Open) ProtoMessage() {} 1227 1228 func (x *PprofResponse_Open) ProtoReflect() protoreflect.Message { 1229 mi := &file_command_server_proto_server_proto_msgTypes[20] 1230 if protoimpl.UnsafeEnabled && x != nil { 1231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1232 if ms.LoadMessageInfo() == nil { 1233 ms.StoreMessageInfo(mi) 1234 } 1235 return ms 1236 } 1237 return mi.MessageOf(x) 1238 } 1239 1240 // Deprecated: Use PprofResponse_Open.ProtoReflect.Descriptor instead. 1241 func (*PprofResponse_Open) Descriptor() ([]byte, []int) { 1242 return file_command_server_proto_server_proto_rawDescGZIP(), []int{17, 0} 1243 } 1244 1245 func (x *PprofResponse_Open) GetHeaders() map[string]string { 1246 if x != nil { 1247 return x.Headers 1248 } 1249 return nil 1250 } 1251 1252 func (x *PprofResponse_Open) GetSize() int64 { 1253 if x != nil { 1254 return x.Size 1255 } 1256 return 0 1257 } 1258 1259 type PprofResponse_Input struct { 1260 state protoimpl.MessageState 1261 sizeCache protoimpl.SizeCache 1262 unknownFields protoimpl.UnknownFields 1263 1264 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 1265 } 1266 1267 func (x *PprofResponse_Input) Reset() { 1268 *x = PprofResponse_Input{} 1269 if protoimpl.UnsafeEnabled { 1270 mi := &file_command_server_proto_server_proto_msgTypes[21] 1271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1272 ms.StoreMessageInfo(mi) 1273 } 1274 } 1275 1276 func (x *PprofResponse_Input) String() string { 1277 return protoimpl.X.MessageStringOf(x) 1278 } 1279 1280 func (*PprofResponse_Input) ProtoMessage() {} 1281 1282 func (x *PprofResponse_Input) ProtoReflect() protoreflect.Message { 1283 mi := &file_command_server_proto_server_proto_msgTypes[21] 1284 if protoimpl.UnsafeEnabled && x != nil { 1285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1286 if ms.LoadMessageInfo() == nil { 1287 ms.StoreMessageInfo(mi) 1288 } 1289 return ms 1290 } 1291 return mi.MessageOf(x) 1292 } 1293 1294 // Deprecated: Use PprofResponse_Input.ProtoReflect.Descriptor instead. 1295 func (*PprofResponse_Input) Descriptor() ([]byte, []int) { 1296 return file_command_server_proto_server_proto_rawDescGZIP(), []int{17, 1} 1297 } 1298 1299 func (x *PprofResponse_Input) GetData() []byte { 1300 if x != nil { 1301 return x.Data 1302 } 1303 return nil 1304 } 1305 1306 var File_command_server_proto_server_proto protoreflect.FileDescriptor 1307 1308 var file_command_server_proto_server_proto_rawDesc = []byte{ 1309 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 1310 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 1311 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 1312 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 1313 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x69, 0x6e, 1314 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x84, 0x01, 0x0a, 1315 0x12, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 1316 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 1317 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6c, 1318 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x75, 0x62, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x63, 0x68, 0x61, 0x69, 1319 0x6e, 0x12, 0x2c, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 1320 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 1321 0x6b, 0x53, 0x74, 0x75, 0x62, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 1322 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 1323 0x79, 0x70, 0x65, 0x22, 0x37, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x75, 0x62, 1324 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 1325 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 1326 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x41, 0x0a, 0x0f, 1327 0x50, 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1328 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 1329 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 1330 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x22, 1331 0x12, 0x0a, 0x10, 0x50, 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 1332 0x6e, 0x73, 0x65, 0x22, 0x44, 0x0a, 0x12, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x6d, 0x6f, 1333 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 1334 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x12, 1335 0x18, 0x0a, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 1336 0x52, 0x07, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x65, 0x65, 1337 0x72, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1338 0x22, 0x12, 0x0a, 0x10, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 1339 0x75, 0x65, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x11, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 1340 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x70, 0x65, 0x65, 1341 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1342 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2a, 0x0a, 0x12, 1343 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 1344 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1345 0x09, 0x52, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x36, 0x0a, 0x13, 0x50, 0x65, 0x65, 0x72, 1346 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1347 0x1f, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 1348 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 1349 0x22, 0x98, 0x01, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 1350 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x6f, 1351 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x12, 1352 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 1353 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x61, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 1354 0x04, 0x63, 0x61, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 1355 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x75, 1356 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x72, 0x75, 0x73, 1357 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x18, 0x07, 0x20, 1358 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x22, 0x2d, 0x0a, 0x13, 0x43, 1359 0x68, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 1360 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 1361 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x68, 1362 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1363 0x73, 0x65, 0x22, 0xe2, 0x03, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 1364 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 1365 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 1366 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 1367 0x65, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x33, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 1368 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 1369 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, 1370 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 1371 0x08, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 1372 0x08, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 1373 0x63, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x79, 0x6e, 1374 0x63, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 1375 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 1376 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x79, 1377 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x30, 1378 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 1379 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 1380 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x6b, 0x73, 1381 0x1a, 0x4c, 0x0a, 0x04, 0x46, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1382 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 1383 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x6c, 0x6f, 1384 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 1385 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x77, 1386 0x0a, 0x07, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x61, 1387 0x72, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 1388 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 1389 0x22, 0x0a, 0x0c, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 1390 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x42, 0x6c, 1391 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x6c, 1392 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 1393 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x34, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 1394 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1395 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 1396 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x98, 0x01, 1397 0x0a, 0x0c, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 1398 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 1399 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1400 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 1401 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 1402 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 1403 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 1404 0x22, 0x26, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x4f, 0x4b, 1405 0x55, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x50, 0x55, 0x10, 0x01, 0x12, 0x09, 0x0a, 1406 0x05, 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x02, 0x22, 0xe1, 0x02, 0x0a, 0x0d, 0x50, 0x70, 0x72, 1407 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6f, 0x70, 1408 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1409 0x2e, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 1410 0x70, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x69, 1411 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 1412 0x74, 0x6f, 0x2e, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1413 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, 1414 0x2a, 0x0a, 0x03, 0x65, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 1415 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 1416 0x6d, 0x70, 0x74, 0x79, 0x48, 0x00, 0x52, 0x03, 0x65, 0x6f, 0x66, 0x1a, 0x98, 0x01, 0x0a, 0x04, 1417 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x40, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 1418 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x70, 1419 0x72, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 1420 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 1421 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 1422 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 1423 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 1424 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 1425 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 1426 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x1b, 0x0a, 0x05, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 1427 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 1428 0x61, 0x74, 0x61, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x32, 0x8b, 0x04, 0x0a, 1429 0x03, 0x42, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x05, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x12, 0x13, 0x2e, 1430 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x70, 0x72, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 1431 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x70, 0x72, 0x6f, 0x66, 1432 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x08, 0x50, 0x65, 1433 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 1434 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 1435 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x52, 1436 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x50, 0x65, 0x65, 0x72, 0x73, 1437 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 1438 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1439 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 1440 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 1441 0x09, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 1442 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 1443 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 1444 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 1445 0x0b, 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x2e, 0x70, 1446 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1447 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 1448 0x50, 0x65, 0x65, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 1449 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x48, 1450 0x65, 0x61, 0x64, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 1451 0x6e, 0x53, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1452 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 1453 0x48, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x06, 1454 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1455 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 1456 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 1457 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 1458 0x74, 0x63, 0x68, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 1459 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 1460 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x57, 0x61, 0x74, 0x63, 0x68, 1461 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x17, 0x5a, 0x15, 0x2f, 0x63, 1462 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 1463 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1464 } 1465 1466 var ( 1467 file_command_server_proto_server_proto_rawDescOnce sync.Once 1468 file_command_server_proto_server_proto_rawDescData = file_command_server_proto_server_proto_rawDesc 1469 ) 1470 1471 func file_command_server_proto_server_proto_rawDescGZIP() []byte { 1472 file_command_server_proto_server_proto_rawDescOnce.Do(func() { 1473 file_command_server_proto_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_command_server_proto_server_proto_rawDescData) 1474 }) 1475 return file_command_server_proto_server_proto_rawDescData 1476 } 1477 1478 var file_command_server_proto_server_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1479 var file_command_server_proto_server_proto_msgTypes = make([]protoimpl.MessageInfo, 23) 1480 var file_command_server_proto_server_proto_goTypes = []interface{}{ 1481 (PprofRequest_Type)(0), // 0: proto.PprofRequest.Type 1482 (*ChainWatchRequest)(nil), // 1: proto.ChainWatchRequest 1483 (*ChainWatchResponse)(nil), // 2: proto.ChainWatchResponse 1484 (*BlockStub)(nil), // 3: proto.BlockStub 1485 (*PeersAddRequest)(nil), // 4: proto.PeersAddRequest 1486 (*PeersAddResponse)(nil), // 5: proto.PeersAddResponse 1487 (*PeersRemoveRequest)(nil), // 6: proto.PeersRemoveRequest 1488 (*PeersRemoveResponse)(nil), // 7: proto.PeersRemoveResponse 1489 (*PeersListRequest)(nil), // 8: proto.PeersListRequest 1490 (*PeersListResponse)(nil), // 9: proto.PeersListResponse 1491 (*PeersStatusRequest)(nil), // 10: proto.PeersStatusRequest 1492 (*PeersStatusResponse)(nil), // 11: proto.PeersStatusResponse 1493 (*Peer)(nil), // 12: proto.Peer 1494 (*ChainSetHeadRequest)(nil), // 13: proto.ChainSetHeadRequest 1495 (*ChainSetHeadResponse)(nil), // 14: proto.ChainSetHeadResponse 1496 (*StatusResponse)(nil), // 15: proto.StatusResponse 1497 (*Header)(nil), // 16: proto.Header 1498 (*PprofRequest)(nil), // 17: proto.PprofRequest 1499 (*PprofResponse)(nil), // 18: proto.PprofResponse 1500 (*StatusResponse_Fork)(nil), // 19: proto.StatusResponse.Fork 1501 (*StatusResponse_Syncing)(nil), // 20: proto.StatusResponse.Syncing 1502 (*PprofResponse_Open)(nil), // 21: proto.PprofResponse.Open 1503 (*PprofResponse_Input)(nil), // 22: proto.PprofResponse.Input 1504 nil, // 23: proto.PprofResponse.Open.HeadersEntry 1505 (*emptypb.Empty)(nil), // 24: google.protobuf.Empty 1506 } 1507 var file_command_server_proto_server_proto_depIdxs = []int32{ 1508 3, // 0: proto.ChainWatchResponse.oldchain:type_name -> proto.BlockStub 1509 3, // 1: proto.ChainWatchResponse.newchain:type_name -> proto.BlockStub 1510 12, // 2: proto.PeersListResponse.peers:type_name -> proto.Peer 1511 12, // 3: proto.PeersStatusResponse.peer:type_name -> proto.Peer 1512 16, // 4: proto.StatusResponse.currentBlock:type_name -> proto.Header 1513 16, // 5: proto.StatusResponse.currentHeader:type_name -> proto.Header 1514 20, // 6: proto.StatusResponse.syncing:type_name -> proto.StatusResponse.Syncing 1515 19, // 7: proto.StatusResponse.forks:type_name -> proto.StatusResponse.Fork 1516 0, // 8: proto.PprofRequest.type:type_name -> proto.PprofRequest.Type 1517 21, // 9: proto.PprofResponse.open:type_name -> proto.PprofResponse.Open 1518 22, // 10: proto.PprofResponse.input:type_name -> proto.PprofResponse.Input 1519 24, // 11: proto.PprofResponse.eof:type_name -> google.protobuf.Empty 1520 23, // 12: proto.PprofResponse.Open.headers:type_name -> proto.PprofResponse.Open.HeadersEntry 1521 17, // 13: proto.Bor.Pprof:input_type -> proto.PprofRequest 1522 4, // 14: proto.Bor.PeersAdd:input_type -> proto.PeersAddRequest 1523 6, // 15: proto.Bor.PeersRemove:input_type -> proto.PeersRemoveRequest 1524 8, // 16: proto.Bor.PeersList:input_type -> proto.PeersListRequest 1525 10, // 17: proto.Bor.PeersStatus:input_type -> proto.PeersStatusRequest 1526 13, // 18: proto.Bor.ChainSetHead:input_type -> proto.ChainSetHeadRequest 1527 24, // 19: proto.Bor.Status:input_type -> google.protobuf.Empty 1528 1, // 20: proto.Bor.ChainWatch:input_type -> proto.ChainWatchRequest 1529 18, // 21: proto.Bor.Pprof:output_type -> proto.PprofResponse 1530 5, // 22: proto.Bor.PeersAdd:output_type -> proto.PeersAddResponse 1531 7, // 23: proto.Bor.PeersRemove:output_type -> proto.PeersRemoveResponse 1532 9, // 24: proto.Bor.PeersList:output_type -> proto.PeersListResponse 1533 11, // 25: proto.Bor.PeersStatus:output_type -> proto.PeersStatusResponse 1534 14, // 26: proto.Bor.ChainSetHead:output_type -> proto.ChainSetHeadResponse 1535 15, // 27: proto.Bor.Status:output_type -> proto.StatusResponse 1536 2, // 28: proto.Bor.ChainWatch:output_type -> proto.ChainWatchResponse 1537 21, // [21:29] is the sub-list for method output_type 1538 13, // [13:21] is the sub-list for method input_type 1539 13, // [13:13] is the sub-list for extension type_name 1540 13, // [13:13] is the sub-list for extension extendee 1541 0, // [0:13] is the sub-list for field type_name 1542 } 1543 1544 func init() { file_command_server_proto_server_proto_init() } 1545 func file_command_server_proto_server_proto_init() { 1546 if File_command_server_proto_server_proto != nil { 1547 return 1548 } 1549 if !protoimpl.UnsafeEnabled { 1550 file_command_server_proto_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1551 switch v := v.(*ChainWatchRequest); i { 1552 case 0: 1553 return &v.state 1554 case 1: 1555 return &v.sizeCache 1556 case 2: 1557 return &v.unknownFields 1558 default: 1559 return nil 1560 } 1561 } 1562 file_command_server_proto_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1563 switch v := v.(*ChainWatchResponse); i { 1564 case 0: 1565 return &v.state 1566 case 1: 1567 return &v.sizeCache 1568 case 2: 1569 return &v.unknownFields 1570 default: 1571 return nil 1572 } 1573 } 1574 file_command_server_proto_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1575 switch v := v.(*BlockStub); i { 1576 case 0: 1577 return &v.state 1578 case 1: 1579 return &v.sizeCache 1580 case 2: 1581 return &v.unknownFields 1582 default: 1583 return nil 1584 } 1585 } 1586 file_command_server_proto_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1587 switch v := v.(*PeersAddRequest); i { 1588 case 0: 1589 return &v.state 1590 case 1: 1591 return &v.sizeCache 1592 case 2: 1593 return &v.unknownFields 1594 default: 1595 return nil 1596 } 1597 } 1598 file_command_server_proto_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1599 switch v := v.(*PeersAddResponse); i { 1600 case 0: 1601 return &v.state 1602 case 1: 1603 return &v.sizeCache 1604 case 2: 1605 return &v.unknownFields 1606 default: 1607 return nil 1608 } 1609 } 1610 file_command_server_proto_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1611 switch v := v.(*PeersRemoveRequest); i { 1612 case 0: 1613 return &v.state 1614 case 1: 1615 return &v.sizeCache 1616 case 2: 1617 return &v.unknownFields 1618 default: 1619 return nil 1620 } 1621 } 1622 file_command_server_proto_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1623 switch v := v.(*PeersRemoveResponse); i { 1624 case 0: 1625 return &v.state 1626 case 1: 1627 return &v.sizeCache 1628 case 2: 1629 return &v.unknownFields 1630 default: 1631 return nil 1632 } 1633 } 1634 file_command_server_proto_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1635 switch v := v.(*PeersListRequest); i { 1636 case 0: 1637 return &v.state 1638 case 1: 1639 return &v.sizeCache 1640 case 2: 1641 return &v.unknownFields 1642 default: 1643 return nil 1644 } 1645 } 1646 file_command_server_proto_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1647 switch v := v.(*PeersListResponse); i { 1648 case 0: 1649 return &v.state 1650 case 1: 1651 return &v.sizeCache 1652 case 2: 1653 return &v.unknownFields 1654 default: 1655 return nil 1656 } 1657 } 1658 file_command_server_proto_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1659 switch v := v.(*PeersStatusRequest); i { 1660 case 0: 1661 return &v.state 1662 case 1: 1663 return &v.sizeCache 1664 case 2: 1665 return &v.unknownFields 1666 default: 1667 return nil 1668 } 1669 } 1670 file_command_server_proto_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1671 switch v := v.(*PeersStatusResponse); i { 1672 case 0: 1673 return &v.state 1674 case 1: 1675 return &v.sizeCache 1676 case 2: 1677 return &v.unknownFields 1678 default: 1679 return nil 1680 } 1681 } 1682 file_command_server_proto_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1683 switch v := v.(*Peer); i { 1684 case 0: 1685 return &v.state 1686 case 1: 1687 return &v.sizeCache 1688 case 2: 1689 return &v.unknownFields 1690 default: 1691 return nil 1692 } 1693 } 1694 file_command_server_proto_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1695 switch v := v.(*ChainSetHeadRequest); i { 1696 case 0: 1697 return &v.state 1698 case 1: 1699 return &v.sizeCache 1700 case 2: 1701 return &v.unknownFields 1702 default: 1703 return nil 1704 } 1705 } 1706 file_command_server_proto_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1707 switch v := v.(*ChainSetHeadResponse); i { 1708 case 0: 1709 return &v.state 1710 case 1: 1711 return &v.sizeCache 1712 case 2: 1713 return &v.unknownFields 1714 default: 1715 return nil 1716 } 1717 } 1718 file_command_server_proto_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1719 switch v := v.(*StatusResponse); i { 1720 case 0: 1721 return &v.state 1722 case 1: 1723 return &v.sizeCache 1724 case 2: 1725 return &v.unknownFields 1726 default: 1727 return nil 1728 } 1729 } 1730 file_command_server_proto_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1731 switch v := v.(*Header); i { 1732 case 0: 1733 return &v.state 1734 case 1: 1735 return &v.sizeCache 1736 case 2: 1737 return &v.unknownFields 1738 default: 1739 return nil 1740 } 1741 } 1742 file_command_server_proto_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1743 switch v := v.(*PprofRequest); i { 1744 case 0: 1745 return &v.state 1746 case 1: 1747 return &v.sizeCache 1748 case 2: 1749 return &v.unknownFields 1750 default: 1751 return nil 1752 } 1753 } 1754 file_command_server_proto_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1755 switch v := v.(*PprofResponse); i { 1756 case 0: 1757 return &v.state 1758 case 1: 1759 return &v.sizeCache 1760 case 2: 1761 return &v.unknownFields 1762 default: 1763 return nil 1764 } 1765 } 1766 file_command_server_proto_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 1767 switch v := v.(*StatusResponse_Fork); i { 1768 case 0: 1769 return &v.state 1770 case 1: 1771 return &v.sizeCache 1772 case 2: 1773 return &v.unknownFields 1774 default: 1775 return nil 1776 } 1777 } 1778 file_command_server_proto_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 1779 switch v := v.(*StatusResponse_Syncing); i { 1780 case 0: 1781 return &v.state 1782 case 1: 1783 return &v.sizeCache 1784 case 2: 1785 return &v.unknownFields 1786 default: 1787 return nil 1788 } 1789 } 1790 file_command_server_proto_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 1791 switch v := v.(*PprofResponse_Open); i { 1792 case 0: 1793 return &v.state 1794 case 1: 1795 return &v.sizeCache 1796 case 2: 1797 return &v.unknownFields 1798 default: 1799 return nil 1800 } 1801 } 1802 file_command_server_proto_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 1803 switch v := v.(*PprofResponse_Input); i { 1804 case 0: 1805 return &v.state 1806 case 1: 1807 return &v.sizeCache 1808 case 2: 1809 return &v.unknownFields 1810 default: 1811 return nil 1812 } 1813 } 1814 } 1815 file_command_server_proto_server_proto_msgTypes[17].OneofWrappers = []interface{}{ 1816 (*PprofResponse_Open_)(nil), 1817 (*PprofResponse_Input_)(nil), 1818 (*PprofResponse_Eof)(nil), 1819 } 1820 type x struct{} 1821 out := protoimpl.TypeBuilder{ 1822 File: protoimpl.DescBuilder{ 1823 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1824 RawDescriptor: file_command_server_proto_server_proto_rawDesc, 1825 NumEnums: 1, 1826 NumMessages: 23, 1827 NumExtensions: 0, 1828 NumServices: 1, 1829 }, 1830 GoTypes: file_command_server_proto_server_proto_goTypes, 1831 DependencyIndexes: file_command_server_proto_server_proto_depIdxs, 1832 EnumInfos: file_command_server_proto_server_proto_enumTypes, 1833 MessageInfos: file_command_server_proto_server_proto_msgTypes, 1834 }.Build() 1835 File_command_server_proto_server_proto = out.File 1836 file_command_server_proto_server_proto_rawDesc = nil 1837 file_command_server_proto_server_proto_goTypes = nil 1838 file_command_server_proto_server_proto_depIdxs = nil 1839 }