config.pb.go 43 KB

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