config.pb.go 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: app/proxyman/config.proto
  6. package proxyman
  7. import (
  8. net "github.com/xtls/xray-core/common/net"
  9. serial "github.com/xtls/xray-core/common/serial"
  10. internet "github.com/xtls/xray-core/transport/internet"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type AllocationStrategy_Type int32
  23. const (
  24. // Always allocate all connection handlers.
  25. AllocationStrategy_Always AllocationStrategy_Type = 0
  26. // Randomly allocate specific range of handlers.
  27. AllocationStrategy_Random AllocationStrategy_Type = 1
  28. // External. Not supported yet.
  29. AllocationStrategy_External AllocationStrategy_Type = 2
  30. )
  31. // Enum value maps for AllocationStrategy_Type.
  32. var (
  33. AllocationStrategy_Type_name = map[int32]string{
  34. 0: "Always",
  35. 1: "Random",
  36. 2: "External",
  37. }
  38. AllocationStrategy_Type_value = map[string]int32{
  39. "Always": 0,
  40. "Random": 1,
  41. "External": 2,
  42. }
  43. )
  44. func (x AllocationStrategy_Type) Enum() *AllocationStrategy_Type {
  45. p := new(AllocationStrategy_Type)
  46. *p = x
  47. return p
  48. }
  49. func (x AllocationStrategy_Type) String() string {
  50. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  51. }
  52. func (AllocationStrategy_Type) Descriptor() protoreflect.EnumDescriptor {
  53. return file_app_proxyman_config_proto_enumTypes[0].Descriptor()
  54. }
  55. func (AllocationStrategy_Type) Type() protoreflect.EnumType {
  56. return &file_app_proxyman_config_proto_enumTypes[0]
  57. }
  58. func (x AllocationStrategy_Type) Number() protoreflect.EnumNumber {
  59. return protoreflect.EnumNumber(x)
  60. }
  61. // Deprecated: Use AllocationStrategy_Type.Descriptor instead.
  62. func (AllocationStrategy_Type) EnumDescriptor() ([]byte, []int) {
  63. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
  64. }
  65. type InboundConfig struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. }
  70. func (x *InboundConfig) Reset() {
  71. *x = InboundConfig{}
  72. mi := &file_app_proxyman_config_proto_msgTypes[0]
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. ms.StoreMessageInfo(mi)
  75. }
  76. func (x *InboundConfig) String() string {
  77. return protoimpl.X.MessageStringOf(x)
  78. }
  79. func (*InboundConfig) ProtoMessage() {}
  80. func (x *InboundConfig) ProtoReflect() protoreflect.Message {
  81. mi := &file_app_proxyman_config_proto_msgTypes[0]
  82. if x != nil {
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. if ms.LoadMessageInfo() == nil {
  85. ms.StoreMessageInfo(mi)
  86. }
  87. return ms
  88. }
  89. return mi.MessageOf(x)
  90. }
  91. // Deprecated: Use InboundConfig.ProtoReflect.Descriptor instead.
  92. func (*InboundConfig) Descriptor() ([]byte, []int) {
  93. return file_app_proxyman_config_proto_rawDescGZIP(), []int{0}
  94. }
  95. type AllocationStrategy struct {
  96. state protoimpl.MessageState
  97. sizeCache protoimpl.SizeCache
  98. unknownFields protoimpl.UnknownFields
  99. Type AllocationStrategy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=xray.app.proxyman.AllocationStrategy_Type" json:"type,omitempty"`
  100. // Number of handlers (ports) running in parallel.
  101. // Default value is 3 if unset.
  102. Concurrency *AllocationStrategy_AllocationStrategyConcurrency `protobuf:"bytes,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
  103. // Number of minutes before a handler is regenerated.
  104. // Default value is 5 if unset.
  105. Refresh *AllocationStrategy_AllocationStrategyRefresh `protobuf:"bytes,3,opt,name=refresh,proto3" json:"refresh,omitempty"`
  106. }
  107. func (x *AllocationStrategy) Reset() {
  108. *x = AllocationStrategy{}
  109. mi := &file_app_proxyman_config_proto_msgTypes[1]
  110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  111. ms.StoreMessageInfo(mi)
  112. }
  113. func (x *AllocationStrategy) String() string {
  114. return protoimpl.X.MessageStringOf(x)
  115. }
  116. func (*AllocationStrategy) ProtoMessage() {}
  117. func (x *AllocationStrategy) ProtoReflect() protoreflect.Message {
  118. mi := &file_app_proxyman_config_proto_msgTypes[1]
  119. if x != nil {
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. if ms.LoadMessageInfo() == nil {
  122. ms.StoreMessageInfo(mi)
  123. }
  124. return ms
  125. }
  126. return mi.MessageOf(x)
  127. }
  128. // Deprecated: Use AllocationStrategy.ProtoReflect.Descriptor instead.
  129. func (*AllocationStrategy) Descriptor() ([]byte, []int) {
  130. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1}
  131. }
  132. func (x *AllocationStrategy) GetType() AllocationStrategy_Type {
  133. if x != nil {
  134. return x.Type
  135. }
  136. return AllocationStrategy_Always
  137. }
  138. func (x *AllocationStrategy) GetConcurrency() *AllocationStrategy_AllocationStrategyConcurrency {
  139. if x != nil {
  140. return x.Concurrency
  141. }
  142. return nil
  143. }
  144. func (x *AllocationStrategy) GetRefresh() *AllocationStrategy_AllocationStrategyRefresh {
  145. if x != nil {
  146. return x.Refresh
  147. }
  148. return nil
  149. }
  150. type SniffingConfig struct {
  151. state protoimpl.MessageState
  152. sizeCache protoimpl.SizeCache
  153. unknownFields protoimpl.UnknownFields
  154. // Whether or not to enable content sniffing on an inbound connection.
  155. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  156. // Override target destination if sniff'ed protocol is in the given list.
  157. // Supported values are "http", "tls", "fakedns".
  158. DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
  159. DomainsExcluded []string `protobuf:"bytes,3,rep,name=domains_excluded,json=domainsExcluded,proto3" json:"domains_excluded,omitempty"`
  160. // Whether should only try to sniff metadata without waiting for client input.
  161. // Can be used to support SMTP like protocol where server send the first
  162. // message.
  163. MetadataOnly bool `protobuf:"varint,4,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"`
  164. RouteOnly bool `protobuf:"varint,5,opt,name=route_only,json=routeOnly,proto3" json:"route_only,omitempty"`
  165. }
  166. func (x *SniffingConfig) Reset() {
  167. *x = SniffingConfig{}
  168. mi := &file_app_proxyman_config_proto_msgTypes[2]
  169. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  170. ms.StoreMessageInfo(mi)
  171. }
  172. func (x *SniffingConfig) String() string {
  173. return protoimpl.X.MessageStringOf(x)
  174. }
  175. func (*SniffingConfig) ProtoMessage() {}
  176. func (x *SniffingConfig) ProtoReflect() protoreflect.Message {
  177. mi := &file_app_proxyman_config_proto_msgTypes[2]
  178. if x != nil {
  179. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  180. if ms.LoadMessageInfo() == nil {
  181. ms.StoreMessageInfo(mi)
  182. }
  183. return ms
  184. }
  185. return mi.MessageOf(x)
  186. }
  187. // Deprecated: Use SniffingConfig.ProtoReflect.Descriptor instead.
  188. func (*SniffingConfig) Descriptor() ([]byte, []int) {
  189. return file_app_proxyman_config_proto_rawDescGZIP(), []int{2}
  190. }
  191. func (x *SniffingConfig) GetEnabled() bool {
  192. if x != nil {
  193. return x.Enabled
  194. }
  195. return false
  196. }
  197. func (x *SniffingConfig) GetDestinationOverride() []string {
  198. if x != nil {
  199. return x.DestinationOverride
  200. }
  201. return nil
  202. }
  203. func (x *SniffingConfig) GetDomainsExcluded() []string {
  204. if x != nil {
  205. return x.DomainsExcluded
  206. }
  207. return nil
  208. }
  209. func (x *SniffingConfig) GetMetadataOnly() bool {
  210. if x != nil {
  211. return x.MetadataOnly
  212. }
  213. return false
  214. }
  215. func (x *SniffingConfig) GetRouteOnly() bool {
  216. if x != nil {
  217. return x.RouteOnly
  218. }
  219. return false
  220. }
  221. type ReceiverConfig struct {
  222. state protoimpl.MessageState
  223. sizeCache protoimpl.SizeCache
  224. unknownFields protoimpl.UnknownFields
  225. // PortList specifies the ports which the Receiver should listen on.
  226. PortList *net.PortList `protobuf:"bytes,1,opt,name=port_list,json=portList,proto3" json:"port_list,omitempty"`
  227. // Listen specifies the IP address that the Receiver should listen on.
  228. Listen *net.IPOrDomain `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"`
  229. AllocationStrategy *AllocationStrategy `protobuf:"bytes,3,opt,name=allocation_strategy,json=allocationStrategy,proto3" json:"allocation_strategy,omitempty"`
  230. StreamSettings *internet.StreamConfig `protobuf:"bytes,4,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
  231. ReceiveOriginalDestination bool `protobuf:"varint,5,opt,name=receive_original_destination,json=receiveOriginalDestination,proto3" json:"receive_original_destination,omitempty"`
  232. SniffingSettings *SniffingConfig `protobuf:"bytes,7,opt,name=sniffing_settings,json=sniffingSettings,proto3" json:"sniffing_settings,omitempty"`
  233. }
  234. func (x *ReceiverConfig) Reset() {
  235. *x = ReceiverConfig{}
  236. mi := &file_app_proxyman_config_proto_msgTypes[3]
  237. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  238. ms.StoreMessageInfo(mi)
  239. }
  240. func (x *ReceiverConfig) String() string {
  241. return protoimpl.X.MessageStringOf(x)
  242. }
  243. func (*ReceiverConfig) ProtoMessage() {}
  244. func (x *ReceiverConfig) ProtoReflect() protoreflect.Message {
  245. mi := &file_app_proxyman_config_proto_msgTypes[3]
  246. if x != nil {
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. if ms.LoadMessageInfo() == nil {
  249. ms.StoreMessageInfo(mi)
  250. }
  251. return ms
  252. }
  253. return mi.MessageOf(x)
  254. }
  255. // Deprecated: Use ReceiverConfig.ProtoReflect.Descriptor instead.
  256. func (*ReceiverConfig) Descriptor() ([]byte, []int) {
  257. return file_app_proxyman_config_proto_rawDescGZIP(), []int{3}
  258. }
  259. func (x *ReceiverConfig) GetPortList() *net.PortList {
  260. if x != nil {
  261. return x.PortList
  262. }
  263. return nil
  264. }
  265. func (x *ReceiverConfig) GetListen() *net.IPOrDomain {
  266. if x != nil {
  267. return x.Listen
  268. }
  269. return nil
  270. }
  271. func (x *ReceiverConfig) GetAllocationStrategy() *AllocationStrategy {
  272. if x != nil {
  273. return x.AllocationStrategy
  274. }
  275. return nil
  276. }
  277. func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig {
  278. if x != nil {
  279. return x.StreamSettings
  280. }
  281. return nil
  282. }
  283. func (x *ReceiverConfig) GetReceiveOriginalDestination() bool {
  284. if x != nil {
  285. return x.ReceiveOriginalDestination
  286. }
  287. return false
  288. }
  289. func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig {
  290. if x != nil {
  291. return x.SniffingSettings
  292. }
  293. return nil
  294. }
  295. type InboundHandlerConfig struct {
  296. state protoimpl.MessageState
  297. sizeCache protoimpl.SizeCache
  298. unknownFields protoimpl.UnknownFields
  299. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  300. ReceiverSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"`
  301. ProxySettings *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  302. }
  303. func (x *InboundHandlerConfig) Reset() {
  304. *x = InboundHandlerConfig{}
  305. mi := &file_app_proxyman_config_proto_msgTypes[4]
  306. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  307. ms.StoreMessageInfo(mi)
  308. }
  309. func (x *InboundHandlerConfig) String() string {
  310. return protoimpl.X.MessageStringOf(x)
  311. }
  312. func (*InboundHandlerConfig) ProtoMessage() {}
  313. func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message {
  314. mi := &file_app_proxyman_config_proto_msgTypes[4]
  315. if x != nil {
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. if ms.LoadMessageInfo() == nil {
  318. ms.StoreMessageInfo(mi)
  319. }
  320. return ms
  321. }
  322. return mi.MessageOf(x)
  323. }
  324. // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
  325. func (*InboundHandlerConfig) Descriptor() ([]byte, []int) {
  326. return file_app_proxyman_config_proto_rawDescGZIP(), []int{4}
  327. }
  328. func (x *InboundHandlerConfig) GetTag() string {
  329. if x != nil {
  330. return x.Tag
  331. }
  332. return ""
  333. }
  334. func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage {
  335. if x != nil {
  336. return x.ReceiverSettings
  337. }
  338. return nil
  339. }
  340. func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage {
  341. if x != nil {
  342. return x.ProxySettings
  343. }
  344. return nil
  345. }
  346. type OutboundConfig struct {
  347. state protoimpl.MessageState
  348. sizeCache protoimpl.SizeCache
  349. unknownFields protoimpl.UnknownFields
  350. }
  351. func (x *OutboundConfig) Reset() {
  352. *x = OutboundConfig{}
  353. mi := &file_app_proxyman_config_proto_msgTypes[5]
  354. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  355. ms.StoreMessageInfo(mi)
  356. }
  357. func (x *OutboundConfig) String() string {
  358. return protoimpl.X.MessageStringOf(x)
  359. }
  360. func (*OutboundConfig) ProtoMessage() {}
  361. func (x *OutboundConfig) ProtoReflect() protoreflect.Message {
  362. mi := &file_app_proxyman_config_proto_msgTypes[5]
  363. if x != nil {
  364. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  365. if ms.LoadMessageInfo() == nil {
  366. ms.StoreMessageInfo(mi)
  367. }
  368. return ms
  369. }
  370. return mi.MessageOf(x)
  371. }
  372. // Deprecated: Use OutboundConfig.ProtoReflect.Descriptor instead.
  373. func (*OutboundConfig) Descriptor() ([]byte, []int) {
  374. return file_app_proxyman_config_proto_rawDescGZIP(), []int{5}
  375. }
  376. type SenderConfig struct {
  377. state protoimpl.MessageState
  378. sizeCache protoimpl.SizeCache
  379. unknownFields protoimpl.UnknownFields
  380. // Send traffic through the given IP. Only IP is allowed.
  381. Via *net.IPOrDomain `protobuf:"bytes,1,opt,name=via,proto3" json:"via,omitempty"`
  382. StreamSettings *internet.StreamConfig `protobuf:"bytes,2,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
  383. ProxySettings *internet.ProxyConfig `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  384. MultiplexSettings *MultiplexingConfig `protobuf:"bytes,4,opt,name=multiplex_settings,json=multiplexSettings,proto3" json:"multiplex_settings,omitempty"`
  385. ViaCidr string `protobuf:"bytes,5,opt,name=via_cidr,json=viaCidr,proto3" json:"via_cidr,omitempty"`
  386. }
  387. func (x *SenderConfig) Reset() {
  388. *x = SenderConfig{}
  389. mi := &file_app_proxyman_config_proto_msgTypes[6]
  390. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  391. ms.StoreMessageInfo(mi)
  392. }
  393. func (x *SenderConfig) String() string {
  394. return protoimpl.X.MessageStringOf(x)
  395. }
  396. func (*SenderConfig) ProtoMessage() {}
  397. func (x *SenderConfig) ProtoReflect() protoreflect.Message {
  398. mi := &file_app_proxyman_config_proto_msgTypes[6]
  399. if x != nil {
  400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  401. if ms.LoadMessageInfo() == nil {
  402. ms.StoreMessageInfo(mi)
  403. }
  404. return ms
  405. }
  406. return mi.MessageOf(x)
  407. }
  408. // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead.
  409. func (*SenderConfig) Descriptor() ([]byte, []int) {
  410. return file_app_proxyman_config_proto_rawDescGZIP(), []int{6}
  411. }
  412. func (x *SenderConfig) GetVia() *net.IPOrDomain {
  413. if x != nil {
  414. return x.Via
  415. }
  416. return nil
  417. }
  418. func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig {
  419. if x != nil {
  420. return x.StreamSettings
  421. }
  422. return nil
  423. }
  424. func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig {
  425. if x != nil {
  426. return x.ProxySettings
  427. }
  428. return nil
  429. }
  430. func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig {
  431. if x != nil {
  432. return x.MultiplexSettings
  433. }
  434. return nil
  435. }
  436. func (x *SenderConfig) GetViaCidr() string {
  437. if x != nil {
  438. return x.ViaCidr
  439. }
  440. return ""
  441. }
  442. type MultiplexingConfig struct {
  443. state protoimpl.MessageState
  444. sizeCache protoimpl.SizeCache
  445. unknownFields protoimpl.UnknownFields
  446. // Whether or not Mux is enabled.
  447. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  448. // Max number of concurrent connections that one Mux connection can handle.
  449. Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
  450. // Transport XUDP in another Mux.
  451. XudpConcurrency int32 `protobuf:"varint,3,opt,name=xudpConcurrency,proto3" json:"xudpConcurrency,omitempty"`
  452. // "reject" (default), "allow" or "skip".
  453. XudpProxyUDP443 string `protobuf:"bytes,4,opt,name=xudpProxyUDP443,proto3" json:"xudpProxyUDP443,omitempty"`
  454. }
  455. func (x *MultiplexingConfig) Reset() {
  456. *x = MultiplexingConfig{}
  457. mi := &file_app_proxyman_config_proto_msgTypes[7]
  458. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  459. ms.StoreMessageInfo(mi)
  460. }
  461. func (x *MultiplexingConfig) String() string {
  462. return protoimpl.X.MessageStringOf(x)
  463. }
  464. func (*MultiplexingConfig) ProtoMessage() {}
  465. func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message {
  466. mi := &file_app_proxyman_config_proto_msgTypes[7]
  467. if x != nil {
  468. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  469. if ms.LoadMessageInfo() == nil {
  470. ms.StoreMessageInfo(mi)
  471. }
  472. return ms
  473. }
  474. return mi.MessageOf(x)
  475. }
  476. // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead.
  477. func (*MultiplexingConfig) Descriptor() ([]byte, []int) {
  478. return file_app_proxyman_config_proto_rawDescGZIP(), []int{7}
  479. }
  480. func (x *MultiplexingConfig) GetEnabled() bool {
  481. if x != nil {
  482. return x.Enabled
  483. }
  484. return false
  485. }
  486. func (x *MultiplexingConfig) GetConcurrency() int32 {
  487. if x != nil {
  488. return x.Concurrency
  489. }
  490. return 0
  491. }
  492. func (x *MultiplexingConfig) GetXudpConcurrency() int32 {
  493. if x != nil {
  494. return x.XudpConcurrency
  495. }
  496. return 0
  497. }
  498. func (x *MultiplexingConfig) GetXudpProxyUDP443() string {
  499. if x != nil {
  500. return x.XudpProxyUDP443
  501. }
  502. return ""
  503. }
  504. type AllocationStrategy_AllocationStrategyConcurrency struct {
  505. state protoimpl.MessageState
  506. sizeCache protoimpl.SizeCache
  507. unknownFields protoimpl.UnknownFields
  508. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  509. }
  510. func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() {
  511. *x = AllocationStrategy_AllocationStrategyConcurrency{}
  512. mi := &file_app_proxyman_config_proto_msgTypes[8]
  513. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  514. ms.StoreMessageInfo(mi)
  515. }
  516. func (x *AllocationStrategy_AllocationStrategyConcurrency) String() string {
  517. return protoimpl.X.MessageStringOf(x)
  518. }
  519. func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {}
  520. func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflect() protoreflect.Message {
  521. mi := &file_app_proxyman_config_proto_msgTypes[8]
  522. if x != nil {
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. if ms.LoadMessageInfo() == nil {
  525. ms.StoreMessageInfo(mi)
  526. }
  527. return ms
  528. }
  529. return mi.MessageOf(x)
  530. }
  531. // Deprecated: Use AllocationStrategy_AllocationStrategyConcurrency.ProtoReflect.Descriptor instead.
  532. func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) {
  533. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
  534. }
  535. func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() uint32 {
  536. if x != nil {
  537. return x.Value
  538. }
  539. return 0
  540. }
  541. type AllocationStrategy_AllocationStrategyRefresh struct {
  542. state protoimpl.MessageState
  543. sizeCache protoimpl.SizeCache
  544. unknownFields protoimpl.UnknownFields
  545. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  546. }
  547. func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() {
  548. *x = AllocationStrategy_AllocationStrategyRefresh{}
  549. mi := &file_app_proxyman_config_proto_msgTypes[9]
  550. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  551. ms.StoreMessageInfo(mi)
  552. }
  553. func (x *AllocationStrategy_AllocationStrategyRefresh) String() string {
  554. return protoimpl.X.MessageStringOf(x)
  555. }
  556. func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {}
  557. func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() protoreflect.Message {
  558. mi := &file_app_proxyman_config_proto_msgTypes[9]
  559. if x != nil {
  560. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  561. if ms.LoadMessageInfo() == nil {
  562. ms.StoreMessageInfo(mi)
  563. }
  564. return ms
  565. }
  566. return mi.MessageOf(x)
  567. }
  568. // Deprecated: Use AllocationStrategy_AllocationStrategyRefresh.ProtoReflect.Descriptor instead.
  569. func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) {
  570. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 1}
  571. }
  572. func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 {
  573. if x != nil {
  574. return x.Value
  575. }
  576. return 0
  577. }
  578. var File_app_proxyman_config_proto protoreflect.FileDescriptor
  579. var file_app_proxyman_config_proto_rawDesc = []byte{
  580. 0x0a, 0x19, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2f, 0x63,
  581. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x78, 0x72, 0x61,
  582. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x1a, 0x18,
  583. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65,
  584. 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  585. 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  586. 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  587. 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  588. 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f,
  589. 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72,
  590. 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f,
  591. 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x03, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
  592. 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x74,
  593. 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79,
  594. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c,
  595. 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  596. 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0b, 0x63,
  597. 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  598. 0x32, 0x43, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78,
  599. 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
  600. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  601. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72,
  602. 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
  603. 0x63, 0x79, 0x12, 0x59, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20,
  604. 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
  605. 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  606. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
  607. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66,
  608. 0x72, 0x65, 0x73, 0x68, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x1a, 0x35, 0x0a,
  609. 0x1d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74,
  610. 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x14,
  611. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
  612. 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x31, 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  613. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
  614. 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  615. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
  616. 0x0a, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52,
  617. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x72,
  618. 0x6e, 0x61, 0x6c, 0x10, 0x02, 0x22, 0xcc, 0x01, 0x0a, 0x0e, 0x53, 0x6e, 0x69, 0x66, 0x66, 0x69,
  619. 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62,
  620. 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
  621. 0x65, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  622. 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
  623. 0x52, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65,
  624. 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73,
  625. 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
  626. 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64,
  627. 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f, 0x6e, 0x6c,
  628. 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
  629. 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6f,
  630. 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65,
  631. 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xbd, 0x03, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  632. 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f,
  633. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61,
  634. 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72,
  635. 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12,
  636. 0x33, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  637. 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
  638. 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x6c, 0x69,
  639. 0x73, 0x74, 0x65, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  640. 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  641. 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f,
  642. 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  643. 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61,
  644. 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4e, 0x0a, 0x0f,
  645. 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
  646. 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61,
  647. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
  648. 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74,
  649. 0x72, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x1c,
  650. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c,
  651. 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
  652. 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69,
  653. 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e,
  654. 0x0a, 0x11, 0x73, 0x6e, 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
  655. 0x6e, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79,
  656. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x6e,
  657. 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x6e,
  658. 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x04,
  659. 0x08, 0x06, 0x10, 0x07, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
  660. 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a,
  661. 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12,
  662. 0x4d, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74,
  663. 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61,
  664. 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e,
  665. 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x72, 0x65,
  666. 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47,
  667. 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
  668. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  669. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65,
  670. 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53,
  671. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f,
  672. 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xcb, 0x02, 0x0a, 0x0c, 0x53, 0x65,
  673. 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x03, 0x76, 0x69,
  674. 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63,
  675. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f,
  676. 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x03, 0x76, 0x69, 0x61, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x74, 0x72,
  677. 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01,
  678. 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  679. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x72,
  680. 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61,
  681. 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x70, 0x72, 0x6f,
  682. 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  683. 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
  684. 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78,
  685. 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65,
  686. 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70,
  687. 0x6c, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01,
  688. 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72,
  689. 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78,
  690. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69,
  691. 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08,
  692. 0x76, 0x69, 0x61, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  693. 0x76, 0x69, 0x61, 0x43, 0x69, 0x64, 0x72, 0x22, 0xa4, 0x01, 0x0a, 0x12, 0x4d, 0x75, 0x6c, 0x74,
  694. 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18,
  695. 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
  696. 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63,
  697. 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63,
  698. 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x78, 0x75,
  699. 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20,
  700. 0x01, 0x28, 0x05, 0x52, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72,
  701. 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x78,
  702. 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x78,
  703. 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33, 0x42, 0x55,
  704. 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
  705. 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x50, 0x01, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75,
  706. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d,
  707. 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61,
  708. 0x6e, 0xaa, 0x02, 0x11, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x72, 0x6f,
  709. 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  710. }
  711. var (
  712. file_app_proxyman_config_proto_rawDescOnce sync.Once
  713. file_app_proxyman_config_proto_rawDescData = file_app_proxyman_config_proto_rawDesc
  714. )
  715. func file_app_proxyman_config_proto_rawDescGZIP() []byte {
  716. file_app_proxyman_config_proto_rawDescOnce.Do(func() {
  717. file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_proxyman_config_proto_rawDescData)
  718. })
  719. return file_app_proxyman_config_proto_rawDescData
  720. }
  721. var file_app_proxyman_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  722. var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  723. var file_app_proxyman_config_proto_goTypes = []any{
  724. (AllocationStrategy_Type)(0), // 0: xray.app.proxyman.AllocationStrategy.Type
  725. (*InboundConfig)(nil), // 1: xray.app.proxyman.InboundConfig
  726. (*AllocationStrategy)(nil), // 2: xray.app.proxyman.AllocationStrategy
  727. (*SniffingConfig)(nil), // 3: xray.app.proxyman.SniffingConfig
  728. (*ReceiverConfig)(nil), // 4: xray.app.proxyman.ReceiverConfig
  729. (*InboundHandlerConfig)(nil), // 5: xray.app.proxyman.InboundHandlerConfig
  730. (*OutboundConfig)(nil), // 6: xray.app.proxyman.OutboundConfig
  731. (*SenderConfig)(nil), // 7: xray.app.proxyman.SenderConfig
  732. (*MultiplexingConfig)(nil), // 8: xray.app.proxyman.MultiplexingConfig
  733. (*AllocationStrategy_AllocationStrategyConcurrency)(nil), // 9: xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
  734. (*AllocationStrategy_AllocationStrategyRefresh)(nil), // 10: xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
  735. (*net.PortList)(nil), // 11: xray.common.net.PortList
  736. (*net.IPOrDomain)(nil), // 12: xray.common.net.IPOrDomain
  737. (*internet.StreamConfig)(nil), // 13: xray.transport.internet.StreamConfig
  738. (*serial.TypedMessage)(nil), // 14: xray.common.serial.TypedMessage
  739. (*internet.ProxyConfig)(nil), // 15: xray.transport.internet.ProxyConfig
  740. }
  741. var file_app_proxyman_config_proto_depIdxs = []int32{
  742. 0, // 0: xray.app.proxyman.AllocationStrategy.type:type_name -> xray.app.proxyman.AllocationStrategy.Type
  743. 9, // 1: xray.app.proxyman.AllocationStrategy.concurrency:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
  744. 10, // 2: xray.app.proxyman.AllocationStrategy.refresh:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
  745. 11, // 3: xray.app.proxyman.ReceiverConfig.port_list:type_name -> xray.common.net.PortList
  746. 12, // 4: xray.app.proxyman.ReceiverConfig.listen:type_name -> xray.common.net.IPOrDomain
  747. 2, // 5: xray.app.proxyman.ReceiverConfig.allocation_strategy:type_name -> xray.app.proxyman.AllocationStrategy
  748. 13, // 6: xray.app.proxyman.ReceiverConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
  749. 3, // 7: xray.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> xray.app.proxyman.SniffingConfig
  750. 14, // 8: xray.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage
  751. 14, // 9: xray.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage
  752. 12, // 10: xray.app.proxyman.SenderConfig.via:type_name -> xray.common.net.IPOrDomain
  753. 13, // 11: xray.app.proxyman.SenderConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
  754. 15, // 12: xray.app.proxyman.SenderConfig.proxy_settings:type_name -> xray.transport.internet.ProxyConfig
  755. 8, // 13: xray.app.proxyman.SenderConfig.multiplex_settings:type_name -> xray.app.proxyman.MultiplexingConfig
  756. 14, // [14:14] is the sub-list for method output_type
  757. 14, // [14:14] is the sub-list for method input_type
  758. 14, // [14:14] is the sub-list for extension type_name
  759. 14, // [14:14] is the sub-list for extension extendee
  760. 0, // [0:14] is the sub-list for field type_name
  761. }
  762. func init() { file_app_proxyman_config_proto_init() }
  763. func file_app_proxyman_config_proto_init() {
  764. if File_app_proxyman_config_proto != nil {
  765. return
  766. }
  767. type x struct{}
  768. out := protoimpl.TypeBuilder{
  769. File: protoimpl.DescBuilder{
  770. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  771. RawDescriptor: file_app_proxyman_config_proto_rawDesc,
  772. NumEnums: 1,
  773. NumMessages: 10,
  774. NumExtensions: 0,
  775. NumServices: 0,
  776. },
  777. GoTypes: file_app_proxyman_config_proto_goTypes,
  778. DependencyIndexes: file_app_proxyman_config_proto_depIdxs,
  779. EnumInfos: file_app_proxyman_config_proto_enumTypes,
  780. MessageInfos: file_app_proxyman_config_proto_msgTypes,
  781. }.Build()
  782. File_app_proxyman_config_proto = out.File
  783. file_app_proxyman_config_proto_rawDesc = nil
  784. file_app_proxyman_config_proto_goTypes = nil
  785. file_app_proxyman_config_proto_depIdxs = nil
  786. }