github.com/imannamdari/v2ray-core/v5@v5.0.5/app/router/command/command.pb.go (about) 1 package command 2 3 import ( 4 reflect "reflect" 5 sync "sync" 6 7 net "github.com/imannamdari/v2ray-core/v5/common/net" 8 _ "github.com/imannamdari/v2ray-core/v5/common/protoext" 9 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 10 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 11 ) 12 13 const ( 14 // Verify that this generated code is sufficiently up-to-date. 15 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 16 // Verify that runtime/protoimpl is sufficiently up-to-date. 17 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 18 ) 19 20 // RoutingContext is the context with information relative to routing process. 21 // It conforms to the structure of v2ray.core.features.routing.Context and 22 // v2ray.core.features.routing.Route. 23 type RoutingContext struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 InboundTag string `protobuf:"bytes,1,opt,name=InboundTag,proto3" json:"InboundTag,omitempty"` 29 Network net.Network `protobuf:"varint,2,opt,name=Network,proto3,enum=v2ray.core.common.net.Network" json:"Network,omitempty"` 30 SourceIPs [][]byte `protobuf:"bytes,3,rep,name=SourceIPs,proto3" json:"SourceIPs,omitempty"` 31 TargetIPs [][]byte `protobuf:"bytes,4,rep,name=TargetIPs,proto3" json:"TargetIPs,omitempty"` 32 SourcePort uint32 `protobuf:"varint,5,opt,name=SourcePort,proto3" json:"SourcePort,omitempty"` 33 TargetPort uint32 `protobuf:"varint,6,opt,name=TargetPort,proto3" json:"TargetPort,omitempty"` 34 TargetDomain string `protobuf:"bytes,7,opt,name=TargetDomain,proto3" json:"TargetDomain,omitempty"` 35 Protocol string `protobuf:"bytes,8,opt,name=Protocol,proto3" json:"Protocol,omitempty"` 36 User string `protobuf:"bytes,9,opt,name=User,proto3" json:"User,omitempty"` 37 Attributes map[string]string `protobuf:"bytes,10,rep,name=Attributes,proto3" json:"Attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 38 OutboundGroupTags []string `protobuf:"bytes,11,rep,name=OutboundGroupTags,proto3" json:"OutboundGroupTags,omitempty"` 39 OutboundTag string `protobuf:"bytes,12,opt,name=OutboundTag,proto3" json:"OutboundTag,omitempty"` 40 } 41 42 func (x *RoutingContext) Reset() { 43 *x = RoutingContext{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_app_router_command_command_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *RoutingContext) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*RoutingContext) ProtoMessage() {} 56 57 func (x *RoutingContext) ProtoReflect() protoreflect.Message { 58 mi := &file_app_router_command_command_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 RoutingContext.ProtoReflect.Descriptor instead. 70 func (*RoutingContext) Descriptor() ([]byte, []int) { 71 return file_app_router_command_command_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *RoutingContext) GetInboundTag() string { 75 if x != nil { 76 return x.InboundTag 77 } 78 return "" 79 } 80 81 func (x *RoutingContext) GetNetwork() net.Network { 82 if x != nil { 83 return x.Network 84 } 85 return net.Network(0) 86 } 87 88 func (x *RoutingContext) GetSourceIPs() [][]byte { 89 if x != nil { 90 return x.SourceIPs 91 } 92 return nil 93 } 94 95 func (x *RoutingContext) GetTargetIPs() [][]byte { 96 if x != nil { 97 return x.TargetIPs 98 } 99 return nil 100 } 101 102 func (x *RoutingContext) GetSourcePort() uint32 { 103 if x != nil { 104 return x.SourcePort 105 } 106 return 0 107 } 108 109 func (x *RoutingContext) GetTargetPort() uint32 { 110 if x != nil { 111 return x.TargetPort 112 } 113 return 0 114 } 115 116 func (x *RoutingContext) GetTargetDomain() string { 117 if x != nil { 118 return x.TargetDomain 119 } 120 return "" 121 } 122 123 func (x *RoutingContext) GetProtocol() string { 124 if x != nil { 125 return x.Protocol 126 } 127 return "" 128 } 129 130 func (x *RoutingContext) GetUser() string { 131 if x != nil { 132 return x.User 133 } 134 return "" 135 } 136 137 func (x *RoutingContext) GetAttributes() map[string]string { 138 if x != nil { 139 return x.Attributes 140 } 141 return nil 142 } 143 144 func (x *RoutingContext) GetOutboundGroupTags() []string { 145 if x != nil { 146 return x.OutboundGroupTags 147 } 148 return nil 149 } 150 151 func (x *RoutingContext) GetOutboundTag() string { 152 if x != nil { 153 return x.OutboundTag 154 } 155 return "" 156 } 157 158 // SubscribeRoutingStatsRequest subscribes to routing statistics channel if 159 // opened by v2ray-core. 160 // * FieldSelectors selects a subset of fields in routing statistics to return. 161 // Valid selectors: 162 // - inbound: Selects connection's inbound tag. 163 // - network: Selects connection's network. 164 // - ip: Equivalent as "ip_source" and "ip_target", selects both source and 165 // target IP. 166 // - port: Equivalent as "port_source" and "port_target", selects both source 167 // and target port. 168 // - domain: Selects target domain. 169 // - protocol: Select connection's protocol. 170 // - user: Select connection's inbound user email. 171 // - attributes: Select connection's additional attributes. 172 // - outbound: Equivalent as "outbound" and "outbound_group", select both 173 // outbound tag and outbound group tags. 174 // 175 // * If FieldSelectors is left empty, all fields will be returned. 176 type SubscribeRoutingStatsRequest struct { 177 state protoimpl.MessageState 178 sizeCache protoimpl.SizeCache 179 unknownFields protoimpl.UnknownFields 180 181 FieldSelectors []string `protobuf:"bytes,1,rep,name=FieldSelectors,proto3" json:"FieldSelectors,omitempty"` 182 } 183 184 func (x *SubscribeRoutingStatsRequest) Reset() { 185 *x = SubscribeRoutingStatsRequest{} 186 if protoimpl.UnsafeEnabled { 187 mi := &file_app_router_command_command_proto_msgTypes[1] 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 189 ms.StoreMessageInfo(mi) 190 } 191 } 192 193 func (x *SubscribeRoutingStatsRequest) String() string { 194 return protoimpl.X.MessageStringOf(x) 195 } 196 197 func (*SubscribeRoutingStatsRequest) ProtoMessage() {} 198 199 func (x *SubscribeRoutingStatsRequest) ProtoReflect() protoreflect.Message { 200 mi := &file_app_router_command_command_proto_msgTypes[1] 201 if protoimpl.UnsafeEnabled && x != nil { 202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 203 if ms.LoadMessageInfo() == nil { 204 ms.StoreMessageInfo(mi) 205 } 206 return ms 207 } 208 return mi.MessageOf(x) 209 } 210 211 // Deprecated: Use SubscribeRoutingStatsRequest.ProtoReflect.Descriptor instead. 212 func (*SubscribeRoutingStatsRequest) Descriptor() ([]byte, []int) { 213 return file_app_router_command_command_proto_rawDescGZIP(), []int{1} 214 } 215 216 func (x *SubscribeRoutingStatsRequest) GetFieldSelectors() []string { 217 if x != nil { 218 return x.FieldSelectors 219 } 220 return nil 221 } 222 223 // TestRouteRequest manually tests a routing result according to the routing 224 // context message. 225 // * RoutingContext is the routing message without outbound information. 226 // * FieldSelectors selects the fields to return in the routing result. All 227 // fields are returned if left empty. 228 // * PublishResult broadcasts the routing result to routing statistics channel 229 // if set true. 230 type TestRouteRequest struct { 231 state protoimpl.MessageState 232 sizeCache protoimpl.SizeCache 233 unknownFields protoimpl.UnknownFields 234 235 RoutingContext *RoutingContext `protobuf:"bytes,1,opt,name=RoutingContext,proto3" json:"RoutingContext,omitempty"` 236 FieldSelectors []string `protobuf:"bytes,2,rep,name=FieldSelectors,proto3" json:"FieldSelectors,omitempty"` 237 PublishResult bool `protobuf:"varint,3,opt,name=PublishResult,proto3" json:"PublishResult,omitempty"` 238 } 239 240 func (x *TestRouteRequest) Reset() { 241 *x = TestRouteRequest{} 242 if protoimpl.UnsafeEnabled { 243 mi := &file_app_router_command_command_proto_msgTypes[2] 244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 245 ms.StoreMessageInfo(mi) 246 } 247 } 248 249 func (x *TestRouteRequest) String() string { 250 return protoimpl.X.MessageStringOf(x) 251 } 252 253 func (*TestRouteRequest) ProtoMessage() {} 254 255 func (x *TestRouteRequest) ProtoReflect() protoreflect.Message { 256 mi := &file_app_router_command_command_proto_msgTypes[2] 257 if protoimpl.UnsafeEnabled && x != nil { 258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 259 if ms.LoadMessageInfo() == nil { 260 ms.StoreMessageInfo(mi) 261 } 262 return ms 263 } 264 return mi.MessageOf(x) 265 } 266 267 // Deprecated: Use TestRouteRequest.ProtoReflect.Descriptor instead. 268 func (*TestRouteRequest) Descriptor() ([]byte, []int) { 269 return file_app_router_command_command_proto_rawDescGZIP(), []int{2} 270 } 271 272 func (x *TestRouteRequest) GetRoutingContext() *RoutingContext { 273 if x != nil { 274 return x.RoutingContext 275 } 276 return nil 277 } 278 279 func (x *TestRouteRequest) GetFieldSelectors() []string { 280 if x != nil { 281 return x.FieldSelectors 282 } 283 return nil 284 } 285 286 func (x *TestRouteRequest) GetPublishResult() bool { 287 if x != nil { 288 return x.PublishResult 289 } 290 return false 291 } 292 293 type PrincipleTargetInfo struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 298 Tag []string `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` 299 } 300 301 func (x *PrincipleTargetInfo) Reset() { 302 *x = PrincipleTargetInfo{} 303 if protoimpl.UnsafeEnabled { 304 mi := &file_app_router_command_command_proto_msgTypes[3] 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 ms.StoreMessageInfo(mi) 307 } 308 } 309 310 func (x *PrincipleTargetInfo) String() string { 311 return protoimpl.X.MessageStringOf(x) 312 } 313 314 func (*PrincipleTargetInfo) ProtoMessage() {} 315 316 func (x *PrincipleTargetInfo) ProtoReflect() protoreflect.Message { 317 mi := &file_app_router_command_command_proto_msgTypes[3] 318 if protoimpl.UnsafeEnabled && x != nil { 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 if ms.LoadMessageInfo() == nil { 321 ms.StoreMessageInfo(mi) 322 } 323 return ms 324 } 325 return mi.MessageOf(x) 326 } 327 328 // Deprecated: Use PrincipleTargetInfo.ProtoReflect.Descriptor instead. 329 func (*PrincipleTargetInfo) Descriptor() ([]byte, []int) { 330 return file_app_router_command_command_proto_rawDescGZIP(), []int{3} 331 } 332 333 func (x *PrincipleTargetInfo) GetTag() []string { 334 if x != nil { 335 return x.Tag 336 } 337 return nil 338 } 339 340 type OverrideInfo struct { 341 state protoimpl.MessageState 342 sizeCache protoimpl.SizeCache 343 unknownFields protoimpl.UnknownFields 344 345 Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` 346 } 347 348 func (x *OverrideInfo) Reset() { 349 *x = OverrideInfo{} 350 if protoimpl.UnsafeEnabled { 351 mi := &file_app_router_command_command_proto_msgTypes[4] 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 ms.StoreMessageInfo(mi) 354 } 355 } 356 357 func (x *OverrideInfo) String() string { 358 return protoimpl.X.MessageStringOf(x) 359 } 360 361 func (*OverrideInfo) ProtoMessage() {} 362 363 func (x *OverrideInfo) ProtoReflect() protoreflect.Message { 364 mi := &file_app_router_command_command_proto_msgTypes[4] 365 if protoimpl.UnsafeEnabled && x != nil { 366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 367 if ms.LoadMessageInfo() == nil { 368 ms.StoreMessageInfo(mi) 369 } 370 return ms 371 } 372 return mi.MessageOf(x) 373 } 374 375 // Deprecated: Use OverrideInfo.ProtoReflect.Descriptor instead. 376 func (*OverrideInfo) Descriptor() ([]byte, []int) { 377 return file_app_router_command_command_proto_rawDescGZIP(), []int{4} 378 } 379 380 func (x *OverrideInfo) GetTarget() string { 381 if x != nil { 382 return x.Target 383 } 384 return "" 385 } 386 387 type BalancerMsg struct { 388 state protoimpl.MessageState 389 sizeCache protoimpl.SizeCache 390 unknownFields protoimpl.UnknownFields 391 392 Override *OverrideInfo `protobuf:"bytes,5,opt,name=override,proto3" json:"override,omitempty"` 393 PrincipleTarget *PrincipleTargetInfo `protobuf:"bytes,6,opt,name=principle_target,json=principleTarget,proto3" json:"principle_target,omitempty"` 394 } 395 396 func (x *BalancerMsg) Reset() { 397 *x = BalancerMsg{} 398 if protoimpl.UnsafeEnabled { 399 mi := &file_app_router_command_command_proto_msgTypes[5] 400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 401 ms.StoreMessageInfo(mi) 402 } 403 } 404 405 func (x *BalancerMsg) String() string { 406 return protoimpl.X.MessageStringOf(x) 407 } 408 409 func (*BalancerMsg) ProtoMessage() {} 410 411 func (x *BalancerMsg) ProtoReflect() protoreflect.Message { 412 mi := &file_app_router_command_command_proto_msgTypes[5] 413 if protoimpl.UnsafeEnabled && x != nil { 414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 415 if ms.LoadMessageInfo() == nil { 416 ms.StoreMessageInfo(mi) 417 } 418 return ms 419 } 420 return mi.MessageOf(x) 421 } 422 423 // Deprecated: Use BalancerMsg.ProtoReflect.Descriptor instead. 424 func (*BalancerMsg) Descriptor() ([]byte, []int) { 425 return file_app_router_command_command_proto_rawDescGZIP(), []int{5} 426 } 427 428 func (x *BalancerMsg) GetOverride() *OverrideInfo { 429 if x != nil { 430 return x.Override 431 } 432 return nil 433 } 434 435 func (x *BalancerMsg) GetPrincipleTarget() *PrincipleTargetInfo { 436 if x != nil { 437 return x.PrincipleTarget 438 } 439 return nil 440 } 441 442 type GetBalancerInfoRequest struct { 443 state protoimpl.MessageState 444 sizeCache protoimpl.SizeCache 445 unknownFields protoimpl.UnknownFields 446 447 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 448 } 449 450 func (x *GetBalancerInfoRequest) Reset() { 451 *x = GetBalancerInfoRequest{} 452 if protoimpl.UnsafeEnabled { 453 mi := &file_app_router_command_command_proto_msgTypes[6] 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 ms.StoreMessageInfo(mi) 456 } 457 } 458 459 func (x *GetBalancerInfoRequest) String() string { 460 return protoimpl.X.MessageStringOf(x) 461 } 462 463 func (*GetBalancerInfoRequest) ProtoMessage() {} 464 465 func (x *GetBalancerInfoRequest) ProtoReflect() protoreflect.Message { 466 mi := &file_app_router_command_command_proto_msgTypes[6] 467 if protoimpl.UnsafeEnabled && x != nil { 468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 469 if ms.LoadMessageInfo() == nil { 470 ms.StoreMessageInfo(mi) 471 } 472 return ms 473 } 474 return mi.MessageOf(x) 475 } 476 477 // Deprecated: Use GetBalancerInfoRequest.ProtoReflect.Descriptor instead. 478 func (*GetBalancerInfoRequest) Descriptor() ([]byte, []int) { 479 return file_app_router_command_command_proto_rawDescGZIP(), []int{6} 480 } 481 482 func (x *GetBalancerInfoRequest) GetTag() string { 483 if x != nil { 484 return x.Tag 485 } 486 return "" 487 } 488 489 type GetBalancerInfoResponse struct { 490 state protoimpl.MessageState 491 sizeCache protoimpl.SizeCache 492 unknownFields protoimpl.UnknownFields 493 494 Balancer *BalancerMsg `protobuf:"bytes,1,opt,name=balancer,proto3" json:"balancer,omitempty"` 495 } 496 497 func (x *GetBalancerInfoResponse) Reset() { 498 *x = GetBalancerInfoResponse{} 499 if protoimpl.UnsafeEnabled { 500 mi := &file_app_router_command_command_proto_msgTypes[7] 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 ms.StoreMessageInfo(mi) 503 } 504 } 505 506 func (x *GetBalancerInfoResponse) String() string { 507 return protoimpl.X.MessageStringOf(x) 508 } 509 510 func (*GetBalancerInfoResponse) ProtoMessage() {} 511 512 func (x *GetBalancerInfoResponse) ProtoReflect() protoreflect.Message { 513 mi := &file_app_router_command_command_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 GetBalancerInfoResponse.ProtoReflect.Descriptor instead. 525 func (*GetBalancerInfoResponse) Descriptor() ([]byte, []int) { 526 return file_app_router_command_command_proto_rawDescGZIP(), []int{7} 527 } 528 529 func (x *GetBalancerInfoResponse) GetBalancer() *BalancerMsg { 530 if x != nil { 531 return x.Balancer 532 } 533 return nil 534 } 535 536 type OverrideBalancerTargetRequest struct { 537 state protoimpl.MessageState 538 sizeCache protoimpl.SizeCache 539 unknownFields protoimpl.UnknownFields 540 541 BalancerTag string `protobuf:"bytes,1,opt,name=balancerTag,proto3" json:"balancerTag,omitempty"` 542 Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` 543 } 544 545 func (x *OverrideBalancerTargetRequest) Reset() { 546 *x = OverrideBalancerTargetRequest{} 547 if protoimpl.UnsafeEnabled { 548 mi := &file_app_router_command_command_proto_msgTypes[8] 549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 550 ms.StoreMessageInfo(mi) 551 } 552 } 553 554 func (x *OverrideBalancerTargetRequest) String() string { 555 return protoimpl.X.MessageStringOf(x) 556 } 557 558 func (*OverrideBalancerTargetRequest) ProtoMessage() {} 559 560 func (x *OverrideBalancerTargetRequest) ProtoReflect() protoreflect.Message { 561 mi := &file_app_router_command_command_proto_msgTypes[8] 562 if protoimpl.UnsafeEnabled && x != nil { 563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 564 if ms.LoadMessageInfo() == nil { 565 ms.StoreMessageInfo(mi) 566 } 567 return ms 568 } 569 return mi.MessageOf(x) 570 } 571 572 // Deprecated: Use OverrideBalancerTargetRequest.ProtoReflect.Descriptor instead. 573 func (*OverrideBalancerTargetRequest) Descriptor() ([]byte, []int) { 574 return file_app_router_command_command_proto_rawDescGZIP(), []int{8} 575 } 576 577 func (x *OverrideBalancerTargetRequest) GetBalancerTag() string { 578 if x != nil { 579 return x.BalancerTag 580 } 581 return "" 582 } 583 584 func (x *OverrideBalancerTargetRequest) GetTarget() string { 585 if x != nil { 586 return x.Target 587 } 588 return "" 589 } 590 591 type OverrideBalancerTargetResponse struct { 592 state protoimpl.MessageState 593 sizeCache protoimpl.SizeCache 594 unknownFields protoimpl.UnknownFields 595 } 596 597 func (x *OverrideBalancerTargetResponse) Reset() { 598 *x = OverrideBalancerTargetResponse{} 599 if protoimpl.UnsafeEnabled { 600 mi := &file_app_router_command_command_proto_msgTypes[9] 601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 602 ms.StoreMessageInfo(mi) 603 } 604 } 605 606 func (x *OverrideBalancerTargetResponse) String() string { 607 return protoimpl.X.MessageStringOf(x) 608 } 609 610 func (*OverrideBalancerTargetResponse) ProtoMessage() {} 611 612 func (x *OverrideBalancerTargetResponse) ProtoReflect() protoreflect.Message { 613 mi := &file_app_router_command_command_proto_msgTypes[9] 614 if protoimpl.UnsafeEnabled && x != nil { 615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 616 if ms.LoadMessageInfo() == nil { 617 ms.StoreMessageInfo(mi) 618 } 619 return ms 620 } 621 return mi.MessageOf(x) 622 } 623 624 // Deprecated: Use OverrideBalancerTargetResponse.ProtoReflect.Descriptor instead. 625 func (*OverrideBalancerTargetResponse) Descriptor() ([]byte, []int) { 626 return file_app_router_command_command_proto_rawDescGZIP(), []int{9} 627 } 628 629 type Config struct { 630 state protoimpl.MessageState 631 sizeCache protoimpl.SizeCache 632 unknownFields protoimpl.UnknownFields 633 } 634 635 func (x *Config) Reset() { 636 *x = Config{} 637 if protoimpl.UnsafeEnabled { 638 mi := &file_app_router_command_command_proto_msgTypes[10] 639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 640 ms.StoreMessageInfo(mi) 641 } 642 } 643 644 func (x *Config) String() string { 645 return protoimpl.X.MessageStringOf(x) 646 } 647 648 func (*Config) ProtoMessage() {} 649 650 func (x *Config) ProtoReflect() protoreflect.Message { 651 mi := &file_app_router_command_command_proto_msgTypes[10] 652 if protoimpl.UnsafeEnabled && x != nil { 653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 654 if ms.LoadMessageInfo() == nil { 655 ms.StoreMessageInfo(mi) 656 } 657 return ms 658 } 659 return mi.MessageOf(x) 660 } 661 662 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 663 func (*Config) Descriptor() ([]byte, []int) { 664 return file_app_router_command_command_proto_rawDescGZIP(), []int{10} 665 } 666 667 var File_app_router_command_command_proto protoreflect.FileDescriptor 668 669 var file_app_router_command_command_proto_rawDesc = []byte{ 670 0x0a, 0x20, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 671 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 672 0x74, 0x6f, 0x12, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 673 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 674 0x64, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 675 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 676 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 677 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x04, 678 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 679 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x01, 680 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 681 0x12, 0x38, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 682 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 683 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 684 0x6b, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x6f, 685 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x53, 686 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x61, 0x72, 0x67, 687 0x65, 0x74, 0x49, 0x50, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x54, 0x61, 0x72, 688 0x67, 0x65, 0x74, 0x49, 0x50, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 689 0x50, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72, 690 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 691 0x50, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x54, 0x61, 0x72, 0x67, 692 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 693 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x54, 0x61, 694 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 695 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 696 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x09, 697 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x5d, 0x0a, 0x0a, 0x41, 0x74, 698 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 699 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 700 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 701 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 702 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x41, 703 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x75, 0x74, 704 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x18, 0x0b, 705 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 706 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x62, 0x6f, 707 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x75, 708 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 709 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 710 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 711 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 712 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x73, 713 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 714 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 715 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 716 0x52, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 717 0x22, 0xb7, 0x01, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 718 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 719 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 720 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 721 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 722 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x52, 0x6f, 723 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x26, 0x0a, 0x0e, 724 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 725 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 726 0x74, 0x6f, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 727 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x50, 0x75, 0x62, 728 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x27, 0x0a, 0x13, 0x50, 0x72, 729 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 730 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 731 0x74, 0x61, 0x67, 0x22, 0x26, 0x0a, 0x0c, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49, 732 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 733 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x0b, 734 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x47, 0x0a, 0x08, 0x6f, 735 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 736 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 737 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 738 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 739 0x72, 0x69, 0x64, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 740 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 741 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 742 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x50, 743 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x6e, 744 0x66, 0x6f, 0x52, 0x0f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x6c, 0x65, 0x54, 0x61, 0x72, 745 0x67, 0x65, 0x74, 0x22, 0x2a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 746 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 747 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 748 0x61, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 749 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x62, 0x61, 750 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 751 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 752 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x42, 0x61, 0x6c, 753 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 754 0x65, 0x72, 0x22, 0x59, 0x0a, 0x1d, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 755 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 756 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 757 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 758 0x65, 0x72, 0x54, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 759 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x20, 0x0a, 760 0x1e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 761 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 762 0x27, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x1d, 0x82, 0xb5, 0x18, 0x0d, 0x0a, 763 0x0b, 0x67, 0x72, 0x70, 0x63, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x82, 0xb5, 0x18, 0x08, 764 0x12, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x32, 0xa8, 0x04, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 765 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x15, 766 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 767 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 768 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 769 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 770 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 771 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 772 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 773 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 774 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6d, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 775 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 776 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 777 0x6e, 0x64, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 778 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 779 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 780 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 781 0x78, 0x74, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 782 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 783 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 784 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 785 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 786 0x36, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 787 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 788 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 789 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x97, 0x01, 0x0a, 0x16, 0x4f, 0x76, 790 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 791 0x72, 0x67, 0x65, 0x74, 0x12, 0x3c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 792 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 793 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 794 0x61, 0x6e, 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 795 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 796 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 797 0x6e, 0x64, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 798 0x63, 0x65, 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 799 0x65, 0x22, 0x00, 0x42, 0x78, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 800 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 801 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 802 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 803 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 804 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1d, 805 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52, 806 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 807 0x72, 0x6f, 0x74, 0x6f, 0x33, 808 } 809 810 var ( 811 file_app_router_command_command_proto_rawDescOnce sync.Once 812 file_app_router_command_command_proto_rawDescData = file_app_router_command_command_proto_rawDesc 813 ) 814 815 func file_app_router_command_command_proto_rawDescGZIP() []byte { 816 file_app_router_command_command_proto_rawDescOnce.Do(func() { 817 file_app_router_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_router_command_command_proto_rawDescData) 818 }) 819 return file_app_router_command_command_proto_rawDescData 820 } 821 822 var file_app_router_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 823 var file_app_router_command_command_proto_goTypes = []interface{}{ 824 (*RoutingContext)(nil), // 0: v2ray.core.app.router.command.RoutingContext 825 (*SubscribeRoutingStatsRequest)(nil), // 1: v2ray.core.app.router.command.SubscribeRoutingStatsRequest 826 (*TestRouteRequest)(nil), // 2: v2ray.core.app.router.command.TestRouteRequest 827 (*PrincipleTargetInfo)(nil), // 3: v2ray.core.app.router.command.PrincipleTargetInfo 828 (*OverrideInfo)(nil), // 4: v2ray.core.app.router.command.OverrideInfo 829 (*BalancerMsg)(nil), // 5: v2ray.core.app.router.command.BalancerMsg 830 (*GetBalancerInfoRequest)(nil), // 6: v2ray.core.app.router.command.GetBalancerInfoRequest 831 (*GetBalancerInfoResponse)(nil), // 7: v2ray.core.app.router.command.GetBalancerInfoResponse 832 (*OverrideBalancerTargetRequest)(nil), // 8: v2ray.core.app.router.command.OverrideBalancerTargetRequest 833 (*OverrideBalancerTargetResponse)(nil), // 9: v2ray.core.app.router.command.OverrideBalancerTargetResponse 834 (*Config)(nil), // 10: v2ray.core.app.router.command.Config 835 nil, // 11: v2ray.core.app.router.command.RoutingContext.AttributesEntry 836 (net.Network)(0), // 12: v2ray.core.common.net.Network 837 } 838 var file_app_router_command_command_proto_depIdxs = []int32{ 839 12, // 0: v2ray.core.app.router.command.RoutingContext.Network:type_name -> v2ray.core.common.net.Network 840 11, // 1: v2ray.core.app.router.command.RoutingContext.Attributes:type_name -> v2ray.core.app.router.command.RoutingContext.AttributesEntry 841 0, // 2: v2ray.core.app.router.command.TestRouteRequest.RoutingContext:type_name -> v2ray.core.app.router.command.RoutingContext 842 4, // 3: v2ray.core.app.router.command.BalancerMsg.override:type_name -> v2ray.core.app.router.command.OverrideInfo 843 3, // 4: v2ray.core.app.router.command.BalancerMsg.principle_target:type_name -> v2ray.core.app.router.command.PrincipleTargetInfo 844 5, // 5: v2ray.core.app.router.command.GetBalancerInfoResponse.balancer:type_name -> v2ray.core.app.router.command.BalancerMsg 845 1, // 6: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:input_type -> v2ray.core.app.router.command.SubscribeRoutingStatsRequest 846 2, // 7: v2ray.core.app.router.command.RoutingService.TestRoute:input_type -> v2ray.core.app.router.command.TestRouteRequest 847 6, // 8: v2ray.core.app.router.command.RoutingService.GetBalancerInfo:input_type -> v2ray.core.app.router.command.GetBalancerInfoRequest 848 8, // 9: v2ray.core.app.router.command.RoutingService.OverrideBalancerTarget:input_type -> v2ray.core.app.router.command.OverrideBalancerTargetRequest 849 0, // 10: v2ray.core.app.router.command.RoutingService.SubscribeRoutingStats:output_type -> v2ray.core.app.router.command.RoutingContext 850 0, // 11: v2ray.core.app.router.command.RoutingService.TestRoute:output_type -> v2ray.core.app.router.command.RoutingContext 851 7, // 12: v2ray.core.app.router.command.RoutingService.GetBalancerInfo:output_type -> v2ray.core.app.router.command.GetBalancerInfoResponse 852 9, // 13: v2ray.core.app.router.command.RoutingService.OverrideBalancerTarget:output_type -> v2ray.core.app.router.command.OverrideBalancerTargetResponse 853 10, // [10:14] is the sub-list for method output_type 854 6, // [6:10] is the sub-list for method input_type 855 6, // [6:6] is the sub-list for extension type_name 856 6, // [6:6] is the sub-list for extension extendee 857 0, // [0:6] is the sub-list for field type_name 858 } 859 860 func init() { file_app_router_command_command_proto_init() } 861 func file_app_router_command_command_proto_init() { 862 if File_app_router_command_command_proto != nil { 863 return 864 } 865 if !protoimpl.UnsafeEnabled { 866 file_app_router_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 867 switch v := v.(*RoutingContext); i { 868 case 0: 869 return &v.state 870 case 1: 871 return &v.sizeCache 872 case 2: 873 return &v.unknownFields 874 default: 875 return nil 876 } 877 } 878 file_app_router_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 879 switch v := v.(*SubscribeRoutingStatsRequest); i { 880 case 0: 881 return &v.state 882 case 1: 883 return &v.sizeCache 884 case 2: 885 return &v.unknownFields 886 default: 887 return nil 888 } 889 } 890 file_app_router_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 891 switch v := v.(*TestRouteRequest); i { 892 case 0: 893 return &v.state 894 case 1: 895 return &v.sizeCache 896 case 2: 897 return &v.unknownFields 898 default: 899 return nil 900 } 901 } 902 file_app_router_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 903 switch v := v.(*PrincipleTargetInfo); i { 904 case 0: 905 return &v.state 906 case 1: 907 return &v.sizeCache 908 case 2: 909 return &v.unknownFields 910 default: 911 return nil 912 } 913 } 914 file_app_router_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 915 switch v := v.(*OverrideInfo); i { 916 case 0: 917 return &v.state 918 case 1: 919 return &v.sizeCache 920 case 2: 921 return &v.unknownFields 922 default: 923 return nil 924 } 925 } 926 file_app_router_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 927 switch v := v.(*BalancerMsg); i { 928 case 0: 929 return &v.state 930 case 1: 931 return &v.sizeCache 932 case 2: 933 return &v.unknownFields 934 default: 935 return nil 936 } 937 } 938 file_app_router_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 939 switch v := v.(*GetBalancerInfoRequest); i { 940 case 0: 941 return &v.state 942 case 1: 943 return &v.sizeCache 944 case 2: 945 return &v.unknownFields 946 default: 947 return nil 948 } 949 } 950 file_app_router_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 951 switch v := v.(*GetBalancerInfoResponse); i { 952 case 0: 953 return &v.state 954 case 1: 955 return &v.sizeCache 956 case 2: 957 return &v.unknownFields 958 default: 959 return nil 960 } 961 } 962 file_app_router_command_command_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 963 switch v := v.(*OverrideBalancerTargetRequest); i { 964 case 0: 965 return &v.state 966 case 1: 967 return &v.sizeCache 968 case 2: 969 return &v.unknownFields 970 default: 971 return nil 972 } 973 } 974 file_app_router_command_command_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 975 switch v := v.(*OverrideBalancerTargetResponse); i { 976 case 0: 977 return &v.state 978 case 1: 979 return &v.sizeCache 980 case 2: 981 return &v.unknownFields 982 default: 983 return nil 984 } 985 } 986 file_app_router_command_command_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 987 switch v := v.(*Config); i { 988 case 0: 989 return &v.state 990 case 1: 991 return &v.sizeCache 992 case 2: 993 return &v.unknownFields 994 default: 995 return nil 996 } 997 } 998 } 999 type x struct{} 1000 out := protoimpl.TypeBuilder{ 1001 File: protoimpl.DescBuilder{ 1002 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1003 RawDescriptor: file_app_router_command_command_proto_rawDesc, 1004 NumEnums: 0, 1005 NumMessages: 12, 1006 NumExtensions: 0, 1007 NumServices: 1, 1008 }, 1009 GoTypes: file_app_router_command_command_proto_goTypes, 1010 DependencyIndexes: file_app_router_command_command_proto_depIdxs, 1011 MessageInfos: file_app_router_command_command_proto_msgTypes, 1012 }.Build() 1013 File_app_router_command_command_proto = out.File 1014 file_app_router_command_command_proto_rawDesc = nil 1015 file_app_router_command_command_proto_goTypes = nil 1016 file_app_router_command_command_proto_depIdxs = nil 1017 }