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