config.pb.go 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: app/router/config.proto
  6. package router
  7. import (
  8. net "github.com/v2fly/v2ray-core/v4/common/net"
  9. serial "github.com/v2fly/v2ray-core/v4/common/serial"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // Type of domain value.
  22. type Domain_Type int32
  23. const (
  24. // The value is used as is.
  25. Domain_Plain Domain_Type = 0
  26. // The value is used as a regular expression.
  27. Domain_Regex Domain_Type = 1
  28. // The value is a root domain.
  29. Domain_Domain Domain_Type = 2
  30. // The value is a domain.
  31. Domain_Full Domain_Type = 3
  32. )
  33. // Enum value maps for Domain_Type.
  34. var (
  35. Domain_Type_name = map[int32]string{
  36. 0: "Plain",
  37. 1: "Regex",
  38. 2: "Domain",
  39. 3: "Full",
  40. }
  41. Domain_Type_value = map[string]int32{
  42. "Plain": 0,
  43. "Regex": 1,
  44. "Domain": 2,
  45. "Full": 3,
  46. }
  47. )
  48. func (x Domain_Type) Enum() *Domain_Type {
  49. p := new(Domain_Type)
  50. *p = x
  51. return p
  52. }
  53. func (x Domain_Type) String() string {
  54. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  55. }
  56. func (Domain_Type) Descriptor() protoreflect.EnumDescriptor {
  57. return file_app_router_config_proto_enumTypes[0].Descriptor()
  58. }
  59. func (Domain_Type) Type() protoreflect.EnumType {
  60. return &file_app_router_config_proto_enumTypes[0]
  61. }
  62. func (x Domain_Type) Number() protoreflect.EnumNumber {
  63. return protoreflect.EnumNumber(x)
  64. }
  65. // Deprecated: Use Domain_Type.Descriptor instead.
  66. func (Domain_Type) EnumDescriptor() ([]byte, []int) {
  67. return file_app_router_config_proto_rawDescGZIP(), []int{0, 0}
  68. }
  69. type Config_DomainStrategy int32
  70. const (
  71. // Use domain as is.
  72. Config_AsIs Config_DomainStrategy = 0
  73. // Always resolve IP for domains.
  74. Config_UseIp Config_DomainStrategy = 1
  75. // Resolve to IP if the domain doesn't match any rules.
  76. Config_IpIfNonMatch Config_DomainStrategy = 2
  77. // Resolve to IP if any rule requires IP matching.
  78. Config_IpOnDemand Config_DomainStrategy = 3
  79. )
  80. // Enum value maps for Config_DomainStrategy.
  81. var (
  82. Config_DomainStrategy_name = map[int32]string{
  83. 0: "AsIs",
  84. 1: "UseIp",
  85. 2: "IpIfNonMatch",
  86. 3: "IpOnDemand",
  87. }
  88. Config_DomainStrategy_value = map[string]int32{
  89. "AsIs": 0,
  90. "UseIp": 1,
  91. "IpIfNonMatch": 2,
  92. "IpOnDemand": 3,
  93. }
  94. )
  95. func (x Config_DomainStrategy) Enum() *Config_DomainStrategy {
  96. p := new(Config_DomainStrategy)
  97. *p = x
  98. return p
  99. }
  100. func (x Config_DomainStrategy) String() string {
  101. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  102. }
  103. func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor {
  104. return file_app_router_config_proto_enumTypes[1].Descriptor()
  105. }
  106. func (Config_DomainStrategy) Type() protoreflect.EnumType {
  107. return &file_app_router_config_proto_enumTypes[1]
  108. }
  109. func (x Config_DomainStrategy) Number() protoreflect.EnumNumber {
  110. return protoreflect.EnumNumber(x)
  111. }
  112. // Deprecated: Use Config_DomainStrategy.Descriptor instead.
  113. func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) {
  114. return file_app_router_config_proto_rawDescGZIP(), []int{11, 0}
  115. }
  116. // Domain for routing decision.
  117. type Domain struct {
  118. state protoimpl.MessageState
  119. sizeCache protoimpl.SizeCache
  120. unknownFields protoimpl.UnknownFields
  121. // Domain matching type.
  122. Type Domain_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.router.Domain_Type" json:"type,omitempty"`
  123. // Domain value.
  124. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  125. // Attributes of this domain. May be used for filtering.
  126. Attribute []*Domain_Attribute `protobuf:"bytes,3,rep,name=attribute,proto3" json:"attribute,omitempty"`
  127. }
  128. func (x *Domain) Reset() {
  129. *x = Domain{}
  130. if protoimpl.UnsafeEnabled {
  131. mi := &file_app_router_config_proto_msgTypes[0]
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. ms.StoreMessageInfo(mi)
  134. }
  135. }
  136. func (x *Domain) String() string {
  137. return protoimpl.X.MessageStringOf(x)
  138. }
  139. func (*Domain) ProtoMessage() {}
  140. func (x *Domain) ProtoReflect() protoreflect.Message {
  141. mi := &file_app_router_config_proto_msgTypes[0]
  142. if protoimpl.UnsafeEnabled && x != nil {
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. if ms.LoadMessageInfo() == nil {
  145. ms.StoreMessageInfo(mi)
  146. }
  147. return ms
  148. }
  149. return mi.MessageOf(x)
  150. }
  151. // Deprecated: Use Domain.ProtoReflect.Descriptor instead.
  152. func (*Domain) Descriptor() ([]byte, []int) {
  153. return file_app_router_config_proto_rawDescGZIP(), []int{0}
  154. }
  155. func (x *Domain) GetType() Domain_Type {
  156. if x != nil {
  157. return x.Type
  158. }
  159. return Domain_Plain
  160. }
  161. func (x *Domain) GetValue() string {
  162. if x != nil {
  163. return x.Value
  164. }
  165. return ""
  166. }
  167. func (x *Domain) GetAttribute() []*Domain_Attribute {
  168. if x != nil {
  169. return x.Attribute
  170. }
  171. return nil
  172. }
  173. // IP for routing decision, in CIDR form.
  174. type CIDR struct {
  175. state protoimpl.MessageState
  176. sizeCache protoimpl.SizeCache
  177. unknownFields protoimpl.UnknownFields
  178. // IP address, should be either 4 or 16 bytes.
  179. Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
  180. // Number of leading ones in the network mask.
  181. Prefix uint32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
  182. }
  183. func (x *CIDR) Reset() {
  184. *x = CIDR{}
  185. if protoimpl.UnsafeEnabled {
  186. mi := &file_app_router_config_proto_msgTypes[1]
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. ms.StoreMessageInfo(mi)
  189. }
  190. }
  191. func (x *CIDR) String() string {
  192. return protoimpl.X.MessageStringOf(x)
  193. }
  194. func (*CIDR) ProtoMessage() {}
  195. func (x *CIDR) ProtoReflect() protoreflect.Message {
  196. mi := &file_app_router_config_proto_msgTypes[1]
  197. if protoimpl.UnsafeEnabled && x != nil {
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. if ms.LoadMessageInfo() == nil {
  200. ms.StoreMessageInfo(mi)
  201. }
  202. return ms
  203. }
  204. return mi.MessageOf(x)
  205. }
  206. // Deprecated: Use CIDR.ProtoReflect.Descriptor instead.
  207. func (*CIDR) Descriptor() ([]byte, []int) {
  208. return file_app_router_config_proto_rawDescGZIP(), []int{1}
  209. }
  210. func (x *CIDR) GetIp() []byte {
  211. if x != nil {
  212. return x.Ip
  213. }
  214. return nil
  215. }
  216. func (x *CIDR) GetPrefix() uint32 {
  217. if x != nil {
  218. return x.Prefix
  219. }
  220. return 0
  221. }
  222. type GeoIP struct {
  223. state protoimpl.MessageState
  224. sizeCache protoimpl.SizeCache
  225. unknownFields protoimpl.UnknownFields
  226. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  227. Cidr []*CIDR `protobuf:"bytes,2,rep,name=cidr,proto3" json:"cidr,omitempty"`
  228. ReverseMatch bool `protobuf:"varint,3,opt,name=reverse_match,json=reverseMatch,proto3" json:"reverse_match,omitempty"`
  229. }
  230. func (x *GeoIP) Reset() {
  231. *x = GeoIP{}
  232. if protoimpl.UnsafeEnabled {
  233. mi := &file_app_router_config_proto_msgTypes[2]
  234. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  235. ms.StoreMessageInfo(mi)
  236. }
  237. }
  238. func (x *GeoIP) String() string {
  239. return protoimpl.X.MessageStringOf(x)
  240. }
  241. func (*GeoIP) ProtoMessage() {}
  242. func (x *GeoIP) ProtoReflect() protoreflect.Message {
  243. mi := &file_app_router_config_proto_msgTypes[2]
  244. if protoimpl.UnsafeEnabled && x != nil {
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. if ms.LoadMessageInfo() == nil {
  247. ms.StoreMessageInfo(mi)
  248. }
  249. return ms
  250. }
  251. return mi.MessageOf(x)
  252. }
  253. // Deprecated: Use GeoIP.ProtoReflect.Descriptor instead.
  254. func (*GeoIP) Descriptor() ([]byte, []int) {
  255. return file_app_router_config_proto_rawDescGZIP(), []int{2}
  256. }
  257. func (x *GeoIP) GetCountryCode() string {
  258. if x != nil {
  259. return x.CountryCode
  260. }
  261. return ""
  262. }
  263. func (x *GeoIP) GetCidr() []*CIDR {
  264. if x != nil {
  265. return x.Cidr
  266. }
  267. return nil
  268. }
  269. func (x *GeoIP) GetReverseMatch() bool {
  270. if x != nil {
  271. return x.ReverseMatch
  272. }
  273. return false
  274. }
  275. type GeoIPList struct {
  276. state protoimpl.MessageState
  277. sizeCache protoimpl.SizeCache
  278. unknownFields protoimpl.UnknownFields
  279. Entry []*GeoIP `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
  280. }
  281. func (x *GeoIPList) Reset() {
  282. *x = GeoIPList{}
  283. if protoimpl.UnsafeEnabled {
  284. mi := &file_app_router_config_proto_msgTypes[3]
  285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  286. ms.StoreMessageInfo(mi)
  287. }
  288. }
  289. func (x *GeoIPList) String() string {
  290. return protoimpl.X.MessageStringOf(x)
  291. }
  292. func (*GeoIPList) ProtoMessage() {}
  293. func (x *GeoIPList) ProtoReflect() protoreflect.Message {
  294. mi := &file_app_router_config_proto_msgTypes[3]
  295. if protoimpl.UnsafeEnabled && x != nil {
  296. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  297. if ms.LoadMessageInfo() == nil {
  298. ms.StoreMessageInfo(mi)
  299. }
  300. return ms
  301. }
  302. return mi.MessageOf(x)
  303. }
  304. // Deprecated: Use GeoIPList.ProtoReflect.Descriptor instead.
  305. func (*GeoIPList) Descriptor() ([]byte, []int) {
  306. return file_app_router_config_proto_rawDescGZIP(), []int{3}
  307. }
  308. func (x *GeoIPList) GetEntry() []*GeoIP {
  309. if x != nil {
  310. return x.Entry
  311. }
  312. return nil
  313. }
  314. type GeoSite struct {
  315. state protoimpl.MessageState
  316. sizeCache protoimpl.SizeCache
  317. unknownFields protoimpl.UnknownFields
  318. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  319. Domain []*Domain `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
  320. }
  321. func (x *GeoSite) Reset() {
  322. *x = GeoSite{}
  323. if protoimpl.UnsafeEnabled {
  324. mi := &file_app_router_config_proto_msgTypes[4]
  325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  326. ms.StoreMessageInfo(mi)
  327. }
  328. }
  329. func (x *GeoSite) String() string {
  330. return protoimpl.X.MessageStringOf(x)
  331. }
  332. func (*GeoSite) ProtoMessage() {}
  333. func (x *GeoSite) ProtoReflect() protoreflect.Message {
  334. mi := &file_app_router_config_proto_msgTypes[4]
  335. if protoimpl.UnsafeEnabled && x != nil {
  336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  337. if ms.LoadMessageInfo() == nil {
  338. ms.StoreMessageInfo(mi)
  339. }
  340. return ms
  341. }
  342. return mi.MessageOf(x)
  343. }
  344. // Deprecated: Use GeoSite.ProtoReflect.Descriptor instead.
  345. func (*GeoSite) Descriptor() ([]byte, []int) {
  346. return file_app_router_config_proto_rawDescGZIP(), []int{4}
  347. }
  348. func (x *GeoSite) GetCountryCode() string {
  349. if x != nil {
  350. return x.CountryCode
  351. }
  352. return ""
  353. }
  354. func (x *GeoSite) GetDomain() []*Domain {
  355. if x != nil {
  356. return x.Domain
  357. }
  358. return nil
  359. }
  360. type GeoSiteList struct {
  361. state protoimpl.MessageState
  362. sizeCache protoimpl.SizeCache
  363. unknownFields protoimpl.UnknownFields
  364. Entry []*GeoSite `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
  365. }
  366. func (x *GeoSiteList) Reset() {
  367. *x = GeoSiteList{}
  368. if protoimpl.UnsafeEnabled {
  369. mi := &file_app_router_config_proto_msgTypes[5]
  370. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  371. ms.StoreMessageInfo(mi)
  372. }
  373. }
  374. func (x *GeoSiteList) String() string {
  375. return protoimpl.X.MessageStringOf(x)
  376. }
  377. func (*GeoSiteList) ProtoMessage() {}
  378. func (x *GeoSiteList) ProtoReflect() protoreflect.Message {
  379. mi := &file_app_router_config_proto_msgTypes[5]
  380. if protoimpl.UnsafeEnabled && x != nil {
  381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  382. if ms.LoadMessageInfo() == nil {
  383. ms.StoreMessageInfo(mi)
  384. }
  385. return ms
  386. }
  387. return mi.MessageOf(x)
  388. }
  389. // Deprecated: Use GeoSiteList.ProtoReflect.Descriptor instead.
  390. func (*GeoSiteList) Descriptor() ([]byte, []int) {
  391. return file_app_router_config_proto_rawDescGZIP(), []int{5}
  392. }
  393. func (x *GeoSiteList) GetEntry() []*GeoSite {
  394. if x != nil {
  395. return x.Entry
  396. }
  397. return nil
  398. }
  399. type RoutingRule struct {
  400. state protoimpl.MessageState
  401. sizeCache protoimpl.SizeCache
  402. unknownFields protoimpl.UnknownFields
  403. // Types that are assignable to TargetTag:
  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: Do not use.
  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: Do not use.
  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: Do not use.
  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=v2ray.core.common.net.Network" json:"networks,omitempty"`
  432. // List of CIDRs for source IP address matching.
  433. //
  434. // Deprecated: Do not use.
  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: Do not use.
  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: Do not use.
  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: Do not use.
  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: Do not use.
  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. StrategySettings *serial.TypedMessage `protobuf:"bytes,4,opt,name=strategy_settings,json=strategySettings,proto3" json:"strategy_settings,omitempty"`
  607. FallbackTag string `protobuf:"bytes,5,opt,name=fallback_tag,json=fallbackTag,proto3" json:"fallback_tag,omitempty"`
  608. }
  609. func (x *BalancingRule) Reset() {
  610. *x = BalancingRule{}
  611. if protoimpl.UnsafeEnabled {
  612. mi := &file_app_router_config_proto_msgTypes[7]
  613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  614. ms.StoreMessageInfo(mi)
  615. }
  616. }
  617. func (x *BalancingRule) String() string {
  618. return protoimpl.X.MessageStringOf(x)
  619. }
  620. func (*BalancingRule) ProtoMessage() {}
  621. func (x *BalancingRule) ProtoReflect() protoreflect.Message {
  622. mi := &file_app_router_config_proto_msgTypes[7]
  623. if protoimpl.UnsafeEnabled && x != nil {
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. if ms.LoadMessageInfo() == nil {
  626. ms.StoreMessageInfo(mi)
  627. }
  628. return ms
  629. }
  630. return mi.MessageOf(x)
  631. }
  632. // Deprecated: Use BalancingRule.ProtoReflect.Descriptor instead.
  633. func (*BalancingRule) Descriptor() ([]byte, []int) {
  634. return file_app_router_config_proto_rawDescGZIP(), []int{7}
  635. }
  636. func (x *BalancingRule) GetTag() string {
  637. if x != nil {
  638. return x.Tag
  639. }
  640. return ""
  641. }
  642. func (x *BalancingRule) GetOutboundSelector() []string {
  643. if x != nil {
  644. return x.OutboundSelector
  645. }
  646. return nil
  647. }
  648. func (x *BalancingRule) GetStrategy() string {
  649. if x != nil {
  650. return x.Strategy
  651. }
  652. return ""
  653. }
  654. func (x *BalancingRule) GetStrategySettings() *serial.TypedMessage {
  655. if x != nil {
  656. return x.StrategySettings
  657. }
  658. return nil
  659. }
  660. func (x *BalancingRule) GetFallbackTag() string {
  661. if x != nil {
  662. return x.FallbackTag
  663. }
  664. return ""
  665. }
  666. type StrategyWeight struct {
  667. state protoimpl.MessageState
  668. sizeCache protoimpl.SizeCache
  669. unknownFields protoimpl.UnknownFields
  670. Regexp bool `protobuf:"varint,1,opt,name=regexp,proto3" json:"regexp,omitempty"`
  671. Match string `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
  672. Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"`
  673. }
  674. func (x *StrategyWeight) Reset() {
  675. *x = StrategyWeight{}
  676. if protoimpl.UnsafeEnabled {
  677. mi := &file_app_router_config_proto_msgTypes[8]
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. ms.StoreMessageInfo(mi)
  680. }
  681. }
  682. func (x *StrategyWeight) String() string {
  683. return protoimpl.X.MessageStringOf(x)
  684. }
  685. func (*StrategyWeight) ProtoMessage() {}
  686. func (x *StrategyWeight) ProtoReflect() protoreflect.Message {
  687. mi := &file_app_router_config_proto_msgTypes[8]
  688. if protoimpl.UnsafeEnabled && x != nil {
  689. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  690. if ms.LoadMessageInfo() == nil {
  691. ms.StoreMessageInfo(mi)
  692. }
  693. return ms
  694. }
  695. return mi.MessageOf(x)
  696. }
  697. // Deprecated: Use StrategyWeight.ProtoReflect.Descriptor instead.
  698. func (*StrategyWeight) Descriptor() ([]byte, []int) {
  699. return file_app_router_config_proto_rawDescGZIP(), []int{8}
  700. }
  701. func (x *StrategyWeight) GetRegexp() bool {
  702. if x != nil {
  703. return x.Regexp
  704. }
  705. return false
  706. }
  707. func (x *StrategyWeight) GetMatch() string {
  708. if x != nil {
  709. return x.Match
  710. }
  711. return ""
  712. }
  713. func (x *StrategyWeight) GetValue() float32 {
  714. if x != nil {
  715. return x.Value
  716. }
  717. return 0
  718. }
  719. type StrategyLeastLoadConfig struct {
  720. state protoimpl.MessageState
  721. sizeCache protoimpl.SizeCache
  722. unknownFields protoimpl.UnknownFields
  723. HealthCheck *HealthPingConfig `protobuf:"bytes,1,opt,name=healthCheck,proto3" json:"healthCheck,omitempty"`
  724. // weight settings
  725. Costs []*StrategyWeight `protobuf:"bytes,2,rep,name=costs,proto3" json:"costs,omitempty"`
  726. // RTT baselines for selecting, int64 values of time.Duration
  727. Baselines []int64 `protobuf:"varint,3,rep,packed,name=baselines,proto3" json:"baselines,omitempty"`
  728. // expected nodes count to select
  729. Expected int32 `protobuf:"varint,4,opt,name=expected,proto3" json:"expected,omitempty"`
  730. // max acceptable rtt, filter away high delay nodes. defalut 0
  731. MaxRTT int64 `protobuf:"varint,5,opt,name=maxRTT,proto3" json:"maxRTT,omitempty"`
  732. // acceptable failure rate
  733. Tolerance float32 `protobuf:"fixed32,6,opt,name=tolerance,proto3" json:"tolerance,omitempty"`
  734. }
  735. func (x *StrategyLeastLoadConfig) Reset() {
  736. *x = StrategyLeastLoadConfig{}
  737. if protoimpl.UnsafeEnabled {
  738. mi := &file_app_router_config_proto_msgTypes[9]
  739. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  740. ms.StoreMessageInfo(mi)
  741. }
  742. }
  743. func (x *StrategyLeastLoadConfig) String() string {
  744. return protoimpl.X.MessageStringOf(x)
  745. }
  746. func (*StrategyLeastLoadConfig) ProtoMessage() {}
  747. func (x *StrategyLeastLoadConfig) ProtoReflect() protoreflect.Message {
  748. mi := &file_app_router_config_proto_msgTypes[9]
  749. if protoimpl.UnsafeEnabled && x != nil {
  750. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  751. if ms.LoadMessageInfo() == nil {
  752. ms.StoreMessageInfo(mi)
  753. }
  754. return ms
  755. }
  756. return mi.MessageOf(x)
  757. }
  758. // Deprecated: Use StrategyLeastLoadConfig.ProtoReflect.Descriptor instead.
  759. func (*StrategyLeastLoadConfig) Descriptor() ([]byte, []int) {
  760. return file_app_router_config_proto_rawDescGZIP(), []int{9}
  761. }
  762. func (x *StrategyLeastLoadConfig) GetHealthCheck() *HealthPingConfig {
  763. if x != nil {
  764. return x.HealthCheck
  765. }
  766. return nil
  767. }
  768. func (x *StrategyLeastLoadConfig) GetCosts() []*StrategyWeight {
  769. if x != nil {
  770. return x.Costs
  771. }
  772. return nil
  773. }
  774. func (x *StrategyLeastLoadConfig) GetBaselines() []int64 {
  775. if x != nil {
  776. return x.Baselines
  777. }
  778. return nil
  779. }
  780. func (x *StrategyLeastLoadConfig) GetExpected() int32 {
  781. if x != nil {
  782. return x.Expected
  783. }
  784. return 0
  785. }
  786. func (x *StrategyLeastLoadConfig) GetMaxRTT() int64 {
  787. if x != nil {
  788. return x.MaxRTT
  789. }
  790. return 0
  791. }
  792. func (x *StrategyLeastLoadConfig) GetTolerance() float32 {
  793. if x != nil {
  794. return x.Tolerance
  795. }
  796. return 0
  797. }
  798. type HealthPingConfig struct {
  799. state protoimpl.MessageState
  800. sizeCache protoimpl.SizeCache
  801. unknownFields protoimpl.UnknownFields
  802. // destination url, need 204 for success return
  803. // default http://www.google.com/gen_204
  804. Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
  805. // connectivity check url
  806. Connectivity string `protobuf:"bytes,2,opt,name=connectivity,proto3" json:"connectivity,omitempty"`
  807. // health check interval, int64 values of time.Duration
  808. Interval int64 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"`
  809. // samplingcount is the amount of recent ping results which are kept for calculation
  810. SamplingCount int32 `protobuf:"varint,4,opt,name=samplingCount,proto3" json:"samplingCount,omitempty"`
  811. // ping timeout, int64 values of time.Duration
  812. Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
  813. }
  814. func (x *HealthPingConfig) Reset() {
  815. *x = HealthPingConfig{}
  816. if protoimpl.UnsafeEnabled {
  817. mi := &file_app_router_config_proto_msgTypes[10]
  818. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  819. ms.StoreMessageInfo(mi)
  820. }
  821. }
  822. func (x *HealthPingConfig) String() string {
  823. return protoimpl.X.MessageStringOf(x)
  824. }
  825. func (*HealthPingConfig) ProtoMessage() {}
  826. func (x *HealthPingConfig) ProtoReflect() protoreflect.Message {
  827. mi := &file_app_router_config_proto_msgTypes[10]
  828. if protoimpl.UnsafeEnabled && x != nil {
  829. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  830. if ms.LoadMessageInfo() == nil {
  831. ms.StoreMessageInfo(mi)
  832. }
  833. return ms
  834. }
  835. return mi.MessageOf(x)
  836. }
  837. // Deprecated: Use HealthPingConfig.ProtoReflect.Descriptor instead.
  838. func (*HealthPingConfig) Descriptor() ([]byte, []int) {
  839. return file_app_router_config_proto_rawDescGZIP(), []int{10}
  840. }
  841. func (x *HealthPingConfig) GetDestination() string {
  842. if x != nil {
  843. return x.Destination
  844. }
  845. return ""
  846. }
  847. func (x *HealthPingConfig) GetConnectivity() string {
  848. if x != nil {
  849. return x.Connectivity
  850. }
  851. return ""
  852. }
  853. func (x *HealthPingConfig) GetInterval() int64 {
  854. if x != nil {
  855. return x.Interval
  856. }
  857. return 0
  858. }
  859. func (x *HealthPingConfig) GetSamplingCount() int32 {
  860. if x != nil {
  861. return x.SamplingCount
  862. }
  863. return 0
  864. }
  865. func (x *HealthPingConfig) GetTimeout() int64 {
  866. if x != nil {
  867. return x.Timeout
  868. }
  869. return 0
  870. }
  871. type Config struct {
  872. state protoimpl.MessageState
  873. sizeCache protoimpl.SizeCache
  874. unknownFields protoimpl.UnknownFields
  875. DomainStrategy Config_DomainStrategy `protobuf:"varint,1,opt,name=domain_strategy,json=domainStrategy,proto3,enum=v2ray.core.app.router.Config_DomainStrategy" json:"domain_strategy,omitempty"`
  876. Rule []*RoutingRule `protobuf:"bytes,2,rep,name=rule,proto3" json:"rule,omitempty"`
  877. BalancingRule []*BalancingRule `protobuf:"bytes,3,rep,name=balancing_rule,json=balancingRule,proto3" json:"balancing_rule,omitempty"`
  878. }
  879. func (x *Config) Reset() {
  880. *x = Config{}
  881. if protoimpl.UnsafeEnabled {
  882. mi := &file_app_router_config_proto_msgTypes[11]
  883. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  884. ms.StoreMessageInfo(mi)
  885. }
  886. }
  887. func (x *Config) String() string {
  888. return protoimpl.X.MessageStringOf(x)
  889. }
  890. func (*Config) ProtoMessage() {}
  891. func (x *Config) ProtoReflect() protoreflect.Message {
  892. mi := &file_app_router_config_proto_msgTypes[11]
  893. if protoimpl.UnsafeEnabled && x != nil {
  894. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  895. if ms.LoadMessageInfo() == nil {
  896. ms.StoreMessageInfo(mi)
  897. }
  898. return ms
  899. }
  900. return mi.MessageOf(x)
  901. }
  902. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  903. func (*Config) Descriptor() ([]byte, []int) {
  904. return file_app_router_config_proto_rawDescGZIP(), []int{11}
  905. }
  906. func (x *Config) GetDomainStrategy() Config_DomainStrategy {
  907. if x != nil {
  908. return x.DomainStrategy
  909. }
  910. return Config_AsIs
  911. }
  912. func (x *Config) GetRule() []*RoutingRule {
  913. if x != nil {
  914. return x.Rule
  915. }
  916. return nil
  917. }
  918. func (x *Config) GetBalancingRule() []*BalancingRule {
  919. if x != nil {
  920. return x.BalancingRule
  921. }
  922. return nil
  923. }
  924. type Domain_Attribute struct {
  925. state protoimpl.MessageState
  926. sizeCache protoimpl.SizeCache
  927. unknownFields protoimpl.UnknownFields
  928. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  929. // Types that are assignable to TypedValue:
  930. // *Domain_Attribute_BoolValue
  931. // *Domain_Attribute_IntValue
  932. TypedValue isDomain_Attribute_TypedValue `protobuf_oneof:"typed_value"`
  933. }
  934. func (x *Domain_Attribute) Reset() {
  935. *x = Domain_Attribute{}
  936. if protoimpl.UnsafeEnabled {
  937. mi := &file_app_router_config_proto_msgTypes[12]
  938. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  939. ms.StoreMessageInfo(mi)
  940. }
  941. }
  942. func (x *Domain_Attribute) String() string {
  943. return protoimpl.X.MessageStringOf(x)
  944. }
  945. func (*Domain_Attribute) ProtoMessage() {}
  946. func (x *Domain_Attribute) ProtoReflect() protoreflect.Message {
  947. mi := &file_app_router_config_proto_msgTypes[12]
  948. if protoimpl.UnsafeEnabled && x != nil {
  949. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  950. if ms.LoadMessageInfo() == nil {
  951. ms.StoreMessageInfo(mi)
  952. }
  953. return ms
  954. }
  955. return mi.MessageOf(x)
  956. }
  957. // Deprecated: Use Domain_Attribute.ProtoReflect.Descriptor instead.
  958. func (*Domain_Attribute) Descriptor() ([]byte, []int) {
  959. return file_app_router_config_proto_rawDescGZIP(), []int{0, 0}
  960. }
  961. func (x *Domain_Attribute) GetKey() string {
  962. if x != nil {
  963. return x.Key
  964. }
  965. return ""
  966. }
  967. func (m *Domain_Attribute) GetTypedValue() isDomain_Attribute_TypedValue {
  968. if m != nil {
  969. return m.TypedValue
  970. }
  971. return nil
  972. }
  973. func (x *Domain_Attribute) GetBoolValue() bool {
  974. if x, ok := x.GetTypedValue().(*Domain_Attribute_BoolValue); ok {
  975. return x.BoolValue
  976. }
  977. return false
  978. }
  979. func (x *Domain_Attribute) GetIntValue() int64 {
  980. if x, ok := x.GetTypedValue().(*Domain_Attribute_IntValue); ok {
  981. return x.IntValue
  982. }
  983. return 0
  984. }
  985. type isDomain_Attribute_TypedValue interface {
  986. isDomain_Attribute_TypedValue()
  987. }
  988. type Domain_Attribute_BoolValue struct {
  989. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
  990. }
  991. type Domain_Attribute_IntValue struct {
  992. IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
  993. }
  994. func (*Domain_Attribute_BoolValue) isDomain_Attribute_TypedValue() {}
  995. func (*Domain_Attribute_IntValue) isDomain_Attribute_TypedValue() {}
  996. var File_app_router_config_proto protoreflect.FileDescriptor
  997. var file_app_router_config_proto_rawDesc = []byte{
  998. 0x0a, 0x17, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e,
  999. 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x76, 0x32, 0x72, 0x61, 0x79,
  1000. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  1001. 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f,
  1002. 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72,
  1003. 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f,
  1004. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d,
  1005. 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70,
  1006. 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x02, 0x0a, 0x06, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12,
  1007. 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e,
  1008. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  1009. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70,
  1010. 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1011. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a,
  1012. 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  1013. 0x32, 0x27, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  1014. 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e,
  1015. 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69,
  1016. 0x62, 0x75, 0x74, 0x65, 0x1a, 0x6c, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
  1017. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1018. 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  1019. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56,
  1020. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  1021. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61,
  1022. 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c,
  1023. 0x75, 0x65, 0x22, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x6c,
  1024. 0x61, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x67, 0x65, 0x78, 0x10, 0x01,
  1025. 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,
  1026. 0x46, 0x75, 0x6c, 0x6c, 0x10, 0x03, 0x22, 0x2e, 0x0a, 0x04, 0x43, 0x49, 0x44, 0x52, 0x12, 0x0e,
  1027. 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x70, 0x12, 0x16,
  1028. 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  1029. 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x80, 0x01, 0x0a, 0x05, 0x47, 0x65, 0x6f, 0x49, 0x50,
  1030. 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65,
  1031. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x43,
  1032. 0x6f, 0x64, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28,
  1033. 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  1034. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x49, 0x44, 0x52, 0x52, 0x04,
  1035. 0x63, 0x69, 0x64, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x5f,
  1036. 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x76,
  1037. 0x65, 0x72, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0x3f, 0x0a, 0x09, 0x47, 0x65, 0x6f,
  1038. 0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18,
  1039. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  1040. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65,
  1041. 0x6f, 0x49, 0x50, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x63, 0x0a, 0x07, 0x47, 0x65,
  1042. 0x6f, 0x53, 0x69, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79,
  1043. 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75,
  1044. 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61,
  1045. 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  1046. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
  1047. 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22,
  1048. 0x43, 0x0a, 0x0b, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34,
  1049. 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
  1050. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72,
  1051. 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x53, 0x69, 0x74, 0x65, 0x52, 0x05, 0x65,
  1052. 0x6e, 0x74, 0x72, 0x79, 0x22, 0xf1, 0x06, 0x0a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
  1053. 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
  1054. 0x09, 0x48, 0x00, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x25, 0x0a, 0x0d, 0x62, 0x61, 0x6c, 0x61,
  1055. 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x48,
  1056. 0x00, 0x52, 0x0c, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x67, 0x12,
  1057. 0x35, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1058. 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  1059. 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06,
  1060. 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x03,
  1061. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  1062. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x49, 0x44,
  1063. 0x52, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x67,
  1064. 0x65, 0x6f, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72,
  1065. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74,
  1066. 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x12,
  1067. 0x43, 0x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20,
  1068. 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  1069. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74,
  1070. 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x52,
  1071. 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x69, 0x73,
  1072. 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  1073. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e,
  1074. 0x50, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69,
  1075. 0x73, 0x74, 0x12, 0x49, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x69,
  1076. 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  1077. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74,
  1078. 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x02, 0x18, 0x01,
  1079. 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a,
  1080. 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0e, 0x32,
  1081. 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
  1082. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52,
  1083. 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x6f, 0x75,
  1084. 0x72, 0x63, 0x65, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
  1085. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  1086. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x49, 0x44, 0x52, 0x42, 0x02, 0x18, 0x01, 0x52,
  1087. 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x69, 0x64, 0x72, 0x12, 0x3f, 0x0a, 0x0c, 0x73,
  1088. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28,
  1089. 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  1090. 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52,
  1091. 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x65, 0x6f, 0x69, 0x70, 0x12, 0x49, 0x0a, 0x10,
  1092. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74,
  1093. 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  1094. 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50,
  1095. 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50,
  1096. 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1097. 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65,
  1098. 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e,
  1099. 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x62,
  1100. 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1101. 0x63, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1102. 0x63, 0x6f, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
  1103. 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
  1104. 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x61,
  1105. 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x6f, 0x6d,
  1106. 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x0c, 0x0a, 0x0a, 0x74, 0x61,
  1107. 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x22, 0xe2, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x6c,
  1108. 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
  1109. 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x2b, 0x0a, 0x11,
  1110. 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,
  1111. 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
  1112. 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72,
  1113. 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72,
  1114. 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x53, 0x0a, 0x11, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
  1115. 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
  1116. 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f,
  1117. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65,
  1118. 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65,
  1119. 0x67, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x61,
  1120. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  1121. 0x52, 0x0b, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x67, 0x22, 0x54, 0x0a,
  1122. 0x0e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
  1123. 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
  1124. 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68,
  1125. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x14, 0x0a,
  1126. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61,
  1127. 0x6c, 0x75, 0x65, 0x22, 0x91, 0x02, 0x0a, 0x17, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  1128. 0x4c, 0x65, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
  1129. 0x49, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x01,
  1130. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  1131. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x48, 0x65, 0x61,
  1132. 0x6c, 0x74, 0x68, 0x50, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x68,
  1133. 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x05, 0x63, 0x6f,
  1134. 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x32, 0x72, 0x61,
  1135. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
  1136. 0x72, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74,
  1137. 0x52, 0x05, 0x63, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x6c,
  1138. 0x69, 0x6e, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65,
  1139. 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65,
  1140. 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65,
  1141. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x78, 0x52, 0x54, 0x54, 0x18, 0x05, 0x20, 0x01, 0x28,
  1142. 0x03, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x52, 0x54, 0x54, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x6c,
  1143. 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x74, 0x6f,
  1144. 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x6c,
  1145. 0x74, 0x68, 0x50, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b,
  1146. 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  1147. 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22,
  1148. 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x18, 0x02,
  1149. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69,
  1150. 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03,
  1151. 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x24,
  1152. 0x0a, 0x0d, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  1153. 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x43,
  1154. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18,
  1155. 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0xad,
  1156. 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x55, 0x0a, 0x0f, 0x64, 0x6f, 0x6d,
  1157. 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x01, 0x20, 0x01,
  1158. 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  1159. 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  1160. 0x67, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  1161. 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  1162. 0x12, 0x36, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22,
  1163. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  1164. 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75,
  1165. 0x6c, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x62, 0x61, 0x6c, 0x61,
  1166. 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  1167. 0x32, 0x24, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  1168. 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69,
  1169. 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e,
  1170. 0x67, 0x52, 0x75, 0x6c, 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53,
  1171. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x73, 0x49, 0x73, 0x10,
  1172. 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x73, 0x65, 0x49, 0x70, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c,
  1173. 0x49, 0x70, 0x49, 0x66, 0x4e, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x10, 0x02, 0x12, 0x0e,
  1174. 0x0a, 0x0a, 0x49, 0x70, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x03, 0x42, 0x60,
  1175. 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  1176. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x29, 0x67,
  1177. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f,
  1178. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70,
  1179. 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0xaa, 0x02, 0x15, 0x56, 0x32, 0x52, 0x61, 0x79,
  1180. 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
  1181. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1182. }
  1183. var (
  1184. file_app_router_config_proto_rawDescOnce sync.Once
  1185. file_app_router_config_proto_rawDescData = file_app_router_config_proto_rawDesc
  1186. )
  1187. func file_app_router_config_proto_rawDescGZIP() []byte {
  1188. file_app_router_config_proto_rawDescOnce.Do(func() {
  1189. file_app_router_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_router_config_proto_rawDescData)
  1190. })
  1191. return file_app_router_config_proto_rawDescData
  1192. }
  1193. var file_app_router_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1194. var file_app_router_config_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  1195. var file_app_router_config_proto_goTypes = []interface{}{
  1196. (Domain_Type)(0), // 0: v2ray.core.app.router.Domain.Type
  1197. (Config_DomainStrategy)(0), // 1: v2ray.core.app.router.Config.DomainStrategy
  1198. (*Domain)(nil), // 2: v2ray.core.app.router.Domain
  1199. (*CIDR)(nil), // 3: v2ray.core.app.router.CIDR
  1200. (*GeoIP)(nil), // 4: v2ray.core.app.router.GeoIP
  1201. (*GeoIPList)(nil), // 5: v2ray.core.app.router.GeoIPList
  1202. (*GeoSite)(nil), // 6: v2ray.core.app.router.GeoSite
  1203. (*GeoSiteList)(nil), // 7: v2ray.core.app.router.GeoSiteList
  1204. (*RoutingRule)(nil), // 8: v2ray.core.app.router.RoutingRule
  1205. (*BalancingRule)(nil), // 9: v2ray.core.app.router.BalancingRule
  1206. (*StrategyWeight)(nil), // 10: v2ray.core.app.router.StrategyWeight
  1207. (*StrategyLeastLoadConfig)(nil), // 11: v2ray.core.app.router.StrategyLeastLoadConfig
  1208. (*HealthPingConfig)(nil), // 12: v2ray.core.app.router.HealthPingConfig
  1209. (*Config)(nil), // 13: v2ray.core.app.router.Config
  1210. (*Domain_Attribute)(nil), // 14: v2ray.core.app.router.Domain.Attribute
  1211. (*net.PortRange)(nil), // 15: v2ray.core.common.net.PortRange
  1212. (*net.PortList)(nil), // 16: v2ray.core.common.net.PortList
  1213. (*net.NetworkList)(nil), // 17: v2ray.core.common.net.NetworkList
  1214. (net.Network)(0), // 18: v2ray.core.common.net.Network
  1215. (*serial.TypedMessage)(nil), // 19: v2ray.core.common.serial.TypedMessage
  1216. }
  1217. var file_app_router_config_proto_depIdxs = []int32{
  1218. 0, // 0: v2ray.core.app.router.Domain.type:type_name -> v2ray.core.app.router.Domain.Type
  1219. 14, // 1: v2ray.core.app.router.Domain.attribute:type_name -> v2ray.core.app.router.Domain.Attribute
  1220. 3, // 2: v2ray.core.app.router.GeoIP.cidr:type_name -> v2ray.core.app.router.CIDR
  1221. 4, // 3: v2ray.core.app.router.GeoIPList.entry:type_name -> v2ray.core.app.router.GeoIP
  1222. 2, // 4: v2ray.core.app.router.GeoSite.domain:type_name -> v2ray.core.app.router.Domain
  1223. 6, // 5: v2ray.core.app.router.GeoSiteList.entry:type_name -> v2ray.core.app.router.GeoSite
  1224. 2, // 6: v2ray.core.app.router.RoutingRule.domain:type_name -> v2ray.core.app.router.Domain
  1225. 3, // 7: v2ray.core.app.router.RoutingRule.cidr:type_name -> v2ray.core.app.router.CIDR
  1226. 4, // 8: v2ray.core.app.router.RoutingRule.geoip:type_name -> v2ray.core.app.router.GeoIP
  1227. 15, // 9: v2ray.core.app.router.RoutingRule.port_range:type_name -> v2ray.core.common.net.PortRange
  1228. 16, // 10: v2ray.core.app.router.RoutingRule.port_list:type_name -> v2ray.core.common.net.PortList
  1229. 17, // 11: v2ray.core.app.router.RoutingRule.network_list:type_name -> v2ray.core.common.net.NetworkList
  1230. 18, // 12: v2ray.core.app.router.RoutingRule.networks:type_name -> v2ray.core.common.net.Network
  1231. 3, // 13: v2ray.core.app.router.RoutingRule.source_cidr:type_name -> v2ray.core.app.router.CIDR
  1232. 4, // 14: v2ray.core.app.router.RoutingRule.source_geoip:type_name -> v2ray.core.app.router.GeoIP
  1233. 16, // 15: v2ray.core.app.router.RoutingRule.source_port_list:type_name -> v2ray.core.common.net.PortList
  1234. 19, // 16: v2ray.core.app.router.BalancingRule.strategy_settings:type_name -> v2ray.core.common.serial.TypedMessage
  1235. 12, // 17: v2ray.core.app.router.StrategyLeastLoadConfig.healthCheck:type_name -> v2ray.core.app.router.HealthPingConfig
  1236. 10, // 18: v2ray.core.app.router.StrategyLeastLoadConfig.costs:type_name -> v2ray.core.app.router.StrategyWeight
  1237. 1, // 19: v2ray.core.app.router.Config.domain_strategy:type_name -> v2ray.core.app.router.Config.DomainStrategy
  1238. 8, // 20: v2ray.core.app.router.Config.rule:type_name -> v2ray.core.app.router.RoutingRule
  1239. 9, // 21: v2ray.core.app.router.Config.balancing_rule:type_name -> v2ray.core.app.router.BalancingRule
  1240. 22, // [22:22] is the sub-list for method output_type
  1241. 22, // [22:22] is the sub-list for method input_type
  1242. 22, // [22:22] is the sub-list for extension type_name
  1243. 22, // [22:22] is the sub-list for extension extendee
  1244. 0, // [0:22] is the sub-list for field type_name
  1245. }
  1246. func init() { file_app_router_config_proto_init() }
  1247. func file_app_router_config_proto_init() {
  1248. if File_app_router_config_proto != nil {
  1249. return
  1250. }
  1251. if !protoimpl.UnsafeEnabled {
  1252. file_app_router_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1253. switch v := v.(*Domain); i {
  1254. case 0:
  1255. return &v.state
  1256. case 1:
  1257. return &v.sizeCache
  1258. case 2:
  1259. return &v.unknownFields
  1260. default:
  1261. return nil
  1262. }
  1263. }
  1264. file_app_router_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1265. switch v := v.(*CIDR); i {
  1266. case 0:
  1267. return &v.state
  1268. case 1:
  1269. return &v.sizeCache
  1270. case 2:
  1271. return &v.unknownFields
  1272. default:
  1273. return nil
  1274. }
  1275. }
  1276. file_app_router_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1277. switch v := v.(*GeoIP); i {
  1278. case 0:
  1279. return &v.state
  1280. case 1:
  1281. return &v.sizeCache
  1282. case 2:
  1283. return &v.unknownFields
  1284. default:
  1285. return nil
  1286. }
  1287. }
  1288. file_app_router_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1289. switch v := v.(*GeoIPList); i {
  1290. case 0:
  1291. return &v.state
  1292. case 1:
  1293. return &v.sizeCache
  1294. case 2:
  1295. return &v.unknownFields
  1296. default:
  1297. return nil
  1298. }
  1299. }
  1300. file_app_router_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1301. switch v := v.(*GeoSite); i {
  1302. case 0:
  1303. return &v.state
  1304. case 1:
  1305. return &v.sizeCache
  1306. case 2:
  1307. return &v.unknownFields
  1308. default:
  1309. return nil
  1310. }
  1311. }
  1312. file_app_router_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1313. switch v := v.(*GeoSiteList); i {
  1314. case 0:
  1315. return &v.state
  1316. case 1:
  1317. return &v.sizeCache
  1318. case 2:
  1319. return &v.unknownFields
  1320. default:
  1321. return nil
  1322. }
  1323. }
  1324. file_app_router_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1325. switch v := v.(*RoutingRule); i {
  1326. case 0:
  1327. return &v.state
  1328. case 1:
  1329. return &v.sizeCache
  1330. case 2:
  1331. return &v.unknownFields
  1332. default:
  1333. return nil
  1334. }
  1335. }
  1336. file_app_router_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1337. switch v := v.(*BalancingRule); i {
  1338. case 0:
  1339. return &v.state
  1340. case 1:
  1341. return &v.sizeCache
  1342. case 2:
  1343. return &v.unknownFields
  1344. default:
  1345. return nil
  1346. }
  1347. }
  1348. file_app_router_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1349. switch v := v.(*StrategyWeight); i {
  1350. case 0:
  1351. return &v.state
  1352. case 1:
  1353. return &v.sizeCache
  1354. case 2:
  1355. return &v.unknownFields
  1356. default:
  1357. return nil
  1358. }
  1359. }
  1360. file_app_router_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1361. switch v := v.(*StrategyLeastLoadConfig); i {
  1362. case 0:
  1363. return &v.state
  1364. case 1:
  1365. return &v.sizeCache
  1366. case 2:
  1367. return &v.unknownFields
  1368. default:
  1369. return nil
  1370. }
  1371. }
  1372. file_app_router_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1373. switch v := v.(*HealthPingConfig); i {
  1374. case 0:
  1375. return &v.state
  1376. case 1:
  1377. return &v.sizeCache
  1378. case 2:
  1379. return &v.unknownFields
  1380. default:
  1381. return nil
  1382. }
  1383. }
  1384. file_app_router_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1385. switch v := v.(*Config); i {
  1386. case 0:
  1387. return &v.state
  1388. case 1:
  1389. return &v.sizeCache
  1390. case 2:
  1391. return &v.unknownFields
  1392. default:
  1393. return nil
  1394. }
  1395. }
  1396. file_app_router_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1397. switch v := v.(*Domain_Attribute); i {
  1398. case 0:
  1399. return &v.state
  1400. case 1:
  1401. return &v.sizeCache
  1402. case 2:
  1403. return &v.unknownFields
  1404. default:
  1405. return nil
  1406. }
  1407. }
  1408. }
  1409. file_app_router_config_proto_msgTypes[6].OneofWrappers = []interface{}{
  1410. (*RoutingRule_Tag)(nil),
  1411. (*RoutingRule_BalancingTag)(nil),
  1412. }
  1413. file_app_router_config_proto_msgTypes[12].OneofWrappers = []interface{}{
  1414. (*Domain_Attribute_BoolValue)(nil),
  1415. (*Domain_Attribute_IntValue)(nil),
  1416. }
  1417. type x struct{}
  1418. out := protoimpl.TypeBuilder{
  1419. File: protoimpl.DescBuilder{
  1420. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1421. RawDescriptor: file_app_router_config_proto_rawDesc,
  1422. NumEnums: 2,
  1423. NumMessages: 13,
  1424. NumExtensions: 0,
  1425. NumServices: 0,
  1426. },
  1427. GoTypes: file_app_router_config_proto_goTypes,
  1428. DependencyIndexes: file_app_router_config_proto_depIdxs,
  1429. EnumInfos: file_app_router_config_proto_enumTypes,
  1430. MessageInfos: file_app_router_config_proto_msgTypes,
  1431. }.Build()
  1432. File_app_router_config_proto = out.File
  1433. file_app_router_config_proto_rawDesc = nil
  1434. file_app_router_config_proto_goTypes = nil
  1435. file_app_router_config_proto_depIdxs = nil
  1436. }