github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/app/proxyman/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc v4.23.1 5 // source: app/proxyman/config.proto 6 7 package proxyman 8 9 import ( 10 net "github.com/xtls/xray-core/common/net" 11 serial "github.com/xtls/xray-core/common/serial" 12 internet "github.com/xtls/xray-core/transport/internet" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 type KnownProtocols int32 27 28 const ( 29 KnownProtocols_HTTP KnownProtocols = 0 30 KnownProtocols_TLS KnownProtocols = 1 31 ) 32 33 // Enum value maps for KnownProtocols. 34 var ( 35 KnownProtocols_name = map[int32]string{ 36 0: "HTTP", 37 1: "TLS", 38 } 39 KnownProtocols_value = map[string]int32{ 40 "HTTP": 0, 41 "TLS": 1, 42 } 43 ) 44 45 func (x KnownProtocols) Enum() *KnownProtocols { 46 p := new(KnownProtocols) 47 *p = x 48 return p 49 } 50 51 func (x KnownProtocols) String() string { 52 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 53 } 54 55 func (KnownProtocols) Descriptor() protoreflect.EnumDescriptor { 56 return file_app_proxyman_config_proto_enumTypes[0].Descriptor() 57 } 58 59 func (KnownProtocols) Type() protoreflect.EnumType { 60 return &file_app_proxyman_config_proto_enumTypes[0] 61 } 62 63 func (x KnownProtocols) Number() protoreflect.EnumNumber { 64 return protoreflect.EnumNumber(x) 65 } 66 67 // Deprecated: Use KnownProtocols.Descriptor instead. 68 func (KnownProtocols) EnumDescriptor() ([]byte, []int) { 69 return file_app_proxyman_config_proto_rawDescGZIP(), []int{0} 70 } 71 72 type AllocationStrategy_Type int32 73 74 const ( 75 // Always allocate all connection handlers. 76 AllocationStrategy_Always AllocationStrategy_Type = 0 77 // Randomly allocate specific range of handlers. 78 AllocationStrategy_Random AllocationStrategy_Type = 1 79 // External. Not supported yet. 80 AllocationStrategy_External AllocationStrategy_Type = 2 81 ) 82 83 // Enum value maps for AllocationStrategy_Type. 84 var ( 85 AllocationStrategy_Type_name = map[int32]string{ 86 0: "Always", 87 1: "Random", 88 2: "External", 89 } 90 AllocationStrategy_Type_value = map[string]int32{ 91 "Always": 0, 92 "Random": 1, 93 "External": 2, 94 } 95 ) 96 97 func (x AllocationStrategy_Type) Enum() *AllocationStrategy_Type { 98 p := new(AllocationStrategy_Type) 99 *p = x 100 return p 101 } 102 103 func (x AllocationStrategy_Type) String() string { 104 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 105 } 106 107 func (AllocationStrategy_Type) Descriptor() protoreflect.EnumDescriptor { 108 return file_app_proxyman_config_proto_enumTypes[1].Descriptor() 109 } 110 111 func (AllocationStrategy_Type) Type() protoreflect.EnumType { 112 return &file_app_proxyman_config_proto_enumTypes[1] 113 } 114 115 func (x AllocationStrategy_Type) Number() protoreflect.EnumNumber { 116 return protoreflect.EnumNumber(x) 117 } 118 119 // Deprecated: Use AllocationStrategy_Type.Descriptor instead. 120 func (AllocationStrategy_Type) EnumDescriptor() ([]byte, []int) { 121 return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0} 122 } 123 124 type InboundConfig struct { 125 state protoimpl.MessageState 126 sizeCache protoimpl.SizeCache 127 unknownFields protoimpl.UnknownFields 128 } 129 130 func (x *InboundConfig) Reset() { 131 *x = InboundConfig{} 132 if protoimpl.UnsafeEnabled { 133 mi := &file_app_proxyman_config_proto_msgTypes[0] 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 ms.StoreMessageInfo(mi) 136 } 137 } 138 139 func (x *InboundConfig) String() string { 140 return protoimpl.X.MessageStringOf(x) 141 } 142 143 func (*InboundConfig) ProtoMessage() {} 144 145 func (x *InboundConfig) ProtoReflect() protoreflect.Message { 146 mi := &file_app_proxyman_config_proto_msgTypes[0] 147 if protoimpl.UnsafeEnabled && x != nil { 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 if ms.LoadMessageInfo() == nil { 150 ms.StoreMessageInfo(mi) 151 } 152 return ms 153 } 154 return mi.MessageOf(x) 155 } 156 157 // Deprecated: Use InboundConfig.ProtoReflect.Descriptor instead. 158 func (*InboundConfig) Descriptor() ([]byte, []int) { 159 return file_app_proxyman_config_proto_rawDescGZIP(), []int{0} 160 } 161 162 type AllocationStrategy struct { 163 state protoimpl.MessageState 164 sizeCache protoimpl.SizeCache 165 unknownFields protoimpl.UnknownFields 166 167 Type AllocationStrategy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=xray.app.proxyman.AllocationStrategy_Type" json:"type,omitempty"` 168 // Number of handlers (ports) running in parallel. 169 // Default value is 3 if unset. 170 Concurrency *AllocationStrategy_AllocationStrategyConcurrency `protobuf:"bytes,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 171 // Number of minutes before a handler is regenerated. 172 // Default value is 5 if unset. 173 Refresh *AllocationStrategy_AllocationStrategyRefresh `protobuf:"bytes,3,opt,name=refresh,proto3" json:"refresh,omitempty"` 174 } 175 176 func (x *AllocationStrategy) Reset() { 177 *x = AllocationStrategy{} 178 if protoimpl.UnsafeEnabled { 179 mi := &file_app_proxyman_config_proto_msgTypes[1] 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 ms.StoreMessageInfo(mi) 182 } 183 } 184 185 func (x *AllocationStrategy) String() string { 186 return protoimpl.X.MessageStringOf(x) 187 } 188 189 func (*AllocationStrategy) ProtoMessage() {} 190 191 func (x *AllocationStrategy) ProtoReflect() protoreflect.Message { 192 mi := &file_app_proxyman_config_proto_msgTypes[1] 193 if protoimpl.UnsafeEnabled && x != nil { 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 if ms.LoadMessageInfo() == nil { 196 ms.StoreMessageInfo(mi) 197 } 198 return ms 199 } 200 return mi.MessageOf(x) 201 } 202 203 // Deprecated: Use AllocationStrategy.ProtoReflect.Descriptor instead. 204 func (*AllocationStrategy) Descriptor() ([]byte, []int) { 205 return file_app_proxyman_config_proto_rawDescGZIP(), []int{1} 206 } 207 208 func (x *AllocationStrategy) GetType() AllocationStrategy_Type { 209 if x != nil { 210 return x.Type 211 } 212 return AllocationStrategy_Always 213 } 214 215 func (x *AllocationStrategy) GetConcurrency() *AllocationStrategy_AllocationStrategyConcurrency { 216 if x != nil { 217 return x.Concurrency 218 } 219 return nil 220 } 221 222 func (x *AllocationStrategy) GetRefresh() *AllocationStrategy_AllocationStrategyRefresh { 223 if x != nil { 224 return x.Refresh 225 } 226 return nil 227 } 228 229 type SniffingConfig struct { 230 state protoimpl.MessageState 231 sizeCache protoimpl.SizeCache 232 unknownFields protoimpl.UnknownFields 233 234 // Whether or not to enable content sniffing on an inbound connection. 235 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 236 // Override target destination if sniff'ed protocol is in the given list. 237 // Supported values are "http", "tls", "fakedns". 238 DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"` 239 DomainsExcluded []string `protobuf:"bytes,3,rep,name=domains_excluded,json=domainsExcluded,proto3" json:"domains_excluded,omitempty"` 240 // Whether should only try to sniff metadata without waiting for client input. 241 // Can be used to support SMTP like protocol where server send the first 242 // message. 243 MetadataOnly bool `protobuf:"varint,4,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"` 244 RouteOnly bool `protobuf:"varint,5,opt,name=route_only,json=routeOnly,proto3" json:"route_only,omitempty"` 245 } 246 247 func (x *SniffingConfig) Reset() { 248 *x = SniffingConfig{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_app_proxyman_config_proto_msgTypes[2] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254 } 255 256 func (x *SniffingConfig) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*SniffingConfig) ProtoMessage() {} 261 262 func (x *SniffingConfig) ProtoReflect() protoreflect.Message { 263 mi := &file_app_proxyman_config_proto_msgTypes[2] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use SniffingConfig.ProtoReflect.Descriptor instead. 275 func (*SniffingConfig) Descriptor() ([]byte, []int) { 276 return file_app_proxyman_config_proto_rawDescGZIP(), []int{2} 277 } 278 279 func (x *SniffingConfig) GetEnabled() bool { 280 if x != nil { 281 return x.Enabled 282 } 283 return false 284 } 285 286 func (x *SniffingConfig) GetDestinationOverride() []string { 287 if x != nil { 288 return x.DestinationOverride 289 } 290 return nil 291 } 292 293 func (x *SniffingConfig) GetDomainsExcluded() []string { 294 if x != nil { 295 return x.DomainsExcluded 296 } 297 return nil 298 } 299 300 func (x *SniffingConfig) GetMetadataOnly() bool { 301 if x != nil { 302 return x.MetadataOnly 303 } 304 return false 305 } 306 307 func (x *SniffingConfig) GetRouteOnly() bool { 308 if x != nil { 309 return x.RouteOnly 310 } 311 return false 312 } 313 314 type ReceiverConfig struct { 315 state protoimpl.MessageState 316 sizeCache protoimpl.SizeCache 317 unknownFields protoimpl.UnknownFields 318 319 // PortList specifies the ports which the Receiver should listen on. 320 PortList *net.PortList `protobuf:"bytes,1,opt,name=port_list,json=portList,proto3" json:"port_list,omitempty"` 321 // Listen specifies the IP address that the Receiver should listen on. 322 Listen *net.IPOrDomain `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"` 323 AllocationStrategy *AllocationStrategy `protobuf:"bytes,3,opt,name=allocation_strategy,json=allocationStrategy,proto3" json:"allocation_strategy,omitempty"` 324 StreamSettings *internet.StreamConfig `protobuf:"bytes,4,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"` 325 ReceiveOriginalDestination bool `protobuf:"varint,5,opt,name=receive_original_destination,json=receiveOriginalDestination,proto3" json:"receive_original_destination,omitempty"` 326 // Override domains for the given protocol. 327 // Deprecated. Use sniffing_settings. 328 // 329 // Deprecated: Marked as deprecated in app/proxyman/config.proto. 330 DomainOverride []KnownProtocols `protobuf:"varint,7,rep,packed,name=domain_override,json=domainOverride,proto3,enum=xray.app.proxyman.KnownProtocols" json:"domain_override,omitempty"` 331 SniffingSettings *SniffingConfig `protobuf:"bytes,8,opt,name=sniffing_settings,json=sniffingSettings,proto3" json:"sniffing_settings,omitempty"` 332 } 333 334 func (x *ReceiverConfig) Reset() { 335 *x = ReceiverConfig{} 336 if protoimpl.UnsafeEnabled { 337 mi := &file_app_proxyman_config_proto_msgTypes[3] 338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 339 ms.StoreMessageInfo(mi) 340 } 341 } 342 343 func (x *ReceiverConfig) String() string { 344 return protoimpl.X.MessageStringOf(x) 345 } 346 347 func (*ReceiverConfig) ProtoMessage() {} 348 349 func (x *ReceiverConfig) ProtoReflect() protoreflect.Message { 350 mi := &file_app_proxyman_config_proto_msgTypes[3] 351 if protoimpl.UnsafeEnabled && x != nil { 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 if ms.LoadMessageInfo() == nil { 354 ms.StoreMessageInfo(mi) 355 } 356 return ms 357 } 358 return mi.MessageOf(x) 359 } 360 361 // Deprecated: Use ReceiverConfig.ProtoReflect.Descriptor instead. 362 func (*ReceiverConfig) Descriptor() ([]byte, []int) { 363 return file_app_proxyman_config_proto_rawDescGZIP(), []int{3} 364 } 365 366 func (x *ReceiverConfig) GetPortList() *net.PortList { 367 if x != nil { 368 return x.PortList 369 } 370 return nil 371 } 372 373 func (x *ReceiverConfig) GetListen() *net.IPOrDomain { 374 if x != nil { 375 return x.Listen 376 } 377 return nil 378 } 379 380 func (x *ReceiverConfig) GetAllocationStrategy() *AllocationStrategy { 381 if x != nil { 382 return x.AllocationStrategy 383 } 384 return nil 385 } 386 387 func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig { 388 if x != nil { 389 return x.StreamSettings 390 } 391 return nil 392 } 393 394 func (x *ReceiverConfig) GetReceiveOriginalDestination() bool { 395 if x != nil { 396 return x.ReceiveOriginalDestination 397 } 398 return false 399 } 400 401 // Deprecated: Marked as deprecated in app/proxyman/config.proto. 402 func (x *ReceiverConfig) GetDomainOverride() []KnownProtocols { 403 if x != nil { 404 return x.DomainOverride 405 } 406 return nil 407 } 408 409 func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig { 410 if x != nil { 411 return x.SniffingSettings 412 } 413 return nil 414 } 415 416 type InboundHandlerConfig struct { 417 state protoimpl.MessageState 418 sizeCache protoimpl.SizeCache 419 unknownFields protoimpl.UnknownFields 420 421 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 422 ReceiverSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"` 423 ProxySettings *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"` 424 } 425 426 func (x *InboundHandlerConfig) Reset() { 427 *x = InboundHandlerConfig{} 428 if protoimpl.UnsafeEnabled { 429 mi := &file_app_proxyman_config_proto_msgTypes[4] 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 ms.StoreMessageInfo(mi) 432 } 433 } 434 435 func (x *InboundHandlerConfig) String() string { 436 return protoimpl.X.MessageStringOf(x) 437 } 438 439 func (*InboundHandlerConfig) ProtoMessage() {} 440 441 func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message { 442 mi := &file_app_proxyman_config_proto_msgTypes[4] 443 if protoimpl.UnsafeEnabled && x != nil { 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 if ms.LoadMessageInfo() == nil { 446 ms.StoreMessageInfo(mi) 447 } 448 return ms 449 } 450 return mi.MessageOf(x) 451 } 452 453 // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead. 454 func (*InboundHandlerConfig) Descriptor() ([]byte, []int) { 455 return file_app_proxyman_config_proto_rawDescGZIP(), []int{4} 456 } 457 458 func (x *InboundHandlerConfig) GetTag() string { 459 if x != nil { 460 return x.Tag 461 } 462 return "" 463 } 464 465 func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage { 466 if x != nil { 467 return x.ReceiverSettings 468 } 469 return nil 470 } 471 472 func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage { 473 if x != nil { 474 return x.ProxySettings 475 } 476 return nil 477 } 478 479 type OutboundConfig struct { 480 state protoimpl.MessageState 481 sizeCache protoimpl.SizeCache 482 unknownFields protoimpl.UnknownFields 483 } 484 485 func (x *OutboundConfig) Reset() { 486 *x = OutboundConfig{} 487 if protoimpl.UnsafeEnabled { 488 mi := &file_app_proxyman_config_proto_msgTypes[5] 489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 490 ms.StoreMessageInfo(mi) 491 } 492 } 493 494 func (x *OutboundConfig) String() string { 495 return protoimpl.X.MessageStringOf(x) 496 } 497 498 func (*OutboundConfig) ProtoMessage() {} 499 500 func (x *OutboundConfig) ProtoReflect() protoreflect.Message { 501 mi := &file_app_proxyman_config_proto_msgTypes[5] 502 if protoimpl.UnsafeEnabled && x != nil { 503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 504 if ms.LoadMessageInfo() == nil { 505 ms.StoreMessageInfo(mi) 506 } 507 return ms 508 } 509 return mi.MessageOf(x) 510 } 511 512 // Deprecated: Use OutboundConfig.ProtoReflect.Descriptor instead. 513 func (*OutboundConfig) Descriptor() ([]byte, []int) { 514 return file_app_proxyman_config_proto_rawDescGZIP(), []int{5} 515 } 516 517 type SenderConfig struct { 518 state protoimpl.MessageState 519 sizeCache protoimpl.SizeCache 520 unknownFields protoimpl.UnknownFields 521 522 // Send traffic through the given IP. Only IP is allowed. 523 Via *net.IPOrDomain `protobuf:"bytes,1,opt,name=via,proto3" json:"via,omitempty"` 524 StreamSettings *internet.StreamConfig `protobuf:"bytes,2,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"` 525 ProxySettings *internet.ProxyConfig `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"` 526 MultiplexSettings *MultiplexingConfig `protobuf:"bytes,4,opt,name=multiplex_settings,json=multiplexSettings,proto3" json:"multiplex_settings,omitempty"` 527 ViaCidr string `protobuf:"bytes,5,opt,name=via_cidr,json=viaCidr,proto3" json:"via_cidr,omitempty"` 528 } 529 530 func (x *SenderConfig) Reset() { 531 *x = SenderConfig{} 532 if protoimpl.UnsafeEnabled { 533 mi := &file_app_proxyman_config_proto_msgTypes[6] 534 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 535 ms.StoreMessageInfo(mi) 536 } 537 } 538 539 func (x *SenderConfig) String() string { 540 return protoimpl.X.MessageStringOf(x) 541 } 542 543 func (*SenderConfig) ProtoMessage() {} 544 545 func (x *SenderConfig) ProtoReflect() protoreflect.Message { 546 mi := &file_app_proxyman_config_proto_msgTypes[6] 547 if protoimpl.UnsafeEnabled && x != nil { 548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 549 if ms.LoadMessageInfo() == nil { 550 ms.StoreMessageInfo(mi) 551 } 552 return ms 553 } 554 return mi.MessageOf(x) 555 } 556 557 // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead. 558 func (*SenderConfig) Descriptor() ([]byte, []int) { 559 return file_app_proxyman_config_proto_rawDescGZIP(), []int{6} 560 } 561 562 func (x *SenderConfig) GetVia() *net.IPOrDomain { 563 if x != nil { 564 return x.Via 565 } 566 return nil 567 } 568 569 func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig { 570 if x != nil { 571 return x.StreamSettings 572 } 573 return nil 574 } 575 576 func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig { 577 if x != nil { 578 return x.ProxySettings 579 } 580 return nil 581 } 582 583 func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig { 584 if x != nil { 585 return x.MultiplexSettings 586 } 587 return nil 588 } 589 590 func (x *SenderConfig) GetViaCidr() string { 591 if x != nil { 592 return x.ViaCidr 593 } 594 return "" 595 } 596 597 type MultiplexingConfig struct { 598 state protoimpl.MessageState 599 sizeCache protoimpl.SizeCache 600 unknownFields protoimpl.UnknownFields 601 602 // Whether or not Mux is enabled. 603 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 604 // Max number of concurrent connections that one Mux connection can handle. 605 Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 606 // Transport XUDP in another Mux. 607 XudpConcurrency int32 `protobuf:"varint,3,opt,name=xudpConcurrency,proto3" json:"xudpConcurrency,omitempty"` 608 // "reject" (default), "allow" or "skip". 609 XudpProxyUDP443 string `protobuf:"bytes,4,opt,name=xudpProxyUDP443,proto3" json:"xudpProxyUDP443,omitempty"` 610 } 611 612 func (x *MultiplexingConfig) Reset() { 613 *x = MultiplexingConfig{} 614 if protoimpl.UnsafeEnabled { 615 mi := &file_app_proxyman_config_proto_msgTypes[7] 616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 617 ms.StoreMessageInfo(mi) 618 } 619 } 620 621 func (x *MultiplexingConfig) String() string { 622 return protoimpl.X.MessageStringOf(x) 623 } 624 625 func (*MultiplexingConfig) ProtoMessage() {} 626 627 func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message { 628 mi := &file_app_proxyman_config_proto_msgTypes[7] 629 if protoimpl.UnsafeEnabled && x != nil { 630 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 631 if ms.LoadMessageInfo() == nil { 632 ms.StoreMessageInfo(mi) 633 } 634 return ms 635 } 636 return mi.MessageOf(x) 637 } 638 639 // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead. 640 func (*MultiplexingConfig) Descriptor() ([]byte, []int) { 641 return file_app_proxyman_config_proto_rawDescGZIP(), []int{7} 642 } 643 644 func (x *MultiplexingConfig) GetEnabled() bool { 645 if x != nil { 646 return x.Enabled 647 } 648 return false 649 } 650 651 func (x *MultiplexingConfig) GetConcurrency() int32 { 652 if x != nil { 653 return x.Concurrency 654 } 655 return 0 656 } 657 658 func (x *MultiplexingConfig) GetXudpConcurrency() int32 { 659 if x != nil { 660 return x.XudpConcurrency 661 } 662 return 0 663 } 664 665 func (x *MultiplexingConfig) GetXudpProxyUDP443() string { 666 if x != nil { 667 return x.XudpProxyUDP443 668 } 669 return "" 670 } 671 672 type AllocationStrategy_AllocationStrategyConcurrency struct { 673 state protoimpl.MessageState 674 sizeCache protoimpl.SizeCache 675 unknownFields protoimpl.UnknownFields 676 677 Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 678 } 679 680 func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() { 681 *x = AllocationStrategy_AllocationStrategyConcurrency{} 682 if protoimpl.UnsafeEnabled { 683 mi := &file_app_proxyman_config_proto_msgTypes[8] 684 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 685 ms.StoreMessageInfo(mi) 686 } 687 } 688 689 func (x *AllocationStrategy_AllocationStrategyConcurrency) String() string { 690 return protoimpl.X.MessageStringOf(x) 691 } 692 693 func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {} 694 695 func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflect() protoreflect.Message { 696 mi := &file_app_proxyman_config_proto_msgTypes[8] 697 if protoimpl.UnsafeEnabled && x != nil { 698 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 699 if ms.LoadMessageInfo() == nil { 700 ms.StoreMessageInfo(mi) 701 } 702 return ms 703 } 704 return mi.MessageOf(x) 705 } 706 707 // Deprecated: Use AllocationStrategy_AllocationStrategyConcurrency.ProtoReflect.Descriptor instead. 708 func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) { 709 return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0} 710 } 711 712 func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() uint32 { 713 if x != nil { 714 return x.Value 715 } 716 return 0 717 } 718 719 type AllocationStrategy_AllocationStrategyRefresh struct { 720 state protoimpl.MessageState 721 sizeCache protoimpl.SizeCache 722 unknownFields protoimpl.UnknownFields 723 724 Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 725 } 726 727 func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() { 728 *x = AllocationStrategy_AllocationStrategyRefresh{} 729 if protoimpl.UnsafeEnabled { 730 mi := &file_app_proxyman_config_proto_msgTypes[9] 731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 732 ms.StoreMessageInfo(mi) 733 } 734 } 735 736 func (x *AllocationStrategy_AllocationStrategyRefresh) String() string { 737 return protoimpl.X.MessageStringOf(x) 738 } 739 740 func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {} 741 742 func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() protoreflect.Message { 743 mi := &file_app_proxyman_config_proto_msgTypes[9] 744 if protoimpl.UnsafeEnabled && x != nil { 745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 746 if ms.LoadMessageInfo() == nil { 747 ms.StoreMessageInfo(mi) 748 } 749 return ms 750 } 751 return mi.MessageOf(x) 752 } 753 754 // Deprecated: Use AllocationStrategy_AllocationStrategyRefresh.ProtoReflect.Descriptor instead. 755 func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) { 756 return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 1} 757 } 758 759 func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 { 760 if x != nil { 761 return x.Value 762 } 763 return 0 764 } 765 766 var File_app_proxyman_config_proto protoreflect.FileDescriptor 767 768 var file_app_proxyman_config_proto_rawDesc = []byte{ 769 0x0a, 0x19, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2f, 0x63, 770 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x78, 0x72, 0x61, 771 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x1a, 0x18, 772 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 773 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 774 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 775 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 776 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 777 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 778 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 779 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 780 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x03, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 781 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x74, 782 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 783 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 784 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 785 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0b, 0x63, 786 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 787 0x32, 0x43, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 788 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 789 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 790 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 791 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 792 0x63, 0x79, 0x12, 0x59, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20, 793 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 794 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 795 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 796 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 797 0x72, 0x65, 0x73, 0x68, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x1a, 0x35, 0x0a, 798 0x1d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 799 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x14, 800 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 801 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x31, 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 802 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 803 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 804 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 805 0x0a, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 806 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x72, 807 0x6e, 0x61, 0x6c, 0x10, 0x02, 0x22, 0xcc, 0x01, 0x0a, 0x0e, 0x53, 0x6e, 0x69, 0x66, 0x66, 0x69, 808 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 809 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 810 0x65, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 811 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 812 0x52, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 813 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 814 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 815 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 816 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f, 0x6e, 0x6c, 817 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 818 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6f, 819 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 820 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x8d, 0x04, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 821 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f, 822 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 823 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72, 824 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 825 0x33, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 826 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 827 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x6c, 0x69, 828 0x73, 0x74, 0x65, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 829 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 830 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 831 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 832 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 833 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4e, 0x0a, 0x0f, 834 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 835 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 836 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 837 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 838 0x72, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x1c, 839 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 840 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 841 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 842 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 843 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 844 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 845 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 846 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 847 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x4e, 848 0x0a, 0x11, 0x73, 0x6e, 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 849 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 850 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x6e, 851 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x6e, 852 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x04, 853 0x08, 0x06, 0x10, 0x07, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 854 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 855 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 856 0x4d, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 857 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 858 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 859 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x72, 0x65, 860 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47, 861 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 862 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 863 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 864 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 865 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 866 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xcb, 0x02, 0x0a, 0x0c, 0x53, 0x65, 867 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x03, 0x76, 0x69, 868 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 869 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 870 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x03, 0x76, 0x69, 0x61, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x74, 0x72, 871 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 872 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 873 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x72, 874 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 875 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 876 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 877 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 878 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78, 879 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 880 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 881 0x6c, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 882 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 883 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 884 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 885 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 886 0x76, 0x69, 0x61, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 887 0x76, 0x69, 0x61, 0x43, 0x69, 0x64, 0x72, 0x22, 0xa4, 0x01, 0x0a, 0x12, 0x4d, 0x75, 0x6c, 0x74, 888 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 889 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 890 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 891 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 892 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x78, 0x75, 893 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 894 0x01, 0x28, 0x05, 0x52, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 895 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x78, 896 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x78, 897 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33, 0x2a, 0x23, 898 0x0a, 0x0e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 899 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x4c, 900 0x53, 0x10, 0x01, 0x42, 0x55, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 901 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x50, 0x01, 0x5a, 0x26, 902 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 903 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 904 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0xaa, 0x02, 0x11, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 905 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 906 0x6f, 0x33, 907 } 908 909 var ( 910 file_app_proxyman_config_proto_rawDescOnce sync.Once 911 file_app_proxyman_config_proto_rawDescData = file_app_proxyman_config_proto_rawDesc 912 ) 913 914 func file_app_proxyman_config_proto_rawDescGZIP() []byte { 915 file_app_proxyman_config_proto_rawDescOnce.Do(func() { 916 file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_proxyman_config_proto_rawDescData) 917 }) 918 return file_app_proxyman_config_proto_rawDescData 919 } 920 921 var file_app_proxyman_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 922 var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 923 var file_app_proxyman_config_proto_goTypes = []interface{}{ 924 (KnownProtocols)(0), // 0: xray.app.proxyman.KnownProtocols 925 (AllocationStrategy_Type)(0), // 1: xray.app.proxyman.AllocationStrategy.Type 926 (*InboundConfig)(nil), // 2: xray.app.proxyman.InboundConfig 927 (*AllocationStrategy)(nil), // 3: xray.app.proxyman.AllocationStrategy 928 (*SniffingConfig)(nil), // 4: xray.app.proxyman.SniffingConfig 929 (*ReceiverConfig)(nil), // 5: xray.app.proxyman.ReceiverConfig 930 (*InboundHandlerConfig)(nil), // 6: xray.app.proxyman.InboundHandlerConfig 931 (*OutboundConfig)(nil), // 7: xray.app.proxyman.OutboundConfig 932 (*SenderConfig)(nil), // 8: xray.app.proxyman.SenderConfig 933 (*MultiplexingConfig)(nil), // 9: xray.app.proxyman.MultiplexingConfig 934 (*AllocationStrategy_AllocationStrategyConcurrency)(nil), // 10: xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency 935 (*AllocationStrategy_AllocationStrategyRefresh)(nil), // 11: xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh 936 (*net.PortList)(nil), // 12: xray.common.net.PortList 937 (*net.IPOrDomain)(nil), // 13: xray.common.net.IPOrDomain 938 (*internet.StreamConfig)(nil), // 14: xray.transport.internet.StreamConfig 939 (*serial.TypedMessage)(nil), // 15: xray.common.serial.TypedMessage 940 (*internet.ProxyConfig)(nil), // 16: xray.transport.internet.ProxyConfig 941 } 942 var file_app_proxyman_config_proto_depIdxs = []int32{ 943 1, // 0: xray.app.proxyman.AllocationStrategy.type:type_name -> xray.app.proxyman.AllocationStrategy.Type 944 10, // 1: xray.app.proxyman.AllocationStrategy.concurrency:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency 945 11, // 2: xray.app.proxyman.AllocationStrategy.refresh:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh 946 12, // 3: xray.app.proxyman.ReceiverConfig.port_list:type_name -> xray.common.net.PortList 947 13, // 4: xray.app.proxyman.ReceiverConfig.listen:type_name -> xray.common.net.IPOrDomain 948 3, // 5: xray.app.proxyman.ReceiverConfig.allocation_strategy:type_name -> xray.app.proxyman.AllocationStrategy 949 14, // 6: xray.app.proxyman.ReceiverConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig 950 0, // 7: xray.app.proxyman.ReceiverConfig.domain_override:type_name -> xray.app.proxyman.KnownProtocols 951 4, // 8: xray.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> xray.app.proxyman.SniffingConfig 952 15, // 9: xray.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage 953 15, // 10: xray.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage 954 13, // 11: xray.app.proxyman.SenderConfig.via:type_name -> xray.common.net.IPOrDomain 955 14, // 12: xray.app.proxyman.SenderConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig 956 16, // 13: xray.app.proxyman.SenderConfig.proxy_settings:type_name -> xray.transport.internet.ProxyConfig 957 9, // 14: xray.app.proxyman.SenderConfig.multiplex_settings:type_name -> xray.app.proxyman.MultiplexingConfig 958 15, // [15:15] is the sub-list for method output_type 959 15, // [15:15] is the sub-list for method input_type 960 15, // [15:15] is the sub-list for extension type_name 961 15, // [15:15] is the sub-list for extension extendee 962 0, // [0:15] is the sub-list for field type_name 963 } 964 965 func init() { file_app_proxyman_config_proto_init() } 966 func file_app_proxyman_config_proto_init() { 967 if File_app_proxyman_config_proto != nil { 968 return 969 } 970 if !protoimpl.UnsafeEnabled { 971 file_app_proxyman_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 972 switch v := v.(*InboundConfig); i { 973 case 0: 974 return &v.state 975 case 1: 976 return &v.sizeCache 977 case 2: 978 return &v.unknownFields 979 default: 980 return nil 981 } 982 } 983 file_app_proxyman_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 984 switch v := v.(*AllocationStrategy); i { 985 case 0: 986 return &v.state 987 case 1: 988 return &v.sizeCache 989 case 2: 990 return &v.unknownFields 991 default: 992 return nil 993 } 994 } 995 file_app_proxyman_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 996 switch v := v.(*SniffingConfig); i { 997 case 0: 998 return &v.state 999 case 1: 1000 return &v.sizeCache 1001 case 2: 1002 return &v.unknownFields 1003 default: 1004 return nil 1005 } 1006 } 1007 file_app_proxyman_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1008 switch v := v.(*ReceiverConfig); i { 1009 case 0: 1010 return &v.state 1011 case 1: 1012 return &v.sizeCache 1013 case 2: 1014 return &v.unknownFields 1015 default: 1016 return nil 1017 } 1018 } 1019 file_app_proxyman_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1020 switch v := v.(*InboundHandlerConfig); i { 1021 case 0: 1022 return &v.state 1023 case 1: 1024 return &v.sizeCache 1025 case 2: 1026 return &v.unknownFields 1027 default: 1028 return nil 1029 } 1030 } 1031 file_app_proxyman_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1032 switch v := v.(*OutboundConfig); i { 1033 case 0: 1034 return &v.state 1035 case 1: 1036 return &v.sizeCache 1037 case 2: 1038 return &v.unknownFields 1039 default: 1040 return nil 1041 } 1042 } 1043 file_app_proxyman_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1044 switch v := v.(*SenderConfig); i { 1045 case 0: 1046 return &v.state 1047 case 1: 1048 return &v.sizeCache 1049 case 2: 1050 return &v.unknownFields 1051 default: 1052 return nil 1053 } 1054 } 1055 file_app_proxyman_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1056 switch v := v.(*MultiplexingConfig); i { 1057 case 0: 1058 return &v.state 1059 case 1: 1060 return &v.sizeCache 1061 case 2: 1062 return &v.unknownFields 1063 default: 1064 return nil 1065 } 1066 } 1067 file_app_proxyman_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1068 switch v := v.(*AllocationStrategy_AllocationStrategyConcurrency); i { 1069 case 0: 1070 return &v.state 1071 case 1: 1072 return &v.sizeCache 1073 case 2: 1074 return &v.unknownFields 1075 default: 1076 return nil 1077 } 1078 } 1079 file_app_proxyman_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1080 switch v := v.(*AllocationStrategy_AllocationStrategyRefresh); i { 1081 case 0: 1082 return &v.state 1083 case 1: 1084 return &v.sizeCache 1085 case 2: 1086 return &v.unknownFields 1087 default: 1088 return nil 1089 } 1090 } 1091 } 1092 type x struct{} 1093 out := protoimpl.TypeBuilder{ 1094 File: protoimpl.DescBuilder{ 1095 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1096 RawDescriptor: file_app_proxyman_config_proto_rawDesc, 1097 NumEnums: 2, 1098 NumMessages: 10, 1099 NumExtensions: 0, 1100 NumServices: 0, 1101 }, 1102 GoTypes: file_app_proxyman_config_proto_goTypes, 1103 DependencyIndexes: file_app_proxyman_config_proto_depIdxs, 1104 EnumInfos: file_app_proxyman_config_proto_enumTypes, 1105 MessageInfos: file_app_proxyman_config_proto_msgTypes, 1106 }.Build() 1107 File_app_proxyman_config_proto = out.File 1108 file_app_proxyman_config_proto_rawDesc = nil 1109 file_app_proxyman_config_proto_goTypes = nil 1110 file_app_proxyman_config_proto_depIdxs = nil 1111 }