config.pb.go 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127
  1. package proxyman
  2. import (
  3. net "github.com/v2fly/v2ray-core/v5/common/net"
  4. internet "github.com/v2fly/v2ray-core/v5/transport/internet"
  5. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  6. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  7. anypb "google.golang.org/protobuf/types/known/anypb"
  8. reflect "reflect"
  9. sync "sync"
  10. )
  11. const (
  12. // Verify that this generated code is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  14. // Verify that runtime/protoimpl is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  16. )
  17. type KnownProtocols int32
  18. const (
  19. KnownProtocols_HTTP KnownProtocols = 0
  20. KnownProtocols_TLS KnownProtocols = 1
  21. )
  22. // Enum value maps for KnownProtocols.
  23. var (
  24. KnownProtocols_name = map[int32]string{
  25. 0: "HTTP",
  26. 1: "TLS",
  27. }
  28. KnownProtocols_value = map[string]int32{
  29. "HTTP": 0,
  30. "TLS": 1,
  31. }
  32. )
  33. func (x KnownProtocols) Enum() *KnownProtocols {
  34. p := new(KnownProtocols)
  35. *p = x
  36. return p
  37. }
  38. func (x KnownProtocols) String() string {
  39. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  40. }
  41. func (KnownProtocols) Descriptor() protoreflect.EnumDescriptor {
  42. return file_app_proxyman_config_proto_enumTypes[0].Descriptor()
  43. }
  44. func (KnownProtocols) Type() protoreflect.EnumType {
  45. return &file_app_proxyman_config_proto_enumTypes[0]
  46. }
  47. func (x KnownProtocols) Number() protoreflect.EnumNumber {
  48. return protoreflect.EnumNumber(x)
  49. }
  50. // Deprecated: Use KnownProtocols.Descriptor instead.
  51. func (KnownProtocols) EnumDescriptor() ([]byte, []int) {
  52. return file_app_proxyman_config_proto_rawDescGZIP(), []int{0}
  53. }
  54. type AllocationStrategy_Type int32
  55. const (
  56. // Always allocate all connection handlers.
  57. AllocationStrategy_Always AllocationStrategy_Type = 0
  58. // Randomly allocate specific range of handlers.
  59. AllocationStrategy_Random AllocationStrategy_Type = 1
  60. // External. Not supported yet.
  61. AllocationStrategy_External AllocationStrategy_Type = 2
  62. )
  63. // Enum value maps for AllocationStrategy_Type.
  64. var (
  65. AllocationStrategy_Type_name = map[int32]string{
  66. 0: "Always",
  67. 1: "Random",
  68. 2: "External",
  69. }
  70. AllocationStrategy_Type_value = map[string]int32{
  71. "Always": 0,
  72. "Random": 1,
  73. "External": 2,
  74. }
  75. )
  76. func (x AllocationStrategy_Type) Enum() *AllocationStrategy_Type {
  77. p := new(AllocationStrategy_Type)
  78. *p = x
  79. return p
  80. }
  81. func (x AllocationStrategy_Type) String() string {
  82. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  83. }
  84. func (AllocationStrategy_Type) Descriptor() protoreflect.EnumDescriptor {
  85. return file_app_proxyman_config_proto_enumTypes[1].Descriptor()
  86. }
  87. func (AllocationStrategy_Type) Type() protoreflect.EnumType {
  88. return &file_app_proxyman_config_proto_enumTypes[1]
  89. }
  90. func (x AllocationStrategy_Type) Number() protoreflect.EnumNumber {
  91. return protoreflect.EnumNumber(x)
  92. }
  93. // Deprecated: Use AllocationStrategy_Type.Descriptor instead.
  94. func (AllocationStrategy_Type) EnumDescriptor() ([]byte, []int) {
  95. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
  96. }
  97. type SenderConfig_DomainStrategy int32
  98. const (
  99. SenderConfig_AS_IS SenderConfig_DomainStrategy = 0
  100. SenderConfig_USE_IP SenderConfig_DomainStrategy = 1
  101. SenderConfig_USE_IP4 SenderConfig_DomainStrategy = 2
  102. SenderConfig_USE_IP6 SenderConfig_DomainStrategy = 3
  103. )
  104. // Enum value maps for SenderConfig_DomainStrategy.
  105. var (
  106. SenderConfig_DomainStrategy_name = map[int32]string{
  107. 0: "AS_IS",
  108. 1: "USE_IP",
  109. 2: "USE_IP4",
  110. 3: "USE_IP6",
  111. }
  112. SenderConfig_DomainStrategy_value = map[string]int32{
  113. "AS_IS": 0,
  114. "USE_IP": 1,
  115. "USE_IP4": 2,
  116. "USE_IP6": 3,
  117. }
  118. )
  119. func (x SenderConfig_DomainStrategy) Enum() *SenderConfig_DomainStrategy {
  120. p := new(SenderConfig_DomainStrategy)
  121. *p = x
  122. return p
  123. }
  124. func (x SenderConfig_DomainStrategy) String() string {
  125. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  126. }
  127. func (SenderConfig_DomainStrategy) Descriptor() protoreflect.EnumDescriptor {
  128. return file_app_proxyman_config_proto_enumTypes[2].Descriptor()
  129. }
  130. func (SenderConfig_DomainStrategy) Type() protoreflect.EnumType {
  131. return &file_app_proxyman_config_proto_enumTypes[2]
  132. }
  133. func (x SenderConfig_DomainStrategy) Number() protoreflect.EnumNumber {
  134. return protoreflect.EnumNumber(x)
  135. }
  136. // Deprecated: Use SenderConfig_DomainStrategy.Descriptor instead.
  137. func (SenderConfig_DomainStrategy) EnumDescriptor() ([]byte, []int) {
  138. return file_app_proxyman_config_proto_rawDescGZIP(), []int{6, 0}
  139. }
  140. type InboundConfig struct {
  141. state protoimpl.MessageState
  142. sizeCache protoimpl.SizeCache
  143. unknownFields protoimpl.UnknownFields
  144. }
  145. func (x *InboundConfig) Reset() {
  146. *x = InboundConfig{}
  147. if protoimpl.UnsafeEnabled {
  148. mi := &file_app_proxyman_config_proto_msgTypes[0]
  149. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  150. ms.StoreMessageInfo(mi)
  151. }
  152. }
  153. func (x *InboundConfig) String() string {
  154. return protoimpl.X.MessageStringOf(x)
  155. }
  156. func (*InboundConfig) ProtoMessage() {}
  157. func (x *InboundConfig) ProtoReflect() protoreflect.Message {
  158. mi := &file_app_proxyman_config_proto_msgTypes[0]
  159. if protoimpl.UnsafeEnabled && x != nil {
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. if ms.LoadMessageInfo() == nil {
  162. ms.StoreMessageInfo(mi)
  163. }
  164. return ms
  165. }
  166. return mi.MessageOf(x)
  167. }
  168. // Deprecated: Use InboundConfig.ProtoReflect.Descriptor instead.
  169. func (*InboundConfig) Descriptor() ([]byte, []int) {
  170. return file_app_proxyman_config_proto_rawDescGZIP(), []int{0}
  171. }
  172. type AllocationStrategy struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. Type AllocationStrategy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.proxyman.AllocationStrategy_Type" json:"type,omitempty"`
  177. // Number of handlers (ports) running in parallel.
  178. // Default value is 3 if unset.
  179. Concurrency *AllocationStrategy_AllocationStrategyConcurrency `protobuf:"bytes,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
  180. // Number of minutes before a handler is regenerated.
  181. // Default value is 5 if unset.
  182. Refresh *AllocationStrategy_AllocationStrategyRefresh `protobuf:"bytes,3,opt,name=refresh,proto3" json:"refresh,omitempty"`
  183. }
  184. func (x *AllocationStrategy) Reset() {
  185. *x = AllocationStrategy{}
  186. if protoimpl.UnsafeEnabled {
  187. mi := &file_app_proxyman_config_proto_msgTypes[1]
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. ms.StoreMessageInfo(mi)
  190. }
  191. }
  192. func (x *AllocationStrategy) String() string {
  193. return protoimpl.X.MessageStringOf(x)
  194. }
  195. func (*AllocationStrategy) ProtoMessage() {}
  196. func (x *AllocationStrategy) ProtoReflect() protoreflect.Message {
  197. mi := &file_app_proxyman_config_proto_msgTypes[1]
  198. if protoimpl.UnsafeEnabled && x != nil {
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. if ms.LoadMessageInfo() == nil {
  201. ms.StoreMessageInfo(mi)
  202. }
  203. return ms
  204. }
  205. return mi.MessageOf(x)
  206. }
  207. // Deprecated: Use AllocationStrategy.ProtoReflect.Descriptor instead.
  208. func (*AllocationStrategy) Descriptor() ([]byte, []int) {
  209. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1}
  210. }
  211. func (x *AllocationStrategy) GetType() AllocationStrategy_Type {
  212. if x != nil {
  213. return x.Type
  214. }
  215. return AllocationStrategy_Always
  216. }
  217. func (x *AllocationStrategy) GetConcurrency() *AllocationStrategy_AllocationStrategyConcurrency {
  218. if x != nil {
  219. return x.Concurrency
  220. }
  221. return nil
  222. }
  223. func (x *AllocationStrategy) GetRefresh() *AllocationStrategy_AllocationStrategyRefresh {
  224. if x != nil {
  225. return x.Refresh
  226. }
  227. return nil
  228. }
  229. type SniffingConfig struct {
  230. state protoimpl.MessageState
  231. sizeCache protoimpl.SizeCache
  232. unknownFields protoimpl.UnknownFields
  233. // Whether or not to enable content sniffing on an inbound connection.
  234. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  235. // Override target destination if sniff'ed protocol is in the given list.
  236. // Supported values are "http", "tls", "fakedns".
  237. DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
  238. // Whether should only try to sniff metadata without waiting for client input.
  239. // Can be used to support SMTP like protocol where server send the first message.
  240. MetadataOnly bool `protobuf:"varint,3,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"`
  241. }
  242. func (x *SniffingConfig) Reset() {
  243. *x = SniffingConfig{}
  244. if protoimpl.UnsafeEnabled {
  245. mi := &file_app_proxyman_config_proto_msgTypes[2]
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. ms.StoreMessageInfo(mi)
  248. }
  249. }
  250. func (x *SniffingConfig) String() string {
  251. return protoimpl.X.MessageStringOf(x)
  252. }
  253. func (*SniffingConfig) ProtoMessage() {}
  254. func (x *SniffingConfig) ProtoReflect() protoreflect.Message {
  255. mi := &file_app_proxyman_config_proto_msgTypes[2]
  256. if protoimpl.UnsafeEnabled && x != nil {
  257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  258. if ms.LoadMessageInfo() == nil {
  259. ms.StoreMessageInfo(mi)
  260. }
  261. return ms
  262. }
  263. return mi.MessageOf(x)
  264. }
  265. // Deprecated: Use SniffingConfig.ProtoReflect.Descriptor instead.
  266. func (*SniffingConfig) Descriptor() ([]byte, []int) {
  267. return file_app_proxyman_config_proto_rawDescGZIP(), []int{2}
  268. }
  269. func (x *SniffingConfig) GetEnabled() bool {
  270. if x != nil {
  271. return x.Enabled
  272. }
  273. return false
  274. }
  275. func (x *SniffingConfig) GetDestinationOverride() []string {
  276. if x != nil {
  277. return x.DestinationOverride
  278. }
  279. return nil
  280. }
  281. func (x *SniffingConfig) GetMetadataOnly() bool {
  282. if x != nil {
  283. return x.MetadataOnly
  284. }
  285. return false
  286. }
  287. type ReceiverConfig struct {
  288. state protoimpl.MessageState
  289. sizeCache protoimpl.SizeCache
  290. unknownFields protoimpl.UnknownFields
  291. // PortRange specifies the ports which the Receiver should listen on.
  292. PortRange *net.PortRange `protobuf:"bytes,1,opt,name=port_range,json=portRange,proto3" json:"port_range,omitempty"`
  293. // Listen specifies the IP address that the Receiver should listen on.
  294. Listen *net.IPOrDomain `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"`
  295. AllocationStrategy *AllocationStrategy `protobuf:"bytes,3,opt,name=allocation_strategy,json=allocationStrategy,proto3" json:"allocation_strategy,omitempty"`
  296. StreamSettings *internet.StreamConfig `protobuf:"bytes,4,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
  297. ReceiveOriginalDestination bool `protobuf:"varint,5,opt,name=receive_original_destination,json=receiveOriginalDestination,proto3" json:"receive_original_destination,omitempty"`
  298. // Override domains for the given protocol.
  299. // Deprecated. Use sniffing_settings.
  300. //
  301. // Deprecated: Marked as deprecated in app/proxyman/config.proto.
  302. DomainOverride []KnownProtocols `protobuf:"varint,7,rep,packed,name=domain_override,json=domainOverride,proto3,enum=v2ray.core.app.proxyman.KnownProtocols" json:"domain_override,omitempty"`
  303. SniffingSettings *SniffingConfig `protobuf:"bytes,8,opt,name=sniffing_settings,json=sniffingSettings,proto3" json:"sniffing_settings,omitempty"`
  304. }
  305. func (x *ReceiverConfig) Reset() {
  306. *x = ReceiverConfig{}
  307. if protoimpl.UnsafeEnabled {
  308. mi := &file_app_proxyman_config_proto_msgTypes[3]
  309. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  310. ms.StoreMessageInfo(mi)
  311. }
  312. }
  313. func (x *ReceiverConfig) String() string {
  314. return protoimpl.X.MessageStringOf(x)
  315. }
  316. func (*ReceiverConfig) ProtoMessage() {}
  317. func (x *ReceiverConfig) ProtoReflect() protoreflect.Message {
  318. mi := &file_app_proxyman_config_proto_msgTypes[3]
  319. if protoimpl.UnsafeEnabled && x != nil {
  320. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  321. if ms.LoadMessageInfo() == nil {
  322. ms.StoreMessageInfo(mi)
  323. }
  324. return ms
  325. }
  326. return mi.MessageOf(x)
  327. }
  328. // Deprecated: Use ReceiverConfig.ProtoReflect.Descriptor instead.
  329. func (*ReceiverConfig) Descriptor() ([]byte, []int) {
  330. return file_app_proxyman_config_proto_rawDescGZIP(), []int{3}
  331. }
  332. func (x *ReceiverConfig) GetPortRange() *net.PortRange {
  333. if x != nil {
  334. return x.PortRange
  335. }
  336. return nil
  337. }
  338. func (x *ReceiverConfig) GetListen() *net.IPOrDomain {
  339. if x != nil {
  340. return x.Listen
  341. }
  342. return nil
  343. }
  344. func (x *ReceiverConfig) GetAllocationStrategy() *AllocationStrategy {
  345. if x != nil {
  346. return x.AllocationStrategy
  347. }
  348. return nil
  349. }
  350. func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig {
  351. if x != nil {
  352. return x.StreamSettings
  353. }
  354. return nil
  355. }
  356. func (x *ReceiverConfig) GetReceiveOriginalDestination() bool {
  357. if x != nil {
  358. return x.ReceiveOriginalDestination
  359. }
  360. return false
  361. }
  362. // Deprecated: Marked as deprecated in app/proxyman/config.proto.
  363. func (x *ReceiverConfig) GetDomainOverride() []KnownProtocols {
  364. if x != nil {
  365. return x.DomainOverride
  366. }
  367. return nil
  368. }
  369. func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig {
  370. if x != nil {
  371. return x.SniffingSettings
  372. }
  373. return nil
  374. }
  375. type InboundHandlerConfig struct {
  376. state protoimpl.MessageState
  377. sizeCache protoimpl.SizeCache
  378. unknownFields protoimpl.UnknownFields
  379. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  380. ReceiverSettings *anypb.Any `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"`
  381. ProxySettings *anypb.Any `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  382. }
  383. func (x *InboundHandlerConfig) Reset() {
  384. *x = InboundHandlerConfig{}
  385. if protoimpl.UnsafeEnabled {
  386. mi := &file_app_proxyman_config_proto_msgTypes[4]
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. ms.StoreMessageInfo(mi)
  389. }
  390. }
  391. func (x *InboundHandlerConfig) String() string {
  392. return protoimpl.X.MessageStringOf(x)
  393. }
  394. func (*InboundHandlerConfig) ProtoMessage() {}
  395. func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message {
  396. mi := &file_app_proxyman_config_proto_msgTypes[4]
  397. if protoimpl.UnsafeEnabled && x != nil {
  398. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  399. if ms.LoadMessageInfo() == nil {
  400. ms.StoreMessageInfo(mi)
  401. }
  402. return ms
  403. }
  404. return mi.MessageOf(x)
  405. }
  406. // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
  407. func (*InboundHandlerConfig) Descriptor() ([]byte, []int) {
  408. return file_app_proxyman_config_proto_rawDescGZIP(), []int{4}
  409. }
  410. func (x *InboundHandlerConfig) GetTag() string {
  411. if x != nil {
  412. return x.Tag
  413. }
  414. return ""
  415. }
  416. func (x *InboundHandlerConfig) GetReceiverSettings() *anypb.Any {
  417. if x != nil {
  418. return x.ReceiverSettings
  419. }
  420. return nil
  421. }
  422. func (x *InboundHandlerConfig) GetProxySettings() *anypb.Any {
  423. if x != nil {
  424. return x.ProxySettings
  425. }
  426. return nil
  427. }
  428. type OutboundConfig struct {
  429. state protoimpl.MessageState
  430. sizeCache protoimpl.SizeCache
  431. unknownFields protoimpl.UnknownFields
  432. }
  433. func (x *OutboundConfig) Reset() {
  434. *x = OutboundConfig{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_app_proxyman_config_proto_msgTypes[5]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *OutboundConfig) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*OutboundConfig) ProtoMessage() {}
  445. func (x *OutboundConfig) ProtoReflect() protoreflect.Message {
  446. mi := &file_app_proxyman_config_proto_msgTypes[5]
  447. if protoimpl.UnsafeEnabled && x != nil {
  448. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  449. if ms.LoadMessageInfo() == nil {
  450. ms.StoreMessageInfo(mi)
  451. }
  452. return ms
  453. }
  454. return mi.MessageOf(x)
  455. }
  456. // Deprecated: Use OutboundConfig.ProtoReflect.Descriptor instead.
  457. func (*OutboundConfig) Descriptor() ([]byte, []int) {
  458. return file_app_proxyman_config_proto_rawDescGZIP(), []int{5}
  459. }
  460. type SenderConfig struct {
  461. state protoimpl.MessageState
  462. sizeCache protoimpl.SizeCache
  463. unknownFields protoimpl.UnknownFields
  464. // Send traffic through the given IP. Only IP is allowed.
  465. Via *net.IPOrDomain `protobuf:"bytes,1,opt,name=via,proto3" json:"via,omitempty"`
  466. StreamSettings *internet.StreamConfig `protobuf:"bytes,2,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
  467. ProxySettings *internet.ProxyConfig `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
  468. MultiplexSettings *MultiplexingConfig `protobuf:"bytes,4,opt,name=multiplex_settings,json=multiplexSettings,proto3" json:"multiplex_settings,omitempty"`
  469. DomainStrategy SenderConfig_DomainStrategy `protobuf:"varint,5,opt,name=domain_strategy,json=domainStrategy,proto3,enum=v2ray.core.app.proxyman.SenderConfig_DomainStrategy" json:"domain_strategy,omitempty"`
  470. }
  471. func (x *SenderConfig) Reset() {
  472. *x = SenderConfig{}
  473. if protoimpl.UnsafeEnabled {
  474. mi := &file_app_proxyman_config_proto_msgTypes[6]
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. ms.StoreMessageInfo(mi)
  477. }
  478. }
  479. func (x *SenderConfig) String() string {
  480. return protoimpl.X.MessageStringOf(x)
  481. }
  482. func (*SenderConfig) ProtoMessage() {}
  483. func (x *SenderConfig) ProtoReflect() protoreflect.Message {
  484. mi := &file_app_proxyman_config_proto_msgTypes[6]
  485. if protoimpl.UnsafeEnabled && x != nil {
  486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  487. if ms.LoadMessageInfo() == nil {
  488. ms.StoreMessageInfo(mi)
  489. }
  490. return ms
  491. }
  492. return mi.MessageOf(x)
  493. }
  494. // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead.
  495. func (*SenderConfig) Descriptor() ([]byte, []int) {
  496. return file_app_proxyman_config_proto_rawDescGZIP(), []int{6}
  497. }
  498. func (x *SenderConfig) GetVia() *net.IPOrDomain {
  499. if x != nil {
  500. return x.Via
  501. }
  502. return nil
  503. }
  504. func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig {
  505. if x != nil {
  506. return x.StreamSettings
  507. }
  508. return nil
  509. }
  510. func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig {
  511. if x != nil {
  512. return x.ProxySettings
  513. }
  514. return nil
  515. }
  516. func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig {
  517. if x != nil {
  518. return x.MultiplexSettings
  519. }
  520. return nil
  521. }
  522. func (x *SenderConfig) GetDomainStrategy() SenderConfig_DomainStrategy {
  523. if x != nil {
  524. return x.DomainStrategy
  525. }
  526. return SenderConfig_AS_IS
  527. }
  528. type MultiplexingConfig struct {
  529. state protoimpl.MessageState
  530. sizeCache protoimpl.SizeCache
  531. unknownFields protoimpl.UnknownFields
  532. // Whether or not Mux is enabled.
  533. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  534. // Max number of concurrent connections that one Mux connection can handle.
  535. Concurrency uint32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
  536. }
  537. func (x *MultiplexingConfig) Reset() {
  538. *x = MultiplexingConfig{}
  539. if protoimpl.UnsafeEnabled {
  540. mi := &file_app_proxyman_config_proto_msgTypes[7]
  541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  542. ms.StoreMessageInfo(mi)
  543. }
  544. }
  545. func (x *MultiplexingConfig) String() string {
  546. return protoimpl.X.MessageStringOf(x)
  547. }
  548. func (*MultiplexingConfig) ProtoMessage() {}
  549. func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message {
  550. mi := &file_app_proxyman_config_proto_msgTypes[7]
  551. if protoimpl.UnsafeEnabled && x != nil {
  552. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  553. if ms.LoadMessageInfo() == nil {
  554. ms.StoreMessageInfo(mi)
  555. }
  556. return ms
  557. }
  558. return mi.MessageOf(x)
  559. }
  560. // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead.
  561. func (*MultiplexingConfig) Descriptor() ([]byte, []int) {
  562. return file_app_proxyman_config_proto_rawDescGZIP(), []int{7}
  563. }
  564. func (x *MultiplexingConfig) GetEnabled() bool {
  565. if x != nil {
  566. return x.Enabled
  567. }
  568. return false
  569. }
  570. func (x *MultiplexingConfig) GetConcurrency() uint32 {
  571. if x != nil {
  572. return x.Concurrency
  573. }
  574. return 0
  575. }
  576. type AllocationStrategy_AllocationStrategyConcurrency struct {
  577. state protoimpl.MessageState
  578. sizeCache protoimpl.SizeCache
  579. unknownFields protoimpl.UnknownFields
  580. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  581. }
  582. func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() {
  583. *x = AllocationStrategy_AllocationStrategyConcurrency{}
  584. if protoimpl.UnsafeEnabled {
  585. mi := &file_app_proxyman_config_proto_msgTypes[8]
  586. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  587. ms.StoreMessageInfo(mi)
  588. }
  589. }
  590. func (x *AllocationStrategy_AllocationStrategyConcurrency) String() string {
  591. return protoimpl.X.MessageStringOf(x)
  592. }
  593. func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {}
  594. func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflect() protoreflect.Message {
  595. mi := &file_app_proxyman_config_proto_msgTypes[8]
  596. if protoimpl.UnsafeEnabled && x != nil {
  597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  598. if ms.LoadMessageInfo() == nil {
  599. ms.StoreMessageInfo(mi)
  600. }
  601. return ms
  602. }
  603. return mi.MessageOf(x)
  604. }
  605. // Deprecated: Use AllocationStrategy_AllocationStrategyConcurrency.ProtoReflect.Descriptor instead.
  606. func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) {
  607. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
  608. }
  609. func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() uint32 {
  610. if x != nil {
  611. return x.Value
  612. }
  613. return 0
  614. }
  615. type AllocationStrategy_AllocationStrategyRefresh struct {
  616. state protoimpl.MessageState
  617. sizeCache protoimpl.SizeCache
  618. unknownFields protoimpl.UnknownFields
  619. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  620. }
  621. func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() {
  622. *x = AllocationStrategy_AllocationStrategyRefresh{}
  623. if protoimpl.UnsafeEnabled {
  624. mi := &file_app_proxyman_config_proto_msgTypes[9]
  625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  626. ms.StoreMessageInfo(mi)
  627. }
  628. }
  629. func (x *AllocationStrategy_AllocationStrategyRefresh) String() string {
  630. return protoimpl.X.MessageStringOf(x)
  631. }
  632. func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {}
  633. func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() protoreflect.Message {
  634. mi := &file_app_proxyman_config_proto_msgTypes[9]
  635. if protoimpl.UnsafeEnabled && x != nil {
  636. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  637. if ms.LoadMessageInfo() == nil {
  638. ms.StoreMessageInfo(mi)
  639. }
  640. return ms
  641. }
  642. return mi.MessageOf(x)
  643. }
  644. // Deprecated: Use AllocationStrategy_AllocationStrategyRefresh.ProtoReflect.Descriptor instead.
  645. func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) {
  646. return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 1}
  647. }
  648. func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 {
  649. if x != nil {
  650. return x.Value
  651. }
  652. return 0
  653. }
  654. var File_app_proxyman_config_proto protoreflect.FileDescriptor
  655. var file_app_proxyman_config_proto_rawDesc = []byte{
  656. 0x0a, 0x19, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2f, 0x63,
  657. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x76, 0x32, 0x72,
  658. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78,
  659. 0x79, 0x6d, 0x61, 0x6e, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74,
  660. 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15,
  661. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  662. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
  663. 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  664. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  665. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  666. 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66,
  667. 0x69, 0x67, 0x22, 0xc0, 0x03, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  668. 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70,
  669. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  670. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61,
  671. 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61,
  672. 0x74, 0x65, 0x67, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
  673. 0x6b, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02,
  674. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  675. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41,
  676. 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  677. 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61,
  678. 0x74, 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52,
  679. 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x5f, 0x0a, 0x07,
  680. 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e,
  681. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
  682. 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  683. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
  684. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66,
  685. 0x72, 0x65, 0x73, 0x68, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x1a, 0x35, 0x0a,
  686. 0x1d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74,
  687. 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x14,
  688. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
  689. 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x31, 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  690. 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
  691. 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  692. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
  693. 0x0a, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52,
  694. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x72,
  695. 0x6e, 0x61, 0x6c, 0x10, 0x02, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x53, 0x6e, 0x69, 0x66, 0x66, 0x69,
  696. 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62,
  697. 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
  698. 0x65, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  699. 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
  700. 0x52, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65,
  701. 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
  702. 0x61, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x65,
  703. 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xb4, 0x04, 0x0a, 0x0e, 0x52,
  704. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3f, 0x0a,
  705. 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  706. 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63,
  707. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x61,
  708. 0x6e, 0x67, 0x65, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x39,
  709. 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
  710. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  711. 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69,
  712. 0x6e, 0x52, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x12, 0x5c, 0x0a, 0x13, 0x61, 0x6c, 0x6c,
  713. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  714. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  715. 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e,
  716. 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74,
  717. 0x65, 0x67, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
  718. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x54, 0x0a, 0x0f, 0x73, 0x74, 0x72, 0x65, 0x61,
  719. 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
  720. 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
  721. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  722. 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73,
  723. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a,
  724. 0x1c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
  725. 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,
  726. 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67,
  727. 0x69, 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  728. 0x54, 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
  729. 0x64, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  730. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d,
  731. 0x61, 0x6e, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
  732. 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x76, 0x65,
  733. 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x73, 0x6e, 0x69, 0x66, 0x66, 0x69, 0x6e,
  734. 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
  735. 0x32, 0x27, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  736. 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x6e, 0x69, 0x66, 0x66,
  737. 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x6e, 0x69, 0x66, 0x66,
  738. 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x04, 0x08, 0x06, 0x10,
  739. 0x07, 0x22, 0xa8, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e,
  740. 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
  741. 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x41, 0x0a, 0x11,
  742. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
  743. 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  744. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x10, 0x72,
  745. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12,
  746. 0x3b, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
  747. 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  748. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0d, 0x70,
  749. 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e,
  750. 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xea,
  751. 0x03, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
  752. 0x33, 0x0a, 0x03, 0x76, 0x69, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76,
  753. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  754. 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52,
  755. 0x03, 0x76, 0x69, 0x61, 0x12, 0x54, 0x0a, 0x0f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73,
  756. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
  757. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  758. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74,
  759. 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x65,
  760. 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x70, 0x72,
  761. 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01,
  762. 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  763. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  764. 0x65, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d,
  765. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5a, 0x0a,
  766. 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
  767. 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61,
  768. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79,
  769. 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67,
  770. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65,
  771. 0x78, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x5d, 0x0a, 0x0f, 0x64, 0x6f, 0x6d,
  772. 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01,
  773. 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  774. 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x65, 0x6e,
  775. 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  776. 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  777. 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0x41, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61,
  778. 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x53,
  779. 0x5f, 0x49, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x10,
  780. 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x02, 0x12, 0x0b,
  781. 0x0a, 0x07, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x10, 0x03, 0x22, 0x50, 0x0a, 0x12, 0x4d,
  782. 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  783. 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
  784. 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63,
  785. 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
  786. 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x2a, 0x23, 0x0a,
  787. 0x0e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12,
  788. 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x4c, 0x53,
  789. 0x10, 0x01, 0x42, 0x66, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  790. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61,
  791. 0x6e, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  792. 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65,
  793. 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e,
  794. 0xaa, 0x02, 0x17, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70,
  795. 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  796. 0x6f, 0x33,
  797. }
  798. var (
  799. file_app_proxyman_config_proto_rawDescOnce sync.Once
  800. file_app_proxyman_config_proto_rawDescData = file_app_proxyman_config_proto_rawDesc
  801. )
  802. func file_app_proxyman_config_proto_rawDescGZIP() []byte {
  803. file_app_proxyman_config_proto_rawDescOnce.Do(func() {
  804. file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_proxyman_config_proto_rawDescData)
  805. })
  806. return file_app_proxyman_config_proto_rawDescData
  807. }
  808. var file_app_proxyman_config_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  809. var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  810. var file_app_proxyman_config_proto_goTypes = []interface{}{
  811. (KnownProtocols)(0), // 0: v2ray.core.app.proxyman.KnownProtocols
  812. (AllocationStrategy_Type)(0), // 1: v2ray.core.app.proxyman.AllocationStrategy.Type
  813. (SenderConfig_DomainStrategy)(0), // 2: v2ray.core.app.proxyman.SenderConfig.DomainStrategy
  814. (*InboundConfig)(nil), // 3: v2ray.core.app.proxyman.InboundConfig
  815. (*AllocationStrategy)(nil), // 4: v2ray.core.app.proxyman.AllocationStrategy
  816. (*SniffingConfig)(nil), // 5: v2ray.core.app.proxyman.SniffingConfig
  817. (*ReceiverConfig)(nil), // 6: v2ray.core.app.proxyman.ReceiverConfig
  818. (*InboundHandlerConfig)(nil), // 7: v2ray.core.app.proxyman.InboundHandlerConfig
  819. (*OutboundConfig)(nil), // 8: v2ray.core.app.proxyman.OutboundConfig
  820. (*SenderConfig)(nil), // 9: v2ray.core.app.proxyman.SenderConfig
  821. (*MultiplexingConfig)(nil), // 10: v2ray.core.app.proxyman.MultiplexingConfig
  822. (*AllocationStrategy_AllocationStrategyConcurrency)(nil), // 11: v2ray.core.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
  823. (*AllocationStrategy_AllocationStrategyRefresh)(nil), // 12: v2ray.core.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
  824. (*net.PortRange)(nil), // 13: v2ray.core.common.net.PortRange
  825. (*net.IPOrDomain)(nil), // 14: v2ray.core.common.net.IPOrDomain
  826. (*internet.StreamConfig)(nil), // 15: v2ray.core.transport.internet.StreamConfig
  827. (*anypb.Any)(nil), // 16: google.protobuf.Any
  828. (*internet.ProxyConfig)(nil), // 17: v2ray.core.transport.internet.ProxyConfig
  829. }
  830. var file_app_proxyman_config_proto_depIdxs = []int32{
  831. 1, // 0: v2ray.core.app.proxyman.AllocationStrategy.type:type_name -> v2ray.core.app.proxyman.AllocationStrategy.Type
  832. 11, // 1: v2ray.core.app.proxyman.AllocationStrategy.concurrency:type_name -> v2ray.core.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
  833. 12, // 2: v2ray.core.app.proxyman.AllocationStrategy.refresh:type_name -> v2ray.core.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
  834. 13, // 3: v2ray.core.app.proxyman.ReceiverConfig.port_range:type_name -> v2ray.core.common.net.PortRange
  835. 14, // 4: v2ray.core.app.proxyman.ReceiverConfig.listen:type_name -> v2ray.core.common.net.IPOrDomain
  836. 4, // 5: v2ray.core.app.proxyman.ReceiverConfig.allocation_strategy:type_name -> v2ray.core.app.proxyman.AllocationStrategy
  837. 15, // 6: v2ray.core.app.proxyman.ReceiverConfig.stream_settings:type_name -> v2ray.core.transport.internet.StreamConfig
  838. 0, // 7: v2ray.core.app.proxyman.ReceiverConfig.domain_override:type_name -> v2ray.core.app.proxyman.KnownProtocols
  839. 5, // 8: v2ray.core.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> v2ray.core.app.proxyman.SniffingConfig
  840. 16, // 9: v2ray.core.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> google.protobuf.Any
  841. 16, // 10: v2ray.core.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> google.protobuf.Any
  842. 14, // 11: v2ray.core.app.proxyman.SenderConfig.via:type_name -> v2ray.core.common.net.IPOrDomain
  843. 15, // 12: v2ray.core.app.proxyman.SenderConfig.stream_settings:type_name -> v2ray.core.transport.internet.StreamConfig
  844. 17, // 13: v2ray.core.app.proxyman.SenderConfig.proxy_settings:type_name -> v2ray.core.transport.internet.ProxyConfig
  845. 10, // 14: v2ray.core.app.proxyman.SenderConfig.multiplex_settings:type_name -> v2ray.core.app.proxyman.MultiplexingConfig
  846. 2, // 15: v2ray.core.app.proxyman.SenderConfig.domain_strategy:type_name -> v2ray.core.app.proxyman.SenderConfig.DomainStrategy
  847. 16, // [16:16] is the sub-list for method output_type
  848. 16, // [16:16] is the sub-list for method input_type
  849. 16, // [16:16] is the sub-list for extension type_name
  850. 16, // [16:16] is the sub-list for extension extendee
  851. 0, // [0:16] is the sub-list for field type_name
  852. }
  853. func init() { file_app_proxyman_config_proto_init() }
  854. func file_app_proxyman_config_proto_init() {
  855. if File_app_proxyman_config_proto != nil {
  856. return
  857. }
  858. if !protoimpl.UnsafeEnabled {
  859. file_app_proxyman_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  860. switch v := v.(*InboundConfig); i {
  861. case 0:
  862. return &v.state
  863. case 1:
  864. return &v.sizeCache
  865. case 2:
  866. return &v.unknownFields
  867. default:
  868. return nil
  869. }
  870. }
  871. file_app_proxyman_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  872. switch v := v.(*AllocationStrategy); i {
  873. case 0:
  874. return &v.state
  875. case 1:
  876. return &v.sizeCache
  877. case 2:
  878. return &v.unknownFields
  879. default:
  880. return nil
  881. }
  882. }
  883. file_app_proxyman_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  884. switch v := v.(*SniffingConfig); i {
  885. case 0:
  886. return &v.state
  887. case 1:
  888. return &v.sizeCache
  889. case 2:
  890. return &v.unknownFields
  891. default:
  892. return nil
  893. }
  894. }
  895. file_app_proxyman_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  896. switch v := v.(*ReceiverConfig); i {
  897. case 0:
  898. return &v.state
  899. case 1:
  900. return &v.sizeCache
  901. case 2:
  902. return &v.unknownFields
  903. default:
  904. return nil
  905. }
  906. }
  907. file_app_proxyman_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  908. switch v := v.(*InboundHandlerConfig); i {
  909. case 0:
  910. return &v.state
  911. case 1:
  912. return &v.sizeCache
  913. case 2:
  914. return &v.unknownFields
  915. default:
  916. return nil
  917. }
  918. }
  919. file_app_proxyman_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  920. switch v := v.(*OutboundConfig); i {
  921. case 0:
  922. return &v.state
  923. case 1:
  924. return &v.sizeCache
  925. case 2:
  926. return &v.unknownFields
  927. default:
  928. return nil
  929. }
  930. }
  931. file_app_proxyman_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  932. switch v := v.(*SenderConfig); i {
  933. case 0:
  934. return &v.state
  935. case 1:
  936. return &v.sizeCache
  937. case 2:
  938. return &v.unknownFields
  939. default:
  940. return nil
  941. }
  942. }
  943. file_app_proxyman_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  944. switch v := v.(*MultiplexingConfig); i {
  945. case 0:
  946. return &v.state
  947. case 1:
  948. return &v.sizeCache
  949. case 2:
  950. return &v.unknownFields
  951. default:
  952. return nil
  953. }
  954. }
  955. file_app_proxyman_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  956. switch v := v.(*AllocationStrategy_AllocationStrategyConcurrency); i {
  957. case 0:
  958. return &v.state
  959. case 1:
  960. return &v.sizeCache
  961. case 2:
  962. return &v.unknownFields
  963. default:
  964. return nil
  965. }
  966. }
  967. file_app_proxyman_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  968. switch v := v.(*AllocationStrategy_AllocationStrategyRefresh); i {
  969. case 0:
  970. return &v.state
  971. case 1:
  972. return &v.sizeCache
  973. case 2:
  974. return &v.unknownFields
  975. default:
  976. return nil
  977. }
  978. }
  979. }
  980. type x struct{}
  981. out := protoimpl.TypeBuilder{
  982. File: protoimpl.DescBuilder{
  983. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  984. RawDescriptor: file_app_proxyman_config_proto_rawDesc,
  985. NumEnums: 3,
  986. NumMessages: 10,
  987. NumExtensions: 0,
  988. NumServices: 0,
  989. },
  990. GoTypes: file_app_proxyman_config_proto_goTypes,
  991. DependencyIndexes: file_app_proxyman_config_proto_depIdxs,
  992. EnumInfos: file_app_proxyman_config_proto_enumTypes,
  993. MessageInfos: file_app_proxyman_config_proto_msgTypes,
  994. }.Build()
  995. File_app_proxyman_config_proto = out.File
  996. file_app_proxyman_config_proto_rawDesc = nil
  997. file_app_proxyman_config_proto_goTypes = nil
  998. file_app_proxyman_config_proto_depIdxs = nil
  999. }