github.com/ledgerwatch/erigon-lib@v1.0.0/gointerfaces/sentry/sentry.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v4.24.2 5 // source: p2psentry/sentry.proto 6 7 package sentry 8 9 import ( 10 types "github.com/ledgerwatch/erigon-lib/gointerfaces/types" 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 type MessageId int32 26 27 const ( 28 MessageId_STATUS_65 MessageId = 0 29 MessageId_GET_BLOCK_HEADERS_65 MessageId = 1 30 MessageId_BLOCK_HEADERS_65 MessageId = 2 31 MessageId_BLOCK_HASHES_65 MessageId = 3 32 MessageId_GET_BLOCK_BODIES_65 MessageId = 4 33 MessageId_BLOCK_BODIES_65 MessageId = 5 34 MessageId_GET_NODE_DATA_65 MessageId = 6 35 MessageId_NODE_DATA_65 MessageId = 7 36 MessageId_GET_RECEIPTS_65 MessageId = 8 37 MessageId_RECEIPTS_65 MessageId = 9 38 MessageId_NEW_BLOCK_HASHES_65 MessageId = 10 39 MessageId_NEW_BLOCK_65 MessageId = 11 40 MessageId_TRANSACTIONS_65 MessageId = 12 41 MessageId_NEW_POOLED_TRANSACTION_HASHES_65 MessageId = 13 42 MessageId_GET_POOLED_TRANSACTIONS_65 MessageId = 14 43 MessageId_POOLED_TRANSACTIONS_65 MessageId = 15 44 // eth64 announcement messages (no id) 45 MessageId_STATUS_66 MessageId = 17 46 MessageId_NEW_BLOCK_HASHES_66 MessageId = 18 47 MessageId_NEW_BLOCK_66 MessageId = 19 48 MessageId_TRANSACTIONS_66 MessageId = 20 49 // eth65 announcement messages (no id) 50 MessageId_NEW_POOLED_TRANSACTION_HASHES_66 MessageId = 21 51 // eth66 messages with request-id 52 MessageId_GET_BLOCK_HEADERS_66 MessageId = 22 53 MessageId_GET_BLOCK_BODIES_66 MessageId = 23 54 MessageId_GET_NODE_DATA_66 MessageId = 24 55 MessageId_GET_RECEIPTS_66 MessageId = 25 56 MessageId_GET_POOLED_TRANSACTIONS_66 MessageId = 26 57 MessageId_BLOCK_HEADERS_66 MessageId = 27 58 MessageId_BLOCK_BODIES_66 MessageId = 28 59 MessageId_NODE_DATA_66 MessageId = 29 60 MessageId_RECEIPTS_66 MessageId = 30 61 MessageId_POOLED_TRANSACTIONS_66 MessageId = 31 62 // ======= eth 68 protocol =========== 63 MessageId_NEW_POOLED_TRANSACTION_HASHES_68 MessageId = 32 64 ) 65 66 // Enum value maps for MessageId. 67 var ( 68 MessageId_name = map[int32]string{ 69 0: "STATUS_65", 70 1: "GET_BLOCK_HEADERS_65", 71 2: "BLOCK_HEADERS_65", 72 3: "BLOCK_HASHES_65", 73 4: "GET_BLOCK_BODIES_65", 74 5: "BLOCK_BODIES_65", 75 6: "GET_NODE_DATA_65", 76 7: "NODE_DATA_65", 77 8: "GET_RECEIPTS_65", 78 9: "RECEIPTS_65", 79 10: "NEW_BLOCK_HASHES_65", 80 11: "NEW_BLOCK_65", 81 12: "TRANSACTIONS_65", 82 13: "NEW_POOLED_TRANSACTION_HASHES_65", 83 14: "GET_POOLED_TRANSACTIONS_65", 84 15: "POOLED_TRANSACTIONS_65", 85 17: "STATUS_66", 86 18: "NEW_BLOCK_HASHES_66", 87 19: "NEW_BLOCK_66", 88 20: "TRANSACTIONS_66", 89 21: "NEW_POOLED_TRANSACTION_HASHES_66", 90 22: "GET_BLOCK_HEADERS_66", 91 23: "GET_BLOCK_BODIES_66", 92 24: "GET_NODE_DATA_66", 93 25: "GET_RECEIPTS_66", 94 26: "GET_POOLED_TRANSACTIONS_66", 95 27: "BLOCK_HEADERS_66", 96 28: "BLOCK_BODIES_66", 97 29: "NODE_DATA_66", 98 30: "RECEIPTS_66", 99 31: "POOLED_TRANSACTIONS_66", 100 32: "NEW_POOLED_TRANSACTION_HASHES_68", 101 } 102 MessageId_value = map[string]int32{ 103 "STATUS_65": 0, 104 "GET_BLOCK_HEADERS_65": 1, 105 "BLOCK_HEADERS_65": 2, 106 "BLOCK_HASHES_65": 3, 107 "GET_BLOCK_BODIES_65": 4, 108 "BLOCK_BODIES_65": 5, 109 "GET_NODE_DATA_65": 6, 110 "NODE_DATA_65": 7, 111 "GET_RECEIPTS_65": 8, 112 "RECEIPTS_65": 9, 113 "NEW_BLOCK_HASHES_65": 10, 114 "NEW_BLOCK_65": 11, 115 "TRANSACTIONS_65": 12, 116 "NEW_POOLED_TRANSACTION_HASHES_65": 13, 117 "GET_POOLED_TRANSACTIONS_65": 14, 118 "POOLED_TRANSACTIONS_65": 15, 119 "STATUS_66": 17, 120 "NEW_BLOCK_HASHES_66": 18, 121 "NEW_BLOCK_66": 19, 122 "TRANSACTIONS_66": 20, 123 "NEW_POOLED_TRANSACTION_HASHES_66": 21, 124 "GET_BLOCK_HEADERS_66": 22, 125 "GET_BLOCK_BODIES_66": 23, 126 "GET_NODE_DATA_66": 24, 127 "GET_RECEIPTS_66": 25, 128 "GET_POOLED_TRANSACTIONS_66": 26, 129 "BLOCK_HEADERS_66": 27, 130 "BLOCK_BODIES_66": 28, 131 "NODE_DATA_66": 29, 132 "RECEIPTS_66": 30, 133 "POOLED_TRANSACTIONS_66": 31, 134 "NEW_POOLED_TRANSACTION_HASHES_68": 32, 135 } 136 ) 137 138 func (x MessageId) Enum() *MessageId { 139 p := new(MessageId) 140 *p = x 141 return p 142 } 143 144 func (x MessageId) String() string { 145 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 146 } 147 148 func (MessageId) Descriptor() protoreflect.EnumDescriptor { 149 return file_p2psentry_sentry_proto_enumTypes[0].Descriptor() 150 } 151 152 func (MessageId) Type() protoreflect.EnumType { 153 return &file_p2psentry_sentry_proto_enumTypes[0] 154 } 155 156 func (x MessageId) Number() protoreflect.EnumNumber { 157 return protoreflect.EnumNumber(x) 158 } 159 160 // Deprecated: Use MessageId.Descriptor instead. 161 func (MessageId) EnumDescriptor() ([]byte, []int) { 162 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{0} 163 } 164 165 type PenaltyKind int32 166 167 const ( 168 PenaltyKind_Kick PenaltyKind = 0 169 ) 170 171 // Enum value maps for PenaltyKind. 172 var ( 173 PenaltyKind_name = map[int32]string{ 174 0: "Kick", 175 } 176 PenaltyKind_value = map[string]int32{ 177 "Kick": 0, 178 } 179 ) 180 181 func (x PenaltyKind) Enum() *PenaltyKind { 182 p := new(PenaltyKind) 183 *p = x 184 return p 185 } 186 187 func (x PenaltyKind) String() string { 188 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 189 } 190 191 func (PenaltyKind) Descriptor() protoreflect.EnumDescriptor { 192 return file_p2psentry_sentry_proto_enumTypes[1].Descriptor() 193 } 194 195 func (PenaltyKind) Type() protoreflect.EnumType { 196 return &file_p2psentry_sentry_proto_enumTypes[1] 197 } 198 199 func (x PenaltyKind) Number() protoreflect.EnumNumber { 200 return protoreflect.EnumNumber(x) 201 } 202 203 // Deprecated: Use PenaltyKind.Descriptor instead. 204 func (PenaltyKind) EnumDescriptor() ([]byte, []int) { 205 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{1} 206 } 207 208 type Protocol int32 209 210 const ( 211 Protocol_ETH65 Protocol = 0 212 Protocol_ETH66 Protocol = 1 213 Protocol_ETH67 Protocol = 2 214 Protocol_ETH68 Protocol = 3 215 ) 216 217 // Enum value maps for Protocol. 218 var ( 219 Protocol_name = map[int32]string{ 220 0: "ETH65", 221 1: "ETH66", 222 2: "ETH67", 223 3: "ETH68", 224 } 225 Protocol_value = map[string]int32{ 226 "ETH65": 0, 227 "ETH66": 1, 228 "ETH67": 2, 229 "ETH68": 3, 230 } 231 ) 232 233 func (x Protocol) Enum() *Protocol { 234 p := new(Protocol) 235 *p = x 236 return p 237 } 238 239 func (x Protocol) String() string { 240 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 241 } 242 243 func (Protocol) Descriptor() protoreflect.EnumDescriptor { 244 return file_p2psentry_sentry_proto_enumTypes[2].Descriptor() 245 } 246 247 func (Protocol) Type() protoreflect.EnumType { 248 return &file_p2psentry_sentry_proto_enumTypes[2] 249 } 250 251 func (x Protocol) Number() protoreflect.EnumNumber { 252 return protoreflect.EnumNumber(x) 253 } 254 255 // Deprecated: Use Protocol.Descriptor instead. 256 func (Protocol) EnumDescriptor() ([]byte, []int) { 257 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{2} 258 } 259 260 type PeerEvent_PeerEventId int32 261 262 const ( 263 // Happens after after a successful sub-protocol handshake. 264 PeerEvent_Connect PeerEvent_PeerEventId = 0 265 PeerEvent_Disconnect PeerEvent_PeerEventId = 1 266 ) 267 268 // Enum value maps for PeerEvent_PeerEventId. 269 var ( 270 PeerEvent_PeerEventId_name = map[int32]string{ 271 0: "Connect", 272 1: "Disconnect", 273 } 274 PeerEvent_PeerEventId_value = map[string]int32{ 275 "Connect": 0, 276 "Disconnect": 1, 277 } 278 ) 279 280 func (x PeerEvent_PeerEventId) Enum() *PeerEvent_PeerEventId { 281 p := new(PeerEvent_PeerEventId) 282 *p = x 283 return p 284 } 285 286 func (x PeerEvent_PeerEventId) String() string { 287 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 288 } 289 290 func (PeerEvent_PeerEventId) Descriptor() protoreflect.EnumDescriptor { 291 return file_p2psentry_sentry_proto_enumTypes[3].Descriptor() 292 } 293 294 func (PeerEvent_PeerEventId) Type() protoreflect.EnumType { 295 return &file_p2psentry_sentry_proto_enumTypes[3] 296 } 297 298 func (x PeerEvent_PeerEventId) Number() protoreflect.EnumNumber { 299 return protoreflect.EnumNumber(x) 300 } 301 302 // Deprecated: Use PeerEvent_PeerEventId.Descriptor instead. 303 func (PeerEvent_PeerEventId) EnumDescriptor() ([]byte, []int) { 304 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{21, 0} 305 } 306 307 type OutboundMessageData struct { 308 state protoimpl.MessageState 309 sizeCache protoimpl.SizeCache 310 unknownFields protoimpl.UnknownFields 311 312 Id MessageId `protobuf:"varint,1,opt,name=id,proto3,enum=sentry.MessageId" json:"id,omitempty"` 313 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 314 } 315 316 func (x *OutboundMessageData) Reset() { 317 *x = OutboundMessageData{} 318 if protoimpl.UnsafeEnabled { 319 mi := &file_p2psentry_sentry_proto_msgTypes[0] 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 ms.StoreMessageInfo(mi) 322 } 323 } 324 325 func (x *OutboundMessageData) String() string { 326 return protoimpl.X.MessageStringOf(x) 327 } 328 329 func (*OutboundMessageData) ProtoMessage() {} 330 331 func (x *OutboundMessageData) ProtoReflect() protoreflect.Message { 332 mi := &file_p2psentry_sentry_proto_msgTypes[0] 333 if protoimpl.UnsafeEnabled && x != nil { 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 335 if ms.LoadMessageInfo() == nil { 336 ms.StoreMessageInfo(mi) 337 } 338 return ms 339 } 340 return mi.MessageOf(x) 341 } 342 343 // Deprecated: Use OutboundMessageData.ProtoReflect.Descriptor instead. 344 func (*OutboundMessageData) Descriptor() ([]byte, []int) { 345 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{0} 346 } 347 348 func (x *OutboundMessageData) GetId() MessageId { 349 if x != nil { 350 return x.Id 351 } 352 return MessageId_STATUS_65 353 } 354 355 func (x *OutboundMessageData) GetData() []byte { 356 if x != nil { 357 return x.Data 358 } 359 return nil 360 } 361 362 type SendMessageByMinBlockRequest struct { 363 state protoimpl.MessageState 364 sizeCache protoimpl.SizeCache 365 unknownFields protoimpl.UnknownFields 366 367 Data *OutboundMessageData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 368 MinBlock uint64 `protobuf:"varint,2,opt,name=min_block,json=minBlock,proto3" json:"min_block,omitempty"` 369 MaxPeers uint64 `protobuf:"varint,3,opt,name=max_peers,json=maxPeers,proto3" json:"max_peers,omitempty"` 370 } 371 372 func (x *SendMessageByMinBlockRequest) Reset() { 373 *x = SendMessageByMinBlockRequest{} 374 if protoimpl.UnsafeEnabled { 375 mi := &file_p2psentry_sentry_proto_msgTypes[1] 376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 377 ms.StoreMessageInfo(mi) 378 } 379 } 380 381 func (x *SendMessageByMinBlockRequest) String() string { 382 return protoimpl.X.MessageStringOf(x) 383 } 384 385 func (*SendMessageByMinBlockRequest) ProtoMessage() {} 386 387 func (x *SendMessageByMinBlockRequest) ProtoReflect() protoreflect.Message { 388 mi := &file_p2psentry_sentry_proto_msgTypes[1] 389 if protoimpl.UnsafeEnabled && x != nil { 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 391 if ms.LoadMessageInfo() == nil { 392 ms.StoreMessageInfo(mi) 393 } 394 return ms 395 } 396 return mi.MessageOf(x) 397 } 398 399 // Deprecated: Use SendMessageByMinBlockRequest.ProtoReflect.Descriptor instead. 400 func (*SendMessageByMinBlockRequest) Descriptor() ([]byte, []int) { 401 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{1} 402 } 403 404 func (x *SendMessageByMinBlockRequest) GetData() *OutboundMessageData { 405 if x != nil { 406 return x.Data 407 } 408 return nil 409 } 410 411 func (x *SendMessageByMinBlockRequest) GetMinBlock() uint64 { 412 if x != nil { 413 return x.MinBlock 414 } 415 return 0 416 } 417 418 func (x *SendMessageByMinBlockRequest) GetMaxPeers() uint64 { 419 if x != nil { 420 return x.MaxPeers 421 } 422 return 0 423 } 424 425 type SendMessageByIdRequest struct { 426 state protoimpl.MessageState 427 sizeCache protoimpl.SizeCache 428 unknownFields protoimpl.UnknownFields 429 430 Data *OutboundMessageData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 431 PeerId *types.H512 `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` 432 } 433 434 func (x *SendMessageByIdRequest) Reset() { 435 *x = SendMessageByIdRequest{} 436 if protoimpl.UnsafeEnabled { 437 mi := &file_p2psentry_sentry_proto_msgTypes[2] 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 439 ms.StoreMessageInfo(mi) 440 } 441 } 442 443 func (x *SendMessageByIdRequest) String() string { 444 return protoimpl.X.MessageStringOf(x) 445 } 446 447 func (*SendMessageByIdRequest) ProtoMessage() {} 448 449 func (x *SendMessageByIdRequest) ProtoReflect() protoreflect.Message { 450 mi := &file_p2psentry_sentry_proto_msgTypes[2] 451 if protoimpl.UnsafeEnabled && x != nil { 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 if ms.LoadMessageInfo() == nil { 454 ms.StoreMessageInfo(mi) 455 } 456 return ms 457 } 458 return mi.MessageOf(x) 459 } 460 461 // Deprecated: Use SendMessageByIdRequest.ProtoReflect.Descriptor instead. 462 func (*SendMessageByIdRequest) Descriptor() ([]byte, []int) { 463 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{2} 464 } 465 466 func (x *SendMessageByIdRequest) GetData() *OutboundMessageData { 467 if x != nil { 468 return x.Data 469 } 470 return nil 471 } 472 473 func (x *SendMessageByIdRequest) GetPeerId() *types.H512 { 474 if x != nil { 475 return x.PeerId 476 } 477 return nil 478 } 479 480 type SendMessageToRandomPeersRequest struct { 481 state protoimpl.MessageState 482 sizeCache protoimpl.SizeCache 483 unknownFields protoimpl.UnknownFields 484 485 Data *OutboundMessageData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 486 MaxPeers uint64 `protobuf:"varint,2,opt,name=max_peers,json=maxPeers,proto3" json:"max_peers,omitempty"` 487 } 488 489 func (x *SendMessageToRandomPeersRequest) Reset() { 490 *x = SendMessageToRandomPeersRequest{} 491 if protoimpl.UnsafeEnabled { 492 mi := &file_p2psentry_sentry_proto_msgTypes[3] 493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 494 ms.StoreMessageInfo(mi) 495 } 496 } 497 498 func (x *SendMessageToRandomPeersRequest) String() string { 499 return protoimpl.X.MessageStringOf(x) 500 } 501 502 func (*SendMessageToRandomPeersRequest) ProtoMessage() {} 503 504 func (x *SendMessageToRandomPeersRequest) ProtoReflect() protoreflect.Message { 505 mi := &file_p2psentry_sentry_proto_msgTypes[3] 506 if protoimpl.UnsafeEnabled && x != nil { 507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 508 if ms.LoadMessageInfo() == nil { 509 ms.StoreMessageInfo(mi) 510 } 511 return ms 512 } 513 return mi.MessageOf(x) 514 } 515 516 // Deprecated: Use SendMessageToRandomPeersRequest.ProtoReflect.Descriptor instead. 517 func (*SendMessageToRandomPeersRequest) Descriptor() ([]byte, []int) { 518 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{3} 519 } 520 521 func (x *SendMessageToRandomPeersRequest) GetData() *OutboundMessageData { 522 if x != nil { 523 return x.Data 524 } 525 return nil 526 } 527 528 func (x *SendMessageToRandomPeersRequest) GetMaxPeers() uint64 { 529 if x != nil { 530 return x.MaxPeers 531 } 532 return 0 533 } 534 535 type SentPeers struct { 536 state protoimpl.MessageState 537 sizeCache protoimpl.SizeCache 538 unknownFields protoimpl.UnknownFields 539 540 Peers []*types.H512 `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` 541 } 542 543 func (x *SentPeers) Reset() { 544 *x = SentPeers{} 545 if protoimpl.UnsafeEnabled { 546 mi := &file_p2psentry_sentry_proto_msgTypes[4] 547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 548 ms.StoreMessageInfo(mi) 549 } 550 } 551 552 func (x *SentPeers) String() string { 553 return protoimpl.X.MessageStringOf(x) 554 } 555 556 func (*SentPeers) ProtoMessage() {} 557 558 func (x *SentPeers) ProtoReflect() protoreflect.Message { 559 mi := &file_p2psentry_sentry_proto_msgTypes[4] 560 if protoimpl.UnsafeEnabled && x != nil { 561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 562 if ms.LoadMessageInfo() == nil { 563 ms.StoreMessageInfo(mi) 564 } 565 return ms 566 } 567 return mi.MessageOf(x) 568 } 569 570 // Deprecated: Use SentPeers.ProtoReflect.Descriptor instead. 571 func (*SentPeers) Descriptor() ([]byte, []int) { 572 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{4} 573 } 574 575 func (x *SentPeers) GetPeers() []*types.H512 { 576 if x != nil { 577 return x.Peers 578 } 579 return nil 580 } 581 582 type PenalizePeerRequest struct { 583 state protoimpl.MessageState 584 sizeCache protoimpl.SizeCache 585 unknownFields protoimpl.UnknownFields 586 587 PeerId *types.H512 `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` 588 Penalty PenaltyKind `protobuf:"varint,2,opt,name=penalty,proto3,enum=sentry.PenaltyKind" json:"penalty,omitempty"` 589 } 590 591 func (x *PenalizePeerRequest) Reset() { 592 *x = PenalizePeerRequest{} 593 if protoimpl.UnsafeEnabled { 594 mi := &file_p2psentry_sentry_proto_msgTypes[5] 595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 596 ms.StoreMessageInfo(mi) 597 } 598 } 599 600 func (x *PenalizePeerRequest) String() string { 601 return protoimpl.X.MessageStringOf(x) 602 } 603 604 func (*PenalizePeerRequest) ProtoMessage() {} 605 606 func (x *PenalizePeerRequest) ProtoReflect() protoreflect.Message { 607 mi := &file_p2psentry_sentry_proto_msgTypes[5] 608 if protoimpl.UnsafeEnabled && x != nil { 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 if ms.LoadMessageInfo() == nil { 611 ms.StoreMessageInfo(mi) 612 } 613 return ms 614 } 615 return mi.MessageOf(x) 616 } 617 618 // Deprecated: Use PenalizePeerRequest.ProtoReflect.Descriptor instead. 619 func (*PenalizePeerRequest) Descriptor() ([]byte, []int) { 620 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{5} 621 } 622 623 func (x *PenalizePeerRequest) GetPeerId() *types.H512 { 624 if x != nil { 625 return x.PeerId 626 } 627 return nil 628 } 629 630 func (x *PenalizePeerRequest) GetPenalty() PenaltyKind { 631 if x != nil { 632 return x.Penalty 633 } 634 return PenaltyKind_Kick 635 } 636 637 type PeerMinBlockRequest struct { 638 state protoimpl.MessageState 639 sizeCache protoimpl.SizeCache 640 unknownFields protoimpl.UnknownFields 641 642 PeerId *types.H512 `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` 643 MinBlock uint64 `protobuf:"varint,2,opt,name=min_block,json=minBlock,proto3" json:"min_block,omitempty"` 644 } 645 646 func (x *PeerMinBlockRequest) Reset() { 647 *x = PeerMinBlockRequest{} 648 if protoimpl.UnsafeEnabled { 649 mi := &file_p2psentry_sentry_proto_msgTypes[6] 650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 651 ms.StoreMessageInfo(mi) 652 } 653 } 654 655 func (x *PeerMinBlockRequest) String() string { 656 return protoimpl.X.MessageStringOf(x) 657 } 658 659 func (*PeerMinBlockRequest) ProtoMessage() {} 660 661 func (x *PeerMinBlockRequest) ProtoReflect() protoreflect.Message { 662 mi := &file_p2psentry_sentry_proto_msgTypes[6] 663 if protoimpl.UnsafeEnabled && x != nil { 664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 665 if ms.LoadMessageInfo() == nil { 666 ms.StoreMessageInfo(mi) 667 } 668 return ms 669 } 670 return mi.MessageOf(x) 671 } 672 673 // Deprecated: Use PeerMinBlockRequest.ProtoReflect.Descriptor instead. 674 func (*PeerMinBlockRequest) Descriptor() ([]byte, []int) { 675 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{6} 676 } 677 678 func (x *PeerMinBlockRequest) GetPeerId() *types.H512 { 679 if x != nil { 680 return x.PeerId 681 } 682 return nil 683 } 684 685 func (x *PeerMinBlockRequest) GetMinBlock() uint64 { 686 if x != nil { 687 return x.MinBlock 688 } 689 return 0 690 } 691 692 type AddPeerRequest struct { 693 state protoimpl.MessageState 694 sizeCache protoimpl.SizeCache 695 unknownFields protoimpl.UnknownFields 696 697 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` 698 } 699 700 func (x *AddPeerRequest) Reset() { 701 *x = AddPeerRequest{} 702 if protoimpl.UnsafeEnabled { 703 mi := &file_p2psentry_sentry_proto_msgTypes[7] 704 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 705 ms.StoreMessageInfo(mi) 706 } 707 } 708 709 func (x *AddPeerRequest) String() string { 710 return protoimpl.X.MessageStringOf(x) 711 } 712 713 func (*AddPeerRequest) ProtoMessage() {} 714 715 func (x *AddPeerRequest) ProtoReflect() protoreflect.Message { 716 mi := &file_p2psentry_sentry_proto_msgTypes[7] 717 if protoimpl.UnsafeEnabled && x != nil { 718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 719 if ms.LoadMessageInfo() == nil { 720 ms.StoreMessageInfo(mi) 721 } 722 return ms 723 } 724 return mi.MessageOf(x) 725 } 726 727 // Deprecated: Use AddPeerRequest.ProtoReflect.Descriptor instead. 728 func (*AddPeerRequest) Descriptor() ([]byte, []int) { 729 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{7} 730 } 731 732 func (x *AddPeerRequest) GetUrl() string { 733 if x != nil { 734 return x.Url 735 } 736 return "" 737 } 738 739 type InboundMessage struct { 740 state protoimpl.MessageState 741 sizeCache protoimpl.SizeCache 742 unknownFields protoimpl.UnknownFields 743 744 Id MessageId `protobuf:"varint,1,opt,name=id,proto3,enum=sentry.MessageId" json:"id,omitempty"` 745 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 746 PeerId *types.H512 `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` 747 } 748 749 func (x *InboundMessage) Reset() { 750 *x = InboundMessage{} 751 if protoimpl.UnsafeEnabled { 752 mi := &file_p2psentry_sentry_proto_msgTypes[8] 753 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 754 ms.StoreMessageInfo(mi) 755 } 756 } 757 758 func (x *InboundMessage) String() string { 759 return protoimpl.X.MessageStringOf(x) 760 } 761 762 func (*InboundMessage) ProtoMessage() {} 763 764 func (x *InboundMessage) ProtoReflect() protoreflect.Message { 765 mi := &file_p2psentry_sentry_proto_msgTypes[8] 766 if protoimpl.UnsafeEnabled && x != nil { 767 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 768 if ms.LoadMessageInfo() == nil { 769 ms.StoreMessageInfo(mi) 770 } 771 return ms 772 } 773 return mi.MessageOf(x) 774 } 775 776 // Deprecated: Use InboundMessage.ProtoReflect.Descriptor instead. 777 func (*InboundMessage) Descriptor() ([]byte, []int) { 778 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{8} 779 } 780 781 func (x *InboundMessage) GetId() MessageId { 782 if x != nil { 783 return x.Id 784 } 785 return MessageId_STATUS_65 786 } 787 788 func (x *InboundMessage) GetData() []byte { 789 if x != nil { 790 return x.Data 791 } 792 return nil 793 } 794 795 func (x *InboundMessage) GetPeerId() *types.H512 { 796 if x != nil { 797 return x.PeerId 798 } 799 return nil 800 } 801 802 type Forks struct { 803 state protoimpl.MessageState 804 sizeCache protoimpl.SizeCache 805 unknownFields protoimpl.UnknownFields 806 807 Genesis *types.H256 `protobuf:"bytes,1,opt,name=genesis,proto3" json:"genesis,omitempty"` 808 HeightForks []uint64 `protobuf:"varint,2,rep,packed,name=height_forks,json=heightForks,proto3" json:"height_forks,omitempty"` 809 TimeForks []uint64 `protobuf:"varint,3,rep,packed,name=time_forks,json=timeForks,proto3" json:"time_forks,omitempty"` 810 } 811 812 func (x *Forks) Reset() { 813 *x = Forks{} 814 if protoimpl.UnsafeEnabled { 815 mi := &file_p2psentry_sentry_proto_msgTypes[9] 816 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 817 ms.StoreMessageInfo(mi) 818 } 819 } 820 821 func (x *Forks) String() string { 822 return protoimpl.X.MessageStringOf(x) 823 } 824 825 func (*Forks) ProtoMessage() {} 826 827 func (x *Forks) ProtoReflect() protoreflect.Message { 828 mi := &file_p2psentry_sentry_proto_msgTypes[9] 829 if protoimpl.UnsafeEnabled && x != nil { 830 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 831 if ms.LoadMessageInfo() == nil { 832 ms.StoreMessageInfo(mi) 833 } 834 return ms 835 } 836 return mi.MessageOf(x) 837 } 838 839 // Deprecated: Use Forks.ProtoReflect.Descriptor instead. 840 func (*Forks) Descriptor() ([]byte, []int) { 841 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{9} 842 } 843 844 func (x *Forks) GetGenesis() *types.H256 { 845 if x != nil { 846 return x.Genesis 847 } 848 return nil 849 } 850 851 func (x *Forks) GetHeightForks() []uint64 { 852 if x != nil { 853 return x.HeightForks 854 } 855 return nil 856 } 857 858 func (x *Forks) GetTimeForks() []uint64 { 859 if x != nil { 860 return x.TimeForks 861 } 862 return nil 863 } 864 865 type StatusData struct { 866 state protoimpl.MessageState 867 sizeCache protoimpl.SizeCache 868 unknownFields protoimpl.UnknownFields 869 870 NetworkId uint64 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` 871 TotalDifficulty *types.H256 `protobuf:"bytes,2,opt,name=total_difficulty,json=totalDifficulty,proto3" json:"total_difficulty,omitempty"` 872 BestHash *types.H256 `protobuf:"bytes,3,opt,name=best_hash,json=bestHash,proto3" json:"best_hash,omitempty"` 873 ForkData *Forks `protobuf:"bytes,4,opt,name=fork_data,json=forkData,proto3" json:"fork_data,omitempty"` 874 MaxBlockHeight uint64 `protobuf:"varint,5,opt,name=max_block_height,json=maxBlockHeight,proto3" json:"max_block_height,omitempty"` 875 MaxBlockTime uint64 `protobuf:"varint,6,opt,name=max_block_time,json=maxBlockTime,proto3" json:"max_block_time,omitempty"` 876 } 877 878 func (x *StatusData) Reset() { 879 *x = StatusData{} 880 if protoimpl.UnsafeEnabled { 881 mi := &file_p2psentry_sentry_proto_msgTypes[10] 882 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 883 ms.StoreMessageInfo(mi) 884 } 885 } 886 887 func (x *StatusData) String() string { 888 return protoimpl.X.MessageStringOf(x) 889 } 890 891 func (*StatusData) ProtoMessage() {} 892 893 func (x *StatusData) ProtoReflect() protoreflect.Message { 894 mi := &file_p2psentry_sentry_proto_msgTypes[10] 895 if protoimpl.UnsafeEnabled && x != nil { 896 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 897 if ms.LoadMessageInfo() == nil { 898 ms.StoreMessageInfo(mi) 899 } 900 return ms 901 } 902 return mi.MessageOf(x) 903 } 904 905 // Deprecated: Use StatusData.ProtoReflect.Descriptor instead. 906 func (*StatusData) Descriptor() ([]byte, []int) { 907 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{10} 908 } 909 910 func (x *StatusData) GetNetworkId() uint64 { 911 if x != nil { 912 return x.NetworkId 913 } 914 return 0 915 } 916 917 func (x *StatusData) GetTotalDifficulty() *types.H256 { 918 if x != nil { 919 return x.TotalDifficulty 920 } 921 return nil 922 } 923 924 func (x *StatusData) GetBestHash() *types.H256 { 925 if x != nil { 926 return x.BestHash 927 } 928 return nil 929 } 930 931 func (x *StatusData) GetForkData() *Forks { 932 if x != nil { 933 return x.ForkData 934 } 935 return nil 936 } 937 938 func (x *StatusData) GetMaxBlockHeight() uint64 { 939 if x != nil { 940 return x.MaxBlockHeight 941 } 942 return 0 943 } 944 945 func (x *StatusData) GetMaxBlockTime() uint64 { 946 if x != nil { 947 return x.MaxBlockTime 948 } 949 return 0 950 } 951 952 type SetStatusReply struct { 953 state protoimpl.MessageState 954 sizeCache protoimpl.SizeCache 955 unknownFields protoimpl.UnknownFields 956 } 957 958 func (x *SetStatusReply) Reset() { 959 *x = SetStatusReply{} 960 if protoimpl.UnsafeEnabled { 961 mi := &file_p2psentry_sentry_proto_msgTypes[11] 962 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 963 ms.StoreMessageInfo(mi) 964 } 965 } 966 967 func (x *SetStatusReply) String() string { 968 return protoimpl.X.MessageStringOf(x) 969 } 970 971 func (*SetStatusReply) ProtoMessage() {} 972 973 func (x *SetStatusReply) ProtoReflect() protoreflect.Message { 974 mi := &file_p2psentry_sentry_proto_msgTypes[11] 975 if protoimpl.UnsafeEnabled && x != nil { 976 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 977 if ms.LoadMessageInfo() == nil { 978 ms.StoreMessageInfo(mi) 979 } 980 return ms 981 } 982 return mi.MessageOf(x) 983 } 984 985 // Deprecated: Use SetStatusReply.ProtoReflect.Descriptor instead. 986 func (*SetStatusReply) Descriptor() ([]byte, []int) { 987 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{11} 988 } 989 990 type HandShakeReply struct { 991 state protoimpl.MessageState 992 sizeCache protoimpl.SizeCache 993 unknownFields protoimpl.UnknownFields 994 995 Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=sentry.Protocol" json:"protocol,omitempty"` 996 } 997 998 func (x *HandShakeReply) Reset() { 999 *x = HandShakeReply{} 1000 if protoimpl.UnsafeEnabled { 1001 mi := &file_p2psentry_sentry_proto_msgTypes[12] 1002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1003 ms.StoreMessageInfo(mi) 1004 } 1005 } 1006 1007 func (x *HandShakeReply) String() string { 1008 return protoimpl.X.MessageStringOf(x) 1009 } 1010 1011 func (*HandShakeReply) ProtoMessage() {} 1012 1013 func (x *HandShakeReply) ProtoReflect() protoreflect.Message { 1014 mi := &file_p2psentry_sentry_proto_msgTypes[12] 1015 if protoimpl.UnsafeEnabled && x != nil { 1016 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1017 if ms.LoadMessageInfo() == nil { 1018 ms.StoreMessageInfo(mi) 1019 } 1020 return ms 1021 } 1022 return mi.MessageOf(x) 1023 } 1024 1025 // Deprecated: Use HandShakeReply.ProtoReflect.Descriptor instead. 1026 func (*HandShakeReply) Descriptor() ([]byte, []int) { 1027 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{12} 1028 } 1029 1030 func (x *HandShakeReply) GetProtocol() Protocol { 1031 if x != nil { 1032 return x.Protocol 1033 } 1034 return Protocol_ETH65 1035 } 1036 1037 type MessagesRequest struct { 1038 state protoimpl.MessageState 1039 sizeCache protoimpl.SizeCache 1040 unknownFields protoimpl.UnknownFields 1041 1042 Ids []MessageId `protobuf:"varint,1,rep,packed,name=ids,proto3,enum=sentry.MessageId" json:"ids,omitempty"` 1043 } 1044 1045 func (x *MessagesRequest) Reset() { 1046 *x = MessagesRequest{} 1047 if protoimpl.UnsafeEnabled { 1048 mi := &file_p2psentry_sentry_proto_msgTypes[13] 1049 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1050 ms.StoreMessageInfo(mi) 1051 } 1052 } 1053 1054 func (x *MessagesRequest) String() string { 1055 return protoimpl.X.MessageStringOf(x) 1056 } 1057 1058 func (*MessagesRequest) ProtoMessage() {} 1059 1060 func (x *MessagesRequest) ProtoReflect() protoreflect.Message { 1061 mi := &file_p2psentry_sentry_proto_msgTypes[13] 1062 if protoimpl.UnsafeEnabled && x != nil { 1063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1064 if ms.LoadMessageInfo() == nil { 1065 ms.StoreMessageInfo(mi) 1066 } 1067 return ms 1068 } 1069 return mi.MessageOf(x) 1070 } 1071 1072 // Deprecated: Use MessagesRequest.ProtoReflect.Descriptor instead. 1073 func (*MessagesRequest) Descriptor() ([]byte, []int) { 1074 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{13} 1075 } 1076 1077 func (x *MessagesRequest) GetIds() []MessageId { 1078 if x != nil { 1079 return x.Ids 1080 } 1081 return nil 1082 } 1083 1084 type PeersReply struct { 1085 state protoimpl.MessageState 1086 sizeCache protoimpl.SizeCache 1087 unknownFields protoimpl.UnknownFields 1088 1089 Peers []*types.PeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` 1090 } 1091 1092 func (x *PeersReply) Reset() { 1093 *x = PeersReply{} 1094 if protoimpl.UnsafeEnabled { 1095 mi := &file_p2psentry_sentry_proto_msgTypes[14] 1096 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1097 ms.StoreMessageInfo(mi) 1098 } 1099 } 1100 1101 func (x *PeersReply) String() string { 1102 return protoimpl.X.MessageStringOf(x) 1103 } 1104 1105 func (*PeersReply) ProtoMessage() {} 1106 1107 func (x *PeersReply) ProtoReflect() protoreflect.Message { 1108 mi := &file_p2psentry_sentry_proto_msgTypes[14] 1109 if protoimpl.UnsafeEnabled && x != nil { 1110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1111 if ms.LoadMessageInfo() == nil { 1112 ms.StoreMessageInfo(mi) 1113 } 1114 return ms 1115 } 1116 return mi.MessageOf(x) 1117 } 1118 1119 // Deprecated: Use PeersReply.ProtoReflect.Descriptor instead. 1120 func (*PeersReply) Descriptor() ([]byte, []int) { 1121 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{14} 1122 } 1123 1124 func (x *PeersReply) GetPeers() []*types.PeerInfo { 1125 if x != nil { 1126 return x.Peers 1127 } 1128 return nil 1129 } 1130 1131 type PeerCountRequest struct { 1132 state protoimpl.MessageState 1133 sizeCache protoimpl.SizeCache 1134 unknownFields protoimpl.UnknownFields 1135 } 1136 1137 func (x *PeerCountRequest) Reset() { 1138 *x = PeerCountRequest{} 1139 if protoimpl.UnsafeEnabled { 1140 mi := &file_p2psentry_sentry_proto_msgTypes[15] 1141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1142 ms.StoreMessageInfo(mi) 1143 } 1144 } 1145 1146 func (x *PeerCountRequest) String() string { 1147 return protoimpl.X.MessageStringOf(x) 1148 } 1149 1150 func (*PeerCountRequest) ProtoMessage() {} 1151 1152 func (x *PeerCountRequest) ProtoReflect() protoreflect.Message { 1153 mi := &file_p2psentry_sentry_proto_msgTypes[15] 1154 if protoimpl.UnsafeEnabled && x != nil { 1155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1156 if ms.LoadMessageInfo() == nil { 1157 ms.StoreMessageInfo(mi) 1158 } 1159 return ms 1160 } 1161 return mi.MessageOf(x) 1162 } 1163 1164 // Deprecated: Use PeerCountRequest.ProtoReflect.Descriptor instead. 1165 func (*PeerCountRequest) Descriptor() ([]byte, []int) { 1166 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{15} 1167 } 1168 1169 type PeerCountPerProtocol struct { 1170 state protoimpl.MessageState 1171 sizeCache protoimpl.SizeCache 1172 unknownFields protoimpl.UnknownFields 1173 1174 Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=sentry.Protocol" json:"protocol,omitempty"` 1175 Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 1176 } 1177 1178 func (x *PeerCountPerProtocol) Reset() { 1179 *x = PeerCountPerProtocol{} 1180 if protoimpl.UnsafeEnabled { 1181 mi := &file_p2psentry_sentry_proto_msgTypes[16] 1182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1183 ms.StoreMessageInfo(mi) 1184 } 1185 } 1186 1187 func (x *PeerCountPerProtocol) String() string { 1188 return protoimpl.X.MessageStringOf(x) 1189 } 1190 1191 func (*PeerCountPerProtocol) ProtoMessage() {} 1192 1193 func (x *PeerCountPerProtocol) ProtoReflect() protoreflect.Message { 1194 mi := &file_p2psentry_sentry_proto_msgTypes[16] 1195 if protoimpl.UnsafeEnabled && x != nil { 1196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1197 if ms.LoadMessageInfo() == nil { 1198 ms.StoreMessageInfo(mi) 1199 } 1200 return ms 1201 } 1202 return mi.MessageOf(x) 1203 } 1204 1205 // Deprecated: Use PeerCountPerProtocol.ProtoReflect.Descriptor instead. 1206 func (*PeerCountPerProtocol) Descriptor() ([]byte, []int) { 1207 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{16} 1208 } 1209 1210 func (x *PeerCountPerProtocol) GetProtocol() Protocol { 1211 if x != nil { 1212 return x.Protocol 1213 } 1214 return Protocol_ETH65 1215 } 1216 1217 func (x *PeerCountPerProtocol) GetCount() uint64 { 1218 if x != nil { 1219 return x.Count 1220 } 1221 return 0 1222 } 1223 1224 type PeerCountReply struct { 1225 state protoimpl.MessageState 1226 sizeCache protoimpl.SizeCache 1227 unknownFields protoimpl.UnknownFields 1228 1229 Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` 1230 CountsPerProtocol []*PeerCountPerProtocol `protobuf:"bytes,2,rep,name=counts_per_protocol,json=countsPerProtocol,proto3" json:"counts_per_protocol,omitempty"` 1231 } 1232 1233 func (x *PeerCountReply) Reset() { 1234 *x = PeerCountReply{} 1235 if protoimpl.UnsafeEnabled { 1236 mi := &file_p2psentry_sentry_proto_msgTypes[17] 1237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1238 ms.StoreMessageInfo(mi) 1239 } 1240 } 1241 1242 func (x *PeerCountReply) String() string { 1243 return protoimpl.X.MessageStringOf(x) 1244 } 1245 1246 func (*PeerCountReply) ProtoMessage() {} 1247 1248 func (x *PeerCountReply) ProtoReflect() protoreflect.Message { 1249 mi := &file_p2psentry_sentry_proto_msgTypes[17] 1250 if protoimpl.UnsafeEnabled && x != nil { 1251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1252 if ms.LoadMessageInfo() == nil { 1253 ms.StoreMessageInfo(mi) 1254 } 1255 return ms 1256 } 1257 return mi.MessageOf(x) 1258 } 1259 1260 // Deprecated: Use PeerCountReply.ProtoReflect.Descriptor instead. 1261 func (*PeerCountReply) Descriptor() ([]byte, []int) { 1262 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{17} 1263 } 1264 1265 func (x *PeerCountReply) GetCount() uint64 { 1266 if x != nil { 1267 return x.Count 1268 } 1269 return 0 1270 } 1271 1272 func (x *PeerCountReply) GetCountsPerProtocol() []*PeerCountPerProtocol { 1273 if x != nil { 1274 return x.CountsPerProtocol 1275 } 1276 return nil 1277 } 1278 1279 type PeerByIdRequest struct { 1280 state protoimpl.MessageState 1281 sizeCache protoimpl.SizeCache 1282 unknownFields protoimpl.UnknownFields 1283 1284 PeerId *types.H512 `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` 1285 } 1286 1287 func (x *PeerByIdRequest) Reset() { 1288 *x = PeerByIdRequest{} 1289 if protoimpl.UnsafeEnabled { 1290 mi := &file_p2psentry_sentry_proto_msgTypes[18] 1291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1292 ms.StoreMessageInfo(mi) 1293 } 1294 } 1295 1296 func (x *PeerByIdRequest) String() string { 1297 return protoimpl.X.MessageStringOf(x) 1298 } 1299 1300 func (*PeerByIdRequest) ProtoMessage() {} 1301 1302 func (x *PeerByIdRequest) ProtoReflect() protoreflect.Message { 1303 mi := &file_p2psentry_sentry_proto_msgTypes[18] 1304 if protoimpl.UnsafeEnabled && x != nil { 1305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1306 if ms.LoadMessageInfo() == nil { 1307 ms.StoreMessageInfo(mi) 1308 } 1309 return ms 1310 } 1311 return mi.MessageOf(x) 1312 } 1313 1314 // Deprecated: Use PeerByIdRequest.ProtoReflect.Descriptor instead. 1315 func (*PeerByIdRequest) Descriptor() ([]byte, []int) { 1316 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{18} 1317 } 1318 1319 func (x *PeerByIdRequest) GetPeerId() *types.H512 { 1320 if x != nil { 1321 return x.PeerId 1322 } 1323 return nil 1324 } 1325 1326 type PeerByIdReply struct { 1327 state protoimpl.MessageState 1328 sizeCache protoimpl.SizeCache 1329 unknownFields protoimpl.UnknownFields 1330 1331 Peer *types.PeerInfo `protobuf:"bytes,1,opt,name=peer,proto3,oneof" json:"peer,omitempty"` 1332 } 1333 1334 func (x *PeerByIdReply) Reset() { 1335 *x = PeerByIdReply{} 1336 if protoimpl.UnsafeEnabled { 1337 mi := &file_p2psentry_sentry_proto_msgTypes[19] 1338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1339 ms.StoreMessageInfo(mi) 1340 } 1341 } 1342 1343 func (x *PeerByIdReply) String() string { 1344 return protoimpl.X.MessageStringOf(x) 1345 } 1346 1347 func (*PeerByIdReply) ProtoMessage() {} 1348 1349 func (x *PeerByIdReply) ProtoReflect() protoreflect.Message { 1350 mi := &file_p2psentry_sentry_proto_msgTypes[19] 1351 if protoimpl.UnsafeEnabled && x != nil { 1352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1353 if ms.LoadMessageInfo() == nil { 1354 ms.StoreMessageInfo(mi) 1355 } 1356 return ms 1357 } 1358 return mi.MessageOf(x) 1359 } 1360 1361 // Deprecated: Use PeerByIdReply.ProtoReflect.Descriptor instead. 1362 func (*PeerByIdReply) Descriptor() ([]byte, []int) { 1363 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{19} 1364 } 1365 1366 func (x *PeerByIdReply) GetPeer() *types.PeerInfo { 1367 if x != nil { 1368 return x.Peer 1369 } 1370 return nil 1371 } 1372 1373 type PeerEventsRequest struct { 1374 state protoimpl.MessageState 1375 sizeCache protoimpl.SizeCache 1376 unknownFields protoimpl.UnknownFields 1377 } 1378 1379 func (x *PeerEventsRequest) Reset() { 1380 *x = PeerEventsRequest{} 1381 if protoimpl.UnsafeEnabled { 1382 mi := &file_p2psentry_sentry_proto_msgTypes[20] 1383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1384 ms.StoreMessageInfo(mi) 1385 } 1386 } 1387 1388 func (x *PeerEventsRequest) String() string { 1389 return protoimpl.X.MessageStringOf(x) 1390 } 1391 1392 func (*PeerEventsRequest) ProtoMessage() {} 1393 1394 func (x *PeerEventsRequest) ProtoReflect() protoreflect.Message { 1395 mi := &file_p2psentry_sentry_proto_msgTypes[20] 1396 if protoimpl.UnsafeEnabled && x != nil { 1397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1398 if ms.LoadMessageInfo() == nil { 1399 ms.StoreMessageInfo(mi) 1400 } 1401 return ms 1402 } 1403 return mi.MessageOf(x) 1404 } 1405 1406 // Deprecated: Use PeerEventsRequest.ProtoReflect.Descriptor instead. 1407 func (*PeerEventsRequest) Descriptor() ([]byte, []int) { 1408 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{20} 1409 } 1410 1411 type PeerEvent struct { 1412 state protoimpl.MessageState 1413 sizeCache protoimpl.SizeCache 1414 unknownFields protoimpl.UnknownFields 1415 1416 PeerId *types.H512 `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` 1417 EventId PeerEvent_PeerEventId `protobuf:"varint,2,opt,name=event_id,json=eventId,proto3,enum=sentry.PeerEvent_PeerEventId" json:"event_id,omitempty"` 1418 } 1419 1420 func (x *PeerEvent) Reset() { 1421 *x = PeerEvent{} 1422 if protoimpl.UnsafeEnabled { 1423 mi := &file_p2psentry_sentry_proto_msgTypes[21] 1424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1425 ms.StoreMessageInfo(mi) 1426 } 1427 } 1428 1429 func (x *PeerEvent) String() string { 1430 return protoimpl.X.MessageStringOf(x) 1431 } 1432 1433 func (*PeerEvent) ProtoMessage() {} 1434 1435 func (x *PeerEvent) ProtoReflect() protoreflect.Message { 1436 mi := &file_p2psentry_sentry_proto_msgTypes[21] 1437 if protoimpl.UnsafeEnabled && x != nil { 1438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1439 if ms.LoadMessageInfo() == nil { 1440 ms.StoreMessageInfo(mi) 1441 } 1442 return ms 1443 } 1444 return mi.MessageOf(x) 1445 } 1446 1447 // Deprecated: Use PeerEvent.ProtoReflect.Descriptor instead. 1448 func (*PeerEvent) Descriptor() ([]byte, []int) { 1449 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{21} 1450 } 1451 1452 func (x *PeerEvent) GetPeerId() *types.H512 { 1453 if x != nil { 1454 return x.PeerId 1455 } 1456 return nil 1457 } 1458 1459 func (x *PeerEvent) GetEventId() PeerEvent_PeerEventId { 1460 if x != nil { 1461 return x.EventId 1462 } 1463 return PeerEvent_Connect 1464 } 1465 1466 type AddPeerReply struct { 1467 state protoimpl.MessageState 1468 sizeCache protoimpl.SizeCache 1469 unknownFields protoimpl.UnknownFields 1470 1471 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` 1472 } 1473 1474 func (x *AddPeerReply) Reset() { 1475 *x = AddPeerReply{} 1476 if protoimpl.UnsafeEnabled { 1477 mi := &file_p2psentry_sentry_proto_msgTypes[22] 1478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1479 ms.StoreMessageInfo(mi) 1480 } 1481 } 1482 1483 func (x *AddPeerReply) String() string { 1484 return protoimpl.X.MessageStringOf(x) 1485 } 1486 1487 func (*AddPeerReply) ProtoMessage() {} 1488 1489 func (x *AddPeerReply) ProtoReflect() protoreflect.Message { 1490 mi := &file_p2psentry_sentry_proto_msgTypes[22] 1491 if protoimpl.UnsafeEnabled && x != nil { 1492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1493 if ms.LoadMessageInfo() == nil { 1494 ms.StoreMessageInfo(mi) 1495 } 1496 return ms 1497 } 1498 return mi.MessageOf(x) 1499 } 1500 1501 // Deprecated: Use AddPeerReply.ProtoReflect.Descriptor instead. 1502 func (*AddPeerReply) Descriptor() ([]byte, []int) { 1503 return file_p2psentry_sentry_proto_rawDescGZIP(), []int{22} 1504 } 1505 1506 func (x *AddPeerReply) GetSuccess() bool { 1507 if x != nil { 1508 return x.Success 1509 } 1510 return false 1511 } 1512 1513 var File_p2psentry_sentry_proto protoreflect.FileDescriptor 1514 1515 var file_p2psentry_sentry_proto_rawDesc = []byte{ 1516 0x0a, 0x16, 0x70, 0x32, 0x70, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x73, 0x65, 0x6e, 0x74, 1517 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 1518 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1519 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x74, 1520 0x79, 0x70, 0x65, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1521 0x22, 0x4c, 0x0a, 0x13, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 1522 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 1523 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x73, 1524 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 1525 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x89, 1526 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 1527 0x4d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1528 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 1529 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 1530 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 1531 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 1532 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1b, 0x0a, 1533 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 1534 0x52, 0x08, 0x6d, 0x61, 0x78, 0x50, 0x65, 0x65, 0x72, 0x73, 0x22, 0x6f, 0x0a, 0x16, 0x53, 0x65, 1535 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 1536 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 1537 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74, 0x62, 1538 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 1539 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 1540 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 1541 0x35, 0x31, 0x32, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x1f, 0x53, 1542 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x61, 0x6e, 0x64, 1543 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 1544 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 1545 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 1546 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 1547 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 1548 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x50, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2e, 0x0a, 0x09, 1549 0x53, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x05, 0x70, 0x65, 0x65, 1550 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 1551 0x2e, 0x48, 0x35, 0x31, 0x32, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x6a, 0x0a, 0x13, 1552 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 1553 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 1554 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x35, 0x31, 1555 0x32, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x65, 0x6e, 1556 0x61, 0x6c, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x73, 0x65, 0x6e, 1557 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x52, 1558 0x07, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x22, 0x58, 0x0a, 0x13, 0x50, 0x65, 0x65, 0x72, 1559 0x4d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1560 0x24, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 1561 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x35, 0x31, 0x32, 0x52, 0x06, 0x70, 1562 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 1563 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 1564 0x63, 0x6b, 0x22, 0x22, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 1565 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 1566 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x6d, 0x0a, 0x0e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 1567 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 1568 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 1569 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 1570 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 1571 0x24, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 1572 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x35, 0x31, 0x32, 0x52, 0x06, 0x70, 1573 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x05, 0x46, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x25, 1574 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 1575 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x07, 0x67, 0x65, 1576 0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 1577 0x66, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x68, 0x65, 0x69, 1578 0x67, 0x68, 0x74, 0x46, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 1579 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 1580 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x73, 0x22, 0x89, 0x02, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 1581 0x75, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 1582 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 1583 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 1584 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 1585 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0f, 0x74, 0x6f, 1586 0x74, 0x61, 0x6c, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x28, 0x0a, 1587 0x09, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 1588 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x08, 0x62, 1589 0x65, 0x73, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2a, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 1590 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x73, 0x65, 0x6e, 1591 0x74, 0x72, 0x79, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x73, 0x52, 0x08, 0x66, 0x6f, 0x72, 0x6b, 0x44, 1592 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 1593 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 1594 0x61, 0x78, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 1595 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 1596 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 1597 0x69, 0x6d, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 1598 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x3e, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x53, 0x68, 0x61, 1599 0x6b, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1600 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x73, 0x65, 0x6e, 0x74, 1601 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 1602 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x36, 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 1603 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 1604 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 1605 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x33, 0x0a, 1606 0x0a, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x70, 1607 0x65, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x79, 0x70, 1608 0x65, 0x73, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x70, 0x65, 0x65, 1609 0x72, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 1610 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x14, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 1611 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 1612 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 1613 0x32, 0x10, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 1614 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x05, 1615 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 1616 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x0e, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 1617 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 1618 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x13, 0x63, 0x6f, 1619 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 1620 0x6c, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 1621 0x2e, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x50, 0x72, 0x6f, 1622 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x50, 0x65, 0x72, 1623 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x37, 0x0a, 0x0f, 0x50, 0x65, 0x65, 0x72, 1624 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x07, 0x70, 1625 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 1626 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x35, 0x31, 0x32, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 1627 0x64, 0x22, 0x42, 0x0a, 0x0d, 0x50, 0x65, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x70, 1628 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 1629 0x32, 0x0f, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 1630 0x6f, 0x48, 0x00, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 1631 0x5f, 0x70, 0x65, 0x65, 0x72, 0x22, 0x13, 0x0a, 0x11, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 1632 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x50, 1633 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 1634 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 1635 0x73, 0x2e, 0x48, 0x35, 0x31, 0x32, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x38, 1636 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 1637 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 1638 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 1639 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x0b, 0x50, 0x65, 0x65, 0x72, 1640 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 1641 0x63, 0x74, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 1642 0x63, 0x74, 0x10, 0x01, 0x22, 0x28, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x52, 1643 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 1644 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2a, 0x80, 1645 0x06, 0x0a, 0x09, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x0d, 0x0a, 0x09, 1646 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x47, 1647 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x53, 1648 0x5f, 0x36, 0x35, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 1649 0x45, 0x41, 0x44, 0x45, 0x52, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x42, 1650 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x45, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x03, 1651 0x12, 0x17, 0x0a, 0x13, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x42, 0x4f, 1652 0x44, 0x49, 0x45, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x4c, 0x4f, 1653 0x43, 0x4b, 0x5f, 0x42, 0x4f, 0x44, 0x49, 0x45, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x05, 0x12, 0x14, 1654 0x0a, 0x10, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 1655 0x36, 0x35, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x41, 0x54, 1656 0x41, 0x5f, 0x36, 0x35, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x47, 0x45, 0x54, 0x5f, 0x52, 0x45, 1657 0x43, 0x45, 0x49, 0x50, 0x54, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 1658 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 1659 0x4e, 0x45, 0x57, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x45, 0x53, 1660 0x5f, 0x36, 0x35, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x45, 0x57, 0x5f, 0x42, 0x4c, 0x4f, 1661 0x43, 0x4b, 0x5f, 0x36, 0x35, 0x10, 0x0b, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, 1662 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x0c, 0x12, 0x24, 0x0a, 0x20, 1663 0x4e, 0x45, 0x57, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 1664 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x45, 0x53, 0x5f, 0x36, 0x35, 1665 0x10, 0x0d, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 1666 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x36, 0x35, 1667 0x10, 0x0e, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 1668 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x36, 0x35, 0x10, 0x0f, 0x12, 0x0d, 1669 0x0a, 0x09, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x11, 0x12, 0x17, 0x0a, 1670 0x13, 0x4e, 0x45, 0x57, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x45, 1671 0x53, 0x5f, 0x36, 0x36, 0x10, 0x12, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x45, 0x57, 0x5f, 0x42, 0x4c, 1672 0x4f, 0x43, 0x4b, 0x5f, 0x36, 0x36, 0x10, 0x13, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 1673 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x14, 0x12, 0x24, 0x0a, 1674 0x20, 0x4e, 0x45, 0x57, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x4e, 1675 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x45, 0x53, 0x5f, 0x36, 1676 0x36, 0x10, 0x15, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 1677 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x16, 0x12, 0x17, 0x0a, 1678 0x13, 0x47, 0x45, 0x54, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x42, 0x4f, 0x44, 0x49, 0x45, 1679 0x53, 0x5f, 0x36, 0x36, 0x10, 0x17, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 1680 0x44, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x36, 0x36, 0x10, 0x18, 0x12, 0x13, 0x0a, 0x0f, 1681 0x47, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x53, 0x5f, 0x36, 0x36, 0x10, 1682 0x19, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x45, 0x54, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 0x5f, 1683 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x36, 0x36, 0x10, 1684 0x1a, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 1685 0x52, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x1b, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 1686 0x5f, 0x42, 0x4f, 0x44, 0x49, 0x45, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x1c, 0x12, 0x10, 0x0a, 0x0c, 1687 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x36, 0x36, 0x10, 0x1d, 0x12, 0x0f, 1688 0x0a, 0x0b, 0x52, 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x1e, 0x12, 1689 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 1690 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x36, 0x36, 0x10, 0x1f, 0x12, 0x24, 0x0a, 0x20, 0x4e, 1691 0x45, 0x57, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 1692 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x45, 0x53, 0x5f, 0x36, 0x38, 0x10, 1693 0x20, 0x2a, 0x17, 0x0a, 0x0b, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x4b, 0x69, 0x6e, 0x64, 1694 0x12, 0x08, 0x0a, 0x04, 0x4b, 0x69, 0x63, 0x6b, 0x10, 0x00, 0x2a, 0x36, 0x0a, 0x08, 0x50, 0x72, 1695 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x54, 0x48, 0x36, 0x35, 0x10, 1696 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x54, 0x48, 0x36, 0x36, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 1697 0x45, 0x54, 0x48, 0x36, 0x37, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x54, 0x48, 0x36, 0x38, 1698 0x10, 0x03, 0x32, 0xdc, 0x07, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x37, 0x0a, 1699 0x09, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x2e, 0x73, 0x65, 0x6e, 1700 0x74, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x16, 1701 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 1702 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x43, 0x0a, 0x0c, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x69, 1703 0x7a, 0x65, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 1704 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 1705 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1706 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0c, 0x50, 1707 0x65, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1b, 0x2e, 0x73, 0x65, 1708 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 1709 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1710 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 1711 0x12, 0x3b, 0x0a, 0x09, 0x48, 0x61, 0x6e, 0x64, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x12, 0x16, 0x2e, 1712 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1713 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x48, 1714 0x61, 0x6e, 0x64, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x50, 0x0a, 1715 0x15, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 0x4d, 0x69, 1716 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 1717 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 0x4d, 0x69, 0x6e, 1718 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x73, 1719 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 1720 0x44, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 1721 0x49, 0x64, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6e, 0x64, 1722 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 1723 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6e, 0x74, 1724 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x56, 0x0a, 0x18, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 1725 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 1726 0x73, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 1727 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x65, 1728 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x73, 0x65, 0x6e, 1729 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x42, 0x0a, 1730 0x10, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x6c, 1731 0x6c, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 1732 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x11, 1733 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x65, 0x72, 1734 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x17, 0x2e, 1735 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 1736 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 1737 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x30, 0x01, 1738 0x12, 0x33, 0x0a, 0x05, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1739 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 1740 0x79, 0x1a, 0x12, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x73, 1741 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3d, 0x0a, 0x09, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 1742 0x6e, 0x74, 0x12, 0x18, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 1743 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x73, 1744 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 1745 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 1746 0x12, 0x17, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x42, 0x79, 1747 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x73, 0x65, 0x6e, 0x74, 1748 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 1749 0x12, 0x3c, 0x0a, 0x0a, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x19, 1750 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 1751 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x73, 0x65, 0x6e, 0x74, 1752 0x72, 0x79, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, 0x37, 1753 0x0a, 0x07, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x73, 0x65, 0x6e, 0x74, 1754 0x72, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1755 0x74, 0x1a, 0x14, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x65, 1756 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x38, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 1757 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1758 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x74, 0x79, 1759 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 1760 0x79, 0x42, 0x11, 0x5a, 0x0f, 0x2e, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3b, 0x73, 0x65, 1761 0x6e, 0x74, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1762 } 1763 1764 var ( 1765 file_p2psentry_sentry_proto_rawDescOnce sync.Once 1766 file_p2psentry_sentry_proto_rawDescData = file_p2psentry_sentry_proto_rawDesc 1767 ) 1768 1769 func file_p2psentry_sentry_proto_rawDescGZIP() []byte { 1770 file_p2psentry_sentry_proto_rawDescOnce.Do(func() { 1771 file_p2psentry_sentry_proto_rawDescData = protoimpl.X.CompressGZIP(file_p2psentry_sentry_proto_rawDescData) 1772 }) 1773 return file_p2psentry_sentry_proto_rawDescData 1774 } 1775 1776 var file_p2psentry_sentry_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1777 var file_p2psentry_sentry_proto_msgTypes = make([]protoimpl.MessageInfo, 23) 1778 var file_p2psentry_sentry_proto_goTypes = []interface{}{ 1779 (MessageId)(0), // 0: sentry.MessageId 1780 (PenaltyKind)(0), // 1: sentry.PenaltyKind 1781 (Protocol)(0), // 2: sentry.Protocol 1782 (PeerEvent_PeerEventId)(0), // 3: sentry.PeerEvent.PeerEventId 1783 (*OutboundMessageData)(nil), // 4: sentry.OutboundMessageData 1784 (*SendMessageByMinBlockRequest)(nil), // 5: sentry.SendMessageByMinBlockRequest 1785 (*SendMessageByIdRequest)(nil), // 6: sentry.SendMessageByIdRequest 1786 (*SendMessageToRandomPeersRequest)(nil), // 7: sentry.SendMessageToRandomPeersRequest 1787 (*SentPeers)(nil), // 8: sentry.SentPeers 1788 (*PenalizePeerRequest)(nil), // 9: sentry.PenalizePeerRequest 1789 (*PeerMinBlockRequest)(nil), // 10: sentry.PeerMinBlockRequest 1790 (*AddPeerRequest)(nil), // 11: sentry.AddPeerRequest 1791 (*InboundMessage)(nil), // 12: sentry.InboundMessage 1792 (*Forks)(nil), // 13: sentry.Forks 1793 (*StatusData)(nil), // 14: sentry.StatusData 1794 (*SetStatusReply)(nil), // 15: sentry.SetStatusReply 1795 (*HandShakeReply)(nil), // 16: sentry.HandShakeReply 1796 (*MessagesRequest)(nil), // 17: sentry.MessagesRequest 1797 (*PeersReply)(nil), // 18: sentry.PeersReply 1798 (*PeerCountRequest)(nil), // 19: sentry.PeerCountRequest 1799 (*PeerCountPerProtocol)(nil), // 20: sentry.PeerCountPerProtocol 1800 (*PeerCountReply)(nil), // 21: sentry.PeerCountReply 1801 (*PeerByIdRequest)(nil), // 22: sentry.PeerByIdRequest 1802 (*PeerByIdReply)(nil), // 23: sentry.PeerByIdReply 1803 (*PeerEventsRequest)(nil), // 24: sentry.PeerEventsRequest 1804 (*PeerEvent)(nil), // 25: sentry.PeerEvent 1805 (*AddPeerReply)(nil), // 26: sentry.AddPeerReply 1806 (*types.H512)(nil), // 27: types.H512 1807 (*types.H256)(nil), // 28: types.H256 1808 (*types.PeerInfo)(nil), // 29: types.PeerInfo 1809 (*emptypb.Empty)(nil), // 30: google.protobuf.Empty 1810 (*types.NodeInfoReply)(nil), // 31: types.NodeInfoReply 1811 } 1812 var file_p2psentry_sentry_proto_depIdxs = []int32{ 1813 0, // 0: sentry.OutboundMessageData.id:type_name -> sentry.MessageId 1814 4, // 1: sentry.SendMessageByMinBlockRequest.data:type_name -> sentry.OutboundMessageData 1815 4, // 2: sentry.SendMessageByIdRequest.data:type_name -> sentry.OutboundMessageData 1816 27, // 3: sentry.SendMessageByIdRequest.peer_id:type_name -> types.H512 1817 4, // 4: sentry.SendMessageToRandomPeersRequest.data:type_name -> sentry.OutboundMessageData 1818 27, // 5: sentry.SentPeers.peers:type_name -> types.H512 1819 27, // 6: sentry.PenalizePeerRequest.peer_id:type_name -> types.H512 1820 1, // 7: sentry.PenalizePeerRequest.penalty:type_name -> sentry.PenaltyKind 1821 27, // 8: sentry.PeerMinBlockRequest.peer_id:type_name -> types.H512 1822 0, // 9: sentry.InboundMessage.id:type_name -> sentry.MessageId 1823 27, // 10: sentry.InboundMessage.peer_id:type_name -> types.H512 1824 28, // 11: sentry.Forks.genesis:type_name -> types.H256 1825 28, // 12: sentry.StatusData.total_difficulty:type_name -> types.H256 1826 28, // 13: sentry.StatusData.best_hash:type_name -> types.H256 1827 13, // 14: sentry.StatusData.fork_data:type_name -> sentry.Forks 1828 2, // 15: sentry.HandShakeReply.protocol:type_name -> sentry.Protocol 1829 0, // 16: sentry.MessagesRequest.ids:type_name -> sentry.MessageId 1830 29, // 17: sentry.PeersReply.peers:type_name -> types.PeerInfo 1831 2, // 18: sentry.PeerCountPerProtocol.protocol:type_name -> sentry.Protocol 1832 20, // 19: sentry.PeerCountReply.counts_per_protocol:type_name -> sentry.PeerCountPerProtocol 1833 27, // 20: sentry.PeerByIdRequest.peer_id:type_name -> types.H512 1834 29, // 21: sentry.PeerByIdReply.peer:type_name -> types.PeerInfo 1835 27, // 22: sentry.PeerEvent.peer_id:type_name -> types.H512 1836 3, // 23: sentry.PeerEvent.event_id:type_name -> sentry.PeerEvent.PeerEventId 1837 14, // 24: sentry.Sentry.SetStatus:input_type -> sentry.StatusData 1838 9, // 25: sentry.Sentry.PenalizePeer:input_type -> sentry.PenalizePeerRequest 1839 10, // 26: sentry.Sentry.PeerMinBlock:input_type -> sentry.PeerMinBlockRequest 1840 30, // 27: sentry.Sentry.HandShake:input_type -> google.protobuf.Empty 1841 5, // 28: sentry.Sentry.SendMessageByMinBlock:input_type -> sentry.SendMessageByMinBlockRequest 1842 6, // 29: sentry.Sentry.SendMessageById:input_type -> sentry.SendMessageByIdRequest 1843 7, // 30: sentry.Sentry.SendMessageToRandomPeers:input_type -> sentry.SendMessageToRandomPeersRequest 1844 4, // 31: sentry.Sentry.SendMessageToAll:input_type -> sentry.OutboundMessageData 1845 17, // 32: sentry.Sentry.Messages:input_type -> sentry.MessagesRequest 1846 30, // 33: sentry.Sentry.Peers:input_type -> google.protobuf.Empty 1847 19, // 34: sentry.Sentry.PeerCount:input_type -> sentry.PeerCountRequest 1848 22, // 35: sentry.Sentry.PeerById:input_type -> sentry.PeerByIdRequest 1849 24, // 36: sentry.Sentry.PeerEvents:input_type -> sentry.PeerEventsRequest 1850 11, // 37: sentry.Sentry.AddPeer:input_type -> sentry.AddPeerRequest 1851 30, // 38: sentry.Sentry.NodeInfo:input_type -> google.protobuf.Empty 1852 15, // 39: sentry.Sentry.SetStatus:output_type -> sentry.SetStatusReply 1853 30, // 40: sentry.Sentry.PenalizePeer:output_type -> google.protobuf.Empty 1854 30, // 41: sentry.Sentry.PeerMinBlock:output_type -> google.protobuf.Empty 1855 16, // 42: sentry.Sentry.HandShake:output_type -> sentry.HandShakeReply 1856 8, // 43: sentry.Sentry.SendMessageByMinBlock:output_type -> sentry.SentPeers 1857 8, // 44: sentry.Sentry.SendMessageById:output_type -> sentry.SentPeers 1858 8, // 45: sentry.Sentry.SendMessageToRandomPeers:output_type -> sentry.SentPeers 1859 8, // 46: sentry.Sentry.SendMessageToAll:output_type -> sentry.SentPeers 1860 12, // 47: sentry.Sentry.Messages:output_type -> sentry.InboundMessage 1861 18, // 48: sentry.Sentry.Peers:output_type -> sentry.PeersReply 1862 21, // 49: sentry.Sentry.PeerCount:output_type -> sentry.PeerCountReply 1863 23, // 50: sentry.Sentry.PeerById:output_type -> sentry.PeerByIdReply 1864 25, // 51: sentry.Sentry.PeerEvents:output_type -> sentry.PeerEvent 1865 26, // 52: sentry.Sentry.AddPeer:output_type -> sentry.AddPeerReply 1866 31, // 53: sentry.Sentry.NodeInfo:output_type -> types.NodeInfoReply 1867 39, // [39:54] is the sub-list for method output_type 1868 24, // [24:39] is the sub-list for method input_type 1869 24, // [24:24] is the sub-list for extension type_name 1870 24, // [24:24] is the sub-list for extension extendee 1871 0, // [0:24] is the sub-list for field type_name 1872 } 1873 1874 func init() { file_p2psentry_sentry_proto_init() } 1875 func file_p2psentry_sentry_proto_init() { 1876 if File_p2psentry_sentry_proto != nil { 1877 return 1878 } 1879 if !protoimpl.UnsafeEnabled { 1880 file_p2psentry_sentry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1881 switch v := v.(*OutboundMessageData); i { 1882 case 0: 1883 return &v.state 1884 case 1: 1885 return &v.sizeCache 1886 case 2: 1887 return &v.unknownFields 1888 default: 1889 return nil 1890 } 1891 } 1892 file_p2psentry_sentry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1893 switch v := v.(*SendMessageByMinBlockRequest); i { 1894 case 0: 1895 return &v.state 1896 case 1: 1897 return &v.sizeCache 1898 case 2: 1899 return &v.unknownFields 1900 default: 1901 return nil 1902 } 1903 } 1904 file_p2psentry_sentry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1905 switch v := v.(*SendMessageByIdRequest); i { 1906 case 0: 1907 return &v.state 1908 case 1: 1909 return &v.sizeCache 1910 case 2: 1911 return &v.unknownFields 1912 default: 1913 return nil 1914 } 1915 } 1916 file_p2psentry_sentry_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1917 switch v := v.(*SendMessageToRandomPeersRequest); i { 1918 case 0: 1919 return &v.state 1920 case 1: 1921 return &v.sizeCache 1922 case 2: 1923 return &v.unknownFields 1924 default: 1925 return nil 1926 } 1927 } 1928 file_p2psentry_sentry_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1929 switch v := v.(*SentPeers); i { 1930 case 0: 1931 return &v.state 1932 case 1: 1933 return &v.sizeCache 1934 case 2: 1935 return &v.unknownFields 1936 default: 1937 return nil 1938 } 1939 } 1940 file_p2psentry_sentry_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1941 switch v := v.(*PenalizePeerRequest); i { 1942 case 0: 1943 return &v.state 1944 case 1: 1945 return &v.sizeCache 1946 case 2: 1947 return &v.unknownFields 1948 default: 1949 return nil 1950 } 1951 } 1952 file_p2psentry_sentry_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1953 switch v := v.(*PeerMinBlockRequest); i { 1954 case 0: 1955 return &v.state 1956 case 1: 1957 return &v.sizeCache 1958 case 2: 1959 return &v.unknownFields 1960 default: 1961 return nil 1962 } 1963 } 1964 file_p2psentry_sentry_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1965 switch v := v.(*AddPeerRequest); i { 1966 case 0: 1967 return &v.state 1968 case 1: 1969 return &v.sizeCache 1970 case 2: 1971 return &v.unknownFields 1972 default: 1973 return nil 1974 } 1975 } 1976 file_p2psentry_sentry_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1977 switch v := v.(*InboundMessage); i { 1978 case 0: 1979 return &v.state 1980 case 1: 1981 return &v.sizeCache 1982 case 2: 1983 return &v.unknownFields 1984 default: 1985 return nil 1986 } 1987 } 1988 file_p2psentry_sentry_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1989 switch v := v.(*Forks); i { 1990 case 0: 1991 return &v.state 1992 case 1: 1993 return &v.sizeCache 1994 case 2: 1995 return &v.unknownFields 1996 default: 1997 return nil 1998 } 1999 } 2000 file_p2psentry_sentry_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2001 switch v := v.(*StatusData); i { 2002 case 0: 2003 return &v.state 2004 case 1: 2005 return &v.sizeCache 2006 case 2: 2007 return &v.unknownFields 2008 default: 2009 return nil 2010 } 2011 } 2012 file_p2psentry_sentry_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2013 switch v := v.(*SetStatusReply); i { 2014 case 0: 2015 return &v.state 2016 case 1: 2017 return &v.sizeCache 2018 case 2: 2019 return &v.unknownFields 2020 default: 2021 return nil 2022 } 2023 } 2024 file_p2psentry_sentry_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2025 switch v := v.(*HandShakeReply); i { 2026 case 0: 2027 return &v.state 2028 case 1: 2029 return &v.sizeCache 2030 case 2: 2031 return &v.unknownFields 2032 default: 2033 return nil 2034 } 2035 } 2036 file_p2psentry_sentry_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2037 switch v := v.(*MessagesRequest); i { 2038 case 0: 2039 return &v.state 2040 case 1: 2041 return &v.sizeCache 2042 case 2: 2043 return &v.unknownFields 2044 default: 2045 return nil 2046 } 2047 } 2048 file_p2psentry_sentry_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2049 switch v := v.(*PeersReply); i { 2050 case 0: 2051 return &v.state 2052 case 1: 2053 return &v.sizeCache 2054 case 2: 2055 return &v.unknownFields 2056 default: 2057 return nil 2058 } 2059 } 2060 file_p2psentry_sentry_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2061 switch v := v.(*PeerCountRequest); i { 2062 case 0: 2063 return &v.state 2064 case 1: 2065 return &v.sizeCache 2066 case 2: 2067 return &v.unknownFields 2068 default: 2069 return nil 2070 } 2071 } 2072 file_p2psentry_sentry_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2073 switch v := v.(*PeerCountPerProtocol); i { 2074 case 0: 2075 return &v.state 2076 case 1: 2077 return &v.sizeCache 2078 case 2: 2079 return &v.unknownFields 2080 default: 2081 return nil 2082 } 2083 } 2084 file_p2psentry_sentry_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2085 switch v := v.(*PeerCountReply); i { 2086 case 0: 2087 return &v.state 2088 case 1: 2089 return &v.sizeCache 2090 case 2: 2091 return &v.unknownFields 2092 default: 2093 return nil 2094 } 2095 } 2096 file_p2psentry_sentry_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2097 switch v := v.(*PeerByIdRequest); i { 2098 case 0: 2099 return &v.state 2100 case 1: 2101 return &v.sizeCache 2102 case 2: 2103 return &v.unknownFields 2104 default: 2105 return nil 2106 } 2107 } 2108 file_p2psentry_sentry_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2109 switch v := v.(*PeerByIdReply); i { 2110 case 0: 2111 return &v.state 2112 case 1: 2113 return &v.sizeCache 2114 case 2: 2115 return &v.unknownFields 2116 default: 2117 return nil 2118 } 2119 } 2120 file_p2psentry_sentry_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2121 switch v := v.(*PeerEventsRequest); i { 2122 case 0: 2123 return &v.state 2124 case 1: 2125 return &v.sizeCache 2126 case 2: 2127 return &v.unknownFields 2128 default: 2129 return nil 2130 } 2131 } 2132 file_p2psentry_sentry_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2133 switch v := v.(*PeerEvent); i { 2134 case 0: 2135 return &v.state 2136 case 1: 2137 return &v.sizeCache 2138 case 2: 2139 return &v.unknownFields 2140 default: 2141 return nil 2142 } 2143 } 2144 file_p2psentry_sentry_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2145 switch v := v.(*AddPeerReply); i { 2146 case 0: 2147 return &v.state 2148 case 1: 2149 return &v.sizeCache 2150 case 2: 2151 return &v.unknownFields 2152 default: 2153 return nil 2154 } 2155 } 2156 } 2157 file_p2psentry_sentry_proto_msgTypes[19].OneofWrappers = []interface{}{} 2158 type x struct{} 2159 out := protoimpl.TypeBuilder{ 2160 File: protoimpl.DescBuilder{ 2161 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2162 RawDescriptor: file_p2psentry_sentry_proto_rawDesc, 2163 NumEnums: 4, 2164 NumMessages: 23, 2165 NumExtensions: 0, 2166 NumServices: 1, 2167 }, 2168 GoTypes: file_p2psentry_sentry_proto_goTypes, 2169 DependencyIndexes: file_p2psentry_sentry_proto_depIdxs, 2170 EnumInfos: file_p2psentry_sentry_proto_enumTypes, 2171 MessageInfos: file_p2psentry_sentry_proto_msgTypes, 2172 }.Build() 2173 File_p2psentry_sentry_proto = out.File 2174 file_p2psentry_sentry_proto_rawDesc = nil 2175 file_p2psentry_sentry_proto_goTypes = nil 2176 file_p2psentry_sentry_proto_depIdxs = nil 2177 }