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