config.pb.go 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229
  1. package router
  2. import (
  3. proto "github.com/golang/protobuf/proto"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  8. net "v2ray.com/core/common/net"
  9. )
  10. const (
  11. // Verify that this generated code is sufficiently up-to-date.
  12. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  13. // Verify that runtime/protoimpl is sufficiently up-to-date.
  14. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  15. )
  16. // This is a compile-time assertion that a sufficiently up-to-date version
  17. // of the legacy proto package is being used.
  18. const _ = proto.ProtoPackageIsVersion4
  19. // Type of domain value.
  20. type Domain_Type int32
  21. const (
  22. // The value is used as is.
  23. Domain_Plain Domain_Type = 0
  24. // The value is used as a regular expression.
  25. Domain_Regex Domain_Type = 1
  26. // The value is a root domain.
  27. Domain_Domain Domain_Type = 2
  28. // The value is a domain.
  29. Domain_Full Domain_Type = 3
  30. )
  31. // Enum value maps for Domain_Type.
  32. var (
  33. Domain_Type_name = map[int32]string{
  34. 0: "Plain",
  35. 1: "Regex",
  36. 2: "Domain",
  37. 3: "Full",
  38. }
  39. Domain_Type_value = map[string]int32{
  40. "Plain": 0,
  41. "Regex": 1,
  42. "Domain": 2,
  43. "Full": 3,
  44. }
  45. )
  46. func (x Domain_Type) Enum() *Domain_Type {
  47. p := new(Domain_Type)
  48. *p = x
  49. return p
  50. }
  51. func (x Domain_Type) String() string {
  52. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  53. }
  54. func (Domain_Type) Descriptor() protoreflect.EnumDescriptor {
  55. return file_v2ray_com_core_app_router_config_proto_enumTypes[0].Descriptor()
  56. }
  57. func (Domain_Type) Type() protoreflect.EnumType {
  58. return &file_v2ray_com_core_app_router_config_proto_enumTypes[0]
  59. }
  60. func (x Domain_Type) Number() protoreflect.EnumNumber {
  61. return protoreflect.EnumNumber(x)
  62. }
  63. // Deprecated: Use Domain_Type.Descriptor instead.
  64. func (Domain_Type) EnumDescriptor() ([]byte, []int) {
  65. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{0, 0}
  66. }
  67. type Config_DomainStrategy int32
  68. const (
  69. // Use domain as is.
  70. Config_AsIs Config_DomainStrategy = 0
  71. // Always resolve IP for domains.
  72. Config_UseIp Config_DomainStrategy = 1
  73. // Resolve to IP if the domain doesn't match any rules.
  74. Config_IpIfNonMatch Config_DomainStrategy = 2
  75. // Resolve to IP if any rule requires IP matching.
  76. Config_IpOnDemand Config_DomainStrategy = 3
  77. )
  78. // Enum value maps for Config_DomainStrategy.
  79. var (
  80. Config_DomainStrategy_name = map[int32]string{
  81. 0: "AsIs",
  82. 1: "UseIp",
  83. 2: "IpIfNonMatch",
  84. 3: "IpOnDemand",
  85. }
  86. Config_DomainStrategy_value = map[string]int32{
  87. "AsIs": 0,
  88. "UseIp": 1,
  89. "IpIfNonMatch": 2,
  90. "IpOnDemand": 3,
  91. }
  92. )
  93. func (x Config_DomainStrategy) Enum() *Config_DomainStrategy {
  94. p := new(Config_DomainStrategy)
  95. *p = x
  96. return p
  97. }
  98. func (x Config_DomainStrategy) String() string {
  99. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  100. }
  101. func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor {
  102. return file_v2ray_com_core_app_router_config_proto_enumTypes[1].Descriptor()
  103. }
  104. func (Config_DomainStrategy) Type() protoreflect.EnumType {
  105. return &file_v2ray_com_core_app_router_config_proto_enumTypes[1]
  106. }
  107. func (x Config_DomainStrategy) Number() protoreflect.EnumNumber {
  108. return protoreflect.EnumNumber(x)
  109. }
  110. // Deprecated: Use Config_DomainStrategy.Descriptor instead.
  111. func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) {
  112. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{8, 0}
  113. }
  114. // Domain for routing decision.
  115. type Domain struct {
  116. state protoimpl.MessageState
  117. sizeCache protoimpl.SizeCache
  118. unknownFields protoimpl.UnknownFields
  119. // Domain matching type.
  120. Type Domain_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.router.Domain_Type" json:"type,omitempty"`
  121. // Domain value.
  122. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  123. // Attributes of this domain. May be used for filtering.
  124. Attribute []*Domain_Attribute `protobuf:"bytes,3,rep,name=attribute,proto3" json:"attribute,omitempty"`
  125. }
  126. func (x *Domain) Reset() {
  127. *x = Domain{}
  128. if protoimpl.UnsafeEnabled {
  129. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[0]
  130. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  131. ms.StoreMessageInfo(mi)
  132. }
  133. }
  134. func (x *Domain) String() string {
  135. return protoimpl.X.MessageStringOf(x)
  136. }
  137. func (*Domain) ProtoMessage() {}
  138. func (x *Domain) ProtoReflect() protoreflect.Message {
  139. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[0]
  140. if protoimpl.UnsafeEnabled && x != nil {
  141. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  142. if ms.LoadMessageInfo() == nil {
  143. ms.StoreMessageInfo(mi)
  144. }
  145. return ms
  146. }
  147. return mi.MessageOf(x)
  148. }
  149. // Deprecated: Use Domain.ProtoReflect.Descriptor instead.
  150. func (*Domain) Descriptor() ([]byte, []int) {
  151. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{0}
  152. }
  153. func (x *Domain) GetType() Domain_Type {
  154. if x != nil {
  155. return x.Type
  156. }
  157. return Domain_Plain
  158. }
  159. func (x *Domain) GetValue() string {
  160. if x != nil {
  161. return x.Value
  162. }
  163. return ""
  164. }
  165. func (x *Domain) GetAttribute() []*Domain_Attribute {
  166. if x != nil {
  167. return x.Attribute
  168. }
  169. return nil
  170. }
  171. // IP for routing decision, in CIDR form.
  172. type CIDR struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. // IP address, should be either 4 or 16 bytes.
  177. Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
  178. // Number of leading ones in the network mask.
  179. Prefix uint32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
  180. }
  181. func (x *CIDR) Reset() {
  182. *x = CIDR{}
  183. if protoimpl.UnsafeEnabled {
  184. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[1]
  185. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  186. ms.StoreMessageInfo(mi)
  187. }
  188. }
  189. func (x *CIDR) String() string {
  190. return protoimpl.X.MessageStringOf(x)
  191. }
  192. func (*CIDR) ProtoMessage() {}
  193. func (x *CIDR) ProtoReflect() protoreflect.Message {
  194. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[1]
  195. if protoimpl.UnsafeEnabled && x != nil {
  196. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  197. if ms.LoadMessageInfo() == nil {
  198. ms.StoreMessageInfo(mi)
  199. }
  200. return ms
  201. }
  202. return mi.MessageOf(x)
  203. }
  204. // Deprecated: Use CIDR.ProtoReflect.Descriptor instead.
  205. func (*CIDR) Descriptor() ([]byte, []int) {
  206. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{1}
  207. }
  208. func (x *CIDR) GetIp() []byte {
  209. if x != nil {
  210. return x.Ip
  211. }
  212. return nil
  213. }
  214. func (x *CIDR) GetPrefix() uint32 {
  215. if x != nil {
  216. return x.Prefix
  217. }
  218. return 0
  219. }
  220. type GeoIP struct {
  221. state protoimpl.MessageState
  222. sizeCache protoimpl.SizeCache
  223. unknownFields protoimpl.UnknownFields
  224. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  225. Cidr []*CIDR `protobuf:"bytes,2,rep,name=cidr,proto3" json:"cidr,omitempty"`
  226. }
  227. func (x *GeoIP) Reset() {
  228. *x = GeoIP{}
  229. if protoimpl.UnsafeEnabled {
  230. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[2]
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. ms.StoreMessageInfo(mi)
  233. }
  234. }
  235. func (x *GeoIP) String() string {
  236. return protoimpl.X.MessageStringOf(x)
  237. }
  238. func (*GeoIP) ProtoMessage() {}
  239. func (x *GeoIP) ProtoReflect() protoreflect.Message {
  240. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[2]
  241. if protoimpl.UnsafeEnabled && x != nil {
  242. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  243. if ms.LoadMessageInfo() == nil {
  244. ms.StoreMessageInfo(mi)
  245. }
  246. return ms
  247. }
  248. return mi.MessageOf(x)
  249. }
  250. // Deprecated: Use GeoIP.ProtoReflect.Descriptor instead.
  251. func (*GeoIP) Descriptor() ([]byte, []int) {
  252. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{2}
  253. }
  254. func (x *GeoIP) GetCountryCode() string {
  255. if x != nil {
  256. return x.CountryCode
  257. }
  258. return ""
  259. }
  260. func (x *GeoIP) GetCidr() []*CIDR {
  261. if x != nil {
  262. return x.Cidr
  263. }
  264. return nil
  265. }
  266. type GeoIPList struct {
  267. state protoimpl.MessageState
  268. sizeCache protoimpl.SizeCache
  269. unknownFields protoimpl.UnknownFields
  270. Entry []*GeoIP `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
  271. }
  272. func (x *GeoIPList) Reset() {
  273. *x = GeoIPList{}
  274. if protoimpl.UnsafeEnabled {
  275. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[3]
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. ms.StoreMessageInfo(mi)
  278. }
  279. }
  280. func (x *GeoIPList) String() string {
  281. return protoimpl.X.MessageStringOf(x)
  282. }
  283. func (*GeoIPList) ProtoMessage() {}
  284. func (x *GeoIPList) ProtoReflect() protoreflect.Message {
  285. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[3]
  286. if protoimpl.UnsafeEnabled && x != nil {
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. if ms.LoadMessageInfo() == nil {
  289. ms.StoreMessageInfo(mi)
  290. }
  291. return ms
  292. }
  293. return mi.MessageOf(x)
  294. }
  295. // Deprecated: Use GeoIPList.ProtoReflect.Descriptor instead.
  296. func (*GeoIPList) Descriptor() ([]byte, []int) {
  297. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{3}
  298. }
  299. func (x *GeoIPList) GetEntry() []*GeoIP {
  300. if x != nil {
  301. return x.Entry
  302. }
  303. return nil
  304. }
  305. type GeoSite struct {
  306. state protoimpl.MessageState
  307. sizeCache protoimpl.SizeCache
  308. unknownFields protoimpl.UnknownFields
  309. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  310. Domain []*Domain `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
  311. }
  312. func (x *GeoSite) Reset() {
  313. *x = GeoSite{}
  314. if protoimpl.UnsafeEnabled {
  315. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[4]
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. ms.StoreMessageInfo(mi)
  318. }
  319. }
  320. func (x *GeoSite) String() string {
  321. return protoimpl.X.MessageStringOf(x)
  322. }
  323. func (*GeoSite) ProtoMessage() {}
  324. func (x *GeoSite) ProtoReflect() protoreflect.Message {
  325. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[4]
  326. if protoimpl.UnsafeEnabled && x != nil {
  327. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  328. if ms.LoadMessageInfo() == nil {
  329. ms.StoreMessageInfo(mi)
  330. }
  331. return ms
  332. }
  333. return mi.MessageOf(x)
  334. }
  335. // Deprecated: Use GeoSite.ProtoReflect.Descriptor instead.
  336. func (*GeoSite) Descriptor() ([]byte, []int) {
  337. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{4}
  338. }
  339. func (x *GeoSite) GetCountryCode() string {
  340. if x != nil {
  341. return x.CountryCode
  342. }
  343. return ""
  344. }
  345. func (x *GeoSite) GetDomain() []*Domain {
  346. if x != nil {
  347. return x.Domain
  348. }
  349. return nil
  350. }
  351. type GeoSiteList struct {
  352. state protoimpl.MessageState
  353. sizeCache protoimpl.SizeCache
  354. unknownFields protoimpl.UnknownFields
  355. Entry []*GeoSite `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
  356. }
  357. func (x *GeoSiteList) Reset() {
  358. *x = GeoSiteList{}
  359. if protoimpl.UnsafeEnabled {
  360. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[5]
  361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  362. ms.StoreMessageInfo(mi)
  363. }
  364. }
  365. func (x *GeoSiteList) String() string {
  366. return protoimpl.X.MessageStringOf(x)
  367. }
  368. func (*GeoSiteList) ProtoMessage() {}
  369. func (x *GeoSiteList) ProtoReflect() protoreflect.Message {
  370. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[5]
  371. if protoimpl.UnsafeEnabled && x != nil {
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. if ms.LoadMessageInfo() == nil {
  374. ms.StoreMessageInfo(mi)
  375. }
  376. return ms
  377. }
  378. return mi.MessageOf(x)
  379. }
  380. // Deprecated: Use GeoSiteList.ProtoReflect.Descriptor instead.
  381. func (*GeoSiteList) Descriptor() ([]byte, []int) {
  382. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{5}
  383. }
  384. func (x *GeoSiteList) GetEntry() []*GeoSite {
  385. if x != nil {
  386. return x.Entry
  387. }
  388. return nil
  389. }
  390. type RoutingRule struct {
  391. state protoimpl.MessageState
  392. sizeCache protoimpl.SizeCache
  393. unknownFields protoimpl.UnknownFields
  394. // Types that are assignable to TargetTag:
  395. // *RoutingRule_Tag
  396. // *RoutingRule_BalancingTag
  397. TargetTag isRoutingRule_TargetTag `protobuf_oneof:"target_tag"`
  398. // List of domains for target domain matching.
  399. Domain []*Domain `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
  400. // List of CIDRs for target IP address matching.
  401. // Deprecated. Use geoip below.
  402. //
  403. // Deprecated: Do not use.
  404. Cidr []*CIDR `protobuf:"bytes,3,rep,name=cidr,proto3" json:"cidr,omitempty"`
  405. // List of GeoIPs for target IP address matching. If this entry exists, the cidr above will have no effect.
  406. // GeoIP fields with the same country code are supposed to contain exactly same content. They will be merged during runtime.
  407. // For customized GeoIPs, please leave country code empty.
  408. Geoip []*GeoIP `protobuf:"bytes,10,rep,name=geoip,proto3" json:"geoip,omitempty"`
  409. // A range of port [from, to]. If the destination port is in this range, this rule takes effect.
  410. // Deprecated. Use port_list.
  411. //
  412. // Deprecated: Do not use.
  413. PortRange *net.PortRange `protobuf:"bytes,4,opt,name=port_range,json=portRange,proto3" json:"port_range,omitempty"`
  414. // List of ports.
  415. PortList *net.PortList `protobuf:"bytes,14,opt,name=port_list,json=portList,proto3" json:"port_list,omitempty"`
  416. // List of networks. Deprecated. Use networks.
  417. //
  418. // Deprecated: Do not use.
  419. NetworkList *net.NetworkList `protobuf:"bytes,5,opt,name=network_list,json=networkList,proto3" json:"network_list,omitempty"`
  420. // List of networks for matching.
  421. Networks []net.Network `protobuf:"varint,13,rep,packed,name=networks,proto3,enum=v2ray.core.common.net.Network" json:"networks,omitempty"`
  422. // List of CIDRs for source IP address matching.
  423. //
  424. // Deprecated: Do not use.
  425. SourceCidr []*CIDR `protobuf:"bytes,6,rep,name=source_cidr,json=sourceCidr,proto3" json:"source_cidr,omitempty"`
  426. // List of GeoIPs for source IP address matching. If this entry exists, the source_cidr above will have no effect.
  427. SourceGeoip []*GeoIP `protobuf:"bytes,11,rep,name=source_geoip,json=sourceGeoip,proto3" json:"source_geoip,omitempty"`
  428. UserEmail []string `protobuf:"bytes,7,rep,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
  429. InboundTag []string `protobuf:"bytes,8,rep,name=inbound_tag,json=inboundTag,proto3" json:"inbound_tag,omitempty"`
  430. Protocol []string `protobuf:"bytes,9,rep,name=protocol,proto3" json:"protocol,omitempty"`
  431. Attributes string `protobuf:"bytes,15,opt,name=attributes,proto3" json:"attributes,omitempty"`
  432. }
  433. func (x *RoutingRule) Reset() {
  434. *x = RoutingRule{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[6]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *RoutingRule) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*RoutingRule) ProtoMessage() {}
  445. func (x *RoutingRule) ProtoReflect() protoreflect.Message {
  446. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[6]
  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 RoutingRule.ProtoReflect.Descriptor instead.
  457. func (*RoutingRule) Descriptor() ([]byte, []int) {
  458. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{6}
  459. }
  460. func (m *RoutingRule) GetTargetTag() isRoutingRule_TargetTag {
  461. if m != nil {
  462. return m.TargetTag
  463. }
  464. return nil
  465. }
  466. func (x *RoutingRule) GetTag() string {
  467. if x, ok := x.GetTargetTag().(*RoutingRule_Tag); ok {
  468. return x.Tag
  469. }
  470. return ""
  471. }
  472. func (x *RoutingRule) GetBalancingTag() string {
  473. if x, ok := x.GetTargetTag().(*RoutingRule_BalancingTag); ok {
  474. return x.BalancingTag
  475. }
  476. return ""
  477. }
  478. func (x *RoutingRule) GetDomain() []*Domain {
  479. if x != nil {
  480. return x.Domain
  481. }
  482. return nil
  483. }
  484. // Deprecated: Do not use.
  485. func (x *RoutingRule) GetCidr() []*CIDR {
  486. if x != nil {
  487. return x.Cidr
  488. }
  489. return nil
  490. }
  491. func (x *RoutingRule) GetGeoip() []*GeoIP {
  492. if x != nil {
  493. return x.Geoip
  494. }
  495. return nil
  496. }
  497. // Deprecated: Do not use.
  498. func (x *RoutingRule) GetPortRange() *net.PortRange {
  499. if x != nil {
  500. return x.PortRange
  501. }
  502. return nil
  503. }
  504. func (x *RoutingRule) GetPortList() *net.PortList {
  505. if x != nil {
  506. return x.PortList
  507. }
  508. return nil
  509. }
  510. // Deprecated: Do not use.
  511. func (x *RoutingRule) GetNetworkList() *net.NetworkList {
  512. if x != nil {
  513. return x.NetworkList
  514. }
  515. return nil
  516. }
  517. func (x *RoutingRule) GetNetworks() []net.Network {
  518. if x != nil {
  519. return x.Networks
  520. }
  521. return nil
  522. }
  523. // Deprecated: Do not use.
  524. func (x *RoutingRule) GetSourceCidr() []*CIDR {
  525. if x != nil {
  526. return x.SourceCidr
  527. }
  528. return nil
  529. }
  530. func (x *RoutingRule) GetSourceGeoip() []*GeoIP {
  531. if x != nil {
  532. return x.SourceGeoip
  533. }
  534. return nil
  535. }
  536. func (x *RoutingRule) GetUserEmail() []string {
  537. if x != nil {
  538. return x.UserEmail
  539. }
  540. return nil
  541. }
  542. func (x *RoutingRule) GetInboundTag() []string {
  543. if x != nil {
  544. return x.InboundTag
  545. }
  546. return nil
  547. }
  548. func (x *RoutingRule) GetProtocol() []string {
  549. if x != nil {
  550. return x.Protocol
  551. }
  552. return nil
  553. }
  554. func (x *RoutingRule) GetAttributes() string {
  555. if x != nil {
  556. return x.Attributes
  557. }
  558. return ""
  559. }
  560. type isRoutingRule_TargetTag interface {
  561. isRoutingRule_TargetTag()
  562. }
  563. type RoutingRule_Tag struct {
  564. // Tag of outbound that this rule is pointing to.
  565. Tag string `protobuf:"bytes,1,opt,name=tag,proto3,oneof"`
  566. }
  567. type RoutingRule_BalancingTag struct {
  568. // Tag of routing balancer.
  569. BalancingTag string `protobuf:"bytes,12,opt,name=balancing_tag,json=balancingTag,proto3,oneof"`
  570. }
  571. func (*RoutingRule_Tag) isRoutingRule_TargetTag() {}
  572. func (*RoutingRule_BalancingTag) isRoutingRule_TargetTag() {}
  573. type BalancingRule struct {
  574. state protoimpl.MessageState
  575. sizeCache protoimpl.SizeCache
  576. unknownFields protoimpl.UnknownFields
  577. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  578. OutboundSelector []string `protobuf:"bytes,2,rep,name=outbound_selector,json=outboundSelector,proto3" json:"outbound_selector,omitempty"`
  579. }
  580. func (x *BalancingRule) Reset() {
  581. *x = BalancingRule{}
  582. if protoimpl.UnsafeEnabled {
  583. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[7]
  584. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  585. ms.StoreMessageInfo(mi)
  586. }
  587. }
  588. func (x *BalancingRule) String() string {
  589. return protoimpl.X.MessageStringOf(x)
  590. }
  591. func (*BalancingRule) ProtoMessage() {}
  592. func (x *BalancingRule) ProtoReflect() protoreflect.Message {
  593. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[7]
  594. if protoimpl.UnsafeEnabled && x != nil {
  595. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  596. if ms.LoadMessageInfo() == nil {
  597. ms.StoreMessageInfo(mi)
  598. }
  599. return ms
  600. }
  601. return mi.MessageOf(x)
  602. }
  603. // Deprecated: Use BalancingRule.ProtoReflect.Descriptor instead.
  604. func (*BalancingRule) Descriptor() ([]byte, []int) {
  605. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{7}
  606. }
  607. func (x *BalancingRule) GetTag() string {
  608. if x != nil {
  609. return x.Tag
  610. }
  611. return ""
  612. }
  613. func (x *BalancingRule) GetOutboundSelector() []string {
  614. if x != nil {
  615. return x.OutboundSelector
  616. }
  617. return nil
  618. }
  619. type Config struct {
  620. state protoimpl.MessageState
  621. sizeCache protoimpl.SizeCache
  622. unknownFields protoimpl.UnknownFields
  623. DomainStrategy Config_DomainStrategy `protobuf:"varint,1,opt,name=domain_strategy,json=domainStrategy,proto3,enum=v2ray.core.app.router.Config_DomainStrategy" json:"domain_strategy,omitempty"`
  624. Rule []*RoutingRule `protobuf:"bytes,2,rep,name=rule,proto3" json:"rule,omitempty"`
  625. BalancingRule []*BalancingRule `protobuf:"bytes,3,rep,name=balancing_rule,json=balancingRule,proto3" json:"balancing_rule,omitempty"`
  626. }
  627. func (x *Config) Reset() {
  628. *x = Config{}
  629. if protoimpl.UnsafeEnabled {
  630. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[8]
  631. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  632. ms.StoreMessageInfo(mi)
  633. }
  634. }
  635. func (x *Config) String() string {
  636. return protoimpl.X.MessageStringOf(x)
  637. }
  638. func (*Config) ProtoMessage() {}
  639. func (x *Config) ProtoReflect() protoreflect.Message {
  640. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[8]
  641. if protoimpl.UnsafeEnabled && x != nil {
  642. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  643. if ms.LoadMessageInfo() == nil {
  644. ms.StoreMessageInfo(mi)
  645. }
  646. return ms
  647. }
  648. return mi.MessageOf(x)
  649. }
  650. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  651. func (*Config) Descriptor() ([]byte, []int) {
  652. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{8}
  653. }
  654. func (x *Config) GetDomainStrategy() Config_DomainStrategy {
  655. if x != nil {
  656. return x.DomainStrategy
  657. }
  658. return Config_AsIs
  659. }
  660. func (x *Config) GetRule() []*RoutingRule {
  661. if x != nil {
  662. return x.Rule
  663. }
  664. return nil
  665. }
  666. func (x *Config) GetBalancingRule() []*BalancingRule {
  667. if x != nil {
  668. return x.BalancingRule
  669. }
  670. return nil
  671. }
  672. type Domain_Attribute struct {
  673. state protoimpl.MessageState
  674. sizeCache protoimpl.SizeCache
  675. unknownFields protoimpl.UnknownFields
  676. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  677. // Types that are assignable to TypedValue:
  678. // *Domain_Attribute_BoolValue
  679. // *Domain_Attribute_IntValue
  680. TypedValue isDomain_Attribute_TypedValue `protobuf_oneof:"typed_value"`
  681. }
  682. func (x *Domain_Attribute) Reset() {
  683. *x = Domain_Attribute{}
  684. if protoimpl.UnsafeEnabled {
  685. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[9]
  686. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  687. ms.StoreMessageInfo(mi)
  688. }
  689. }
  690. func (x *Domain_Attribute) String() string {
  691. return protoimpl.X.MessageStringOf(x)
  692. }
  693. func (*Domain_Attribute) ProtoMessage() {}
  694. func (x *Domain_Attribute) ProtoReflect() protoreflect.Message {
  695. mi := &file_v2ray_com_core_app_router_config_proto_msgTypes[9]
  696. if protoimpl.UnsafeEnabled && x != nil {
  697. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  698. if ms.LoadMessageInfo() == nil {
  699. ms.StoreMessageInfo(mi)
  700. }
  701. return ms
  702. }
  703. return mi.MessageOf(x)
  704. }
  705. // Deprecated: Use Domain_Attribute.ProtoReflect.Descriptor instead.
  706. func (*Domain_Attribute) Descriptor() ([]byte, []int) {
  707. return file_v2ray_com_core_app_router_config_proto_rawDescGZIP(), []int{0, 0}
  708. }
  709. func (x *Domain_Attribute) GetKey() string {
  710. if x != nil {
  711. return x.Key
  712. }
  713. return ""
  714. }
  715. func (m *Domain_Attribute) GetTypedValue() isDomain_Attribute_TypedValue {
  716. if m != nil {
  717. return m.TypedValue
  718. }
  719. return nil
  720. }
  721. func (x *Domain_Attribute) GetBoolValue() bool {
  722. if x, ok := x.GetTypedValue().(*Domain_Attribute_BoolValue); ok {
  723. return x.BoolValue
  724. }
  725. return false
  726. }
  727. func (x *Domain_Attribute) GetIntValue() int64 {
  728. if x, ok := x.GetTypedValue().(*Domain_Attribute_IntValue); ok {
  729. return x.IntValue
  730. }
  731. return 0
  732. }
  733. type isDomain_Attribute_TypedValue interface {
  734. isDomain_Attribute_TypedValue()
  735. }
  736. type Domain_Attribute_BoolValue struct {
  737. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
  738. }
  739. type Domain_Attribute_IntValue struct {
  740. IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
  741. }
  742. func (*Domain_Attribute_BoolValue) isDomain_Attribute_TypedValue() {}
  743. func (*Domain_Attribute_IntValue) isDomain_Attribute_TypedValue() {}
  744. var File_v2ray_com_core_app_router_config_proto protoreflect.FileDescriptor
  745. var file_v2ray_com_core_app_router_config_proto_rawDesc = []byte{
  746. 0x0a, 0x26, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65,
  747. 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
  748. 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  749. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x1a,
  750. 0x24, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
  751. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  752. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
  753. 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74,
  754. 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf,
  755. 0x02, 0x0a, 0x06, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70,
  756. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  757. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
  758. 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
  759. 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  760. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69,
  761. 0x62, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x32, 0x72,
  762. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74,
  763. 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
  764. 0x75, 0x74, 0x65, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x1a, 0x6c,
  765. 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  766. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a,
  767. 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  768. 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d,
  769. 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  770. 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x0a,
  771. 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x04,
  772. 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x10, 0x00, 0x12,
  773. 0x09, 0x0a, 0x05, 0x52, 0x65, 0x67, 0x65, 0x78, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x6f,
  774. 0x6d, 0x61, 0x69, 0x6e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x75, 0x6c, 0x6c, 0x10, 0x03,
  775. 0x22, 0x2e, 0x0a, 0x04, 0x43, 0x49, 0x44, 0x52, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01,
  776. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66,
  777. 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
  778. 0x22, 0x5b, 0x0a, 0x05, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75,
  779. 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  780. 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x04,
  781. 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x32, 0x72,
  782. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74,
  783. 0x65, 0x72, 0x2e, 0x43, 0x49, 0x44, 0x52, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x22, 0x3f, 0x0a,
  784. 0x09, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x65, 0x6e,
  785. 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61,
  786. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  787. 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x63,
  788. 0x0a, 0x07, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75,
  789. 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  790. 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x35, 0x0a, 0x06,
  791. 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76,
  792. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  793. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d,
  794. 0x61, 0x69, 0x6e, 0x22, 0x43, 0x0a, 0x0b, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69,
  795. 0x73, 0x74, 0x12, 0x34, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28,
  796. 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  797. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74,
  798. 0x65, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0xff, 0x05, 0x0a, 0x0b, 0x52, 0x6f, 0x75,
  799. 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18,
  800. 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x25, 0x0a, 0x0d,
  801. 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0c, 0x20,
  802. 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67,
  803. 0x54, 0x61, 0x67, 0x12, 0x35, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20,
  804. 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  805. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61,
  806. 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x63, 0x69,
  807. 0x64, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  808. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  809. 0x2e, 0x43, 0x49, 0x44, 0x52, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x12,
  810. 0x32, 0x0a, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c,
  811. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  812. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x67, 0x65,
  813. 0x6f, 0x69, 0x70, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67,
  814. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  815. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e,
  816. 0x50, 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x70,
  817. 0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74,
  818. 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32,
  819. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  820. 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f,
  821. 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
  822. 0x6b, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76,
  823. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  824. 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74,
  825. 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73,
  826. 0x74, 0x12, 0x3a, 0x0a, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x0d, 0x20,
  827. 0x03, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  828. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77,
  829. 0x6f, 0x72, 0x6b, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x40, 0x0a,
  830. 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x06, 0x20, 0x03,
  831. 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  832. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x49, 0x44, 0x52, 0x42,
  833. 0x02, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x69, 0x64, 0x72, 0x12,
  834. 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18,
  835. 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  836. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65,
  837. 0x6f, 0x49, 0x50, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x65, 0x6f, 0x69, 0x70,
  838. 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07,
  839. 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12,
  840. 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x08,
  841. 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67,
  842. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x03,
  843. 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1e, 0x0a, 0x0a,
  844. 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
  845. 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x42, 0x0c, 0x0a, 0x0a,
  846. 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x22, 0x4e, 0x0a, 0x0d, 0x42, 0x61,
  847. 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74,
  848. 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x2b, 0x0a,
  849. 0x11, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74,
  850. 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75,
  851. 0x6e, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0xad, 0x02, 0x0a, 0x06, 0x43,
  852. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x55, 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f,
  853. 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c,
  854. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  855. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x6f,
  856. 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x64, 0x6f,
  857. 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x36, 0x0a, 0x04,
  858. 0x72, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72,
  859. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74,
  860. 0x65, 0x72, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04,
  861. 0x72, 0x75, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e,
  862. 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76,
  863. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f,
  864. 0x75, 0x74, 0x65, 0x72, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x75,
  865. 0x6c, 0x65, 0x52, 0x0d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c,
  866. 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74,
  867. 0x65, 0x67, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x73, 0x49, 0x73, 0x10, 0x00, 0x12, 0x09, 0x0a,
  868. 0x05, 0x55, 0x73, 0x65, 0x49, 0x70, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x70, 0x49, 0x66,
  869. 0x4e, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x70,
  870. 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x03, 0x42, 0x3d, 0x0a, 0x19, 0x63, 0x6f,
  871. 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  872. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65,
  873. 0x72, 0xaa, 0x02, 0x15, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41,
  874. 0x70, 0x70, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  875. 0x33,
  876. }
  877. var (
  878. file_v2ray_com_core_app_router_config_proto_rawDescOnce sync.Once
  879. file_v2ray_com_core_app_router_config_proto_rawDescData = file_v2ray_com_core_app_router_config_proto_rawDesc
  880. )
  881. func file_v2ray_com_core_app_router_config_proto_rawDescGZIP() []byte {
  882. file_v2ray_com_core_app_router_config_proto_rawDescOnce.Do(func() {
  883. file_v2ray_com_core_app_router_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_v2ray_com_core_app_router_config_proto_rawDescData)
  884. })
  885. return file_v2ray_com_core_app_router_config_proto_rawDescData
  886. }
  887. var file_v2ray_com_core_app_router_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  888. var file_v2ray_com_core_app_router_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  889. var file_v2ray_com_core_app_router_config_proto_goTypes = []interface{}{
  890. (Domain_Type)(0), // 0: v2ray.core.app.router.Domain.Type
  891. (Config_DomainStrategy)(0), // 1: v2ray.core.app.router.Config.DomainStrategy
  892. (*Domain)(nil), // 2: v2ray.core.app.router.Domain
  893. (*CIDR)(nil), // 3: v2ray.core.app.router.CIDR
  894. (*GeoIP)(nil), // 4: v2ray.core.app.router.GeoIP
  895. (*GeoIPList)(nil), // 5: v2ray.core.app.router.GeoIPList
  896. (*GeoSite)(nil), // 6: v2ray.core.app.router.GeoSite
  897. (*GeoSiteList)(nil), // 7: v2ray.core.app.router.GeoSiteList
  898. (*RoutingRule)(nil), // 8: v2ray.core.app.router.RoutingRule
  899. (*BalancingRule)(nil), // 9: v2ray.core.app.router.BalancingRule
  900. (*Config)(nil), // 10: v2ray.core.app.router.Config
  901. (*Domain_Attribute)(nil), // 11: v2ray.core.app.router.Domain.Attribute
  902. (*net.PortRange)(nil), // 12: v2ray.core.common.net.PortRange
  903. (*net.PortList)(nil), // 13: v2ray.core.common.net.PortList
  904. (*net.NetworkList)(nil), // 14: v2ray.core.common.net.NetworkList
  905. (net.Network)(0), // 15: v2ray.core.common.net.Network
  906. }
  907. var file_v2ray_com_core_app_router_config_proto_depIdxs = []int32{
  908. 0, // 0: v2ray.core.app.router.Domain.type:type_name -> v2ray.core.app.router.Domain.Type
  909. 11, // 1: v2ray.core.app.router.Domain.attribute:type_name -> v2ray.core.app.router.Domain.Attribute
  910. 3, // 2: v2ray.core.app.router.GeoIP.cidr:type_name -> v2ray.core.app.router.CIDR
  911. 4, // 3: v2ray.core.app.router.GeoIPList.entry:type_name -> v2ray.core.app.router.GeoIP
  912. 2, // 4: v2ray.core.app.router.GeoSite.domain:type_name -> v2ray.core.app.router.Domain
  913. 6, // 5: v2ray.core.app.router.GeoSiteList.entry:type_name -> v2ray.core.app.router.GeoSite
  914. 2, // 6: v2ray.core.app.router.RoutingRule.domain:type_name -> v2ray.core.app.router.Domain
  915. 3, // 7: v2ray.core.app.router.RoutingRule.cidr:type_name -> v2ray.core.app.router.CIDR
  916. 4, // 8: v2ray.core.app.router.RoutingRule.geoip:type_name -> v2ray.core.app.router.GeoIP
  917. 12, // 9: v2ray.core.app.router.RoutingRule.port_range:type_name -> v2ray.core.common.net.PortRange
  918. 13, // 10: v2ray.core.app.router.RoutingRule.port_list:type_name -> v2ray.core.common.net.PortList
  919. 14, // 11: v2ray.core.app.router.RoutingRule.network_list:type_name -> v2ray.core.common.net.NetworkList
  920. 15, // 12: v2ray.core.app.router.RoutingRule.networks:type_name -> v2ray.core.common.net.Network
  921. 3, // 13: v2ray.core.app.router.RoutingRule.source_cidr:type_name -> v2ray.core.app.router.CIDR
  922. 4, // 14: v2ray.core.app.router.RoutingRule.source_geoip:type_name -> v2ray.core.app.router.GeoIP
  923. 1, // 15: v2ray.core.app.router.Config.domain_strategy:type_name -> v2ray.core.app.router.Config.DomainStrategy
  924. 8, // 16: v2ray.core.app.router.Config.rule:type_name -> v2ray.core.app.router.RoutingRule
  925. 9, // 17: v2ray.core.app.router.Config.balancing_rule:type_name -> v2ray.core.app.router.BalancingRule
  926. 18, // [18:18] is the sub-list for method output_type
  927. 18, // [18:18] is the sub-list for method input_type
  928. 18, // [18:18] is the sub-list for extension type_name
  929. 18, // [18:18] is the sub-list for extension extendee
  930. 0, // [0:18] is the sub-list for field type_name
  931. }
  932. func init() { file_v2ray_com_core_app_router_config_proto_init() }
  933. func file_v2ray_com_core_app_router_config_proto_init() {
  934. if File_v2ray_com_core_app_router_config_proto != nil {
  935. return
  936. }
  937. if !protoimpl.UnsafeEnabled {
  938. file_v2ray_com_core_app_router_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  939. switch v := v.(*Domain); i {
  940. case 0:
  941. return &v.state
  942. case 1:
  943. return &v.sizeCache
  944. case 2:
  945. return &v.unknownFields
  946. default:
  947. return nil
  948. }
  949. }
  950. file_v2ray_com_core_app_router_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  951. switch v := v.(*CIDR); i {
  952. case 0:
  953. return &v.state
  954. case 1:
  955. return &v.sizeCache
  956. case 2:
  957. return &v.unknownFields
  958. default:
  959. return nil
  960. }
  961. }
  962. file_v2ray_com_core_app_router_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  963. switch v := v.(*GeoIP); i {
  964. case 0:
  965. return &v.state
  966. case 1:
  967. return &v.sizeCache
  968. case 2:
  969. return &v.unknownFields
  970. default:
  971. return nil
  972. }
  973. }
  974. file_v2ray_com_core_app_router_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  975. switch v := v.(*GeoIPList); i {
  976. case 0:
  977. return &v.state
  978. case 1:
  979. return &v.sizeCache
  980. case 2:
  981. return &v.unknownFields
  982. default:
  983. return nil
  984. }
  985. }
  986. file_v2ray_com_core_app_router_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  987. switch v := v.(*GeoSite); i {
  988. case 0:
  989. return &v.state
  990. case 1:
  991. return &v.sizeCache
  992. case 2:
  993. return &v.unknownFields
  994. default:
  995. return nil
  996. }
  997. }
  998. file_v2ray_com_core_app_router_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  999. switch v := v.(*GeoSiteList); i {
  1000. case 0:
  1001. return &v.state
  1002. case 1:
  1003. return &v.sizeCache
  1004. case 2:
  1005. return &v.unknownFields
  1006. default:
  1007. return nil
  1008. }
  1009. }
  1010. file_v2ray_com_core_app_router_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1011. switch v := v.(*RoutingRule); i {
  1012. case 0:
  1013. return &v.state
  1014. case 1:
  1015. return &v.sizeCache
  1016. case 2:
  1017. return &v.unknownFields
  1018. default:
  1019. return nil
  1020. }
  1021. }
  1022. file_v2ray_com_core_app_router_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1023. switch v := v.(*BalancingRule); i {
  1024. case 0:
  1025. return &v.state
  1026. case 1:
  1027. return &v.sizeCache
  1028. case 2:
  1029. return &v.unknownFields
  1030. default:
  1031. return nil
  1032. }
  1033. }
  1034. file_v2ray_com_core_app_router_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1035. switch v := v.(*Config); i {
  1036. case 0:
  1037. return &v.state
  1038. case 1:
  1039. return &v.sizeCache
  1040. case 2:
  1041. return &v.unknownFields
  1042. default:
  1043. return nil
  1044. }
  1045. }
  1046. file_v2ray_com_core_app_router_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1047. switch v := v.(*Domain_Attribute); i {
  1048. case 0:
  1049. return &v.state
  1050. case 1:
  1051. return &v.sizeCache
  1052. case 2:
  1053. return &v.unknownFields
  1054. default:
  1055. return nil
  1056. }
  1057. }
  1058. }
  1059. file_v2ray_com_core_app_router_config_proto_msgTypes[6].OneofWrappers = []interface{}{
  1060. (*RoutingRule_Tag)(nil),
  1061. (*RoutingRule_BalancingTag)(nil),
  1062. }
  1063. file_v2ray_com_core_app_router_config_proto_msgTypes[9].OneofWrappers = []interface{}{
  1064. (*Domain_Attribute_BoolValue)(nil),
  1065. (*Domain_Attribute_IntValue)(nil),
  1066. }
  1067. type x struct{}
  1068. out := protoimpl.TypeBuilder{
  1069. File: protoimpl.DescBuilder{
  1070. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1071. RawDescriptor: file_v2ray_com_core_app_router_config_proto_rawDesc,
  1072. NumEnums: 2,
  1073. NumMessages: 10,
  1074. NumExtensions: 0,
  1075. NumServices: 0,
  1076. },
  1077. GoTypes: file_v2ray_com_core_app_router_config_proto_goTypes,
  1078. DependencyIndexes: file_v2ray_com_core_app_router_config_proto_depIdxs,
  1079. EnumInfos: file_v2ray_com_core_app_router_config_proto_enumTypes,
  1080. MessageInfos: file_v2ray_com_core_app_router_config_proto_msgTypes,
  1081. }.Build()
  1082. File_v2ray_com_core_app_router_config_proto = out.File
  1083. file_v2ray_com_core_app_router_config_proto_rawDesc = nil
  1084. file_v2ray_com_core_app_router_config_proto_goTypes = nil
  1085. file_v2ray_com_core_app_router_config_proto_depIdxs = nil
  1086. }