github.com/xraypb/Xray-core@v1.8.1/app/proxyman/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.21.12 5 // source: app/proxyman/config.proto 6 7 package proxyman 8 9 import ( 10 net "github.com/xraypb/Xray-core/common/net" 11 serial "github.com/xraypb/Xray-core/common/serial" 12 internet "github.com/xraypb/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: Do not use. 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: Do not use. 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 } 528 529 func (x *SenderConfig) Reset() { 530 *x = SenderConfig{} 531 if protoimpl.UnsafeEnabled { 532 mi := &file_app_proxyman_config_proto_msgTypes[6] 533 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 534 ms.StoreMessageInfo(mi) 535 } 536 } 537 538 func (x *SenderConfig) String() string { 539 return protoimpl.X.MessageStringOf(x) 540 } 541 542 func (*SenderConfig) ProtoMessage() {} 543 544 func (x *SenderConfig) ProtoReflect() protoreflect.Message { 545 mi := &file_app_proxyman_config_proto_msgTypes[6] 546 if protoimpl.UnsafeEnabled && x != nil { 547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 548 if ms.LoadMessageInfo() == nil { 549 ms.StoreMessageInfo(mi) 550 } 551 return ms 552 } 553 return mi.MessageOf(x) 554 } 555 556 // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead. 557 func (*SenderConfig) Descriptor() ([]byte, []int) { 558 return file_app_proxyman_config_proto_rawDescGZIP(), []int{6} 559 } 560 561 func (x *SenderConfig) GetVia() *net.IPOrDomain { 562 if x != nil { 563 return x.Via 564 } 565 return nil 566 } 567 568 func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig { 569 if x != nil { 570 return x.StreamSettings 571 } 572 return nil 573 } 574 575 func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig { 576 if x != nil { 577 return x.ProxySettings 578 } 579 return nil 580 } 581 582 func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig { 583 if x != nil { 584 return x.MultiplexSettings 585 } 586 return nil 587 } 588 589 type MultiplexingConfig struct { 590 state protoimpl.MessageState 591 sizeCache protoimpl.SizeCache 592 unknownFields protoimpl.UnknownFields 593 594 // Whether or not Mux is enabled. 595 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 596 // Max number of concurrent connections that one Mux connection can handle. 597 Concurrency uint32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 598 // Both(0), TCP(1), UDP(2). 599 Only uint32 `protobuf:"varint,3,opt,name=only,proto3" json:"only,omitempty"` 600 } 601 602 func (x *MultiplexingConfig) Reset() { 603 *x = MultiplexingConfig{} 604 if protoimpl.UnsafeEnabled { 605 mi := &file_app_proxyman_config_proto_msgTypes[7] 606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 607 ms.StoreMessageInfo(mi) 608 } 609 } 610 611 func (x *MultiplexingConfig) String() string { 612 return protoimpl.X.MessageStringOf(x) 613 } 614 615 func (*MultiplexingConfig) ProtoMessage() {} 616 617 func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message { 618 mi := &file_app_proxyman_config_proto_msgTypes[7] 619 if protoimpl.UnsafeEnabled && x != nil { 620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 621 if ms.LoadMessageInfo() == nil { 622 ms.StoreMessageInfo(mi) 623 } 624 return ms 625 } 626 return mi.MessageOf(x) 627 } 628 629 // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead. 630 func (*MultiplexingConfig) Descriptor() ([]byte, []int) { 631 return file_app_proxyman_config_proto_rawDescGZIP(), []int{7} 632 } 633 634 func (x *MultiplexingConfig) GetEnabled() bool { 635 if x != nil { 636 return x.Enabled 637 } 638 return false 639 } 640 641 func (x *MultiplexingConfig) GetConcurrency() uint32 { 642 if x != nil { 643 return x.Concurrency 644 } 645 return 0 646 } 647 648 func (x *MultiplexingConfig) GetOnly() uint32 { 649 if x != nil { 650 return x.Only 651 } 652 return 0 653 } 654 655 type AllocationStrategy_AllocationStrategyConcurrency struct { 656 state protoimpl.MessageState 657 sizeCache protoimpl.SizeCache 658 unknownFields protoimpl.UnknownFields 659 660 Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 661 } 662 663 func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() { 664 *x = AllocationStrategy_AllocationStrategyConcurrency{} 665 if protoimpl.UnsafeEnabled { 666 mi := &file_app_proxyman_config_proto_msgTypes[8] 667 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 668 ms.StoreMessageInfo(mi) 669 } 670 } 671 672 func (x *AllocationStrategy_AllocationStrategyConcurrency) String() string { 673 return protoimpl.X.MessageStringOf(x) 674 } 675 676 func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {} 677 678 func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflect() protoreflect.Message { 679 mi := &file_app_proxyman_config_proto_msgTypes[8] 680 if protoimpl.UnsafeEnabled && x != nil { 681 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 682 if ms.LoadMessageInfo() == nil { 683 ms.StoreMessageInfo(mi) 684 } 685 return ms 686 } 687 return mi.MessageOf(x) 688 } 689 690 // Deprecated: Use AllocationStrategy_AllocationStrategyConcurrency.ProtoReflect.Descriptor instead. 691 func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) { 692 return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0} 693 } 694 695 func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() uint32 { 696 if x != nil { 697 return x.Value 698 } 699 return 0 700 } 701 702 type AllocationStrategy_AllocationStrategyRefresh struct { 703 state protoimpl.MessageState 704 sizeCache protoimpl.SizeCache 705 unknownFields protoimpl.UnknownFields 706 707 Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 708 } 709 710 func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() { 711 *x = AllocationStrategy_AllocationStrategyRefresh{} 712 if protoimpl.UnsafeEnabled { 713 mi := &file_app_proxyman_config_proto_msgTypes[9] 714 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 715 ms.StoreMessageInfo(mi) 716 } 717 } 718 719 func (x *AllocationStrategy_AllocationStrategyRefresh) String() string { 720 return protoimpl.X.MessageStringOf(x) 721 } 722 723 func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {} 724 725 func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() protoreflect.Message { 726 mi := &file_app_proxyman_config_proto_msgTypes[9] 727 if protoimpl.UnsafeEnabled && x != nil { 728 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 729 if ms.LoadMessageInfo() == nil { 730 ms.StoreMessageInfo(mi) 731 } 732 return ms 733 } 734 return mi.MessageOf(x) 735 } 736 737 // Deprecated: Use AllocationStrategy_AllocationStrategyRefresh.ProtoReflect.Descriptor instead. 738 func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) { 739 return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 1} 740 } 741 742 func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 { 743 if x != nil { 744 return x.Value 745 } 746 return 0 747 } 748 749 var File_app_proxyman_config_proto protoreflect.FileDescriptor 750 751 var file_app_proxyman_config_proto_rawDesc = []byte{ 752 0x0a, 0x19, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2f, 0x63, 753 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x78, 0x72, 0x61, 754 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x1a, 0x18, 755 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 756 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 757 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 758 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 759 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 760 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 761 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 762 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 763 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x03, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 764 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x74, 765 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 766 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 767 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 768 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0b, 0x63, 769 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 770 0x32, 0x43, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 771 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 772 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 773 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 774 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 775 0x63, 0x79, 0x12, 0x59, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20, 776 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 777 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 778 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 779 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 780 0x72, 0x65, 0x73, 0x68, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x1a, 0x35, 0x0a, 781 0x1d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 782 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x14, 783 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 784 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x31, 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 785 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 786 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 787 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 788 0x0a, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 789 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x72, 790 0x6e, 0x61, 0x6c, 0x10, 0x02, 0x22, 0xcc, 0x01, 0x0a, 0x0e, 0x53, 0x6e, 0x69, 0x66, 0x66, 0x69, 791 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 792 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 793 0x65, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 794 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 795 0x52, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 796 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 797 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 798 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 799 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f, 0x6e, 0x6c, 800 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 801 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6f, 802 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 803 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x8d, 0x04, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 804 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f, 805 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 806 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72, 807 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 808 0x33, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 809 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 810 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x6c, 0x69, 811 0x73, 0x74, 0x65, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 812 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 813 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 814 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 815 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 816 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4e, 0x0a, 0x0f, 817 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 818 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 819 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 820 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 821 0x72, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x1c, 822 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 823 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 824 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 825 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 826 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 827 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 828 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 829 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 830 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x4e, 831 0x0a, 0x11, 0x73, 0x6e, 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 832 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 833 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x6e, 834 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x6e, 835 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x04, 836 0x08, 0x06, 0x10, 0x07, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 837 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 838 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 839 0x4d, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 840 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 841 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 842 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x72, 0x65, 843 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47, 844 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 845 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 846 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 847 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 848 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 849 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xb0, 0x02, 0x0a, 0x0c, 0x53, 0x65, 850 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x03, 0x76, 0x69, 851 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 852 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 853 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x03, 0x76, 0x69, 0x61, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x74, 0x72, 854 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 855 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 856 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x72, 857 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 858 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 859 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 860 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 861 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78, 862 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 863 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 864 0x6c, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 865 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 866 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 867 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 868 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x64, 0x0a, 0x12, 869 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 870 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 871 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 872 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 873 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x12, 874 0x0a, 0x04, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6f, 0x6e, 875 0x6c, 0x79, 0x2a, 0x23, 0x0a, 0x0e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 876 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12, 0x07, 877 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x10, 0x01, 0x42, 0x55, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 878 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 879 0x50, 0x01, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 880 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 881 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0xaa, 0x02, 0x11, 0x58, 0x72, 0x61, 882 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x62, 0x06, 883 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 884 } 885 886 var ( 887 file_app_proxyman_config_proto_rawDescOnce sync.Once 888 file_app_proxyman_config_proto_rawDescData = file_app_proxyman_config_proto_rawDesc 889 ) 890 891 func file_app_proxyman_config_proto_rawDescGZIP() []byte { 892 file_app_proxyman_config_proto_rawDescOnce.Do(func() { 893 file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_proxyman_config_proto_rawDescData) 894 }) 895 return file_app_proxyman_config_proto_rawDescData 896 } 897 898 var file_app_proxyman_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 899 var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 900 var file_app_proxyman_config_proto_goTypes = []interface{}{ 901 (KnownProtocols)(0), // 0: xray.app.proxyman.KnownProtocols 902 (AllocationStrategy_Type)(0), // 1: xray.app.proxyman.AllocationStrategy.Type 903 (*InboundConfig)(nil), // 2: xray.app.proxyman.InboundConfig 904 (*AllocationStrategy)(nil), // 3: xray.app.proxyman.AllocationStrategy 905 (*SniffingConfig)(nil), // 4: xray.app.proxyman.SniffingConfig 906 (*ReceiverConfig)(nil), // 5: xray.app.proxyman.ReceiverConfig 907 (*InboundHandlerConfig)(nil), // 6: xray.app.proxyman.InboundHandlerConfig 908 (*OutboundConfig)(nil), // 7: xray.app.proxyman.OutboundConfig 909 (*SenderConfig)(nil), // 8: xray.app.proxyman.SenderConfig 910 (*MultiplexingConfig)(nil), // 9: xray.app.proxyman.MultiplexingConfig 911 (*AllocationStrategy_AllocationStrategyConcurrency)(nil), // 10: xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency 912 (*AllocationStrategy_AllocationStrategyRefresh)(nil), // 11: xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh 913 (*net.PortList)(nil), // 12: xray.common.net.PortList 914 (*net.IPOrDomain)(nil), // 13: xray.common.net.IPOrDomain 915 (*internet.StreamConfig)(nil), // 14: xray.transport.internet.StreamConfig 916 (*serial.TypedMessage)(nil), // 15: xray.common.serial.TypedMessage 917 (*internet.ProxyConfig)(nil), // 16: xray.transport.internet.ProxyConfig 918 } 919 var file_app_proxyman_config_proto_depIdxs = []int32{ 920 1, // 0: xray.app.proxyman.AllocationStrategy.type:type_name -> xray.app.proxyman.AllocationStrategy.Type 921 10, // 1: xray.app.proxyman.AllocationStrategy.concurrency:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency 922 11, // 2: xray.app.proxyman.AllocationStrategy.refresh:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh 923 12, // 3: xray.app.proxyman.ReceiverConfig.port_list:type_name -> xray.common.net.PortList 924 13, // 4: xray.app.proxyman.ReceiverConfig.listen:type_name -> xray.common.net.IPOrDomain 925 3, // 5: xray.app.proxyman.ReceiverConfig.allocation_strategy:type_name -> xray.app.proxyman.AllocationStrategy 926 14, // 6: xray.app.proxyman.ReceiverConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig 927 0, // 7: xray.app.proxyman.ReceiverConfig.domain_override:type_name -> xray.app.proxyman.KnownProtocols 928 4, // 8: xray.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> xray.app.proxyman.SniffingConfig 929 15, // 9: xray.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage 930 15, // 10: xray.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage 931 13, // 11: xray.app.proxyman.SenderConfig.via:type_name -> xray.common.net.IPOrDomain 932 14, // 12: xray.app.proxyman.SenderConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig 933 16, // 13: xray.app.proxyman.SenderConfig.proxy_settings:type_name -> xray.transport.internet.ProxyConfig 934 9, // 14: xray.app.proxyman.SenderConfig.multiplex_settings:type_name -> xray.app.proxyman.MultiplexingConfig 935 15, // [15:15] is the sub-list for method output_type 936 15, // [15:15] is the sub-list for method input_type 937 15, // [15:15] is the sub-list for extension type_name 938 15, // [15:15] is the sub-list for extension extendee 939 0, // [0:15] is the sub-list for field type_name 940 } 941 942 func init() { file_app_proxyman_config_proto_init() } 943 func file_app_proxyman_config_proto_init() { 944 if File_app_proxyman_config_proto != nil { 945 return 946 } 947 if !protoimpl.UnsafeEnabled { 948 file_app_proxyman_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 949 switch v := v.(*InboundConfig); i { 950 case 0: 951 return &v.state 952 case 1: 953 return &v.sizeCache 954 case 2: 955 return &v.unknownFields 956 default: 957 return nil 958 } 959 } 960 file_app_proxyman_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 961 switch v := v.(*AllocationStrategy); i { 962 case 0: 963 return &v.state 964 case 1: 965 return &v.sizeCache 966 case 2: 967 return &v.unknownFields 968 default: 969 return nil 970 } 971 } 972 file_app_proxyman_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 973 switch v := v.(*SniffingConfig); i { 974 case 0: 975 return &v.state 976 case 1: 977 return &v.sizeCache 978 case 2: 979 return &v.unknownFields 980 default: 981 return nil 982 } 983 } 984 file_app_proxyman_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 985 switch v := v.(*ReceiverConfig); i { 986 case 0: 987 return &v.state 988 case 1: 989 return &v.sizeCache 990 case 2: 991 return &v.unknownFields 992 default: 993 return nil 994 } 995 } 996 file_app_proxyman_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 997 switch v := v.(*InboundHandlerConfig); i { 998 case 0: 999 return &v.state 1000 case 1: 1001 return &v.sizeCache 1002 case 2: 1003 return &v.unknownFields 1004 default: 1005 return nil 1006 } 1007 } 1008 file_app_proxyman_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1009 switch v := v.(*OutboundConfig); i { 1010 case 0: 1011 return &v.state 1012 case 1: 1013 return &v.sizeCache 1014 case 2: 1015 return &v.unknownFields 1016 default: 1017 return nil 1018 } 1019 } 1020 file_app_proxyman_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1021 switch v := v.(*SenderConfig); i { 1022 case 0: 1023 return &v.state 1024 case 1: 1025 return &v.sizeCache 1026 case 2: 1027 return &v.unknownFields 1028 default: 1029 return nil 1030 } 1031 } 1032 file_app_proxyman_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1033 switch v := v.(*MultiplexingConfig); i { 1034 case 0: 1035 return &v.state 1036 case 1: 1037 return &v.sizeCache 1038 case 2: 1039 return &v.unknownFields 1040 default: 1041 return nil 1042 } 1043 } 1044 file_app_proxyman_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1045 switch v := v.(*AllocationStrategy_AllocationStrategyConcurrency); i { 1046 case 0: 1047 return &v.state 1048 case 1: 1049 return &v.sizeCache 1050 case 2: 1051 return &v.unknownFields 1052 default: 1053 return nil 1054 } 1055 } 1056 file_app_proxyman_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1057 switch v := v.(*AllocationStrategy_AllocationStrategyRefresh); i { 1058 case 0: 1059 return &v.state 1060 case 1: 1061 return &v.sizeCache 1062 case 2: 1063 return &v.unknownFields 1064 default: 1065 return nil 1066 } 1067 } 1068 } 1069 type x struct{} 1070 out := protoimpl.TypeBuilder{ 1071 File: protoimpl.DescBuilder{ 1072 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1073 RawDescriptor: file_app_proxyman_config_proto_rawDesc, 1074 NumEnums: 2, 1075 NumMessages: 10, 1076 NumExtensions: 0, 1077 NumServices: 0, 1078 }, 1079 GoTypes: file_app_proxyman_config_proto_goTypes, 1080 DependencyIndexes: file_app_proxyman_config_proto_depIdxs, 1081 EnumInfos: file_app_proxyman_config_proto_enumTypes, 1082 MessageInfos: file_app_proxyman_config_proto_msgTypes, 1083 }.Build() 1084 File_app_proxyman_config_proto = out.File 1085 file_app_proxyman_config_proto_rawDesc = nil 1086 file_app_proxyman_config_proto_goTypes = nil 1087 file_app_proxyman_config_proto_depIdxs = nil 1088 }