github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/netmap/grpc/service.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.21.9 5 // source: netmap/grpc/service.proto 6 7 package netmap 8 9 import ( 10 grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" 11 grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 // Get NodeInfo structure directly from a particular node 26 type LocalNodeInfoRequest struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 // Body of the LocalNodeInfo request message 32 Body *LocalNodeInfoRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 33 // Carries request meta information. Header data is used only to regulate 34 // message transport and does not affect request execution. 35 MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 36 // Carries request verification information. This header is used to 37 // authenticate the nodes of the message route and check the correctness of 38 // transmission. 39 VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 40 } 41 42 func (x *LocalNodeInfoRequest) Reset() { 43 *x = LocalNodeInfoRequest{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_netmap_grpc_service_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *LocalNodeInfoRequest) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*LocalNodeInfoRequest) ProtoMessage() {} 56 57 func (x *LocalNodeInfoRequest) ProtoReflect() protoreflect.Message { 58 mi := &file_netmap_grpc_service_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use LocalNodeInfoRequest.ProtoReflect.Descriptor instead. 70 func (*LocalNodeInfoRequest) Descriptor() ([]byte, []int) { 71 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *LocalNodeInfoRequest) GetBody() *LocalNodeInfoRequest_Body { 75 if x != nil { 76 return x.Body 77 } 78 return nil 79 } 80 81 func (x *LocalNodeInfoRequest) GetMetaHeader() *grpc.RequestMetaHeader { 82 if x != nil { 83 return x.MetaHeader 84 } 85 return nil 86 } 87 88 func (x *LocalNodeInfoRequest) GetVerifyHeader() *grpc.RequestVerificationHeader { 89 if x != nil { 90 return x.VerifyHeader 91 } 92 return nil 93 } 94 95 // Local Node Info, including API Version in use 96 type LocalNodeInfoResponse struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 // Body of the balance response message. 102 Body *LocalNodeInfoResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 103 // Carries response meta information. Header data is used only to regulate 104 // message transport and does not affect response execution. 105 MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 106 // Carries response verification information. This header is used to 107 // authenticate the nodes of the message route and check the correctness of 108 // transmission. 109 VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 110 } 111 112 func (x *LocalNodeInfoResponse) Reset() { 113 *x = LocalNodeInfoResponse{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_netmap_grpc_service_proto_msgTypes[1] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119 } 120 121 func (x *LocalNodeInfoResponse) String() string { 122 return protoimpl.X.MessageStringOf(x) 123 } 124 125 func (*LocalNodeInfoResponse) ProtoMessage() {} 126 127 func (x *LocalNodeInfoResponse) ProtoReflect() protoreflect.Message { 128 mi := &file_netmap_grpc_service_proto_msgTypes[1] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137 } 138 139 // Deprecated: Use LocalNodeInfoResponse.ProtoReflect.Descriptor instead. 140 func (*LocalNodeInfoResponse) Descriptor() ([]byte, []int) { 141 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{1} 142 } 143 144 func (x *LocalNodeInfoResponse) GetBody() *LocalNodeInfoResponse_Body { 145 if x != nil { 146 return x.Body 147 } 148 return nil 149 } 150 151 func (x *LocalNodeInfoResponse) GetMetaHeader() *grpc.ResponseMetaHeader { 152 if x != nil { 153 return x.MetaHeader 154 } 155 return nil 156 } 157 158 func (x *LocalNodeInfoResponse) GetVerifyHeader() *grpc.ResponseVerificationHeader { 159 if x != nil { 160 return x.VerifyHeader 161 } 162 return nil 163 } 164 165 // Get NetworkInfo structure with the network view from a particular node. 166 type NetworkInfoRequest struct { 167 state protoimpl.MessageState 168 sizeCache protoimpl.SizeCache 169 unknownFields protoimpl.UnknownFields 170 171 // Body of the NetworkInfo request message 172 Body *NetworkInfoRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 173 // Carries request meta information. Header data is used only to regulate 174 // message transport and does not affect request execution. 175 MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 176 // Carries request verification information. This header is used to 177 // authenticate the nodes of the message route and check the correctness of 178 // transmission. 179 VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 180 } 181 182 func (x *NetworkInfoRequest) Reset() { 183 *x = NetworkInfoRequest{} 184 if protoimpl.UnsafeEnabled { 185 mi := &file_netmap_grpc_service_proto_msgTypes[2] 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 ms.StoreMessageInfo(mi) 188 } 189 } 190 191 func (x *NetworkInfoRequest) String() string { 192 return protoimpl.X.MessageStringOf(x) 193 } 194 195 func (*NetworkInfoRequest) ProtoMessage() {} 196 197 func (x *NetworkInfoRequest) ProtoReflect() protoreflect.Message { 198 mi := &file_netmap_grpc_service_proto_msgTypes[2] 199 if protoimpl.UnsafeEnabled && x != nil { 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 if ms.LoadMessageInfo() == nil { 202 ms.StoreMessageInfo(mi) 203 } 204 return ms 205 } 206 return mi.MessageOf(x) 207 } 208 209 // Deprecated: Use NetworkInfoRequest.ProtoReflect.Descriptor instead. 210 func (*NetworkInfoRequest) Descriptor() ([]byte, []int) { 211 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{2} 212 } 213 214 func (x *NetworkInfoRequest) GetBody() *NetworkInfoRequest_Body { 215 if x != nil { 216 return x.Body 217 } 218 return nil 219 } 220 221 func (x *NetworkInfoRequest) GetMetaHeader() *grpc.RequestMetaHeader { 222 if x != nil { 223 return x.MetaHeader 224 } 225 return nil 226 } 227 228 func (x *NetworkInfoRequest) GetVerifyHeader() *grpc.RequestVerificationHeader { 229 if x != nil { 230 return x.VerifyHeader 231 } 232 return nil 233 } 234 235 // Response with NetworkInfo structure including current epoch and 236 // sidechain magic number. 237 type NetworkInfoResponse struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 // Body of the NetworkInfo response message. 243 Body *NetworkInfoResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 244 // Carries response meta information. Header data is used only to regulate 245 // message transport and does not affect response execution. 246 MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 247 // Carries response verification information. This header is used to 248 // authenticate the nodes of the message route and check the correctness of 249 // transmission. 250 VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 251 } 252 253 func (x *NetworkInfoResponse) Reset() { 254 *x = NetworkInfoResponse{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_netmap_grpc_service_proto_msgTypes[3] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260 } 261 262 func (x *NetworkInfoResponse) String() string { 263 return protoimpl.X.MessageStringOf(x) 264 } 265 266 func (*NetworkInfoResponse) ProtoMessage() {} 267 268 func (x *NetworkInfoResponse) ProtoReflect() protoreflect.Message { 269 mi := &file_netmap_grpc_service_proto_msgTypes[3] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278 } 279 280 // Deprecated: Use NetworkInfoResponse.ProtoReflect.Descriptor instead. 281 func (*NetworkInfoResponse) Descriptor() ([]byte, []int) { 282 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{3} 283 } 284 285 func (x *NetworkInfoResponse) GetBody() *NetworkInfoResponse_Body { 286 if x != nil { 287 return x.Body 288 } 289 return nil 290 } 291 292 func (x *NetworkInfoResponse) GetMetaHeader() *grpc.ResponseMetaHeader { 293 if x != nil { 294 return x.MetaHeader 295 } 296 return nil 297 } 298 299 func (x *NetworkInfoResponse) GetVerifyHeader() *grpc.ResponseVerificationHeader { 300 if x != nil { 301 return x.VerifyHeader 302 } 303 return nil 304 } 305 306 // Get netmap snapshot request 307 type NetmapSnapshotRequest struct { 308 state protoimpl.MessageState 309 sizeCache protoimpl.SizeCache 310 unknownFields protoimpl.UnknownFields 311 312 // Body of get netmap snapshot request message. 313 Body *NetmapSnapshotRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 314 // Carries request meta information. Header data is used only to regulate 315 // message transport and does not affect request execution. 316 MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 317 // Carries request verification information. This header is used to 318 // authenticate the nodes of the message route and check the correctness of 319 // transmission. 320 VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 321 } 322 323 func (x *NetmapSnapshotRequest) Reset() { 324 *x = NetmapSnapshotRequest{} 325 if protoimpl.UnsafeEnabled { 326 mi := &file_netmap_grpc_service_proto_msgTypes[4] 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 ms.StoreMessageInfo(mi) 329 } 330 } 331 332 func (x *NetmapSnapshotRequest) String() string { 333 return protoimpl.X.MessageStringOf(x) 334 } 335 336 func (*NetmapSnapshotRequest) ProtoMessage() {} 337 338 func (x *NetmapSnapshotRequest) ProtoReflect() protoreflect.Message { 339 mi := &file_netmap_grpc_service_proto_msgTypes[4] 340 if protoimpl.UnsafeEnabled && x != nil { 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 if ms.LoadMessageInfo() == nil { 343 ms.StoreMessageInfo(mi) 344 } 345 return ms 346 } 347 return mi.MessageOf(x) 348 } 349 350 // Deprecated: Use NetmapSnapshotRequest.ProtoReflect.Descriptor instead. 351 func (*NetmapSnapshotRequest) Descriptor() ([]byte, []int) { 352 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{4} 353 } 354 355 func (x *NetmapSnapshotRequest) GetBody() *NetmapSnapshotRequest_Body { 356 if x != nil { 357 return x.Body 358 } 359 return nil 360 } 361 362 func (x *NetmapSnapshotRequest) GetMetaHeader() *grpc.RequestMetaHeader { 363 if x != nil { 364 return x.MetaHeader 365 } 366 return nil 367 } 368 369 func (x *NetmapSnapshotRequest) GetVerifyHeader() *grpc.RequestVerificationHeader { 370 if x != nil { 371 return x.VerifyHeader 372 } 373 return nil 374 } 375 376 // Response with current netmap snapshot 377 type NetmapSnapshotResponse struct { 378 state protoimpl.MessageState 379 sizeCache protoimpl.SizeCache 380 unknownFields protoimpl.UnknownFields 381 382 // Body of get netmap snapshot response message. 383 Body *NetmapSnapshotResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 384 // Carries response meta information. Header data is used only to regulate 385 // message transport and does not affect response execution. 386 MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 387 // Carries response verification information. This header is used to 388 // authenticate the nodes of the message route and check the correctness of 389 // transmission. 390 VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 391 } 392 393 func (x *NetmapSnapshotResponse) Reset() { 394 *x = NetmapSnapshotResponse{} 395 if protoimpl.UnsafeEnabled { 396 mi := &file_netmap_grpc_service_proto_msgTypes[5] 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 ms.StoreMessageInfo(mi) 399 } 400 } 401 402 func (x *NetmapSnapshotResponse) String() string { 403 return protoimpl.X.MessageStringOf(x) 404 } 405 406 func (*NetmapSnapshotResponse) ProtoMessage() {} 407 408 func (x *NetmapSnapshotResponse) ProtoReflect() protoreflect.Message { 409 mi := &file_netmap_grpc_service_proto_msgTypes[5] 410 if protoimpl.UnsafeEnabled && x != nil { 411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 412 if ms.LoadMessageInfo() == nil { 413 ms.StoreMessageInfo(mi) 414 } 415 return ms 416 } 417 return mi.MessageOf(x) 418 } 419 420 // Deprecated: Use NetmapSnapshotResponse.ProtoReflect.Descriptor instead. 421 func (*NetmapSnapshotResponse) Descriptor() ([]byte, []int) { 422 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{5} 423 } 424 425 func (x *NetmapSnapshotResponse) GetBody() *NetmapSnapshotResponse_Body { 426 if x != nil { 427 return x.Body 428 } 429 return nil 430 } 431 432 func (x *NetmapSnapshotResponse) GetMetaHeader() *grpc.ResponseMetaHeader { 433 if x != nil { 434 return x.MetaHeader 435 } 436 return nil 437 } 438 439 func (x *NetmapSnapshotResponse) GetVerifyHeader() *grpc.ResponseVerificationHeader { 440 if x != nil { 441 return x.VerifyHeader 442 } 443 return nil 444 } 445 446 // LocalNodeInfo request body is empty. 447 type LocalNodeInfoRequest_Body struct { 448 state protoimpl.MessageState 449 sizeCache protoimpl.SizeCache 450 unknownFields protoimpl.UnknownFields 451 } 452 453 func (x *LocalNodeInfoRequest_Body) Reset() { 454 *x = LocalNodeInfoRequest_Body{} 455 if protoimpl.UnsafeEnabled { 456 mi := &file_netmap_grpc_service_proto_msgTypes[6] 457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 458 ms.StoreMessageInfo(mi) 459 } 460 } 461 462 func (x *LocalNodeInfoRequest_Body) String() string { 463 return protoimpl.X.MessageStringOf(x) 464 } 465 466 func (*LocalNodeInfoRequest_Body) ProtoMessage() {} 467 468 func (x *LocalNodeInfoRequest_Body) ProtoReflect() protoreflect.Message { 469 mi := &file_netmap_grpc_service_proto_msgTypes[6] 470 if protoimpl.UnsafeEnabled && x != nil { 471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 472 if ms.LoadMessageInfo() == nil { 473 ms.StoreMessageInfo(mi) 474 } 475 return ms 476 } 477 return mi.MessageOf(x) 478 } 479 480 // Deprecated: Use LocalNodeInfoRequest_Body.ProtoReflect.Descriptor instead. 481 func (*LocalNodeInfoRequest_Body) Descriptor() ([]byte, []int) { 482 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{0, 0} 483 } 484 485 // Local Node Info, including API Version in use. 486 type LocalNodeInfoResponse_Body struct { 487 state protoimpl.MessageState 488 sizeCache protoimpl.SizeCache 489 unknownFields protoimpl.UnknownFields 490 491 // Latest NeoFS API version in use 492 Version *grpc1.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 493 // NodeInfo structure with recent information from node itself 494 NodeInfo *NodeInfo `protobuf:"bytes,2,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` 495 } 496 497 func (x *LocalNodeInfoResponse_Body) Reset() { 498 *x = LocalNodeInfoResponse_Body{} 499 if protoimpl.UnsafeEnabled { 500 mi := &file_netmap_grpc_service_proto_msgTypes[7] 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 ms.StoreMessageInfo(mi) 503 } 504 } 505 506 func (x *LocalNodeInfoResponse_Body) String() string { 507 return protoimpl.X.MessageStringOf(x) 508 } 509 510 func (*LocalNodeInfoResponse_Body) ProtoMessage() {} 511 512 func (x *LocalNodeInfoResponse_Body) ProtoReflect() protoreflect.Message { 513 mi := &file_netmap_grpc_service_proto_msgTypes[7] 514 if protoimpl.UnsafeEnabled && x != nil { 515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 516 if ms.LoadMessageInfo() == nil { 517 ms.StoreMessageInfo(mi) 518 } 519 return ms 520 } 521 return mi.MessageOf(x) 522 } 523 524 // Deprecated: Use LocalNodeInfoResponse_Body.ProtoReflect.Descriptor instead. 525 func (*LocalNodeInfoResponse_Body) Descriptor() ([]byte, []int) { 526 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{1, 0} 527 } 528 529 func (x *LocalNodeInfoResponse_Body) GetVersion() *grpc1.Version { 530 if x != nil { 531 return x.Version 532 } 533 return nil 534 } 535 536 func (x *LocalNodeInfoResponse_Body) GetNodeInfo() *NodeInfo { 537 if x != nil { 538 return x.NodeInfo 539 } 540 return nil 541 } 542 543 // NetworkInfo request body is empty. 544 type NetworkInfoRequest_Body struct { 545 state protoimpl.MessageState 546 sizeCache protoimpl.SizeCache 547 unknownFields protoimpl.UnknownFields 548 } 549 550 func (x *NetworkInfoRequest_Body) Reset() { 551 *x = NetworkInfoRequest_Body{} 552 if protoimpl.UnsafeEnabled { 553 mi := &file_netmap_grpc_service_proto_msgTypes[8] 554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 555 ms.StoreMessageInfo(mi) 556 } 557 } 558 559 func (x *NetworkInfoRequest_Body) String() string { 560 return protoimpl.X.MessageStringOf(x) 561 } 562 563 func (*NetworkInfoRequest_Body) ProtoMessage() {} 564 565 func (x *NetworkInfoRequest_Body) ProtoReflect() protoreflect.Message { 566 mi := &file_netmap_grpc_service_proto_msgTypes[8] 567 if protoimpl.UnsafeEnabled && x != nil { 568 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 569 if ms.LoadMessageInfo() == nil { 570 ms.StoreMessageInfo(mi) 571 } 572 return ms 573 } 574 return mi.MessageOf(x) 575 } 576 577 // Deprecated: Use NetworkInfoRequest_Body.ProtoReflect.Descriptor instead. 578 func (*NetworkInfoRequest_Body) Descriptor() ([]byte, []int) { 579 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{2, 0} 580 } 581 582 // Information about the network. 583 type NetworkInfoResponse_Body struct { 584 state protoimpl.MessageState 585 sizeCache protoimpl.SizeCache 586 unknownFields protoimpl.UnknownFields 587 588 // NetworkInfo structure with recent information. 589 NetworkInfo *NetworkInfo `protobuf:"bytes,1,opt,name=network_info,json=networkInfo,proto3" json:"network_info,omitempty"` 590 } 591 592 func (x *NetworkInfoResponse_Body) Reset() { 593 *x = NetworkInfoResponse_Body{} 594 if protoimpl.UnsafeEnabled { 595 mi := &file_netmap_grpc_service_proto_msgTypes[9] 596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 597 ms.StoreMessageInfo(mi) 598 } 599 } 600 601 func (x *NetworkInfoResponse_Body) String() string { 602 return protoimpl.X.MessageStringOf(x) 603 } 604 605 func (*NetworkInfoResponse_Body) ProtoMessage() {} 606 607 func (x *NetworkInfoResponse_Body) ProtoReflect() protoreflect.Message { 608 mi := &file_netmap_grpc_service_proto_msgTypes[9] 609 if protoimpl.UnsafeEnabled && x != nil { 610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 611 if ms.LoadMessageInfo() == nil { 612 ms.StoreMessageInfo(mi) 613 } 614 return ms 615 } 616 return mi.MessageOf(x) 617 } 618 619 // Deprecated: Use NetworkInfoResponse_Body.ProtoReflect.Descriptor instead. 620 func (*NetworkInfoResponse_Body) Descriptor() ([]byte, []int) { 621 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{3, 0} 622 } 623 624 func (x *NetworkInfoResponse_Body) GetNetworkInfo() *NetworkInfo { 625 if x != nil { 626 return x.NetworkInfo 627 } 628 return nil 629 } 630 631 // Get netmap snapshot request body. 632 type NetmapSnapshotRequest_Body struct { 633 state protoimpl.MessageState 634 sizeCache protoimpl.SizeCache 635 unknownFields protoimpl.UnknownFields 636 } 637 638 func (x *NetmapSnapshotRequest_Body) Reset() { 639 *x = NetmapSnapshotRequest_Body{} 640 if protoimpl.UnsafeEnabled { 641 mi := &file_netmap_grpc_service_proto_msgTypes[10] 642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 643 ms.StoreMessageInfo(mi) 644 } 645 } 646 647 func (x *NetmapSnapshotRequest_Body) String() string { 648 return protoimpl.X.MessageStringOf(x) 649 } 650 651 func (*NetmapSnapshotRequest_Body) ProtoMessage() {} 652 653 func (x *NetmapSnapshotRequest_Body) ProtoReflect() protoreflect.Message { 654 mi := &file_netmap_grpc_service_proto_msgTypes[10] 655 if protoimpl.UnsafeEnabled && x != nil { 656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 657 if ms.LoadMessageInfo() == nil { 658 ms.StoreMessageInfo(mi) 659 } 660 return ms 661 } 662 return mi.MessageOf(x) 663 } 664 665 // Deprecated: Use NetmapSnapshotRequest_Body.ProtoReflect.Descriptor instead. 666 func (*NetmapSnapshotRequest_Body) Descriptor() ([]byte, []int) { 667 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{4, 0} 668 } 669 670 // Get netmap snapshot response body 671 type NetmapSnapshotResponse_Body struct { 672 state protoimpl.MessageState 673 sizeCache protoimpl.SizeCache 674 unknownFields protoimpl.UnknownFields 675 676 // Structure of the requested network map. 677 Netmap *Netmap `protobuf:"bytes,1,opt,name=netmap,proto3" json:"netmap,omitempty"` 678 } 679 680 func (x *NetmapSnapshotResponse_Body) Reset() { 681 *x = NetmapSnapshotResponse_Body{} 682 if protoimpl.UnsafeEnabled { 683 mi := &file_netmap_grpc_service_proto_msgTypes[11] 684 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 685 ms.StoreMessageInfo(mi) 686 } 687 } 688 689 func (x *NetmapSnapshotResponse_Body) String() string { 690 return protoimpl.X.MessageStringOf(x) 691 } 692 693 func (*NetmapSnapshotResponse_Body) ProtoMessage() {} 694 695 func (x *NetmapSnapshotResponse_Body) ProtoReflect() protoreflect.Message { 696 mi := &file_netmap_grpc_service_proto_msgTypes[11] 697 if protoimpl.UnsafeEnabled && x != nil { 698 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 699 if ms.LoadMessageInfo() == nil { 700 ms.StoreMessageInfo(mi) 701 } 702 return ms 703 } 704 return mi.MessageOf(x) 705 } 706 707 // Deprecated: Use NetmapSnapshotResponse_Body.ProtoReflect.Descriptor instead. 708 func (*NetmapSnapshotResponse_Body) Descriptor() ([]byte, []int) { 709 return file_netmap_grpc_service_proto_rawDescGZIP(), []int{5, 0} 710 } 711 712 func (x *NetmapSnapshotResponse_Body) GetNetmap() *Netmap { 713 if x != nil { 714 return x.Netmap 715 } 716 return nil 717 } 718 719 var File_netmap_grpc_service_proto protoreflect.FileDescriptor 720 721 var file_netmap_grpc_service_proto_rawDesc = []byte{ 722 0x0a, 0x19, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 723 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x65, 0x6f, 724 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x1a, 0x17, 0x6e, 725 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 726 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72, 0x70, 727 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x73, 728 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 729 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x01, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 730 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 731 0x12, 0x3f, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 732 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 733 0x70, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 734 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 735 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 736 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 737 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 738 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 739 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 740 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 741 0x2c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 742 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 743 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 744 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x06, 0x0a, 0x04, 0x42, 745 0x6f, 0x64, 0x79, 0x22, 0xe9, 0x02, 0x0a, 0x15, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 746 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 747 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x65, 748 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4c, 749 0x6f, 0x63, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 750 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 751 0x46, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 752 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 753 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 754 0x65, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 0x74, 755 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 756 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 757 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 758 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 759 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 760 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x72, 0x0a, 0x04, 0x42, 761 0x6f, 0x64, 0x79, 0x12, 0x31, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 762 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 763 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 764 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 765 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 766 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x6f, 0x64, 767 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 768 0xf5, 0x01, 0x0a, 0x12, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 769 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 770 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 771 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 772 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 773 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 774 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x65, 0x6f, 775 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 776 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 777 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0d, 778 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 779 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 780 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 781 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 782 0x72, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 783 0x06, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xbb, 0x02, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x77, 784 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 785 0x3e, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 786 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 787 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 788 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 789 0x46, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 790 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 791 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 792 0x65, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 0x74, 793 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 794 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 795 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 796 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 797 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 798 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x48, 0x0a, 0x04, 0x42, 799 0x6f, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 800 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 801 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 802 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 803 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xfb, 0x01, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 804 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 805 0x40, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 806 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 807 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 808 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 809 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 810 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 811 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 812 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 813 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 814 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 815 0x2c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 816 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 817 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 818 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x06, 0x0a, 0x04, 0x42, 819 0x6f, 0x64, 0x79, 0x22, 0xb1, 0x02, 0x0a, 0x16, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e, 820 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 821 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6e, 822 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 823 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 824 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 825 0x79, 0x12, 0x46, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 826 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 827 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 828 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 829 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0d, 0x76, 0x65, 0x72, 830 0x69, 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 831 0x32, 0x2d, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 832 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 0x72, 833 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 834 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x38, 0x0a, 835 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x06, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x18, 836 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 837 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x52, 838 0x06, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x32, 0xb2, 0x02, 0x0a, 0x0d, 0x4e, 0x65, 0x74, 0x6d, 839 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x4c, 0x6f, 0x63, 840 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x2e, 0x6e, 0x65, 0x6f, 841 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4c, 0x6f, 842 0x63, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 843 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 844 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 845 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0b, 0x4e, 846 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x2e, 0x6e, 0x65, 0x6f, 847 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 848 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 849 0x1a, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 850 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 851 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 852 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x27, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 853 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 854 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 855 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 856 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 857 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5b, 0x5a, 0x3c, 858 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 859 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 860 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 861 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0xaa, 0x02, 0x1a, 0x4e, 862 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 863 0x50, 0x49, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 864 0x33, 865 } 866 867 var ( 868 file_netmap_grpc_service_proto_rawDescOnce sync.Once 869 file_netmap_grpc_service_proto_rawDescData = file_netmap_grpc_service_proto_rawDesc 870 ) 871 872 func file_netmap_grpc_service_proto_rawDescGZIP() []byte { 873 file_netmap_grpc_service_proto_rawDescOnce.Do(func() { 874 file_netmap_grpc_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_netmap_grpc_service_proto_rawDescData) 875 }) 876 return file_netmap_grpc_service_proto_rawDescData 877 } 878 879 var file_netmap_grpc_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 880 var file_netmap_grpc_service_proto_goTypes = []interface{}{ 881 (*LocalNodeInfoRequest)(nil), // 0: neo.fs.v2.netmap.LocalNodeInfoRequest 882 (*LocalNodeInfoResponse)(nil), // 1: neo.fs.v2.netmap.LocalNodeInfoResponse 883 (*NetworkInfoRequest)(nil), // 2: neo.fs.v2.netmap.NetworkInfoRequest 884 (*NetworkInfoResponse)(nil), // 3: neo.fs.v2.netmap.NetworkInfoResponse 885 (*NetmapSnapshotRequest)(nil), // 4: neo.fs.v2.netmap.NetmapSnapshotRequest 886 (*NetmapSnapshotResponse)(nil), // 5: neo.fs.v2.netmap.NetmapSnapshotResponse 887 (*LocalNodeInfoRequest_Body)(nil), // 6: neo.fs.v2.netmap.LocalNodeInfoRequest.Body 888 (*LocalNodeInfoResponse_Body)(nil), // 7: neo.fs.v2.netmap.LocalNodeInfoResponse.Body 889 (*NetworkInfoRequest_Body)(nil), // 8: neo.fs.v2.netmap.NetworkInfoRequest.Body 890 (*NetworkInfoResponse_Body)(nil), // 9: neo.fs.v2.netmap.NetworkInfoResponse.Body 891 (*NetmapSnapshotRequest_Body)(nil), // 10: neo.fs.v2.netmap.NetmapSnapshotRequest.Body 892 (*NetmapSnapshotResponse_Body)(nil), // 11: neo.fs.v2.netmap.NetmapSnapshotResponse.Body 893 (*grpc.RequestMetaHeader)(nil), // 12: neo.fs.v2.session.RequestMetaHeader 894 (*grpc.RequestVerificationHeader)(nil), // 13: neo.fs.v2.session.RequestVerificationHeader 895 (*grpc.ResponseMetaHeader)(nil), // 14: neo.fs.v2.session.ResponseMetaHeader 896 (*grpc.ResponseVerificationHeader)(nil), // 15: neo.fs.v2.session.ResponseVerificationHeader 897 (*grpc1.Version)(nil), // 16: neo.fs.v2.refs.Version 898 (*NodeInfo)(nil), // 17: neo.fs.v2.netmap.NodeInfo 899 (*NetworkInfo)(nil), // 18: neo.fs.v2.netmap.NetworkInfo 900 (*Netmap)(nil), // 19: neo.fs.v2.netmap.Netmap 901 } 902 var file_netmap_grpc_service_proto_depIdxs = []int32{ 903 6, // 0: neo.fs.v2.netmap.LocalNodeInfoRequest.body:type_name -> neo.fs.v2.netmap.LocalNodeInfoRequest.Body 904 12, // 1: neo.fs.v2.netmap.LocalNodeInfoRequest.meta_header:type_name -> neo.fs.v2.session.RequestMetaHeader 905 13, // 2: neo.fs.v2.netmap.LocalNodeInfoRequest.verify_header:type_name -> neo.fs.v2.session.RequestVerificationHeader 906 7, // 3: neo.fs.v2.netmap.LocalNodeInfoResponse.body:type_name -> neo.fs.v2.netmap.LocalNodeInfoResponse.Body 907 14, // 4: neo.fs.v2.netmap.LocalNodeInfoResponse.meta_header:type_name -> neo.fs.v2.session.ResponseMetaHeader 908 15, // 5: neo.fs.v2.netmap.LocalNodeInfoResponse.verify_header:type_name -> neo.fs.v2.session.ResponseVerificationHeader 909 8, // 6: neo.fs.v2.netmap.NetworkInfoRequest.body:type_name -> neo.fs.v2.netmap.NetworkInfoRequest.Body 910 12, // 7: neo.fs.v2.netmap.NetworkInfoRequest.meta_header:type_name -> neo.fs.v2.session.RequestMetaHeader 911 13, // 8: neo.fs.v2.netmap.NetworkInfoRequest.verify_header:type_name -> neo.fs.v2.session.RequestVerificationHeader 912 9, // 9: neo.fs.v2.netmap.NetworkInfoResponse.body:type_name -> neo.fs.v2.netmap.NetworkInfoResponse.Body 913 14, // 10: neo.fs.v2.netmap.NetworkInfoResponse.meta_header:type_name -> neo.fs.v2.session.ResponseMetaHeader 914 15, // 11: neo.fs.v2.netmap.NetworkInfoResponse.verify_header:type_name -> neo.fs.v2.session.ResponseVerificationHeader 915 10, // 12: neo.fs.v2.netmap.NetmapSnapshotRequest.body:type_name -> neo.fs.v2.netmap.NetmapSnapshotRequest.Body 916 12, // 13: neo.fs.v2.netmap.NetmapSnapshotRequest.meta_header:type_name -> neo.fs.v2.session.RequestMetaHeader 917 13, // 14: neo.fs.v2.netmap.NetmapSnapshotRequest.verify_header:type_name -> neo.fs.v2.session.RequestVerificationHeader 918 11, // 15: neo.fs.v2.netmap.NetmapSnapshotResponse.body:type_name -> neo.fs.v2.netmap.NetmapSnapshotResponse.Body 919 14, // 16: neo.fs.v2.netmap.NetmapSnapshotResponse.meta_header:type_name -> neo.fs.v2.session.ResponseMetaHeader 920 15, // 17: neo.fs.v2.netmap.NetmapSnapshotResponse.verify_header:type_name -> neo.fs.v2.session.ResponseVerificationHeader 921 16, // 18: neo.fs.v2.netmap.LocalNodeInfoResponse.Body.version:type_name -> neo.fs.v2.refs.Version 922 17, // 19: neo.fs.v2.netmap.LocalNodeInfoResponse.Body.node_info:type_name -> neo.fs.v2.netmap.NodeInfo 923 18, // 20: neo.fs.v2.netmap.NetworkInfoResponse.Body.network_info:type_name -> neo.fs.v2.netmap.NetworkInfo 924 19, // 21: neo.fs.v2.netmap.NetmapSnapshotResponse.Body.netmap:type_name -> neo.fs.v2.netmap.Netmap 925 0, // 22: neo.fs.v2.netmap.NetmapService.LocalNodeInfo:input_type -> neo.fs.v2.netmap.LocalNodeInfoRequest 926 2, // 23: neo.fs.v2.netmap.NetmapService.NetworkInfo:input_type -> neo.fs.v2.netmap.NetworkInfoRequest 927 4, // 24: neo.fs.v2.netmap.NetmapService.NetmapSnapshot:input_type -> neo.fs.v2.netmap.NetmapSnapshotRequest 928 1, // 25: neo.fs.v2.netmap.NetmapService.LocalNodeInfo:output_type -> neo.fs.v2.netmap.LocalNodeInfoResponse 929 3, // 26: neo.fs.v2.netmap.NetmapService.NetworkInfo:output_type -> neo.fs.v2.netmap.NetworkInfoResponse 930 5, // 27: neo.fs.v2.netmap.NetmapService.NetmapSnapshot:output_type -> neo.fs.v2.netmap.NetmapSnapshotResponse 931 25, // [25:28] is the sub-list for method output_type 932 22, // [22:25] is the sub-list for method input_type 933 22, // [22:22] is the sub-list for extension type_name 934 22, // [22:22] is the sub-list for extension extendee 935 0, // [0:22] is the sub-list for field type_name 936 } 937 938 func init() { file_netmap_grpc_service_proto_init() } 939 func file_netmap_grpc_service_proto_init() { 940 if File_netmap_grpc_service_proto != nil { 941 return 942 } 943 file_netmap_grpc_types_proto_init() 944 if !protoimpl.UnsafeEnabled { 945 file_netmap_grpc_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 946 switch v := v.(*LocalNodeInfoRequest); i { 947 case 0: 948 return &v.state 949 case 1: 950 return &v.sizeCache 951 case 2: 952 return &v.unknownFields 953 default: 954 return nil 955 } 956 } 957 file_netmap_grpc_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 958 switch v := v.(*LocalNodeInfoResponse); i { 959 case 0: 960 return &v.state 961 case 1: 962 return &v.sizeCache 963 case 2: 964 return &v.unknownFields 965 default: 966 return nil 967 } 968 } 969 file_netmap_grpc_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 970 switch v := v.(*NetworkInfoRequest); i { 971 case 0: 972 return &v.state 973 case 1: 974 return &v.sizeCache 975 case 2: 976 return &v.unknownFields 977 default: 978 return nil 979 } 980 } 981 file_netmap_grpc_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 982 switch v := v.(*NetworkInfoResponse); i { 983 case 0: 984 return &v.state 985 case 1: 986 return &v.sizeCache 987 case 2: 988 return &v.unknownFields 989 default: 990 return nil 991 } 992 } 993 file_netmap_grpc_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 994 switch v := v.(*NetmapSnapshotRequest); i { 995 case 0: 996 return &v.state 997 case 1: 998 return &v.sizeCache 999 case 2: 1000 return &v.unknownFields 1001 default: 1002 return nil 1003 } 1004 } 1005 file_netmap_grpc_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1006 switch v := v.(*NetmapSnapshotResponse); i { 1007 case 0: 1008 return &v.state 1009 case 1: 1010 return &v.sizeCache 1011 case 2: 1012 return &v.unknownFields 1013 default: 1014 return nil 1015 } 1016 } 1017 file_netmap_grpc_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1018 switch v := v.(*LocalNodeInfoRequest_Body); i { 1019 case 0: 1020 return &v.state 1021 case 1: 1022 return &v.sizeCache 1023 case 2: 1024 return &v.unknownFields 1025 default: 1026 return nil 1027 } 1028 } 1029 file_netmap_grpc_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1030 switch v := v.(*LocalNodeInfoResponse_Body); i { 1031 case 0: 1032 return &v.state 1033 case 1: 1034 return &v.sizeCache 1035 case 2: 1036 return &v.unknownFields 1037 default: 1038 return nil 1039 } 1040 } 1041 file_netmap_grpc_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1042 switch v := v.(*NetworkInfoRequest_Body); i { 1043 case 0: 1044 return &v.state 1045 case 1: 1046 return &v.sizeCache 1047 case 2: 1048 return &v.unknownFields 1049 default: 1050 return nil 1051 } 1052 } 1053 file_netmap_grpc_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1054 switch v := v.(*NetworkInfoResponse_Body); i { 1055 case 0: 1056 return &v.state 1057 case 1: 1058 return &v.sizeCache 1059 case 2: 1060 return &v.unknownFields 1061 default: 1062 return nil 1063 } 1064 } 1065 file_netmap_grpc_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1066 switch v := v.(*NetmapSnapshotRequest_Body); i { 1067 case 0: 1068 return &v.state 1069 case 1: 1070 return &v.sizeCache 1071 case 2: 1072 return &v.unknownFields 1073 default: 1074 return nil 1075 } 1076 } 1077 file_netmap_grpc_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1078 switch v := v.(*NetmapSnapshotResponse_Body); i { 1079 case 0: 1080 return &v.state 1081 case 1: 1082 return &v.sizeCache 1083 case 2: 1084 return &v.unknownFields 1085 default: 1086 return nil 1087 } 1088 } 1089 } 1090 type x struct{} 1091 out := protoimpl.TypeBuilder{ 1092 File: protoimpl.DescBuilder{ 1093 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1094 RawDescriptor: file_netmap_grpc_service_proto_rawDesc, 1095 NumEnums: 0, 1096 NumMessages: 12, 1097 NumExtensions: 0, 1098 NumServices: 1, 1099 }, 1100 GoTypes: file_netmap_grpc_service_proto_goTypes, 1101 DependencyIndexes: file_netmap_grpc_service_proto_depIdxs, 1102 MessageInfos: file_netmap_grpc_service_proto_msgTypes, 1103 }.Build() 1104 File_netmap_grpc_service_proto = out.File 1105 file_netmap_grpc_service_proto_rawDesc = nil 1106 file_netmap_grpc_service_proto_goTypes = nil 1107 file_netmap_grpc_service_proto_depIdxs = nil 1108 }