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