config.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  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. TargetStrategy internet.DomainStrategy `protobuf:"varint,6,opt,name=target_strategy,json=targetStrategy,proto3,enum=xray.transport.internet.DomainStrategy" json:"target_strategy,omitempty"`
  387. }
  388. func (x *SenderConfig) Reset() {
  389. *x = SenderConfig{}
  390. mi := &file_app_proxyman_config_proto_msgTypes[6]
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. ms.StoreMessageInfo(mi)
  393. }
  394. func (x *SenderConfig) String() string {
  395. return protoimpl.X.MessageStringOf(x)
  396. }
  397. func (*SenderConfig) ProtoMessage() {}
  398. func (x *SenderConfig) ProtoReflect() protoreflect.Message {
  399. mi := &file_app_proxyman_config_proto_msgTypes[6]
  400. if x != nil {
  401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  402. if ms.LoadMessageInfo() == nil {
  403. ms.StoreMessageInfo(mi)
  404. }
  405. return ms
  406. }
  407. return mi.MessageOf(x)
  408. }
  409. // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead.
  410. func (*SenderConfig) Descriptor() ([]byte, []int) {
  411. return file_app_proxyman_config_proto_rawDescGZIP(), []int{6}
  412. }
  413. func (x *SenderConfig) GetVia() *net.IPOrDomain {
  414. if x != nil {
  415. return x.Via
  416. }
  417. return nil
  418. }
  419. func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig {
  420. if x != nil {
  421. return x.StreamSettings
  422. }
  423. return nil
  424. }
  425. func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig {
  426. if x != nil {
  427. return x.ProxySettings
  428. }
  429. return nil
  430. }
  431. func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig {
  432. if x != nil {
  433. return x.MultiplexSettings
  434. }
  435. return nil
  436. }
  437. func (x *SenderConfig) GetViaCidr() string {
  438. if x != nil {
  439. return x.ViaCidr
  440. }
  441. return ""
  442. }
  443. func (x *SenderConfig) GetTargetStrategy() internet.DomainStrategy {
  444. if x != nil {
  445. return x.TargetStrategy
  446. }
  447. return internet.DomainStrategy(0)
  448. }
  449. type MultiplexingConfig struct {
  450. state protoimpl.MessageState
  451. sizeCache protoimpl.SizeCache
  452. unknownFields protoimpl.UnknownFields
  453. // Whether or not Mux is enabled.
  454. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  455. // Max number of concurrent connections that one Mux connection can handle.
  456. Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
  457. // Transport XUDP in another Mux.
  458. XudpConcurrency int32 `protobuf:"varint,3,opt,name=xudpConcurrency,proto3" json:"xudpConcurrency,omitempty"`
  459. // "reject" (default), "allow" or "skip".
  460. XudpProxyUDP443 string `protobuf:"bytes,4,opt,name=xudpProxyUDP443,proto3" json:"xudpProxyUDP443,omitempty"`
  461. }
  462. func (x *MultiplexingConfig) Reset() {
  463. *x = MultiplexingConfig{}
  464. mi := &file_app_proxyman_config_proto_msgTypes[7]
  465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  466. ms.StoreMessageInfo(mi)
  467. }
  468. func (x *MultiplexingConfig) String() string {
  469. return protoimpl.X.MessageStringOf(x)
  470. }
  471. func (*MultiplexingConfig) ProtoMessage() {}
  472. func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message {
  473. mi := &file_app_proxyman_config_proto_msgTypes[7]
  474. if x != nil {
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. if ms.LoadMessageInfo() == nil {
  477. ms.StoreMessageInfo(mi)
  478. }
  479. return ms
  480. }
  481. return mi.MessageOf(x)
  482. }
  483. // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead.
  484. func (*MultiplexingConfig) Descriptor() ([]byte, []int) {
  485. return file_app_proxyman_config_proto_rawDescGZIP(), []int{7}
  486. }
  487. func (x *MultiplexingConfig) GetEnabled() bool {
  488. if x != nil {
  489. return x.Enabled
  490. }
  491. return false
  492. }
  493. func (x *MultiplexingConfig) GetConcurrency() int32 {
  494. if x != nil {
  495. return x.Concurrency
  496. }
  497. return 0
  498. }
  499. func (x *MultiplexingConfig) GetXudpConcurrency() int32 {
  500. if x != nil {
  501. return x.XudpConcurrency
  502. }
  503. return 0
  504. }
  505. func (x *MultiplexingConfig) GetXudpProxyUDP443() string {
  506. if x != nil {
  507. return x.XudpProxyUDP443
  508. }
  509. return ""
  510. }
  511. type AllocationStrategy_AllocationStrategyConcurrency struct {
  512. state protoimpl.MessageState
  513. sizeCache protoimpl.SizeCache
  514. unknownFields protoimpl.UnknownFields
  515. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  516. }
  517. func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() {
  518. *x = AllocationStrategy_AllocationStrategyConcurrency{}
  519. mi := &file_app_proxyman_config_proto_msgTypes[8]
  520. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  521. ms.StoreMessageInfo(mi)
  522. }
  523. func (x *AllocationStrategy_AllocationStrategyConcurrency) String() string {
  524. return protoimpl.X.MessageStringOf(x)
  525. }
  526. func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {}
  527. func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflect() protoreflect.Message {
  528. mi := &file_app_proxyman_config_proto_msgTypes[8]
  529. if 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. // Deprecated: Use AllocationStrategy_AllocationStrategyConcurrency.ProtoReflect.Descriptor instead.
  539. func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) {
  540. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
  541. }
  542. func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() uint32 {
  543. if x != nil {
  544. return x.Value
  545. }
  546. return 0
  547. }
  548. type AllocationStrategy_AllocationStrategyRefresh struct {
  549. state protoimpl.MessageState
  550. sizeCache protoimpl.SizeCache
  551. unknownFields protoimpl.UnknownFields
  552. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  553. }
  554. func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() {
  555. *x = AllocationStrategy_AllocationStrategyRefresh{}
  556. mi := &file_app_proxyman_config_proto_msgTypes[9]
  557. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  558. ms.StoreMessageInfo(mi)
  559. }
  560. func (x *AllocationStrategy_AllocationStrategyRefresh) String() string {
  561. return protoimpl.X.MessageStringOf(x)
  562. }
  563. func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {}
  564. func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() protoreflect.Message {
  565. mi := &file_app_proxyman_config_proto_msgTypes[9]
  566. if x != nil {
  567. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  568. if ms.LoadMessageInfo() == nil {
  569. ms.StoreMessageInfo(mi)
  570. }
  571. return ms
  572. }
  573. return mi.MessageOf(x)
  574. }
  575. // Deprecated: Use AllocationStrategy_AllocationStrategyRefresh.ProtoReflect.Descriptor instead.
  576. func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) {
  577. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 1}
  578. }
  579. func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 {
  580. if x != nil {
  581. return x.Value
  582. }
  583. return 0
  584. }
  585. var File_app_proxyman_config_proto protoreflect.FileDescriptor
  586. var file_app_proxyman_config_proto_rawDesc = []byte{
  587. 0x0a, 0x19, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2f, 0x63,
  588. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x78, 0x72, 0x61,
  589. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x1a, 0x18,
  590. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65,
  591. 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  592. 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  593. 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  594. 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  595. 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f,
  596. 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72,
  597. 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f,
  598. 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x03, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
  599. 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x74,
  600. 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79,
  601. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c,
  602. 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  603. 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0b, 0x63,
  604. 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  605. 0x32, 0x43, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78,
  606. 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
  607. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  608. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72,
  609. 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
  610. 0x63, 0x79, 0x12, 0x59, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20,
  611. 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
  612. 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  613. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
  614. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66,
  615. 0x72, 0x65, 0x73, 0x68, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x1a, 0x35, 0x0a,
  616. 0x1d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74,
  617. 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x14,
  618. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
  619. 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x31, 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  620. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
  621. 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  622. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
  623. 0x0a, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52,
  624. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x72,
  625. 0x6e, 0x61, 0x6c, 0x10, 0x02, 0x22, 0xcc, 0x01, 0x0a, 0x0e, 0x53, 0x6e, 0x69, 0x66, 0x66, 0x69,
  626. 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62,
  627. 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
  628. 0x65, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  629. 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
  630. 0x52, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65,
  631. 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73,
  632. 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
  633. 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64,
  634. 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f, 0x6e, 0x6c,
  635. 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
  636. 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6f,
  637. 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65,
  638. 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xbd, 0x03, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  639. 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f,
  640. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61,
  641. 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72,
  642. 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12,
  643. 0x33, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  644. 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
  645. 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x6c, 0x69,
  646. 0x73, 0x74, 0x65, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  647. 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  648. 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f,
  649. 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  650. 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61,
  651. 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4e, 0x0a, 0x0f,
  652. 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
  653. 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61,
  654. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
  655. 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74,
  656. 0x72, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x1c,
  657. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c,
  658. 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
  659. 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69,
  660. 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e,
  661. 0x0a, 0x11, 0x73, 0x6e, 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
  662. 0x6e, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79,
  663. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x6e,
  664. 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x6e,
  665. 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x04,
  666. 0x08, 0x06, 0x10, 0x07, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
  667. 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a,
  668. 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12,
  669. 0x4d, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74,
  670. 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61,
  671. 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e,
  672. 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x72, 0x65,
  673. 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47,
  674. 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
  675. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  676. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65,
  677. 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53,
  678. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f,
  679. 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x9d, 0x03, 0x0a, 0x0c, 0x53, 0x65,
  680. 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x03, 0x76, 0x69,
  681. 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63,
  682. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f,
  683. 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x03, 0x76, 0x69, 0x61, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x74, 0x72,
  684. 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01,
  685. 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  686. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x72,
  687. 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61,
  688. 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x70, 0x72, 0x6f,
  689. 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  690. 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
  691. 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78,
  692. 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65,
  693. 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70,
  694. 0x6c, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01,
  695. 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72,
  696. 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78,
  697. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69,
  698. 0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08,
  699. 0x76, 0x69, 0x61, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  700. 0x76, 0x69, 0x61, 0x43, 0x69, 0x64, 0x72, 0x12, 0x50, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65,
  701. 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
  702. 0x32, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  703. 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69,
  704. 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65,
  705. 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0xa4, 0x01, 0x0a, 0x12, 0x4d, 0x75,
  706. 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  707. 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  708. 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f,
  709. 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  710. 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f,
  711. 0x78, 0x75, 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18,
  712. 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75,
  713. 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x50, 0x72,
  714. 0x6f, 0x78, 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  715. 0x0f, 0x78, 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33,
  716. 0x42, 0x55, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  717. 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x50, 0x01, 0x5a, 0x26, 0x67, 0x69, 0x74,
  718. 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61,
  719. 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79,
  720. 0x6d, 0x61, 0x6e, 0xaa, 0x02, 0x11, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50,
  721. 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  722. }
  723. var (
  724. file_app_proxyman_config_proto_rawDescOnce sync.Once
  725. file_app_proxyman_config_proto_rawDescData = file_app_proxyman_config_proto_rawDesc
  726. )
  727. func file_app_proxyman_config_proto_rawDescGZIP() []byte {
  728. file_app_proxyman_config_proto_rawDescOnce.Do(func() {
  729. file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_proxyman_config_proto_rawDescData)
  730. })
  731. return file_app_proxyman_config_proto_rawDescData
  732. }
  733. var file_app_proxyman_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  734. var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  735. var file_app_proxyman_config_proto_goTypes = []any{
  736. (AllocationStrategy_Type)(0), // 0: xray.app.proxyman.AllocationStrategy.Type
  737. (*InboundConfig)(nil), // 1: xray.app.proxyman.InboundConfig
  738. (*AllocationStrategy)(nil), // 2: xray.app.proxyman.AllocationStrategy
  739. (*SniffingConfig)(nil), // 3: xray.app.proxyman.SniffingConfig
  740. (*ReceiverConfig)(nil), // 4: xray.app.proxyman.ReceiverConfig
  741. (*InboundHandlerConfig)(nil), // 5: xray.app.proxyman.InboundHandlerConfig
  742. (*OutboundConfig)(nil), // 6: xray.app.proxyman.OutboundConfig
  743. (*SenderConfig)(nil), // 7: xray.app.proxyman.SenderConfig
  744. (*MultiplexingConfig)(nil), // 8: xray.app.proxyman.MultiplexingConfig
  745. (*AllocationStrategy_AllocationStrategyConcurrency)(nil), // 9: xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
  746. (*AllocationStrategy_AllocationStrategyRefresh)(nil), // 10: xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
  747. (*net.PortList)(nil), // 11: xray.common.net.PortList
  748. (*net.IPOrDomain)(nil), // 12: xray.common.net.IPOrDomain
  749. (*internet.StreamConfig)(nil), // 13: xray.transport.internet.StreamConfig
  750. (*serial.TypedMessage)(nil), // 14: xray.common.serial.TypedMessage
  751. (*internet.ProxyConfig)(nil), // 15: xray.transport.internet.ProxyConfig
  752. (internet.DomainStrategy)(0), // 16: xray.transport.internet.DomainStrategy
  753. }
  754. var file_app_proxyman_config_proto_depIdxs = []int32{
  755. 0, // 0: xray.app.proxyman.AllocationStrategy.type:type_name -> xray.app.proxyman.AllocationStrategy.Type
  756. 9, // 1: xray.app.proxyman.AllocationStrategy.concurrency:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
  757. 10, // 2: xray.app.proxyman.AllocationStrategy.refresh:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
  758. 11, // 3: xray.app.proxyman.ReceiverConfig.port_list:type_name -> xray.common.net.PortList
  759. 12, // 4: xray.app.proxyman.ReceiverConfig.listen:type_name -> xray.common.net.IPOrDomain
  760. 2, // 5: xray.app.proxyman.ReceiverConfig.allocation_strategy:type_name -> xray.app.proxyman.AllocationStrategy
  761. 13, // 6: xray.app.proxyman.ReceiverConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
  762. 3, // 7: xray.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> xray.app.proxyman.SniffingConfig
  763. 14, // 8: xray.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage
  764. 14, // 9: xray.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage
  765. 12, // 10: xray.app.proxyman.SenderConfig.via:type_name -> xray.common.net.IPOrDomain
  766. 13, // 11: xray.app.proxyman.SenderConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
  767. 15, // 12: xray.app.proxyman.SenderConfig.proxy_settings:type_name -> xray.transport.internet.ProxyConfig
  768. 8, // 13: xray.app.proxyman.SenderConfig.multiplex_settings:type_name -> xray.app.proxyman.MultiplexingConfig
  769. 16, // 14: xray.app.proxyman.SenderConfig.target_strategy:type_name -> xray.transport.internet.DomainStrategy
  770. 15, // [15:15] is the sub-list for method output_type
  771. 15, // [15:15] is the sub-list for method input_type
  772. 15, // [15:15] is the sub-list for extension type_name
  773. 15, // [15:15] is the sub-list for extension extendee
  774. 0, // [0:15] is the sub-list for field type_name
  775. }
  776. func init() { file_app_proxyman_config_proto_init() }
  777. func file_app_proxyman_config_proto_init() {
  778. if File_app_proxyman_config_proto != nil {
  779. return
  780. }
  781. type x struct{}
  782. out := protoimpl.TypeBuilder{
  783. File: protoimpl.DescBuilder{
  784. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  785. RawDescriptor: file_app_proxyman_config_proto_rawDesc,
  786. NumEnums: 1,
  787. NumMessages: 10,
  788. NumExtensions: 0,
  789. NumServices: 0,
  790. },
  791. GoTypes: file_app_proxyman_config_proto_goTypes,
  792. DependencyIndexes: file_app_proxyman_config_proto_depIdxs,
  793. EnumInfos: file_app_proxyman_config_proto_enumTypes,
  794. MessageInfos: file_app_proxyman_config_proto_msgTypes,
  795. }.Build()
  796. File_app_proxyman_config_proto = out.File
  797. file_app_proxyman_config_proto_rawDesc = nil
  798. file_app_proxyman_config_proto_goTypes = nil
  799. file_app_proxyman_config_proto_depIdxs = nil
  800. }