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