config.pb.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  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. unsafe "unsafe"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type InboundConfig struct {
  24. state protoimpl.MessageState `protogen:"open.v1"`
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *InboundConfig) Reset() {
  29. *x = InboundConfig{}
  30. mi := &file_app_proxyman_config_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *InboundConfig) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*InboundConfig) ProtoMessage() {}
  38. func (x *InboundConfig) ProtoReflect() protoreflect.Message {
  39. mi := &file_app_proxyman_config_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use InboundConfig.ProtoReflect.Descriptor instead.
  50. func (*InboundConfig) Descriptor() ([]byte, []int) {
  51. return file_app_proxyman_config_proto_rawDescGZIP(), []int{0}
  52. }
  53. type SniffingConfig struct {
  54. state protoimpl.MessageState `protogen:"open.v1"`
  55. // Whether or not to enable content sniffing on an inbound connection.
  56. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  57. // Override target destination if sniff'ed protocol is in the given list.
  58. // Supported values are "http", "tls", "fakedns".
  59. DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
  60. DomainsExcluded []string `protobuf:"bytes,3,rep,name=domains_excluded,json=domainsExcluded,proto3" json:"domains_excluded,omitempty"`
  61. // Whether should only try to sniff metadata without waiting for client input.
  62. // Can be used to support SMTP like protocol where server send the first
  63. // message.
  64. MetadataOnly bool `protobuf:"varint,4,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"`
  65. RouteOnly bool `protobuf:"varint,5,opt,name=route_only,json=routeOnly,proto3" json:"route_only,omitempty"`
  66. unknownFields protoimpl.UnknownFields
  67. sizeCache protoimpl.SizeCache
  68. }
  69. func (x *SniffingConfig) Reset() {
  70. *x = SniffingConfig{}
  71. mi := &file_app_proxyman_config_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. func (x *SniffingConfig) String() string {
  76. return protoimpl.X.MessageStringOf(x)
  77. }
  78. func (*SniffingConfig) ProtoMessage() {}
  79. func (x *SniffingConfig) ProtoReflect() protoreflect.Message {
  80. mi := &file_app_proxyman_config_proto_msgTypes[1]
  81. if x != nil {
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. if ms.LoadMessageInfo() == nil {
  84. ms.StoreMessageInfo(mi)
  85. }
  86. return ms
  87. }
  88. return mi.MessageOf(x)
  89. }
  90. // Deprecated: Use SniffingConfig.ProtoReflect.Descriptor instead.
  91. func (*SniffingConfig) Descriptor() ([]byte, []int) {
  92. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1}
  93. }
  94. func (x *SniffingConfig) GetEnabled() bool {
  95. if x != nil {
  96. return x.Enabled
  97. }
  98. return false
  99. }
  100. func (x *SniffingConfig) GetDestinationOverride() []string {
  101. if x != nil {
  102. return x.DestinationOverride
  103. }
  104. return nil
  105. }
  106. func (x *SniffingConfig) GetDomainsExcluded() []string {
  107. if x != nil {
  108. return x.DomainsExcluded
  109. }
  110. return nil
  111. }
  112. func (x *SniffingConfig) GetMetadataOnly() bool {
  113. if x != nil {
  114. return x.MetadataOnly
  115. }
  116. return false
  117. }
  118. func (x *SniffingConfig) GetRouteOnly() bool {
  119. if x != nil {
  120. return x.RouteOnly
  121. }
  122. return false
  123. }
  124. type ReceiverConfig struct {
  125. state protoimpl.MessageState `protogen:"open.v1"`
  126. // PortList specifies the ports which the Receiver should listen on.
  127. PortList *net.PortList `protobuf:"bytes,1,opt,name=port_list,json=portList,proto3" json:"port_list,omitempty"`
  128. // Listen specifies the IP address that the Receiver should listen on.
  129. Listen *net.IPOrDomain `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"`
  130. StreamSettings *internet.StreamConfig `protobuf:"bytes,3,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
  131. ReceiveOriginalDestination bool `protobuf:"varint,4,opt,name=receive_original_destination,json=receiveOriginalDestination,proto3" json:"receive_original_destination,omitempty"`
  132. SniffingSettings *SniffingConfig `protobuf:"bytes,6,opt,name=sniffing_settings,json=sniffingSettings,proto3" json:"sniffing_settings,omitempty"`
  133. unknownFields protoimpl.UnknownFields
  134. sizeCache protoimpl.SizeCache
  135. }
  136. func (x *ReceiverConfig) Reset() {
  137. *x = ReceiverConfig{}
  138. mi := &file_app_proxyman_config_proto_msgTypes[2]
  139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  140. ms.StoreMessageInfo(mi)
  141. }
  142. func (x *ReceiverConfig) String() string {
  143. return protoimpl.X.MessageStringOf(x)
  144. }
  145. func (*ReceiverConfig) ProtoMessage() {}
  146. func (x *ReceiverConfig) ProtoReflect() protoreflect.Message {
  147. mi := &file_app_proxyman_config_proto_msgTypes[2]
  148. if x != nil {
  149. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  150. if ms.LoadMessageInfo() == nil {
  151. ms.StoreMessageInfo(mi)
  152. }
  153. return ms
  154. }
  155. return mi.MessageOf(x)
  156. }
  157. // Deprecated: Use ReceiverConfig.ProtoReflect.Descriptor instead.
  158. func (*ReceiverConfig) Descriptor() ([]byte, []int) {
  159. return file_app_proxyman_config_proto_rawDescGZIP(), []int{2}
  160. }
  161. func (x *ReceiverConfig) GetPortList() *net.PortList {
  162. if x != nil {
  163. return x.PortList
  164. }
  165. return nil
  166. }
  167. func (x *ReceiverConfig) GetListen() *net.IPOrDomain {
  168. if x != nil {
  169. return x.Listen
  170. }
  171. return nil
  172. }
  173. func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig {
  174. if x != nil {
  175. return x.StreamSettings
  176. }
  177. return nil
  178. }
  179. func (x *ReceiverConfig) GetReceiveOriginalDestination() bool {
  180. if x != nil {
  181. return x.ReceiveOriginalDestination
  182. }
  183. return false
  184. }
  185. func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig {
  186. if x != nil {
  187. return x.SniffingSettings
  188. }
  189. return nil
  190. }
  191. type InboundHandlerConfig struct {
  192. state protoimpl.MessageState `protogen:"open.v1"`
  193. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  194. ReceiverSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"`
  195. ProxySettings *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  196. unknownFields protoimpl.UnknownFields
  197. sizeCache protoimpl.SizeCache
  198. }
  199. func (x *InboundHandlerConfig) Reset() {
  200. *x = InboundHandlerConfig{}
  201. mi := &file_app_proxyman_config_proto_msgTypes[3]
  202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  203. ms.StoreMessageInfo(mi)
  204. }
  205. func (x *InboundHandlerConfig) String() string {
  206. return protoimpl.X.MessageStringOf(x)
  207. }
  208. func (*InboundHandlerConfig) ProtoMessage() {}
  209. func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message {
  210. mi := &file_app_proxyman_config_proto_msgTypes[3]
  211. if x != nil {
  212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  213. if ms.LoadMessageInfo() == nil {
  214. ms.StoreMessageInfo(mi)
  215. }
  216. return ms
  217. }
  218. return mi.MessageOf(x)
  219. }
  220. // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
  221. func (*InboundHandlerConfig) Descriptor() ([]byte, []int) {
  222. return file_app_proxyman_config_proto_rawDescGZIP(), []int{3}
  223. }
  224. func (x *InboundHandlerConfig) GetTag() string {
  225. if x != nil {
  226. return x.Tag
  227. }
  228. return ""
  229. }
  230. func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage {
  231. if x != nil {
  232. return x.ReceiverSettings
  233. }
  234. return nil
  235. }
  236. func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage {
  237. if x != nil {
  238. return x.ProxySettings
  239. }
  240. return nil
  241. }
  242. type OutboundConfig struct {
  243. state protoimpl.MessageState `protogen:"open.v1"`
  244. unknownFields protoimpl.UnknownFields
  245. sizeCache protoimpl.SizeCache
  246. }
  247. func (x *OutboundConfig) Reset() {
  248. *x = OutboundConfig{}
  249. mi := &file_app_proxyman_config_proto_msgTypes[4]
  250. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  251. ms.StoreMessageInfo(mi)
  252. }
  253. func (x *OutboundConfig) String() string {
  254. return protoimpl.X.MessageStringOf(x)
  255. }
  256. func (*OutboundConfig) ProtoMessage() {}
  257. func (x *OutboundConfig) ProtoReflect() protoreflect.Message {
  258. mi := &file_app_proxyman_config_proto_msgTypes[4]
  259. if x != nil {
  260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  261. if ms.LoadMessageInfo() == nil {
  262. ms.StoreMessageInfo(mi)
  263. }
  264. return ms
  265. }
  266. return mi.MessageOf(x)
  267. }
  268. // Deprecated: Use OutboundConfig.ProtoReflect.Descriptor instead.
  269. func (*OutboundConfig) Descriptor() ([]byte, []int) {
  270. return file_app_proxyman_config_proto_rawDescGZIP(), []int{4}
  271. }
  272. type SenderConfig struct {
  273. state protoimpl.MessageState `protogen:"open.v1"`
  274. // Send traffic through the given IP. Only IP is allowed.
  275. Via *net.IPOrDomain `protobuf:"bytes,1,opt,name=via,proto3" json:"via,omitempty"`
  276. StreamSettings *internet.StreamConfig `protobuf:"bytes,2,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
  277. ProxySettings *internet.ProxyConfig `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  278. MultiplexSettings *MultiplexingConfig `protobuf:"bytes,4,opt,name=multiplex_settings,json=multiplexSettings,proto3" json:"multiplex_settings,omitempty"`
  279. ViaCidr string `protobuf:"bytes,5,opt,name=via_cidr,json=viaCidr,proto3" json:"via_cidr,omitempty"`
  280. TargetStrategy internet.DomainStrategy `protobuf:"varint,6,opt,name=target_strategy,json=targetStrategy,proto3,enum=xray.transport.internet.DomainStrategy" json:"target_strategy,omitempty"`
  281. unknownFields protoimpl.UnknownFields
  282. sizeCache protoimpl.SizeCache
  283. }
  284. func (x *SenderConfig) Reset() {
  285. *x = SenderConfig{}
  286. mi := &file_app_proxyman_config_proto_msgTypes[5]
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. ms.StoreMessageInfo(mi)
  289. }
  290. func (x *SenderConfig) String() string {
  291. return protoimpl.X.MessageStringOf(x)
  292. }
  293. func (*SenderConfig) ProtoMessage() {}
  294. func (x *SenderConfig) ProtoReflect() protoreflect.Message {
  295. mi := &file_app_proxyman_config_proto_msgTypes[5]
  296. if x != nil {
  297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  298. if ms.LoadMessageInfo() == nil {
  299. ms.StoreMessageInfo(mi)
  300. }
  301. return ms
  302. }
  303. return mi.MessageOf(x)
  304. }
  305. // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead.
  306. func (*SenderConfig) Descriptor() ([]byte, []int) {
  307. return file_app_proxyman_config_proto_rawDescGZIP(), []int{5}
  308. }
  309. func (x *SenderConfig) GetVia() *net.IPOrDomain {
  310. if x != nil {
  311. return x.Via
  312. }
  313. return nil
  314. }
  315. func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig {
  316. if x != nil {
  317. return x.StreamSettings
  318. }
  319. return nil
  320. }
  321. func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig {
  322. if x != nil {
  323. return x.ProxySettings
  324. }
  325. return nil
  326. }
  327. func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig {
  328. if x != nil {
  329. return x.MultiplexSettings
  330. }
  331. return nil
  332. }
  333. func (x *SenderConfig) GetViaCidr() string {
  334. if x != nil {
  335. return x.ViaCidr
  336. }
  337. return ""
  338. }
  339. func (x *SenderConfig) GetTargetStrategy() internet.DomainStrategy {
  340. if x != nil {
  341. return x.TargetStrategy
  342. }
  343. return internet.DomainStrategy(0)
  344. }
  345. type MultiplexingConfig struct {
  346. state protoimpl.MessageState `protogen:"open.v1"`
  347. // Whether or not Mux is enabled.
  348. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  349. // Max number of concurrent connections that one Mux connection can handle.
  350. Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
  351. // Transport XUDP in another Mux.
  352. XudpConcurrency int32 `protobuf:"varint,3,opt,name=xudpConcurrency,proto3" json:"xudpConcurrency,omitempty"`
  353. // "reject" (default), "allow" or "skip".
  354. XudpProxyUDP443 string `protobuf:"bytes,4,opt,name=xudpProxyUDP443,proto3" json:"xudpProxyUDP443,omitempty"`
  355. unknownFields protoimpl.UnknownFields
  356. sizeCache protoimpl.SizeCache
  357. }
  358. func (x *MultiplexingConfig) Reset() {
  359. *x = MultiplexingConfig{}
  360. mi := &file_app_proxyman_config_proto_msgTypes[6]
  361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  362. ms.StoreMessageInfo(mi)
  363. }
  364. func (x *MultiplexingConfig) String() string {
  365. return protoimpl.X.MessageStringOf(x)
  366. }
  367. func (*MultiplexingConfig) ProtoMessage() {}
  368. func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message {
  369. mi := &file_app_proxyman_config_proto_msgTypes[6]
  370. if x != nil {
  371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  372. if ms.LoadMessageInfo() == nil {
  373. ms.StoreMessageInfo(mi)
  374. }
  375. return ms
  376. }
  377. return mi.MessageOf(x)
  378. }
  379. // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead.
  380. func (*MultiplexingConfig) Descriptor() ([]byte, []int) {
  381. return file_app_proxyman_config_proto_rawDescGZIP(), []int{6}
  382. }
  383. func (x *MultiplexingConfig) GetEnabled() bool {
  384. if x != nil {
  385. return x.Enabled
  386. }
  387. return false
  388. }
  389. func (x *MultiplexingConfig) GetConcurrency() int32 {
  390. if x != nil {
  391. return x.Concurrency
  392. }
  393. return 0
  394. }
  395. func (x *MultiplexingConfig) GetXudpConcurrency() int32 {
  396. if x != nil {
  397. return x.XudpConcurrency
  398. }
  399. return 0
  400. }
  401. func (x *MultiplexingConfig) GetXudpProxyUDP443() string {
  402. if x != nil {
  403. return x.XudpProxyUDP443
  404. }
  405. return ""
  406. }
  407. var File_app_proxyman_config_proto protoreflect.FileDescriptor
  408. const file_app_proxyman_config_proto_rawDesc = "" +
  409. "\n" +
  410. "\x19app/proxyman/config.proto\x12\x11xray.app.proxyman\x1a\x18common/net/address.proto\x1a\x15common/net/port.proto\x1a\x1ftransport/internet/config.proto\x1a!common/serial/typed_message.proto\"\x0f\n" +
  411. "\rInboundConfig\"\xcc\x01\n" +
  412. "\x0eSniffingConfig\x12\x18\n" +
  413. "\aenabled\x18\x01 \x01(\bR\aenabled\x121\n" +
  414. "\x14destination_override\x18\x02 \x03(\tR\x13destinationOverride\x12)\n" +
  415. "\x10domains_excluded\x18\x03 \x03(\tR\x0fdomainsExcluded\x12#\n" +
  416. "\rmetadata_only\x18\x04 \x01(\bR\fmetadataOnly\x12\x1d\n" +
  417. "\n" +
  418. "route_only\x18\x05 \x01(\bR\trouteOnly\"\xe5\x02\n" +
  419. "\x0eReceiverConfig\x126\n" +
  420. "\tport_list\x18\x01 \x01(\v2\x19.xray.common.net.PortListR\bportList\x123\n" +
  421. "\x06listen\x18\x02 \x01(\v2\x1b.xray.common.net.IPOrDomainR\x06listen\x12N\n" +
  422. "\x0fstream_settings\x18\x03 \x01(\v2%.xray.transport.internet.StreamConfigR\x0estreamSettings\x12@\n" +
  423. "\x1creceive_original_destination\x18\x04 \x01(\bR\x1areceiveOriginalDestination\x12N\n" +
  424. "\x11sniffing_settings\x18\x06 \x01(\v2!.xray.app.proxyman.SniffingConfigR\x10sniffingSettingsJ\x04\b\x05\x10\x06\"\xc0\x01\n" +
  425. "\x14InboundHandlerConfig\x12\x10\n" +
  426. "\x03tag\x18\x01 \x01(\tR\x03tag\x12M\n" +
  427. "\x11receiver_settings\x18\x02 \x01(\v2 .xray.common.serial.TypedMessageR\x10receiverSettings\x12G\n" +
  428. "\x0eproxy_settings\x18\x03 \x01(\v2 .xray.common.serial.TypedMessageR\rproxySettings\"\x10\n" +
  429. "\x0eOutboundConfig\"\x9d\x03\n" +
  430. "\fSenderConfig\x12-\n" +
  431. "\x03via\x18\x01 \x01(\v2\x1b.xray.common.net.IPOrDomainR\x03via\x12N\n" +
  432. "\x0fstream_settings\x18\x02 \x01(\v2%.xray.transport.internet.StreamConfigR\x0estreamSettings\x12K\n" +
  433. "\x0eproxy_settings\x18\x03 \x01(\v2$.xray.transport.internet.ProxyConfigR\rproxySettings\x12T\n" +
  434. "\x12multiplex_settings\x18\x04 \x01(\v2%.xray.app.proxyman.MultiplexingConfigR\x11multiplexSettings\x12\x19\n" +
  435. "\bvia_cidr\x18\x05 \x01(\tR\aviaCidr\x12P\n" +
  436. "\x0ftarget_strategy\x18\x06 \x01(\x0e2'.xray.transport.internet.DomainStrategyR\x0etargetStrategy\"\xa4\x01\n" +
  437. "\x12MultiplexingConfig\x12\x18\n" +
  438. "\aenabled\x18\x01 \x01(\bR\aenabled\x12 \n" +
  439. "\vconcurrency\x18\x02 \x01(\x05R\vconcurrency\x12(\n" +
  440. "\x0fxudpConcurrency\x18\x03 \x01(\x05R\x0fxudpConcurrency\x12(\n" +
  441. "\x0fxudpProxyUDP443\x18\x04 \x01(\tR\x0fxudpProxyUDP443BU\n" +
  442. "\x15com.xray.app.proxymanP\x01Z&github.com/xtls/xray-core/app/proxyman\xaa\x02\x11Xray.App.Proxymanb\x06proto3"
  443. var (
  444. file_app_proxyman_config_proto_rawDescOnce sync.Once
  445. file_app_proxyman_config_proto_rawDescData []byte
  446. )
  447. func file_app_proxyman_config_proto_rawDescGZIP() []byte {
  448. file_app_proxyman_config_proto_rawDescOnce.Do(func() {
  449. file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_proxyman_config_proto_rawDesc), len(file_app_proxyman_config_proto_rawDesc)))
  450. })
  451. return file_app_proxyman_config_proto_rawDescData
  452. }
  453. var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  454. var file_app_proxyman_config_proto_goTypes = []any{
  455. (*InboundConfig)(nil), // 0: xray.app.proxyman.InboundConfig
  456. (*SniffingConfig)(nil), // 1: xray.app.proxyman.SniffingConfig
  457. (*ReceiverConfig)(nil), // 2: xray.app.proxyman.ReceiverConfig
  458. (*InboundHandlerConfig)(nil), // 3: xray.app.proxyman.InboundHandlerConfig
  459. (*OutboundConfig)(nil), // 4: xray.app.proxyman.OutboundConfig
  460. (*SenderConfig)(nil), // 5: xray.app.proxyman.SenderConfig
  461. (*MultiplexingConfig)(nil), // 6: xray.app.proxyman.MultiplexingConfig
  462. (*net.PortList)(nil), // 7: xray.common.net.PortList
  463. (*net.IPOrDomain)(nil), // 8: xray.common.net.IPOrDomain
  464. (*internet.StreamConfig)(nil), // 9: xray.transport.internet.StreamConfig
  465. (*serial.TypedMessage)(nil), // 10: xray.common.serial.TypedMessage
  466. (*internet.ProxyConfig)(nil), // 11: xray.transport.internet.ProxyConfig
  467. (internet.DomainStrategy)(0), // 12: xray.transport.internet.DomainStrategy
  468. }
  469. var file_app_proxyman_config_proto_depIdxs = []int32{
  470. 7, // 0: xray.app.proxyman.ReceiverConfig.port_list:type_name -> xray.common.net.PortList
  471. 8, // 1: xray.app.proxyman.ReceiverConfig.listen:type_name -> xray.common.net.IPOrDomain
  472. 9, // 2: xray.app.proxyman.ReceiverConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
  473. 1, // 3: xray.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> xray.app.proxyman.SniffingConfig
  474. 10, // 4: xray.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage
  475. 10, // 5: xray.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage
  476. 8, // 6: xray.app.proxyman.SenderConfig.via:type_name -> xray.common.net.IPOrDomain
  477. 9, // 7: xray.app.proxyman.SenderConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
  478. 11, // 8: xray.app.proxyman.SenderConfig.proxy_settings:type_name -> xray.transport.internet.ProxyConfig
  479. 6, // 9: xray.app.proxyman.SenderConfig.multiplex_settings:type_name -> xray.app.proxyman.MultiplexingConfig
  480. 12, // 10: xray.app.proxyman.SenderConfig.target_strategy:type_name -> xray.transport.internet.DomainStrategy
  481. 11, // [11:11] is the sub-list for method output_type
  482. 11, // [11:11] is the sub-list for method input_type
  483. 11, // [11:11] is the sub-list for extension type_name
  484. 11, // [11:11] is the sub-list for extension extendee
  485. 0, // [0:11] is the sub-list for field type_name
  486. }
  487. func init() { file_app_proxyman_config_proto_init() }
  488. func file_app_proxyman_config_proto_init() {
  489. if File_app_proxyman_config_proto != nil {
  490. return
  491. }
  492. type x struct{}
  493. out := protoimpl.TypeBuilder{
  494. File: protoimpl.DescBuilder{
  495. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  496. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_proxyman_config_proto_rawDesc), len(file_app_proxyman_config_proto_rawDesc)),
  497. NumEnums: 0,
  498. NumMessages: 7,
  499. NumExtensions: 0,
  500. NumServices: 0,
  501. },
  502. GoTypes: file_app_proxyman_config_proto_goTypes,
  503. DependencyIndexes: file_app_proxyman_config_proto_depIdxs,
  504. MessageInfos: file_app_proxyman_config_proto_msgTypes,
  505. }.Build()
  506. File_app_proxyman_config_proto = out.File
  507. file_app_proxyman_config_proto_goTypes = nil
  508. file_app_proxyman_config_proto_depIdxs = nil
  509. }