github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/node/protocol/protocol.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.34.0 4 // protoc v4.25.3 5 // source: node/protocol/protocol.proto 6 7 package protocol 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Protocol struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 // Types that are assignable to Protocol: 29 // 30 // *Protocol_Shadowsocks 31 // *Protocol_Shadowsocksr 32 // *Protocol_Vmess 33 // *Protocol_Websocket 34 // *Protocol_Quic 35 // *Protocol_ObfsHttp 36 // *Protocol_Trojan 37 // *Protocol_Simple 38 // *Protocol_None 39 // *Protocol_Socks5 40 // *Protocol_Http 41 // *Protocol_Direct 42 // *Protocol_Reject 43 // *Protocol_Yuubinsya 44 // *Protocol_Grpc 45 // *Protocol_Http2 46 // *Protocol_Reality 47 // *Protocol_Tls 48 // *Protocol_Wireguard 49 // *Protocol_Mux 50 // *Protocol_Drop 51 // *Protocol_Vless 52 Protocol isProtocol_Protocol `protobuf_oneof:"protocol"` 53 } 54 55 func (x *Protocol) Reset() { 56 *x = Protocol{} 57 if protoimpl.UnsafeEnabled { 58 mi := &file_node_protocol_protocol_proto_msgTypes[0] 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 ms.StoreMessageInfo(mi) 61 } 62 } 63 64 func (x *Protocol) String() string { 65 return protoimpl.X.MessageStringOf(x) 66 } 67 68 func (*Protocol) ProtoMessage() {} 69 70 func (x *Protocol) ProtoReflect() protoreflect.Message { 71 mi := &file_node_protocol_protocol_proto_msgTypes[0] 72 if protoimpl.UnsafeEnabled && x != nil { 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 74 if ms.LoadMessageInfo() == nil { 75 ms.StoreMessageInfo(mi) 76 } 77 return ms 78 } 79 return mi.MessageOf(x) 80 } 81 82 // Deprecated: Use Protocol.ProtoReflect.Descriptor instead. 83 func (*Protocol) Descriptor() ([]byte, []int) { 84 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{0} 85 } 86 87 func (m *Protocol) GetProtocol() isProtocol_Protocol { 88 if m != nil { 89 return m.Protocol 90 } 91 return nil 92 } 93 94 func (x *Protocol) GetShadowsocks() *Shadowsocks { 95 if x, ok := x.GetProtocol().(*Protocol_Shadowsocks); ok { 96 return x.Shadowsocks 97 } 98 return nil 99 } 100 101 func (x *Protocol) GetShadowsocksr() *Shadowsocksr { 102 if x, ok := x.GetProtocol().(*Protocol_Shadowsocksr); ok { 103 return x.Shadowsocksr 104 } 105 return nil 106 } 107 108 func (x *Protocol) GetVmess() *Vmess { 109 if x, ok := x.GetProtocol().(*Protocol_Vmess); ok { 110 return x.Vmess 111 } 112 return nil 113 } 114 115 func (x *Protocol) GetWebsocket() *Websocket { 116 if x, ok := x.GetProtocol().(*Protocol_Websocket); ok { 117 return x.Websocket 118 } 119 return nil 120 } 121 122 func (x *Protocol) GetQuic() *Quic { 123 if x, ok := x.GetProtocol().(*Protocol_Quic); ok { 124 return x.Quic 125 } 126 return nil 127 } 128 129 func (x *Protocol) GetObfsHttp() *ObfsHttp { 130 if x, ok := x.GetProtocol().(*Protocol_ObfsHttp); ok { 131 return x.ObfsHttp 132 } 133 return nil 134 } 135 136 func (x *Protocol) GetTrojan() *Trojan { 137 if x, ok := x.GetProtocol().(*Protocol_Trojan); ok { 138 return x.Trojan 139 } 140 return nil 141 } 142 143 func (x *Protocol) GetSimple() *Simple { 144 if x, ok := x.GetProtocol().(*Protocol_Simple); ok { 145 return x.Simple 146 } 147 return nil 148 } 149 150 func (x *Protocol) GetNone() *None { 151 if x, ok := x.GetProtocol().(*Protocol_None); ok { 152 return x.None 153 } 154 return nil 155 } 156 157 func (x *Protocol) GetSocks5() *Socks5 { 158 if x, ok := x.GetProtocol().(*Protocol_Socks5); ok { 159 return x.Socks5 160 } 161 return nil 162 } 163 164 func (x *Protocol) GetHttp() *Http { 165 if x, ok := x.GetProtocol().(*Protocol_Http); ok { 166 return x.Http 167 } 168 return nil 169 } 170 171 func (x *Protocol) GetDirect() *Direct { 172 if x, ok := x.GetProtocol().(*Protocol_Direct); ok { 173 return x.Direct 174 } 175 return nil 176 } 177 178 func (x *Protocol) GetReject() *Reject { 179 if x, ok := x.GetProtocol().(*Protocol_Reject); ok { 180 return x.Reject 181 } 182 return nil 183 } 184 185 func (x *Protocol) GetYuubinsya() *Yuubinsya { 186 if x, ok := x.GetProtocol().(*Protocol_Yuubinsya); ok { 187 return x.Yuubinsya 188 } 189 return nil 190 } 191 192 func (x *Protocol) GetGrpc() *Grpc { 193 if x, ok := x.GetProtocol().(*Protocol_Grpc); ok { 194 return x.Grpc 195 } 196 return nil 197 } 198 199 func (x *Protocol) GetHttp2() *Http2 { 200 if x, ok := x.GetProtocol().(*Protocol_Http2); ok { 201 return x.Http2 202 } 203 return nil 204 } 205 206 func (x *Protocol) GetReality() *Reality { 207 if x, ok := x.GetProtocol().(*Protocol_Reality); ok { 208 return x.Reality 209 } 210 return nil 211 } 212 213 func (x *Protocol) GetTls() *TlsConfig { 214 if x, ok := x.GetProtocol().(*Protocol_Tls); ok { 215 return x.Tls 216 } 217 return nil 218 } 219 220 func (x *Protocol) GetWireguard() *Wireguard { 221 if x, ok := x.GetProtocol().(*Protocol_Wireguard); ok { 222 return x.Wireguard 223 } 224 return nil 225 } 226 227 func (x *Protocol) GetMux() *Mux { 228 if x, ok := x.GetProtocol().(*Protocol_Mux); ok { 229 return x.Mux 230 } 231 return nil 232 } 233 234 func (x *Protocol) GetDrop() *Drop { 235 if x, ok := x.GetProtocol().(*Protocol_Drop); ok { 236 return x.Drop 237 } 238 return nil 239 } 240 241 func (x *Protocol) GetVless() *Vless { 242 if x, ok := x.GetProtocol().(*Protocol_Vless); ok { 243 return x.Vless 244 } 245 return nil 246 } 247 248 type isProtocol_Protocol interface { 249 isProtocol_Protocol() 250 } 251 252 type Protocol_Shadowsocks struct { 253 Shadowsocks *Shadowsocks `protobuf:"bytes,1,opt,name=shadowsocks,proto3,oneof"` 254 } 255 256 type Protocol_Shadowsocksr struct { 257 Shadowsocksr *Shadowsocksr `protobuf:"bytes,2,opt,name=shadowsocksr,proto3,oneof"` 258 } 259 260 type Protocol_Vmess struct { 261 Vmess *Vmess `protobuf:"bytes,3,opt,name=vmess,proto3,oneof"` 262 } 263 264 type Protocol_Websocket struct { 265 Websocket *Websocket `protobuf:"bytes,4,opt,name=websocket,proto3,oneof"` 266 } 267 268 type Protocol_Quic struct { 269 Quic *Quic `protobuf:"bytes,5,opt,name=quic,proto3,oneof"` 270 } 271 272 type Protocol_ObfsHttp struct { 273 ObfsHttp *ObfsHttp `protobuf:"bytes,6,opt,name=obfs_http,proto3,oneof"` 274 } 275 276 type Protocol_Trojan struct { 277 Trojan *Trojan `protobuf:"bytes,7,opt,name=trojan,proto3,oneof"` 278 } 279 280 type Protocol_Simple struct { 281 Simple *Simple `protobuf:"bytes,8,opt,name=simple,proto3,oneof"` 282 } 283 284 type Protocol_None struct { 285 None *None `protobuf:"bytes,9,opt,name=none,proto3,oneof"` 286 } 287 288 type Protocol_Socks5 struct { 289 Socks5 *Socks5 `protobuf:"bytes,10,opt,name=socks5,proto3,oneof"` 290 } 291 292 type Protocol_Http struct { 293 Http *Http `protobuf:"bytes,11,opt,name=http,proto3,oneof"` 294 } 295 296 type Protocol_Direct struct { 297 Direct *Direct `protobuf:"bytes,12,opt,name=direct,proto3,oneof"` 298 } 299 300 type Protocol_Reject struct { 301 Reject *Reject `protobuf:"bytes,13,opt,name=reject,proto3,oneof"` 302 } 303 304 type Protocol_Yuubinsya struct { 305 Yuubinsya *Yuubinsya `protobuf:"bytes,14,opt,name=yuubinsya,proto3,oneof"` 306 } 307 308 type Protocol_Grpc struct { 309 Grpc *Grpc `protobuf:"bytes,15,opt,name=grpc,proto3,oneof"` 310 } 311 312 type Protocol_Http2 struct { 313 Http2 *Http2 `protobuf:"bytes,16,opt,name=http2,proto3,oneof"` 314 } 315 316 type Protocol_Reality struct { 317 Reality *Reality `protobuf:"bytes,17,opt,name=reality,proto3,oneof"` 318 } 319 320 type Protocol_Tls struct { 321 Tls *TlsConfig `protobuf:"bytes,18,opt,name=tls,proto3,oneof"` 322 } 323 324 type Protocol_Wireguard struct { 325 Wireguard *Wireguard `protobuf:"bytes,19,opt,name=wireguard,proto3,oneof"` 326 } 327 328 type Protocol_Mux struct { 329 Mux *Mux `protobuf:"bytes,20,opt,name=mux,proto3,oneof"` 330 } 331 332 type Protocol_Drop struct { 333 Drop *Drop `protobuf:"bytes,21,opt,name=drop,proto3,oneof"` 334 } 335 336 type Protocol_Vless struct { 337 Vless *Vless `protobuf:"bytes,22,opt,name=vless,proto3,oneof"` 338 } 339 340 func (*Protocol_Shadowsocks) isProtocol_Protocol() {} 341 342 func (*Protocol_Shadowsocksr) isProtocol_Protocol() {} 343 344 func (*Protocol_Vmess) isProtocol_Protocol() {} 345 346 func (*Protocol_Websocket) isProtocol_Protocol() {} 347 348 func (*Protocol_Quic) isProtocol_Protocol() {} 349 350 func (*Protocol_ObfsHttp) isProtocol_Protocol() {} 351 352 func (*Protocol_Trojan) isProtocol_Protocol() {} 353 354 func (*Protocol_Simple) isProtocol_Protocol() {} 355 356 func (*Protocol_None) isProtocol_Protocol() {} 357 358 func (*Protocol_Socks5) isProtocol_Protocol() {} 359 360 func (*Protocol_Http) isProtocol_Protocol() {} 361 362 func (*Protocol_Direct) isProtocol_Protocol() {} 363 364 func (*Protocol_Reject) isProtocol_Protocol() {} 365 366 func (*Protocol_Yuubinsya) isProtocol_Protocol() {} 367 368 func (*Protocol_Grpc) isProtocol_Protocol() {} 369 370 func (*Protocol_Http2) isProtocol_Protocol() {} 371 372 func (*Protocol_Reality) isProtocol_Protocol() {} 373 374 func (*Protocol_Tls) isProtocol_Protocol() {} 375 376 func (*Protocol_Wireguard) isProtocol_Protocol() {} 377 378 func (*Protocol_Mux) isProtocol_Protocol() {} 379 380 func (*Protocol_Drop) isProtocol_Protocol() {} 381 382 func (*Protocol_Vless) isProtocol_Protocol() {} 383 384 type Socks5 struct { 385 state protoimpl.MessageState 386 sizeCache protoimpl.SizeCache 387 unknownFields protoimpl.UnknownFields 388 389 // eg: 127.0.0.1 390 Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` 391 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` 392 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // TODO: add override hostname options 393 } 394 395 func (x *Socks5) Reset() { 396 *x = Socks5{} 397 if protoimpl.UnsafeEnabled { 398 mi := &file_node_protocol_protocol_proto_msgTypes[1] 399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 400 ms.StoreMessageInfo(mi) 401 } 402 } 403 404 func (x *Socks5) String() string { 405 return protoimpl.X.MessageStringOf(x) 406 } 407 408 func (*Socks5) ProtoMessage() {} 409 410 func (x *Socks5) ProtoReflect() protoreflect.Message { 411 mi := &file_node_protocol_protocol_proto_msgTypes[1] 412 if protoimpl.UnsafeEnabled && x != nil { 413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 414 if ms.LoadMessageInfo() == nil { 415 ms.StoreMessageInfo(mi) 416 } 417 return ms 418 } 419 return mi.MessageOf(x) 420 } 421 422 // Deprecated: Use Socks5.ProtoReflect.Descriptor instead. 423 func (*Socks5) Descriptor() ([]byte, []int) { 424 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{1} 425 } 426 427 func (x *Socks5) GetHostname() string { 428 if x != nil { 429 return x.Hostname 430 } 431 return "" 432 } 433 434 func (x *Socks5) GetUser() string { 435 if x != nil { 436 return x.User 437 } 438 return "" 439 } 440 441 func (x *Socks5) GetPassword() string { 442 if x != nil { 443 return x.Password 444 } 445 return "" 446 } 447 448 type Http struct { 449 state protoimpl.MessageState 450 sizeCache protoimpl.SizeCache 451 unknownFields protoimpl.UnknownFields 452 453 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` 454 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 455 } 456 457 func (x *Http) Reset() { 458 *x = Http{} 459 if protoimpl.UnsafeEnabled { 460 mi := &file_node_protocol_protocol_proto_msgTypes[2] 461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 462 ms.StoreMessageInfo(mi) 463 } 464 } 465 466 func (x *Http) String() string { 467 return protoimpl.X.MessageStringOf(x) 468 } 469 470 func (*Http) ProtoMessage() {} 471 472 func (x *Http) ProtoReflect() protoreflect.Message { 473 mi := &file_node_protocol_protocol_proto_msgTypes[2] 474 if protoimpl.UnsafeEnabled && x != nil { 475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 476 if ms.LoadMessageInfo() == nil { 477 ms.StoreMessageInfo(mi) 478 } 479 return ms 480 } 481 return mi.MessageOf(x) 482 } 483 484 // Deprecated: Use Http.ProtoReflect.Descriptor instead. 485 func (*Http) Descriptor() ([]byte, []int) { 486 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{2} 487 } 488 489 func (x *Http) GetUser() string { 490 if x != nil { 491 return x.User 492 } 493 return "" 494 } 495 496 func (x *Http) GetPassword() string { 497 if x != nil { 498 return x.Password 499 } 500 return "" 501 } 502 503 type Shadowsocks struct { 504 state protoimpl.MessageState 505 sizeCache protoimpl.SizeCache 506 unknownFields protoimpl.UnknownFields 507 508 Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` 509 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 510 } 511 512 func (x *Shadowsocks) Reset() { 513 *x = Shadowsocks{} 514 if protoimpl.UnsafeEnabled { 515 mi := &file_node_protocol_protocol_proto_msgTypes[3] 516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 517 ms.StoreMessageInfo(mi) 518 } 519 } 520 521 func (x *Shadowsocks) String() string { 522 return protoimpl.X.MessageStringOf(x) 523 } 524 525 func (*Shadowsocks) ProtoMessage() {} 526 527 func (x *Shadowsocks) ProtoReflect() protoreflect.Message { 528 mi := &file_node_protocol_protocol_proto_msgTypes[3] 529 if protoimpl.UnsafeEnabled && x != nil { 530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 531 if ms.LoadMessageInfo() == nil { 532 ms.StoreMessageInfo(mi) 533 } 534 return ms 535 } 536 return mi.MessageOf(x) 537 } 538 539 // Deprecated: Use Shadowsocks.ProtoReflect.Descriptor instead. 540 func (*Shadowsocks) Descriptor() ([]byte, []int) { 541 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{3} 542 } 543 544 func (x *Shadowsocks) GetMethod() string { 545 if x != nil { 546 return x.Method 547 } 548 return "" 549 } 550 551 func (x *Shadowsocks) GetPassword() string { 552 if x != nil { 553 return x.Password 554 } 555 return "" 556 } 557 558 type Shadowsocksr struct { 559 state protoimpl.MessageState 560 sizeCache protoimpl.SizeCache 561 unknownFields protoimpl.UnknownFields 562 563 Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` 564 Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` 565 Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` 566 Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` 567 Obfs string `protobuf:"bytes,5,opt,name=obfs,proto3" json:"obfs,omitempty"` 568 Obfsparam string `protobuf:"bytes,6,opt,name=obfsparam,proto3" json:"obfsparam,omitempty"` 569 Protocol string `protobuf:"bytes,7,opt,name=protocol,proto3" json:"protocol,omitempty"` 570 Protoparam string `protobuf:"bytes,8,opt,name=protoparam,proto3" json:"protoparam,omitempty"` 571 } 572 573 func (x *Shadowsocksr) Reset() { 574 *x = Shadowsocksr{} 575 if protoimpl.UnsafeEnabled { 576 mi := &file_node_protocol_protocol_proto_msgTypes[4] 577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 578 ms.StoreMessageInfo(mi) 579 } 580 } 581 582 func (x *Shadowsocksr) String() string { 583 return protoimpl.X.MessageStringOf(x) 584 } 585 586 func (*Shadowsocksr) ProtoMessage() {} 587 588 func (x *Shadowsocksr) ProtoReflect() protoreflect.Message { 589 mi := &file_node_protocol_protocol_proto_msgTypes[4] 590 if protoimpl.UnsafeEnabled && x != nil { 591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 592 if ms.LoadMessageInfo() == nil { 593 ms.StoreMessageInfo(mi) 594 } 595 return ms 596 } 597 return mi.MessageOf(x) 598 } 599 600 // Deprecated: Use Shadowsocksr.ProtoReflect.Descriptor instead. 601 func (*Shadowsocksr) Descriptor() ([]byte, []int) { 602 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{4} 603 } 604 605 func (x *Shadowsocksr) GetServer() string { 606 if x != nil { 607 return x.Server 608 } 609 return "" 610 } 611 612 func (x *Shadowsocksr) GetPort() string { 613 if x != nil { 614 return x.Port 615 } 616 return "" 617 } 618 619 func (x *Shadowsocksr) GetMethod() string { 620 if x != nil { 621 return x.Method 622 } 623 return "" 624 } 625 626 func (x *Shadowsocksr) GetPassword() string { 627 if x != nil { 628 return x.Password 629 } 630 return "" 631 } 632 633 func (x *Shadowsocksr) GetObfs() string { 634 if x != nil { 635 return x.Obfs 636 } 637 return "" 638 } 639 640 func (x *Shadowsocksr) GetObfsparam() string { 641 if x != nil { 642 return x.Obfsparam 643 } 644 return "" 645 } 646 647 func (x *Shadowsocksr) GetProtocol() string { 648 if x != nil { 649 return x.Protocol 650 } 651 return "" 652 } 653 654 func (x *Shadowsocksr) GetProtoparam() string { 655 if x != nil { 656 return x.Protoparam 657 } 658 return "" 659 } 660 661 type Http2 struct { 662 state protoimpl.MessageState 663 sizeCache protoimpl.SizeCache 664 unknownFields protoimpl.UnknownFields 665 666 Concurrency int32 `protobuf:"varint,1,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 667 } 668 669 func (x *Http2) Reset() { 670 *x = Http2{} 671 if protoimpl.UnsafeEnabled { 672 mi := &file_node_protocol_protocol_proto_msgTypes[5] 673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 674 ms.StoreMessageInfo(mi) 675 } 676 } 677 678 func (x *Http2) String() string { 679 return protoimpl.X.MessageStringOf(x) 680 } 681 682 func (*Http2) ProtoMessage() {} 683 684 func (x *Http2) ProtoReflect() protoreflect.Message { 685 mi := &file_node_protocol_protocol_proto_msgTypes[5] 686 if protoimpl.UnsafeEnabled && x != nil { 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 688 if ms.LoadMessageInfo() == nil { 689 ms.StoreMessageInfo(mi) 690 } 691 return ms 692 } 693 return mi.MessageOf(x) 694 } 695 696 // Deprecated: Use Http2.ProtoReflect.Descriptor instead. 697 func (*Http2) Descriptor() ([]byte, []int) { 698 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{5} 699 } 700 701 func (x *Http2) GetConcurrency() int32 { 702 if x != nil { 703 return x.Concurrency 704 } 705 return 0 706 } 707 708 type Vmess struct { 709 state protoimpl.MessageState 710 sizeCache protoimpl.SizeCache 711 unknownFields protoimpl.UnknownFields 712 713 // uuid 714 Uuid string `protobuf:"bytes,1,opt,name=uuid,json=id,proto3" json:"uuid,omitempty"` 715 // alter id 716 AlterId string `protobuf:"bytes,2,opt,name=alter_id,json=aid,proto3" json:"alter_id,omitempty"` 717 Security string `protobuf:"bytes,3,opt,name=security,proto3" json:"security,omitempty"` 718 } 719 720 func (x *Vmess) Reset() { 721 *x = Vmess{} 722 if protoimpl.UnsafeEnabled { 723 mi := &file_node_protocol_protocol_proto_msgTypes[6] 724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 725 ms.StoreMessageInfo(mi) 726 } 727 } 728 729 func (x *Vmess) String() string { 730 return protoimpl.X.MessageStringOf(x) 731 } 732 733 func (*Vmess) ProtoMessage() {} 734 735 func (x *Vmess) ProtoReflect() protoreflect.Message { 736 mi := &file_node_protocol_protocol_proto_msgTypes[6] 737 if protoimpl.UnsafeEnabled && x != nil { 738 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 739 if ms.LoadMessageInfo() == nil { 740 ms.StoreMessageInfo(mi) 741 } 742 return ms 743 } 744 return mi.MessageOf(x) 745 } 746 747 // Deprecated: Use Vmess.ProtoReflect.Descriptor instead. 748 func (*Vmess) Descriptor() ([]byte, []int) { 749 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{6} 750 } 751 752 func (x *Vmess) GetUuid() string { 753 if x != nil { 754 return x.Uuid 755 } 756 return "" 757 } 758 759 func (x *Vmess) GetAlterId() string { 760 if x != nil { 761 return x.AlterId 762 } 763 return "" 764 } 765 766 func (x *Vmess) GetSecurity() string { 767 if x != nil { 768 return x.Security 769 } 770 return "" 771 } 772 773 type Vless struct { 774 state protoimpl.MessageState 775 sizeCache protoimpl.SizeCache 776 unknownFields protoimpl.UnknownFields 777 778 Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` 779 } 780 781 func (x *Vless) Reset() { 782 *x = Vless{} 783 if protoimpl.UnsafeEnabled { 784 mi := &file_node_protocol_protocol_proto_msgTypes[7] 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 ms.StoreMessageInfo(mi) 787 } 788 } 789 790 func (x *Vless) String() string { 791 return protoimpl.X.MessageStringOf(x) 792 } 793 794 func (*Vless) ProtoMessage() {} 795 796 func (x *Vless) ProtoReflect() protoreflect.Message { 797 mi := &file_node_protocol_protocol_proto_msgTypes[7] 798 if protoimpl.UnsafeEnabled && x != nil { 799 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 800 if ms.LoadMessageInfo() == nil { 801 ms.StoreMessageInfo(mi) 802 } 803 return ms 804 } 805 return mi.MessageOf(x) 806 } 807 808 // Deprecated: Use Vless.ProtoReflect.Descriptor instead. 809 func (*Vless) Descriptor() ([]byte, []int) { 810 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{7} 811 } 812 813 func (x *Vless) GetUuid() string { 814 if x != nil { 815 return x.Uuid 816 } 817 return "" 818 } 819 820 type Trojan struct { 821 state protoimpl.MessageState 822 sizeCache protoimpl.SizeCache 823 unknownFields protoimpl.UnknownFields 824 825 Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` 826 Peer string `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"` 827 } 828 829 func (x *Trojan) Reset() { 830 *x = Trojan{} 831 if protoimpl.UnsafeEnabled { 832 mi := &file_node_protocol_protocol_proto_msgTypes[8] 833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 834 ms.StoreMessageInfo(mi) 835 } 836 } 837 838 func (x *Trojan) String() string { 839 return protoimpl.X.MessageStringOf(x) 840 } 841 842 func (*Trojan) ProtoMessage() {} 843 844 func (x *Trojan) ProtoReflect() protoreflect.Message { 845 mi := &file_node_protocol_protocol_proto_msgTypes[8] 846 if protoimpl.UnsafeEnabled && x != nil { 847 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 848 if ms.LoadMessageInfo() == nil { 849 ms.StoreMessageInfo(mi) 850 } 851 return ms 852 } 853 return mi.MessageOf(x) 854 } 855 856 // Deprecated: Use Trojan.ProtoReflect.Descriptor instead. 857 func (*Trojan) Descriptor() ([]byte, []int) { 858 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{8} 859 } 860 861 func (x *Trojan) GetPassword() string { 862 if x != nil { 863 return x.Password 864 } 865 return "" 866 } 867 868 func (x *Trojan) GetPeer() string { 869 if x != nil { 870 return x.Peer 871 } 872 return "" 873 } 874 875 type Yuubinsya struct { 876 state protoimpl.MessageState 877 sizeCache protoimpl.SizeCache 878 unknownFields protoimpl.UnknownFields 879 880 Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` 881 TcpEncrypt bool `protobuf:"varint,4,opt,name=tcp_encrypt,proto3" json:"tcp_encrypt,omitempty"` 882 UdpEncrypt bool `protobuf:"varint,5,opt,name=udp_encrypt,proto3" json:"udp_encrypt,omitempty"` 883 UdpOverStream bool `protobuf:"varint,3,opt,name=udp_over_stream,proto3" json:"udp_over_stream,omitempty"` 884 } 885 886 func (x *Yuubinsya) Reset() { 887 *x = Yuubinsya{} 888 if protoimpl.UnsafeEnabled { 889 mi := &file_node_protocol_protocol_proto_msgTypes[9] 890 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 891 ms.StoreMessageInfo(mi) 892 } 893 } 894 895 func (x *Yuubinsya) String() string { 896 return protoimpl.X.MessageStringOf(x) 897 } 898 899 func (*Yuubinsya) ProtoMessage() {} 900 901 func (x *Yuubinsya) ProtoReflect() protoreflect.Message { 902 mi := &file_node_protocol_protocol_proto_msgTypes[9] 903 if protoimpl.UnsafeEnabled && x != nil { 904 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 905 if ms.LoadMessageInfo() == nil { 906 ms.StoreMessageInfo(mi) 907 } 908 return ms 909 } 910 return mi.MessageOf(x) 911 } 912 913 // Deprecated: Use Yuubinsya.ProtoReflect.Descriptor instead. 914 func (*Yuubinsya) Descriptor() ([]byte, []int) { 915 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{9} 916 } 917 918 func (x *Yuubinsya) GetPassword() string { 919 if x != nil { 920 return x.Password 921 } 922 return "" 923 } 924 925 func (x *Yuubinsya) GetTcpEncrypt() bool { 926 if x != nil { 927 return x.TcpEncrypt 928 } 929 return false 930 } 931 932 func (x *Yuubinsya) GetUdpEncrypt() bool { 933 if x != nil { 934 return x.UdpEncrypt 935 } 936 return false 937 } 938 939 func (x *Yuubinsya) GetUdpOverStream() bool { 940 if x != nil { 941 return x.UdpOverStream 942 } 943 return false 944 } 945 946 type Websocket struct { 947 state protoimpl.MessageState 948 sizeCache protoimpl.SizeCache 949 unknownFields protoimpl.UnknownFields 950 951 Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` 952 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 953 } 954 955 func (x *Websocket) Reset() { 956 *x = Websocket{} 957 if protoimpl.UnsafeEnabled { 958 mi := &file_node_protocol_protocol_proto_msgTypes[10] 959 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 960 ms.StoreMessageInfo(mi) 961 } 962 } 963 964 func (x *Websocket) String() string { 965 return protoimpl.X.MessageStringOf(x) 966 } 967 968 func (*Websocket) ProtoMessage() {} 969 970 func (x *Websocket) ProtoReflect() protoreflect.Message { 971 mi := &file_node_protocol_protocol_proto_msgTypes[10] 972 if protoimpl.UnsafeEnabled && x != nil { 973 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 974 if ms.LoadMessageInfo() == nil { 975 ms.StoreMessageInfo(mi) 976 } 977 return ms 978 } 979 return mi.MessageOf(x) 980 } 981 982 // Deprecated: Use Websocket.ProtoReflect.Descriptor instead. 983 func (*Websocket) Descriptor() ([]byte, []int) { 984 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{10} 985 } 986 987 func (x *Websocket) GetHost() string { 988 if x != nil { 989 return x.Host 990 } 991 return "" 992 } 993 994 func (x *Websocket) GetPath() string { 995 if x != nil { 996 return x.Path 997 } 998 return "" 999 } 1000 1001 type Grpc struct { 1002 state protoimpl.MessageState 1003 sizeCache protoimpl.SizeCache 1004 unknownFields protoimpl.UnknownFields 1005 1006 Tls *TlsConfig `protobuf:"bytes,1,opt,name=tls,proto3" json:"tls,omitempty"` 1007 } 1008 1009 func (x *Grpc) Reset() { 1010 *x = Grpc{} 1011 if protoimpl.UnsafeEnabled { 1012 mi := &file_node_protocol_protocol_proto_msgTypes[11] 1013 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1014 ms.StoreMessageInfo(mi) 1015 } 1016 } 1017 1018 func (x *Grpc) String() string { 1019 return protoimpl.X.MessageStringOf(x) 1020 } 1021 1022 func (*Grpc) ProtoMessage() {} 1023 1024 func (x *Grpc) ProtoReflect() protoreflect.Message { 1025 mi := &file_node_protocol_protocol_proto_msgTypes[11] 1026 if protoimpl.UnsafeEnabled && x != nil { 1027 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1028 if ms.LoadMessageInfo() == nil { 1029 ms.StoreMessageInfo(mi) 1030 } 1031 return ms 1032 } 1033 return mi.MessageOf(x) 1034 } 1035 1036 // Deprecated: Use Grpc.ProtoReflect.Descriptor instead. 1037 func (*Grpc) Descriptor() ([]byte, []int) { 1038 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{11} 1039 } 1040 1041 func (x *Grpc) GetTls() *TlsConfig { 1042 if x != nil { 1043 return x.Tls 1044 } 1045 return nil 1046 } 1047 1048 type Quic struct { 1049 state protoimpl.MessageState 1050 sizeCache protoimpl.SizeCache 1051 unknownFields protoimpl.UnknownFields 1052 1053 Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` 1054 Tls *TlsConfig `protobuf:"bytes,1,opt,name=tls,proto3" json:"tls,omitempty"` 1055 } 1056 1057 func (x *Quic) Reset() { 1058 *x = Quic{} 1059 if protoimpl.UnsafeEnabled { 1060 mi := &file_node_protocol_protocol_proto_msgTypes[12] 1061 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1062 ms.StoreMessageInfo(mi) 1063 } 1064 } 1065 1066 func (x *Quic) String() string { 1067 return protoimpl.X.MessageStringOf(x) 1068 } 1069 1070 func (*Quic) ProtoMessage() {} 1071 1072 func (x *Quic) ProtoReflect() protoreflect.Message { 1073 mi := &file_node_protocol_protocol_proto_msgTypes[12] 1074 if protoimpl.UnsafeEnabled && x != nil { 1075 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1076 if ms.LoadMessageInfo() == nil { 1077 ms.StoreMessageInfo(mi) 1078 } 1079 return ms 1080 } 1081 return mi.MessageOf(x) 1082 } 1083 1084 // Deprecated: Use Quic.ProtoReflect.Descriptor instead. 1085 func (*Quic) Descriptor() ([]byte, []int) { 1086 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{12} 1087 } 1088 1089 func (x *Quic) GetHost() string { 1090 if x != nil { 1091 return x.Host 1092 } 1093 return "" 1094 } 1095 1096 func (x *Quic) GetTls() *TlsConfig { 1097 if x != nil { 1098 return x.Tls 1099 } 1100 return nil 1101 } 1102 1103 type Reality struct { 1104 state protoimpl.MessageState 1105 sizeCache protoimpl.SizeCache 1106 unknownFields protoimpl.UnknownFields 1107 1108 ServerName string `protobuf:"bytes,1,opt,name=server_name,proto3" json:"server_name,omitempty"` 1109 PublicKey string `protobuf:"bytes,2,opt,name=public_key,proto3" json:"public_key,omitempty"` 1110 ShortId string `protobuf:"bytes,3,opt,name=short_id,proto3" json:"short_id,omitempty"` 1111 Debug bool `protobuf:"varint,4,opt,name=debug,proto3" json:"debug,omitempty"` 1112 } 1113 1114 func (x *Reality) Reset() { 1115 *x = Reality{} 1116 if protoimpl.UnsafeEnabled { 1117 mi := &file_node_protocol_protocol_proto_msgTypes[13] 1118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1119 ms.StoreMessageInfo(mi) 1120 } 1121 } 1122 1123 func (x *Reality) String() string { 1124 return protoimpl.X.MessageStringOf(x) 1125 } 1126 1127 func (*Reality) ProtoMessage() {} 1128 1129 func (x *Reality) ProtoReflect() protoreflect.Message { 1130 mi := &file_node_protocol_protocol_proto_msgTypes[13] 1131 if protoimpl.UnsafeEnabled && x != nil { 1132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1133 if ms.LoadMessageInfo() == nil { 1134 ms.StoreMessageInfo(mi) 1135 } 1136 return ms 1137 } 1138 return mi.MessageOf(x) 1139 } 1140 1141 // Deprecated: Use Reality.ProtoReflect.Descriptor instead. 1142 func (*Reality) Descriptor() ([]byte, []int) { 1143 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{13} 1144 } 1145 1146 func (x *Reality) GetServerName() string { 1147 if x != nil { 1148 return x.ServerName 1149 } 1150 return "" 1151 } 1152 1153 func (x *Reality) GetPublicKey() string { 1154 if x != nil { 1155 return x.PublicKey 1156 } 1157 return "" 1158 } 1159 1160 func (x *Reality) GetShortId() string { 1161 if x != nil { 1162 return x.ShortId 1163 } 1164 return "" 1165 } 1166 1167 func (x *Reality) GetDebug() bool { 1168 if x != nil { 1169 return x.Debug 1170 } 1171 return false 1172 } 1173 1174 type ObfsHttp struct { 1175 state protoimpl.MessageState 1176 sizeCache protoimpl.SizeCache 1177 unknownFields protoimpl.UnknownFields 1178 1179 Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` 1180 Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` 1181 } 1182 1183 func (x *ObfsHttp) Reset() { 1184 *x = ObfsHttp{} 1185 if protoimpl.UnsafeEnabled { 1186 mi := &file_node_protocol_protocol_proto_msgTypes[14] 1187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1188 ms.StoreMessageInfo(mi) 1189 } 1190 } 1191 1192 func (x *ObfsHttp) String() string { 1193 return protoimpl.X.MessageStringOf(x) 1194 } 1195 1196 func (*ObfsHttp) ProtoMessage() {} 1197 1198 func (x *ObfsHttp) ProtoReflect() protoreflect.Message { 1199 mi := &file_node_protocol_protocol_proto_msgTypes[14] 1200 if protoimpl.UnsafeEnabled && x != nil { 1201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1202 if ms.LoadMessageInfo() == nil { 1203 ms.StoreMessageInfo(mi) 1204 } 1205 return ms 1206 } 1207 return mi.MessageOf(x) 1208 } 1209 1210 // Deprecated: Use ObfsHttp.ProtoReflect.Descriptor instead. 1211 func (*ObfsHttp) Descriptor() ([]byte, []int) { 1212 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{14} 1213 } 1214 1215 func (x *ObfsHttp) GetHost() string { 1216 if x != nil { 1217 return x.Host 1218 } 1219 return "" 1220 } 1221 1222 func (x *ObfsHttp) GetPort() string { 1223 if x != nil { 1224 return x.Port 1225 } 1226 return "" 1227 } 1228 1229 type None struct { 1230 state protoimpl.MessageState 1231 sizeCache protoimpl.SizeCache 1232 unknownFields protoimpl.UnknownFields 1233 } 1234 1235 func (x *None) Reset() { 1236 *x = None{} 1237 if protoimpl.UnsafeEnabled { 1238 mi := &file_node_protocol_protocol_proto_msgTypes[15] 1239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1240 ms.StoreMessageInfo(mi) 1241 } 1242 } 1243 1244 func (x *None) String() string { 1245 return protoimpl.X.MessageStringOf(x) 1246 } 1247 1248 func (*None) ProtoMessage() {} 1249 1250 func (x *None) ProtoReflect() protoreflect.Message { 1251 mi := &file_node_protocol_protocol_proto_msgTypes[15] 1252 if protoimpl.UnsafeEnabled && x != nil { 1253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1254 if ms.LoadMessageInfo() == nil { 1255 ms.StoreMessageInfo(mi) 1256 } 1257 return ms 1258 } 1259 return mi.MessageOf(x) 1260 } 1261 1262 // Deprecated: Use None.ProtoReflect.Descriptor instead. 1263 func (*None) Descriptor() ([]byte, []int) { 1264 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{15} 1265 } 1266 1267 type Simple struct { 1268 state protoimpl.MessageState 1269 sizeCache protoimpl.SizeCache 1270 unknownFields protoimpl.UnknownFields 1271 1272 Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` 1273 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` 1274 AlternateHost []*Host `protobuf:"bytes,5,rep,name=alternate_host,proto3" json:"alternate_host,omitempty"` 1275 } 1276 1277 func (x *Simple) Reset() { 1278 *x = Simple{} 1279 if protoimpl.UnsafeEnabled { 1280 mi := &file_node_protocol_protocol_proto_msgTypes[16] 1281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1282 ms.StoreMessageInfo(mi) 1283 } 1284 } 1285 1286 func (x *Simple) String() string { 1287 return protoimpl.X.MessageStringOf(x) 1288 } 1289 1290 func (*Simple) ProtoMessage() {} 1291 1292 func (x *Simple) ProtoReflect() protoreflect.Message { 1293 mi := &file_node_protocol_protocol_proto_msgTypes[16] 1294 if protoimpl.UnsafeEnabled && x != nil { 1295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1296 if ms.LoadMessageInfo() == nil { 1297 ms.StoreMessageInfo(mi) 1298 } 1299 return ms 1300 } 1301 return mi.MessageOf(x) 1302 } 1303 1304 // Deprecated: Use Simple.ProtoReflect.Descriptor instead. 1305 func (*Simple) Descriptor() ([]byte, []int) { 1306 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{16} 1307 } 1308 1309 func (x *Simple) GetHost() string { 1310 if x != nil { 1311 return x.Host 1312 } 1313 return "" 1314 } 1315 1316 func (x *Simple) GetPort() int32 { 1317 if x != nil { 1318 return x.Port 1319 } 1320 return 0 1321 } 1322 1323 func (x *Simple) GetAlternateHost() []*Host { 1324 if x != nil { 1325 return x.AlternateHost 1326 } 1327 return nil 1328 } 1329 1330 type TlsConfig struct { 1331 state protoimpl.MessageState 1332 sizeCache protoimpl.SizeCache 1333 unknownFields protoimpl.UnknownFields 1334 1335 Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` 1336 ServerNames []string `protobuf:"bytes,6,rep,name=server_names,json=servernames,proto3" json:"server_names,omitempty"` 1337 CaCert [][]byte `protobuf:"bytes,3,rep,name=ca_cert,proto3" json:"ca_cert,omitempty"` 1338 InsecureSkipVerify bool `protobuf:"varint,4,opt,name=insecure_skip_verify,proto3" json:"insecure_skip_verify,omitempty"` 1339 // next_protos ALPN Next Protocol 1340 // eg: h2, http/1.1 1341 NextProtos []string `protobuf:"bytes,5,rep,name=next_protos,proto3" json:"next_protos,omitempty"` 1342 } 1343 1344 func (x *TlsConfig) Reset() { 1345 *x = TlsConfig{} 1346 if protoimpl.UnsafeEnabled { 1347 mi := &file_node_protocol_protocol_proto_msgTypes[17] 1348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1349 ms.StoreMessageInfo(mi) 1350 } 1351 } 1352 1353 func (x *TlsConfig) String() string { 1354 return protoimpl.X.MessageStringOf(x) 1355 } 1356 1357 func (*TlsConfig) ProtoMessage() {} 1358 1359 func (x *TlsConfig) ProtoReflect() protoreflect.Message { 1360 mi := &file_node_protocol_protocol_proto_msgTypes[17] 1361 if protoimpl.UnsafeEnabled && x != nil { 1362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1363 if ms.LoadMessageInfo() == nil { 1364 ms.StoreMessageInfo(mi) 1365 } 1366 return ms 1367 } 1368 return mi.MessageOf(x) 1369 } 1370 1371 // Deprecated: Use TlsConfig.ProtoReflect.Descriptor instead. 1372 func (*TlsConfig) Descriptor() ([]byte, []int) { 1373 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{17} 1374 } 1375 1376 func (x *TlsConfig) GetEnable() bool { 1377 if x != nil { 1378 return x.Enable 1379 } 1380 return false 1381 } 1382 1383 func (x *TlsConfig) GetServerNames() []string { 1384 if x != nil { 1385 return x.ServerNames 1386 } 1387 return nil 1388 } 1389 1390 func (x *TlsConfig) GetCaCert() [][]byte { 1391 if x != nil { 1392 return x.CaCert 1393 } 1394 return nil 1395 } 1396 1397 func (x *TlsConfig) GetInsecureSkipVerify() bool { 1398 if x != nil { 1399 return x.InsecureSkipVerify 1400 } 1401 return false 1402 } 1403 1404 func (x *TlsConfig) GetNextProtos() []string { 1405 if x != nil { 1406 return x.NextProtos 1407 } 1408 return nil 1409 } 1410 1411 type Direct struct { 1412 state protoimpl.MessageState 1413 sizeCache protoimpl.SizeCache 1414 unknownFields protoimpl.UnknownFields 1415 } 1416 1417 func (x *Direct) Reset() { 1418 *x = Direct{} 1419 if protoimpl.UnsafeEnabled { 1420 mi := &file_node_protocol_protocol_proto_msgTypes[18] 1421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1422 ms.StoreMessageInfo(mi) 1423 } 1424 } 1425 1426 func (x *Direct) String() string { 1427 return protoimpl.X.MessageStringOf(x) 1428 } 1429 1430 func (*Direct) ProtoMessage() {} 1431 1432 func (x *Direct) ProtoReflect() protoreflect.Message { 1433 mi := &file_node_protocol_protocol_proto_msgTypes[18] 1434 if protoimpl.UnsafeEnabled && x != nil { 1435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1436 if ms.LoadMessageInfo() == nil { 1437 ms.StoreMessageInfo(mi) 1438 } 1439 return ms 1440 } 1441 return mi.MessageOf(x) 1442 } 1443 1444 // Deprecated: Use Direct.ProtoReflect.Descriptor instead. 1445 func (*Direct) Descriptor() ([]byte, []int) { 1446 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{18} 1447 } 1448 1449 type Reject struct { 1450 state protoimpl.MessageState 1451 sizeCache protoimpl.SizeCache 1452 unknownFields protoimpl.UnknownFields 1453 } 1454 1455 func (x *Reject) Reset() { 1456 *x = Reject{} 1457 if protoimpl.UnsafeEnabled { 1458 mi := &file_node_protocol_protocol_proto_msgTypes[19] 1459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1460 ms.StoreMessageInfo(mi) 1461 } 1462 } 1463 1464 func (x *Reject) String() string { 1465 return protoimpl.X.MessageStringOf(x) 1466 } 1467 1468 func (*Reject) ProtoMessage() {} 1469 1470 func (x *Reject) ProtoReflect() protoreflect.Message { 1471 mi := &file_node_protocol_protocol_proto_msgTypes[19] 1472 if protoimpl.UnsafeEnabled && x != nil { 1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1474 if ms.LoadMessageInfo() == nil { 1475 ms.StoreMessageInfo(mi) 1476 } 1477 return ms 1478 } 1479 return mi.MessageOf(x) 1480 } 1481 1482 // Deprecated: Use Reject.ProtoReflect.Descriptor instead. 1483 func (*Reject) Descriptor() ([]byte, []int) { 1484 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{19} 1485 } 1486 1487 type Drop struct { 1488 state protoimpl.MessageState 1489 sizeCache protoimpl.SizeCache 1490 unknownFields protoimpl.UnknownFields 1491 } 1492 1493 func (x *Drop) Reset() { 1494 *x = Drop{} 1495 if protoimpl.UnsafeEnabled { 1496 mi := &file_node_protocol_protocol_proto_msgTypes[20] 1497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1498 ms.StoreMessageInfo(mi) 1499 } 1500 } 1501 1502 func (x *Drop) String() string { 1503 return protoimpl.X.MessageStringOf(x) 1504 } 1505 1506 func (*Drop) ProtoMessage() {} 1507 1508 func (x *Drop) ProtoReflect() protoreflect.Message { 1509 mi := &file_node_protocol_protocol_proto_msgTypes[20] 1510 if protoimpl.UnsafeEnabled && x != nil { 1511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1512 if ms.LoadMessageInfo() == nil { 1513 ms.StoreMessageInfo(mi) 1514 } 1515 return ms 1516 } 1517 return mi.MessageOf(x) 1518 } 1519 1520 // Deprecated: Use Drop.ProtoReflect.Descriptor instead. 1521 func (*Drop) Descriptor() ([]byte, []int) { 1522 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{20} 1523 } 1524 1525 type Host struct { 1526 state protoimpl.MessageState 1527 sizeCache protoimpl.SizeCache 1528 unknownFields protoimpl.UnknownFields 1529 1530 Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` 1531 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` 1532 } 1533 1534 func (x *Host) Reset() { 1535 *x = Host{} 1536 if protoimpl.UnsafeEnabled { 1537 mi := &file_node_protocol_protocol_proto_msgTypes[21] 1538 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1539 ms.StoreMessageInfo(mi) 1540 } 1541 } 1542 1543 func (x *Host) String() string { 1544 return protoimpl.X.MessageStringOf(x) 1545 } 1546 1547 func (*Host) ProtoMessage() {} 1548 1549 func (x *Host) ProtoReflect() protoreflect.Message { 1550 mi := &file_node_protocol_protocol_proto_msgTypes[21] 1551 if protoimpl.UnsafeEnabled && x != nil { 1552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1553 if ms.LoadMessageInfo() == nil { 1554 ms.StoreMessageInfo(mi) 1555 } 1556 return ms 1557 } 1558 return mi.MessageOf(x) 1559 } 1560 1561 // Deprecated: Use Host.ProtoReflect.Descriptor instead. 1562 func (*Host) Descriptor() ([]byte, []int) { 1563 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{21} 1564 } 1565 1566 func (x *Host) GetHost() string { 1567 if x != nil { 1568 return x.Host 1569 } 1570 return "" 1571 } 1572 1573 func (x *Host) GetPort() int32 { 1574 if x != nil { 1575 return x.Port 1576 } 1577 return 0 1578 } 1579 1580 type WireguardPeerConfig struct { 1581 state protoimpl.MessageState 1582 sizeCache protoimpl.SizeCache 1583 unknownFields protoimpl.UnknownFields 1584 1585 PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 1586 PreSharedKey string `protobuf:"bytes,2,opt,name=pre_shared_key,json=preSharedKey,proto3" json:"pre_shared_key,omitempty"` 1587 Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` 1588 KeepAlive int32 `protobuf:"varint,4,opt,name=keep_alive,json=keepAlive,proto3" json:"keep_alive,omitempty"` 1589 AllowedIps []string `protobuf:"bytes,5,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` 1590 } 1591 1592 func (x *WireguardPeerConfig) Reset() { 1593 *x = WireguardPeerConfig{} 1594 if protoimpl.UnsafeEnabled { 1595 mi := &file_node_protocol_protocol_proto_msgTypes[22] 1596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1597 ms.StoreMessageInfo(mi) 1598 } 1599 } 1600 1601 func (x *WireguardPeerConfig) String() string { 1602 return protoimpl.X.MessageStringOf(x) 1603 } 1604 1605 func (*WireguardPeerConfig) ProtoMessage() {} 1606 1607 func (x *WireguardPeerConfig) ProtoReflect() protoreflect.Message { 1608 mi := &file_node_protocol_protocol_proto_msgTypes[22] 1609 if protoimpl.UnsafeEnabled && x != nil { 1610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1611 if ms.LoadMessageInfo() == nil { 1612 ms.StoreMessageInfo(mi) 1613 } 1614 return ms 1615 } 1616 return mi.MessageOf(x) 1617 } 1618 1619 // Deprecated: Use WireguardPeerConfig.ProtoReflect.Descriptor instead. 1620 func (*WireguardPeerConfig) Descriptor() ([]byte, []int) { 1621 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{22} 1622 } 1623 1624 func (x *WireguardPeerConfig) GetPublicKey() string { 1625 if x != nil { 1626 return x.PublicKey 1627 } 1628 return "" 1629 } 1630 1631 func (x *WireguardPeerConfig) GetPreSharedKey() string { 1632 if x != nil { 1633 return x.PreSharedKey 1634 } 1635 return "" 1636 } 1637 1638 func (x *WireguardPeerConfig) GetEndpoint() string { 1639 if x != nil { 1640 return x.Endpoint 1641 } 1642 return "" 1643 } 1644 1645 func (x *WireguardPeerConfig) GetKeepAlive() int32 { 1646 if x != nil { 1647 return x.KeepAlive 1648 } 1649 return 0 1650 } 1651 1652 func (x *WireguardPeerConfig) GetAllowedIps() []string { 1653 if x != nil { 1654 return x.AllowedIps 1655 } 1656 return nil 1657 } 1658 1659 type Wireguard struct { 1660 state protoimpl.MessageState 1661 sizeCache protoimpl.SizeCache 1662 unknownFields protoimpl.UnknownFields 1663 1664 SecretKey string `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` 1665 Endpoint []string `protobuf:"bytes,2,rep,name=endpoint,proto3" json:"endpoint,omitempty"` 1666 Peers []*WireguardPeerConfig `protobuf:"bytes,3,rep,name=peers,proto3" json:"peers,omitempty"` 1667 Mtu int32 `protobuf:"varint,4,opt,name=mtu,proto3" json:"mtu,omitempty"` 1668 Reserved []byte `protobuf:"bytes,6,opt,name=reserved,proto3" json:"reserved,omitempty"` 1669 IdleTimeout int32 `protobuf:"varint,7,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` 1670 } 1671 1672 func (x *Wireguard) Reset() { 1673 *x = Wireguard{} 1674 if protoimpl.UnsafeEnabled { 1675 mi := &file_node_protocol_protocol_proto_msgTypes[23] 1676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1677 ms.StoreMessageInfo(mi) 1678 } 1679 } 1680 1681 func (x *Wireguard) String() string { 1682 return protoimpl.X.MessageStringOf(x) 1683 } 1684 1685 func (*Wireguard) ProtoMessage() {} 1686 1687 func (x *Wireguard) ProtoReflect() protoreflect.Message { 1688 mi := &file_node_protocol_protocol_proto_msgTypes[23] 1689 if protoimpl.UnsafeEnabled && x != nil { 1690 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1691 if ms.LoadMessageInfo() == nil { 1692 ms.StoreMessageInfo(mi) 1693 } 1694 return ms 1695 } 1696 return mi.MessageOf(x) 1697 } 1698 1699 // Deprecated: Use Wireguard.ProtoReflect.Descriptor instead. 1700 func (*Wireguard) Descriptor() ([]byte, []int) { 1701 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{23} 1702 } 1703 1704 func (x *Wireguard) GetSecretKey() string { 1705 if x != nil { 1706 return x.SecretKey 1707 } 1708 return "" 1709 } 1710 1711 func (x *Wireguard) GetEndpoint() []string { 1712 if x != nil { 1713 return x.Endpoint 1714 } 1715 return nil 1716 } 1717 1718 func (x *Wireguard) GetPeers() []*WireguardPeerConfig { 1719 if x != nil { 1720 return x.Peers 1721 } 1722 return nil 1723 } 1724 1725 func (x *Wireguard) GetMtu() int32 { 1726 if x != nil { 1727 return x.Mtu 1728 } 1729 return 0 1730 } 1731 1732 func (x *Wireguard) GetReserved() []byte { 1733 if x != nil { 1734 return x.Reserved 1735 } 1736 return nil 1737 } 1738 1739 func (x *Wireguard) GetIdleTimeout() int32 { 1740 if x != nil { 1741 return x.IdleTimeout 1742 } 1743 return 0 1744 } 1745 1746 type Mux struct { 1747 state protoimpl.MessageState 1748 sizeCache protoimpl.SizeCache 1749 unknownFields protoimpl.UnknownFields 1750 1751 Concurrency int32 `protobuf:"varint,1,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 1752 } 1753 1754 func (x *Mux) Reset() { 1755 *x = Mux{} 1756 if protoimpl.UnsafeEnabled { 1757 mi := &file_node_protocol_protocol_proto_msgTypes[24] 1758 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1759 ms.StoreMessageInfo(mi) 1760 } 1761 } 1762 1763 func (x *Mux) String() string { 1764 return protoimpl.X.MessageStringOf(x) 1765 } 1766 1767 func (*Mux) ProtoMessage() {} 1768 1769 func (x *Mux) ProtoReflect() protoreflect.Message { 1770 mi := &file_node_protocol_protocol_proto_msgTypes[24] 1771 if protoimpl.UnsafeEnabled && x != nil { 1772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1773 if ms.LoadMessageInfo() == nil { 1774 ms.StoreMessageInfo(mi) 1775 } 1776 return ms 1777 } 1778 return mi.MessageOf(x) 1779 } 1780 1781 // Deprecated: Use Mux.ProtoReflect.Descriptor instead. 1782 func (*Mux) Descriptor() ([]byte, []int) { 1783 return file_node_protocol_protocol_proto_rawDescGZIP(), []int{24} 1784 } 1785 1786 func (x *Mux) GetConcurrency() int32 { 1787 if x != nil { 1788 return x.Concurrency 1789 } 1790 return 0 1791 } 1792 1793 var File_node_protocol_protocol_proto protoreflect.FileDescriptor 1794 1795 var file_node_protocol_protocol_proto_rawDesc = []byte{ 1796 0x0a, 0x1c, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 1797 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 1798 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 1799 0x22, 0xa4, 0x09, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x41, 0x0a, 1800 0x0b, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x01, 1801 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 1802 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 1803 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 1804 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x72, 1805 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 1806 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 1807 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x72, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 1808 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x72, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x18, 1809 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 1810 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x48, 0x00, 1811 0x52, 0x05, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x77, 0x65, 0x62, 0x73, 0x6f, 1812 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x79, 0x75, 0x68, 1813 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x77, 0x65, 1814 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x00, 0x52, 0x09, 0x77, 0x65, 0x62, 0x73, 0x6f, 1815 0x63, 0x6b, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x71, 0x75, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 1816 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 1817 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x71, 0x75, 0x69, 0x63, 0x48, 0x00, 0x52, 0x04, 0x71, 0x75, 1818 0x69, 0x63, 0x12, 0x3b, 0x0a, 0x09, 0x6f, 0x62, 0x66, 0x73, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x18, 1819 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 1820 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x6f, 0x62, 0x66, 0x73, 0x5f, 0x68, 0x74, 1821 0x74, 0x70, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x62, 0x66, 0x73, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x12, 1822 0x32, 0x0a, 0x06, 0x74, 0x72, 0x6f, 0x6a, 0x61, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 1823 0x18, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 1824 0x6f, 0x6c, 0x2e, 0x74, 0x72, 0x6f, 0x6a, 0x61, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x74, 0x72, 0x6f, 1825 0x6a, 0x61, 0x6e, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x08, 0x20, 1826 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 1827 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x48, 0x00, 0x52, 1828 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x18, 1829 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 1830 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x6e, 0x6f, 0x6e, 0x65, 0x48, 0x00, 0x52, 1831 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x35, 0x18, 1832 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 1833 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x35, 0x48, 1834 0x00, 0x52, 0x06, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x35, 0x12, 0x2c, 0x0a, 0x04, 0x68, 0x74, 0x74, 1835 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 1836 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x48, 1837 0x00, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x12, 0x32, 0x0a, 0x06, 0x64, 0x69, 0x72, 0x65, 0x63, 1838 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 1839 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x64, 0x69, 0x72, 0x65, 0x63, 1840 0x74, 0x48, 0x00, 0x52, 0x06, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x72, 1841 0x65, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x75, 1842 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x72, 1843 0x65, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 1844 0x3b, 0x0a, 0x09, 0x79, 0x75, 0x75, 0x62, 0x69, 0x6e, 0x73, 0x79, 0x61, 0x18, 0x0e, 0x20, 0x01, 1845 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 1846 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x79, 0x75, 0x75, 0x62, 0x69, 0x6e, 0x73, 0x79, 0x61, 0x48, 1847 0x00, 0x52, 0x09, 0x79, 0x75, 0x75, 0x62, 0x69, 0x6e, 0x73, 0x79, 0x61, 0x12, 0x2c, 0x0a, 0x04, 1848 0x67, 0x72, 0x70, 0x63, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x75, 0x68, 1849 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x67, 0x72, 1850 0x70, 0x63, 0x48, 0x00, 0x52, 0x04, 0x67, 0x72, 0x70, 0x63, 0x12, 0x2f, 0x0a, 0x05, 0x68, 0x74, 1851 0x74, 0x70, 0x32, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x75, 0x68, 0x61, 1852 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x68, 0x74, 0x74, 1853 0x70, 0x32, 0x48, 0x00, 0x52, 0x05, 0x68, 0x74, 0x74, 0x70, 0x32, 0x12, 0x35, 0x0a, 0x07, 0x72, 1854 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x79, 1855 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 1856 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x61, 0x6c, 0x69, 1857 0x74, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 1858 0x1c, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 1859 0x6f, 0x6c, 0x2e, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 1860 0x03, 0x74, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 1861 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 1862 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 1863 0x75, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x09, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 1864 0x64, 0x12, 0x29, 0x0a, 0x03, 0x6d, 0x75, 0x78, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 1865 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 1866 0x6c, 0x2e, 0x6d, 0x75, 0x78, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x75, 0x78, 0x12, 0x2c, 0x0a, 0x04, 1867 0x64, 0x72, 0x6f, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x75, 0x68, 1868 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x64, 0x72, 1869 0x6f, 0x70, 0x48, 0x00, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x6c, 1870 0x65, 0x73, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x79, 0x75, 0x68, 0x61, 1871 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x6c, 0x65, 1872 0x73, 0x73, 0x48, 0x00, 0x52, 0x05, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x70, 1873 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x54, 0x0a, 0x06, 0x73, 0x6f, 0x63, 0x6b, 0x73, 1874 0x35, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 1875 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 1876 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 1877 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 1878 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x36, 0x0a, 1879 0x04, 0x68, 0x74, 0x74, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 1880 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 1881 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 1882 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x41, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 1883 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 1884 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 1885 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 1886 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xdc, 0x01, 0x0a, 0x0c, 0x73, 0x68, 0x61, 1887 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 1888 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 1889 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1890 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 1891 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 1892 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 1893 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x62, 0x66, 1894 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6f, 0x62, 0x66, 0x73, 0x12, 0x1c, 0x0a, 1895 0x09, 0x6f, 0x62, 0x66, 0x73, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 1896 0x52, 0x09, 0x6f, 0x62, 0x66, 0x73, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 1897 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 1898 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1899 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 1900 0x74, 0x6f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x29, 0x0a, 0x05, 0x68, 0x74, 0x74, 0x70, 0x32, 1901 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 1902 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 1903 0x63, 0x79, 0x22, 0x4c, 0x0a, 0x05, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x04, 0x75, 1904 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x15, 0x0a, 1905 0x08, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1906 0x03, 0x61, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 1907 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 1908 0x22, 0x1b, 0x0a, 0x05, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 1909 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x38, 0x0a, 1910 0x06, 0x74, 0x72, 0x6f, 0x6a, 0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 1911 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 1912 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 1913 0x09, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x22, 0xa6, 0x01, 0x0a, 0x09, 0x79, 0x75, 0x75, 0x62, 1914 0x69, 0x6e, 0x73, 0x79, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 1915 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 1916 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x63, 0x70, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 1917 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x74, 0x63, 0x70, 0x5f, 0x65, 0x6e, 0x63, 0x72, 1918 0x79, 0x70, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x64, 0x70, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 1919 0x70, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x64, 0x70, 0x5f, 0x65, 0x6e, 1920 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65, 1921 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 1922 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4a, 1923 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 1924 0x22, 0x46, 0x0a, 0x09, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x12, 0x0a, 1925 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 1926 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1927 0x04, 0x70, 0x61, 0x74, 0x68, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x0b, 0x74, 0x6c, 0x73, 1928 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x36, 0x0a, 0x04, 0x67, 0x72, 0x70, 0x63, 1929 0x12, 0x2e, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 1930 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 1931 0x2e, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x74, 0x6c, 0x73, 1932 0x22, 0x4a, 0x0a, 0x04, 0x71, 0x75, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 1933 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x03, 1934 0x74, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x79, 0x75, 0x68, 0x61, 1935 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x74, 0x6c, 0x73, 1936 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x22, 0x7d, 0x0a, 0x07, 1937 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 1938 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 1939 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x75, 0x62, 1940 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 1941 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, 1942 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 1943 0x72, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x04, 1944 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x22, 0x33, 0x0a, 0x09, 0x6f, 1945 0x62, 0x66, 0x73, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 1946 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 1947 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 1948 0x22, 0x06, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x06, 0x73, 0x69, 0x6d, 1949 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 1950 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 1951 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x0e, 0x61, 1952 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 1953 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 1954 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x68, 0x6f, 0x73, 0x74, 0x52, 0x0e, 0x61, 0x6c, 0x74, 1955 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x04, 0x10, 1956 0x05, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x03, 0x74, 1957 0x6c, 0x73, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x52, 0x12, 0x70, 0x61, 0x63, 1958 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x22, 1959 0xb7, 0x01, 0x0a, 0x0a, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 1960 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 1961 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 1962 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 1963 0x72, 0x76, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x5f, 1964 0x63, 0x65, 0x72, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x61, 0x5f, 0x63, 1965 0x65, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x5f, 1966 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 1967 0x08, 0x52, 0x14, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x6b, 0x69, 0x70, 1968 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x5f, 1969 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 1970 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x17, 0x0a, 0x06, 0x64, 0x69, 0x72, 1971 0x65, 0x63, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 1972 0x75, 0x74, 0x22, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x06, 0x0a, 0x04, 1973 0x64, 0x72, 0x6f, 0x70, 0x22, 0x2e, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 1974 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 1975 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 1976 0x70, 0x6f, 0x72, 0x74, 0x22, 0xb8, 0x01, 0x0a, 0x15, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 1977 0x72, 0x64, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 1978 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1979 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 1980 0x0e, 0x70, 0x72, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 1981 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 1982 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 1983 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 1984 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 1985 0x01, 0x28, 0x05, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x1f, 1986 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x69, 0x70, 0x73, 0x18, 0x05, 0x20, 1987 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49, 0x70, 0x73, 0x22, 1988 0xd6, 0x01, 0x0a, 0x09, 0x77, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x12, 0x1d, 0x0a, 1989 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 1990 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 1991 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 1992 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 1993 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 1994 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x77, 0x69, 0x72, 0x65, 0x67, 1995 0x75, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1996 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x74, 0x75, 0x18, 0x04, 1997 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6d, 0x74, 0x75, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 1998 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 1999 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x69, 2000 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x69, 0x64, 0x6c, 2001 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x27, 0x0a, 0x03, 0x6d, 0x75, 0x78, 0x12, 2002 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 2003 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 2004 0x79, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 2005 0x41, 0x73, 0x75, 0x74, 0x6f, 0x72, 0x75, 0x66, 0x61, 0x2f, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 2006 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6e, 0x6f, 0x64, 2007 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 2008 0x6f, 0x33, 2009 } 2010 2011 var ( 2012 file_node_protocol_protocol_proto_rawDescOnce sync.Once 2013 file_node_protocol_protocol_proto_rawDescData = file_node_protocol_protocol_proto_rawDesc 2014 ) 2015 2016 func file_node_protocol_protocol_proto_rawDescGZIP() []byte { 2017 file_node_protocol_protocol_proto_rawDescOnce.Do(func() { 2018 file_node_protocol_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_node_protocol_protocol_proto_rawDescData) 2019 }) 2020 return file_node_protocol_protocol_proto_rawDescData 2021 } 2022 2023 var file_node_protocol_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 25) 2024 var file_node_protocol_protocol_proto_goTypes = []interface{}{ 2025 (*Protocol)(nil), // 0: yuhaiin.protocol.protocol 2026 (*Socks5)(nil), // 1: yuhaiin.protocol.socks5 2027 (*Http)(nil), // 2: yuhaiin.protocol.http 2028 (*Shadowsocks)(nil), // 3: yuhaiin.protocol.shadowsocks 2029 (*Shadowsocksr)(nil), // 4: yuhaiin.protocol.shadowsocksr 2030 (*Http2)(nil), // 5: yuhaiin.protocol.http2 2031 (*Vmess)(nil), // 6: yuhaiin.protocol.vmess 2032 (*Vless)(nil), // 7: yuhaiin.protocol.vless 2033 (*Trojan)(nil), // 8: yuhaiin.protocol.trojan 2034 (*Yuubinsya)(nil), // 9: yuhaiin.protocol.yuubinsya 2035 (*Websocket)(nil), // 10: yuhaiin.protocol.websocket 2036 (*Grpc)(nil), // 11: yuhaiin.protocol.grpc 2037 (*Quic)(nil), // 12: yuhaiin.protocol.quic 2038 (*Reality)(nil), // 13: yuhaiin.protocol.reality 2039 (*ObfsHttp)(nil), // 14: yuhaiin.protocol.obfs_http 2040 (*None)(nil), // 15: yuhaiin.protocol.none 2041 (*Simple)(nil), // 16: yuhaiin.protocol.simple 2042 (*TlsConfig)(nil), // 17: yuhaiin.protocol.tls_config 2043 (*Direct)(nil), // 18: yuhaiin.protocol.direct 2044 (*Reject)(nil), // 19: yuhaiin.protocol.reject 2045 (*Drop)(nil), // 20: yuhaiin.protocol.drop 2046 (*Host)(nil), // 21: yuhaiin.protocol.host 2047 (*WireguardPeerConfig)(nil), // 22: yuhaiin.protocol.wireguard_peer_config 2048 (*Wireguard)(nil), // 23: yuhaiin.protocol.wireguard 2049 (*Mux)(nil), // 24: yuhaiin.protocol.mux 2050 } 2051 var file_node_protocol_protocol_proto_depIdxs = []int32{ 2052 3, // 0: yuhaiin.protocol.protocol.shadowsocks:type_name -> yuhaiin.protocol.shadowsocks 2053 4, // 1: yuhaiin.protocol.protocol.shadowsocksr:type_name -> yuhaiin.protocol.shadowsocksr 2054 6, // 2: yuhaiin.protocol.protocol.vmess:type_name -> yuhaiin.protocol.vmess 2055 10, // 3: yuhaiin.protocol.protocol.websocket:type_name -> yuhaiin.protocol.websocket 2056 12, // 4: yuhaiin.protocol.protocol.quic:type_name -> yuhaiin.protocol.quic 2057 14, // 5: yuhaiin.protocol.protocol.obfs_http:type_name -> yuhaiin.protocol.obfs_http 2058 8, // 6: yuhaiin.protocol.protocol.trojan:type_name -> yuhaiin.protocol.trojan 2059 16, // 7: yuhaiin.protocol.protocol.simple:type_name -> yuhaiin.protocol.simple 2060 15, // 8: yuhaiin.protocol.protocol.none:type_name -> yuhaiin.protocol.none 2061 1, // 9: yuhaiin.protocol.protocol.socks5:type_name -> yuhaiin.protocol.socks5 2062 2, // 10: yuhaiin.protocol.protocol.http:type_name -> yuhaiin.protocol.http 2063 18, // 11: yuhaiin.protocol.protocol.direct:type_name -> yuhaiin.protocol.direct 2064 19, // 12: yuhaiin.protocol.protocol.reject:type_name -> yuhaiin.protocol.reject 2065 9, // 13: yuhaiin.protocol.protocol.yuubinsya:type_name -> yuhaiin.protocol.yuubinsya 2066 11, // 14: yuhaiin.protocol.protocol.grpc:type_name -> yuhaiin.protocol.grpc 2067 5, // 15: yuhaiin.protocol.protocol.http2:type_name -> yuhaiin.protocol.http2 2068 13, // 16: yuhaiin.protocol.protocol.reality:type_name -> yuhaiin.protocol.reality 2069 17, // 17: yuhaiin.protocol.protocol.tls:type_name -> yuhaiin.protocol.tls_config 2070 23, // 18: yuhaiin.protocol.protocol.wireguard:type_name -> yuhaiin.protocol.wireguard 2071 24, // 19: yuhaiin.protocol.protocol.mux:type_name -> yuhaiin.protocol.mux 2072 20, // 20: yuhaiin.protocol.protocol.drop:type_name -> yuhaiin.protocol.drop 2073 7, // 21: yuhaiin.protocol.protocol.vless:type_name -> yuhaiin.protocol.vless 2074 17, // 22: yuhaiin.protocol.grpc.tls:type_name -> yuhaiin.protocol.tls_config 2075 17, // 23: yuhaiin.protocol.quic.tls:type_name -> yuhaiin.protocol.tls_config 2076 21, // 24: yuhaiin.protocol.simple.alternate_host:type_name -> yuhaiin.protocol.host 2077 22, // 25: yuhaiin.protocol.wireguard.peers:type_name -> yuhaiin.protocol.wireguard_peer_config 2078 26, // [26:26] is the sub-list for method output_type 2079 26, // [26:26] is the sub-list for method input_type 2080 26, // [26:26] is the sub-list for extension type_name 2081 26, // [26:26] is the sub-list for extension extendee 2082 0, // [0:26] is the sub-list for field type_name 2083 } 2084 2085 func init() { file_node_protocol_protocol_proto_init() } 2086 func file_node_protocol_protocol_proto_init() { 2087 if File_node_protocol_protocol_proto != nil { 2088 return 2089 } 2090 if !protoimpl.UnsafeEnabled { 2091 file_node_protocol_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2092 switch v := v.(*Protocol); i { 2093 case 0: 2094 return &v.state 2095 case 1: 2096 return &v.sizeCache 2097 case 2: 2098 return &v.unknownFields 2099 default: 2100 return nil 2101 } 2102 } 2103 file_node_protocol_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2104 switch v := v.(*Socks5); i { 2105 case 0: 2106 return &v.state 2107 case 1: 2108 return &v.sizeCache 2109 case 2: 2110 return &v.unknownFields 2111 default: 2112 return nil 2113 } 2114 } 2115 file_node_protocol_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2116 switch v := v.(*Http); i { 2117 case 0: 2118 return &v.state 2119 case 1: 2120 return &v.sizeCache 2121 case 2: 2122 return &v.unknownFields 2123 default: 2124 return nil 2125 } 2126 } 2127 file_node_protocol_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2128 switch v := v.(*Shadowsocks); i { 2129 case 0: 2130 return &v.state 2131 case 1: 2132 return &v.sizeCache 2133 case 2: 2134 return &v.unknownFields 2135 default: 2136 return nil 2137 } 2138 } 2139 file_node_protocol_protocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2140 switch v := v.(*Shadowsocksr); i { 2141 case 0: 2142 return &v.state 2143 case 1: 2144 return &v.sizeCache 2145 case 2: 2146 return &v.unknownFields 2147 default: 2148 return nil 2149 } 2150 } 2151 file_node_protocol_protocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2152 switch v := v.(*Http2); i { 2153 case 0: 2154 return &v.state 2155 case 1: 2156 return &v.sizeCache 2157 case 2: 2158 return &v.unknownFields 2159 default: 2160 return nil 2161 } 2162 } 2163 file_node_protocol_protocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2164 switch v := v.(*Vmess); i { 2165 case 0: 2166 return &v.state 2167 case 1: 2168 return &v.sizeCache 2169 case 2: 2170 return &v.unknownFields 2171 default: 2172 return nil 2173 } 2174 } 2175 file_node_protocol_protocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2176 switch v := v.(*Vless); i { 2177 case 0: 2178 return &v.state 2179 case 1: 2180 return &v.sizeCache 2181 case 2: 2182 return &v.unknownFields 2183 default: 2184 return nil 2185 } 2186 } 2187 file_node_protocol_protocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2188 switch v := v.(*Trojan); i { 2189 case 0: 2190 return &v.state 2191 case 1: 2192 return &v.sizeCache 2193 case 2: 2194 return &v.unknownFields 2195 default: 2196 return nil 2197 } 2198 } 2199 file_node_protocol_protocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2200 switch v := v.(*Yuubinsya); i { 2201 case 0: 2202 return &v.state 2203 case 1: 2204 return &v.sizeCache 2205 case 2: 2206 return &v.unknownFields 2207 default: 2208 return nil 2209 } 2210 } 2211 file_node_protocol_protocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2212 switch v := v.(*Websocket); i { 2213 case 0: 2214 return &v.state 2215 case 1: 2216 return &v.sizeCache 2217 case 2: 2218 return &v.unknownFields 2219 default: 2220 return nil 2221 } 2222 } 2223 file_node_protocol_protocol_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2224 switch v := v.(*Grpc); i { 2225 case 0: 2226 return &v.state 2227 case 1: 2228 return &v.sizeCache 2229 case 2: 2230 return &v.unknownFields 2231 default: 2232 return nil 2233 } 2234 } 2235 file_node_protocol_protocol_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2236 switch v := v.(*Quic); i { 2237 case 0: 2238 return &v.state 2239 case 1: 2240 return &v.sizeCache 2241 case 2: 2242 return &v.unknownFields 2243 default: 2244 return nil 2245 } 2246 } 2247 file_node_protocol_protocol_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2248 switch v := v.(*Reality); i { 2249 case 0: 2250 return &v.state 2251 case 1: 2252 return &v.sizeCache 2253 case 2: 2254 return &v.unknownFields 2255 default: 2256 return nil 2257 } 2258 } 2259 file_node_protocol_protocol_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2260 switch v := v.(*ObfsHttp); i { 2261 case 0: 2262 return &v.state 2263 case 1: 2264 return &v.sizeCache 2265 case 2: 2266 return &v.unknownFields 2267 default: 2268 return nil 2269 } 2270 } 2271 file_node_protocol_protocol_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2272 switch v := v.(*None); i { 2273 case 0: 2274 return &v.state 2275 case 1: 2276 return &v.sizeCache 2277 case 2: 2278 return &v.unknownFields 2279 default: 2280 return nil 2281 } 2282 } 2283 file_node_protocol_protocol_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2284 switch v := v.(*Simple); i { 2285 case 0: 2286 return &v.state 2287 case 1: 2288 return &v.sizeCache 2289 case 2: 2290 return &v.unknownFields 2291 default: 2292 return nil 2293 } 2294 } 2295 file_node_protocol_protocol_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2296 switch v := v.(*TlsConfig); i { 2297 case 0: 2298 return &v.state 2299 case 1: 2300 return &v.sizeCache 2301 case 2: 2302 return &v.unknownFields 2303 default: 2304 return nil 2305 } 2306 } 2307 file_node_protocol_protocol_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2308 switch v := v.(*Direct); i { 2309 case 0: 2310 return &v.state 2311 case 1: 2312 return &v.sizeCache 2313 case 2: 2314 return &v.unknownFields 2315 default: 2316 return nil 2317 } 2318 } 2319 file_node_protocol_protocol_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2320 switch v := v.(*Reject); i { 2321 case 0: 2322 return &v.state 2323 case 1: 2324 return &v.sizeCache 2325 case 2: 2326 return &v.unknownFields 2327 default: 2328 return nil 2329 } 2330 } 2331 file_node_protocol_protocol_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2332 switch v := v.(*Drop); i { 2333 case 0: 2334 return &v.state 2335 case 1: 2336 return &v.sizeCache 2337 case 2: 2338 return &v.unknownFields 2339 default: 2340 return nil 2341 } 2342 } 2343 file_node_protocol_protocol_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2344 switch v := v.(*Host); i { 2345 case 0: 2346 return &v.state 2347 case 1: 2348 return &v.sizeCache 2349 case 2: 2350 return &v.unknownFields 2351 default: 2352 return nil 2353 } 2354 } 2355 file_node_protocol_protocol_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2356 switch v := v.(*WireguardPeerConfig); i { 2357 case 0: 2358 return &v.state 2359 case 1: 2360 return &v.sizeCache 2361 case 2: 2362 return &v.unknownFields 2363 default: 2364 return nil 2365 } 2366 } 2367 file_node_protocol_protocol_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 2368 switch v := v.(*Wireguard); i { 2369 case 0: 2370 return &v.state 2371 case 1: 2372 return &v.sizeCache 2373 case 2: 2374 return &v.unknownFields 2375 default: 2376 return nil 2377 } 2378 } 2379 file_node_protocol_protocol_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 2380 switch v := v.(*Mux); i { 2381 case 0: 2382 return &v.state 2383 case 1: 2384 return &v.sizeCache 2385 case 2: 2386 return &v.unknownFields 2387 default: 2388 return nil 2389 } 2390 } 2391 } 2392 file_node_protocol_protocol_proto_msgTypes[0].OneofWrappers = []interface{}{ 2393 (*Protocol_Shadowsocks)(nil), 2394 (*Protocol_Shadowsocksr)(nil), 2395 (*Protocol_Vmess)(nil), 2396 (*Protocol_Websocket)(nil), 2397 (*Protocol_Quic)(nil), 2398 (*Protocol_ObfsHttp)(nil), 2399 (*Protocol_Trojan)(nil), 2400 (*Protocol_Simple)(nil), 2401 (*Protocol_None)(nil), 2402 (*Protocol_Socks5)(nil), 2403 (*Protocol_Http)(nil), 2404 (*Protocol_Direct)(nil), 2405 (*Protocol_Reject)(nil), 2406 (*Protocol_Yuubinsya)(nil), 2407 (*Protocol_Grpc)(nil), 2408 (*Protocol_Http2)(nil), 2409 (*Protocol_Reality)(nil), 2410 (*Protocol_Tls)(nil), 2411 (*Protocol_Wireguard)(nil), 2412 (*Protocol_Mux)(nil), 2413 (*Protocol_Drop)(nil), 2414 (*Protocol_Vless)(nil), 2415 } 2416 type x struct{} 2417 out := protoimpl.TypeBuilder{ 2418 File: protoimpl.DescBuilder{ 2419 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2420 RawDescriptor: file_node_protocol_protocol_proto_rawDesc, 2421 NumEnums: 0, 2422 NumMessages: 25, 2423 NumExtensions: 0, 2424 NumServices: 0, 2425 }, 2426 GoTypes: file_node_protocol_protocol_proto_goTypes, 2427 DependencyIndexes: file_node_protocol_protocol_proto_depIdxs, 2428 MessageInfos: file_node_protocol_protocol_proto_msgTypes, 2429 }.Build() 2430 File_node_protocol_protocol_proto = out.File 2431 file_node_protocol_protocol_proto_rawDesc = nil 2432 file_node_protocol_protocol_proto_goTypes = nil 2433 file_node_protocol_protocol_proto_depIdxs = nil 2434 }